Merge common usage of mul_split function
[glibc.git] / ChangeLog
blob0b4b5c023acc289152836f2ea48a0b47a84b4bab
1 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4         (mul_split) Remove, rename as mul_splitl, remove
5         redundant float.h include, and include via mul_splitl.h
7         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13         * math/mul_splitl.h: New file.
15         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16         Move into mul_split.h, and remove redundant float.h include.
18         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
19         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
20         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
21         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
23         * math/mul_split.h: New file.
25 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27         * math/Makefile (libm-gen-calls): Move
28         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
29         (libm-calls): Remove above.
31         * math/s_cacos_template.c: Update using type-generic macros.
32         * math/s_cacosh_template.c: Likewise.
33         * math/s_ccos_template.c: Likewise.
34         * math/s_ccosh_template.c: Likwise.
36         * math/s_cacosf.c: Removed.
37         * math/s_cacos.c: Removed.
38         * math/s_cacosl.c: Removed.
39         * math/s_cacoshf.c: Removed.
40         * math/s_cacosh.c: Removed.
41         * math/s_cacoshl.c: Removed.
42         * math/s_ccosf.c: Removed.
43         * math/s_ccos.c: Removed.
44         * math/s_ccosl.c: Removed.
45         * math/s_ccoshf.c: Removed.
46         * math/s_ccosh.c: Removed.
47         * math/s_ccoshl.c: Removed.
49         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
50         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
51         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
52         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
53         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
54         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
56         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
57         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
58         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
59         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
61         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
62         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
63         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
64         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
66 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
68         * s_cacos_template.c: Copy of s_cacos.c.
69         * s_cacosh_template.c: Copy of s_cacosh.c.
70         * s_ccos_template.c: Copy of s_ccos.c.
71         * s_ccosh_template.c: Copy of s_ccosh.c.
73 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
75         * stdlib/tst-strtod-round-skeleton.c:
76         Refactored from tst-strtod-round.c.
78         (L_): New macro to apply literal modifier.
79         (FNPFX): New macro to select str or wcs prefix.
80         (CHAR): New macro to choose wchar_t or char.
81         (STRM): New macro to choose printf for tested character type.
83         (STRTO): New macro to choose appropriate string -> real function.
84         (FNPFXS): Stringitized version of FNPFX.
85         (STR): Support for above macro.
86         (STRX): Likewise.
88         (TEST): Update with above macros.
89         (test): Likewise.
90         (GEN_ONE_TEST): Likewise.
91         (test_in_one_mode): Likewise.
93         * stdlib/tst-strtod-round.c: New file.
94         * wcsmbs/tst-wcstod-round.c: New file.
96         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
97         (tst-wcstod-round): Add libm depencency for fesetround.
99 2016-08-19  Zack Weinberg  <zackw@panix.com>
101         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
103 2016-08-18  Torvald Riegel  <triegel@redhat.com>
105         [BZ #20477]
106         * resolv/res_hconf.c (do_init): Use atomic access.
107         * resolv/res_hconf.h: Add comments.
108         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
109         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
110         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
112 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
114         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
115         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
116         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
117         Likewise.
119 2016-08-18  Florian Weimer  <fweimer@redhat.com>
121         [BZ #16907]
122         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
123         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
124         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
125         (__attribute__): Remove definition.
127 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
129         * sysdeps/ieee754/ldbl-128/e_asinl.c:
130         Remove unused sqrtl declaration.
132 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
134         * math/Makefile: (gen-libm-templates.stmp): New rule.
135         (libm-calls): Move carg conj cimag and cabs into ...
136         (gen-libm-calls): New variable.
137         (generated): Inform Make objects from gen-libm-calls
138         may be generated.
140         * sysdeps/generic/math-type-macros.h: New file.
141         * sysdeps/generic/math-type-macros-float.h: Likewise.
142         * sysdeps/generic/math-type-macros-double.h: Likewise.
143         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
144         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
145         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
147         * math/cabs.c: Refactor into
148         * math/cabs_template.c: new file.
149         * math/cabsf.c: Removed.
150         * math/cabsl.c: Removed.
151         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
152         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
154         * math/carg.c: Refactor into
155         * math/carg_template.c: new file.
156         * math/cargf.c: Removed.
157         * math/cargl.c: Removed.
158         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
159         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
161         * math/conj.c: Refactor into
162         * math/conj_template.c: new file.
163         * math/conjf.c: Removed.
164         * math/conjl.c: Removed.
165         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
166         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
168         * math/cimag.c: Refactor into
169         * math/cimag_template.c: new file.
170         * math/cimagf.c: Removed.
171         * math/cimagl.c: Removed.
172         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
173         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
175         * math/cimag.c: Refactor into
176         * math/cimag_template.c: new file.
177         * math/cimagf.c: Removed.
178         * math/cimagl.c: Removed.
179         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
180         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
182 2016-08-17  Florian Weimer  <fweimer@redhat.com>
184         Reduce time to expected nptl/tst-once5 failure.
185         * nptl/tst-once5.cc (TIMEOUT): Define.
187 2016-08-17  Florian Weimer  <fweimer@redhat.com>
189         [BZ #20452]
190         Avoid additional copies of objects in libc.a in static libraries.
191         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
192         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
193         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
194         rt-sysdep.
195         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
196         Add nptl-sysdep.
197         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
198         Add ptw-sysdep.
199         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
200         rt-sysdep.
201         * sysdeps/unix/sysv/linux/alpha/Makefile
202         (libpthread-shared-only-routines): Add ptw-sysdep,
203         ptw-sigprocmask, ptw-rt_sigaction.
204         * sysdeps/unix/sysv/linux/ia64/Makefile
205         (librt-shared-only-routines): Add rt-sysdep.
206         * sysdeps/unix/sysv/linux/i386/Makefile
207         (libpthread-shared-only-routines): Add libc-do-syscall.
208         * sysdeps/unix/sysv/linux/microblaze/Makefile
209         (libpthread-shared-only-routines): Add sysdep.
210         * sysdeps/unix/sysv/linux/powerpc/Makefile
211         (librt-shared-only-routines): Add rt-sysdep.
212         (libpthread-shared-only-routines): Add sysdep.
213         * sysdeps/unix/sysv/linux/s390/Makefile
214         (librt-shared-only-routines): Add rt-sysdep.
215         * sysdeps/unix/sysv/linux/sparc/Makefile
216         (librt-shared-only-routines): Add rt-sysdep.
217         (libpthread-shared-only-routines): Add sysdep.
218         * sysdeps/unix/sysv/linux/tile/Makefile
219         (libpthread-shared-only-routines): Likewise.
221 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
223         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
224         Mask implicit bit out of unpacked value.
225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
229         * sysdeps/sparc/fpu/fesetexcept.c: New file.
231         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
233         * sysdeps/s390/fpu/fesetexcept.c: New file.
235         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
236         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
237         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
239         * sysdeps/mips/fpu/fesetexcept.c: New file.
241         * sysdeps/m68k/fpu/fesetexcept.c: New file.
243         * sysdeps/ia64/fpu/fesetexcept.c: New file.
245         * sysdeps/hppa/fpu/fesetexcept.c: New file.
247         * sysdeps/arm/fesetexcept.c: New file.
249         * sysdeps/alpha/fpu/fesetexcept.c: New file.
251         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
253         * math/fesetexcept.c: New file.
254         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
255         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
256         * math/fenv.h: Define
257         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
258         <bits/libc-header-start.h> instead of including <features.h>.
259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
260         declaration.
261         * manual/arith.texi (fesetexcept): Document function.
262         * math/Versions (fesetexcept): New libm symbol at version
263         GLIBC_2.25.
264         * math/Makefile (libm-support): Add fesetexcept.
265         (tests): Add test-fesetexcept and test-fesetexcept-traps.
266         * math/test-fesetexcept.c: New file.
267         * math/test-fesetexcept-traps.c: Likewise.
268         * sysdeps/nacl/libm.abilist: Update.
269         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
273         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
277         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
282         Likewise.
283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
284         Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
286         Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
288         Likewise.
289         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
295         Likewise.
296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
297         Likewise.
298         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
302 2016-08-16  Florian Weimer  <fweimer@redhat.com>
304         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
305         New.
306         (do_test): Apply default_stack_size_in_mb if not set.
307         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
309 2016-08-15  Andreas Schwab  <schwab@suse.de>
311         [BZ #20435]
312         CVE-2016-6323
313         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
314         as .cantunwind.
316 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
318         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
319         comment from fraiseexcpt.c.
321         * math/test-fexcept.c (feraiseexcept_exact): New function.
322         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
323         (test_except): Likewise.
325 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
327         [BZ #20455]
328         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
329         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
330         to be restored.
332         * math/test-fexcept-traps.c: New file.
333         * math/test-fexcept.c: Likewise.
334         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
335         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
336         macro.
337         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
338         (EXCEPTION_SET_FORCES_TRAP): Likewise.
340 2016-08-09  Torvald Riegel  <triegel@redhat.com>
342         * include/atomic.h (atomic_fetch_and_relaxed,
343         atomic_fetch_and_release, atomic_fetch_or_release,
344         atomic_fetch_xor_release): New.
346 2016-08-06  Christian Seiler  <christian@iwakd.de>
348         [BZ #20444]
349         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
350         MACH_PORT_NULL.
352 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
354         * math/s_fdim.c: Avoid alias renamed.
355         * math/s_fdimf.c: Likewise.
356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
357         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
358         Add s_fdimf-vis3, s_fdim-vis3.
359         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
360         (CFLAGS-s_fdim-vis3.c): Likewise.
361         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
362         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
364 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
367         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
368         Remove s_fdimf-vis3, s_fdim-vis3.
369         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
370         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
377         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
378         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
380 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
382         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
383         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
384         -Wa,-Av9a -mvis.
386 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
388         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
389         LIT() to individual constants in simple expressions
390         after splitting on spaces.
391         (_apply_lit): Rename replaced version, and use it to
392         apply to what appears to be a token.
394         * math/libm-test.inc: Fix many, many issues with
395         spacing.
397 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
399         * math/math.h: Move comment about <bits/mathdef.h> definitions
400         above inclusion of <bits/mathdef.h>.  Do not mention
401         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
403 2016-08-05  Torvald Riegel  <triegel@redhat.com>
405         * include/atomic.h (atomic_exchange_relaxed): New.
407 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
409         * math/e_scalb.c: Do not include <fenv.h>.
410         (invalid_fn): Do calculation resulting in NaN instead of raising
411         FE_INVALID and returning a NaN explicitly.
412         * math/e_scalbf.c: Do not include <fenv.h>.
413         (invalid_fn): Do calculation resulting in NaN instead of raising
414         FE_INVALID and returning a NaN explicitly.
415         * math/e_scalbl.c: Do not include <fenv.h>.
416         (invalid_fn): Do calculation resulting in NaN instead of raising
417         FE_INVALID and returning a NaN explicitly.
419 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
421         * po/de.po: Updated from Translation Project.
422         * po/fi.po: Likewise.
423         * po/sv.po: Likewise.
425 2016-08-04  Florian Weimer  <fweimer@redhat.com>
427         [BZ #20452]
428         Use sysdep.o from libc.a in static libraries.
429         * sysdeps/unix/sysv/linux/i386/Makefile
430         (libpthread-shared-only-routines): Add sysdep.
431         (librt-shared-only-routines): Likewise.
433 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
435         * math/tgmath.h (nextdown): Define if
436         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
437         (nextup): Likewise.
439         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
440         macro.
441         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
442         Document.
443         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
444         Document macro.
445         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
446         (exp10f): Likewise.
447         (exp10l): Likewise.
448         * math/bits/mathcalls.h (exp10): Declare if
449         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
451         * manual/arith.texi (nextup): Fix typo in last change.
453 2016-08-03  Zack Weinberg  <zackw@panix.com>
455         [BZ #19239]
456         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
457         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
458         define major, minor, and makedev to issue deprecation warnings on use.
459         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
460         previously-activated deprecation warnings for these macros and prevent
461         subsequent inclusions of this header from having any effect.
462         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
463         including <sys/sysmacros.h>, and undefine it again afterward.
465 2016-08-03  Zack Weinberg  <zackw@panix.com>
467         * sysdeps/generic/sys/sysmacros.h: Delete file.
468         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
469         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
470         * bits/sysmacros.h: ... here; this encoding is now the generic
471         encoding.  Now defines only the following macros:
472         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
473         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
474         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
476         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
477         bits/sysmacros.h and the above new macros to generate the
478         public implementations of major, minor, and makedev.
479         * misc/tst-makedev.c: New test.
480         * include/sys/sysmacros.h: New wrapper.
482         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
483         (routines): Add makedev.
484         (tests): Add tst-makedev.
485         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
486         gnu_dev_makedev.
487         * posix/Makefile (headers): Remove sys/sysmacros.h.
488         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
490         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
491         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
492         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
493         * sysdeps/unix/sysv/linux/alpha/libc.abilist
494         * sysdeps/unix/sysv/linux/arm/libc.abilist
495         * sysdeps/unix/sysv/linux/hppa/libc.abilist
496         * sysdeps/unix/sysv/linux/i386/libc.abilist
497         * sysdeps/unix/sysv/linux/ia64/libc.abilist
498         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
499         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
500         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
501         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
502         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
503         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
504         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
505         * sysdeps/unix/sysv/linux/nios2/libc.abilist
506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
510         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
511         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
512         * sysdeps/unix/sysv/linux/sh/libc.abilist
513         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
514         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
517         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
518         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
519         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
520         Add GLIBC_2.25.
522         * include/features.h (__glibc_clang_prereq): New macro.
523         * misc/sys/cdefs.h (__glibc_clang_has_extension)
524         (__attribute_deprecated_msg__): New macros.
526 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
528         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
529         macro.
530         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
531         * manual/arith.texi (issignaling): Document as ISO from TS
532         18661-1:2014.
533         (nextup): Likewise.
534         (nextupf): Likewise.
535         (nextupl): Likewise.
536         (nextdown): Likewise.
537         (nextdownf): Likewise.
538         (nextdownl): Likewise.
539         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
540         macro.
541         * math/math.h: Define
542         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
543         <bits/libc-header-start.h> instead of including <features.h>.
544         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
545         [__USE_GNU].
546         * math/bits/mathcalls.h (nextdown): Declare if
547         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
548         (nextup): Likewise.
549         (__issignaling): Likewise.
551 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
553         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
554         check, and remove __glibc_likely hint
555         from FP_INFINITE check.
556         * s_csinhf.c (__csinhf): Likewise.
558         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
559         hint from FP_INFINITE check.
560         * s_csinhl.c (__csinhl): Likewise.
562 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
564         * math/Makefile (libm-calls): Insert F placeholder into
565         object names.  Move w_lgamma_compat* routines into
566         (libm-compat-calls): New variable.
567         (libm-compat-calls-ldouble-yes): New variable.
568         (calls): Insert F placeholder.
569         (generated): Redefine using new type-foreach macro call.
570         (routines): Likewise.
572         (types): New variable to hold a list of symbolic names
573         for each type supported by the target machine.
574         (libm-routines): Redefine using new types variable.
575         (type-foreach): macro to replace fooF with the
576         appropriately suffixed foo for each types.
578         (type-ldouble-suffix): New variable.
579         (type-ldouble-routines): Likewise.
580         (type-ldouble-yes): Likewise.
581         (type-double-suffix): Likewise.
582         (type-double-routines): Likewise.
583         (type-float-suffix): Likewise.
584         (type-float-routines): Likewise.
586         (dbl-only-routines): Remove.
587         (long-c-yes): Likewise.
588         (long-m-routines): Likewise.
589         (long-m-support): Likewise.
590         (long-m-yes): Likewise.
591         (test-longdouble-yes): Likewise.
593         (test-float.o): Simplify by increasing the scope of the
594         recipe which adds libm-test.stmp to the vector types.
595         (test-ifloat.o): Likewise.
596         (test-float-finite.o): Likewise.
597         (test-double.o): Likewise
598         (test-idouble.o): Likewise.
599         (test-double-finite.o): Likewise.
600         (test-ldouble.o): Likewise
601         (test-ildoubl.o): Likewise.
602         (test-ldouble-finite.o): Likewise.
604         (libm-tests): Redefine type tests using foreach and the
605         list of types in types.
607         (CPPFLAGS-test-ildoubl.c): Rename to
608         (CPPFLAGS-test-ildouble.c): New variable
610         * math/test-ildoubl.c: Rename to
611         * math/test-ildouble.c: New file.
613 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
615         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
616         Use fabsl instead of fabs.
617         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
618         Likewise.
619         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
620         Add long double suffix to constant to ensure proper
621         promotion to long double.
623 2016-08-03  Tom Tromey  <tom@tromey.com>
625         [BZ #20311]
626         * nptl_db/Makefile (headers): Add proc_service.h.
627         * nptl_db/proc_service.h: Add include guard.  Use
628         __BEGIN/__END_DECLS.
629         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
630         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
631         arguments.
634 2016-08-03  Florian Weimer  <fweimer@redhat.com>
636         [BZ #17730]
637         Avoid using memalign for TCB allocations.
638         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
639         (_dl_allocate_tls_storage): Use malloc and manual alignment.
640         Avoid alignment gap in the TLS_DTV_AT_TP case.
641         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
642         determine the pointer to free.
643         * nptl/tst-tls3-malloc.c: New test.
644         * nptl/Makefile (tests): Add it.
645         (tst-tls3-malloc): Link with libdl, libpthread.
646         (LDFLAGS-tst-tls3-malloc): Set.
647         (tst-tls3-malloc.out): Depend on DSO used in test.
649 2016-08-03  Florian Weimer  <fweimer@redhat.com>
651         [BZ #17730]
652         Avoid using memalign for TLS allocations.
653         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
654         is_static member with to_free member.
655         (union dtv): Use struct dtv_pointer.
656         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
657         dtv_pointer instead of is_static.
658         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
659         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
660         instead of val.
661         (allocate_dtv_entry): New function.
662         (allocate_and_init): Return struct dtv_pointer.  Call
663         allocate_dtv_entry instead of __libc_memalign.
664         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
665         instead of val.
666         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
667         instead of is_static.  Adjust call to allocate_and_init.
668         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
669         struct dtv_pointer instead of val.
671 2016-08-03  Florian Weimer  <fweimer@redhat.com>
673         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
674         (MALLOC_ALIGN_MASK): Move ...
675         * malloc/malloc-internal.h: ... to here.
676         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
678 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
680         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
681         (UDP_ENCAP_GTP1U): Likewise.
683         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
684         (PF_MAX): Update value.
685         (AF_QIPCRTR): New macro.
687 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
689         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
690         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
691         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
693         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
694         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
695         s_truncf-vis3, s_trunc-vis3.
696         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
697         (CFLAGS-s_ceil-vis3.c): Likewise.
698         (CFLAGS-s_floorf-vis3.c): Likewise.
699         (CFLAGS-s_floor-vis3.c): Likewise.
700         (CFLAGS-s_truncf-vis3.c): Likewise.
701         (CFLAGS-s_trunc-vis3.c): Likewise.
702         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
710         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
711         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
712         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
713         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
715 2016-08-02  David S. Miller  <davem@davemloft.net>
717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
718         (__nearbyint_vis3): Don't check for sNaN before float register is
719         loaded with the incoming argument.
720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
721         (__nearbyintf_vis3): Likewise.
722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
723         Likewise.
724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
725         Likewise.
727         * string/test-strncmp.c (do_test_limit): Make sure the test data
728         stream is aligned as required for the type "CHAR".
729         (do_test): Likewise.
731 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
733         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
734         by beq instructions jumping to the end of the function.
735         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
736         clobber list. Use "i" constraint instead of "X".
737         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
738         of "X".
740 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
742         * bits/libc-header-start.h: New file.
743         * Makefile (headers): Add bits/libc-header-start.h.
744         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
745         (__GLIBC_USE): New macro.
746         * libio/stdio.h: Define
747         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
748         <bits/libc-header-start.h> instead of including <features.h>.
749         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
750         (open_memstream): Likewise.
751         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
752         (__asprintf): Likewise.
753         (asprintf): Likewise.
754         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
755         (getdelim): Likewise.
756         (getline): Likewise.
757         * string/string.h: Define
758         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
759         <bits/libc-header-start.h> instead of including <features.h>.
760         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
761         (strndup): Likewise.
762         * wcsmbs/wchar.h: Define
763         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
764         <bits/libc-header-start.h> instead of including <features.h>.
765         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
766         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
768 2016-08-02  Florian Weimer  <fweimer@redhat.com>
770         Support linking against compatibility symbols, for use in tests.
771         * include/libc-symbols.h (symbol_version_reference): New macro.
772         (symbol_version): Use it.
773         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
774         (compat_symbol): Use compat_symbol_reference.
775         (compat_symbol_1, compat_symbol_2): Remove.
776         (compat_symbol_reference, compat_symbol_reference_1)
777         (compat_symbol_reference_2): New macro.  Use
778         symbol_version_reference.
780 2016-08-02  Florian Weimer  <fweimer@redhat.com>
782         [BZ #19469]
783         * malloc/Makefile (CPPFLAGS): Compile tests with
784         -DTEST_NO_MALLOPT.
785         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
787 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
789         [BZ #20033]
790         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
791         finite version.
792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
793         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
794         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
795         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
796         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
797         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
803         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
804         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
805         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
806         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
807         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
808         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
809         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
810         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
811         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
812         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
813         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
814         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
815         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
816         in zero power.
818 2016-08-02  Florian Weimer  <fweimer@redhat.com>
820         [BZ #20370]
821         * malloc/arena.c (get_free_list): Update comment.  Assert that
822         arenas on the free list have no attached threads.
823         (remove_from_free_list): New function.
824         (reused_arena): Call it.
826 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
828         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
829         when it is a NaN.
830         [_IEEE_FP_INEXACT] Remove.
831         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
832         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
833         when it is a NaN.
834         [_IEEE_FP_INEXACT] Remove.
835         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
836         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
837         when it is a NaN.
838         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
839         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
840         when its absolute value is greater than 0x1.0p52.
841         [_IEEE_FP_INEXACT] Remove.
842         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
843         when its absolute value is greater than 0x1.0p23.
844         [_IEEE_FP_INEXACT] Remove.
846 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
848         * version.h (RELEASE): Set to "development"
849         (VERSION): Set to 2.24.90.
850         * NEWS: Add 2.25 section.
852         * version.h (RELEASE): Set to "stable"
853         (VERSION): Set to 2.24.
854         * include/features.h (__GLIBC_MINOR__): Set to 24.
856         * NEWS: Add 2.24 fixed bugs.
857         * po/libc.pot: Regenerate.
859 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
862         [$(subdir) = math] (libm-sysdep_routines): Remove.
863         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
864         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
865         s_truncf-vis3, s_trunc-vis3.
866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
868         file.
869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
902         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
903         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
904         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
905         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
906         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
907         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
908         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
909         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
910         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
911         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
913 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
915         [BZ #20384]
916         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
917         test-double-libmvec-sincos-avx-main.o,
918         test-double-libmvec-sincos-avx2-main.o,
919         test-double-libmvec-sincos-main.o,
920         test-float-libmvec-sincosf-avx-main.o,
921         test-float-libmvec-sincosf-avx2-main.o and
922         test-float-libmvec-sincosf-main.o.
923         test-float-libmvec-sincosf-avx512-main.o.
924         ($(objpfx)test-double-libmvec-sincos): Also link with
925         $(objpfx)test-double-libmvec-sincos-main.o.
926         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
927         $(objpfx)test-double-libmvec-sincos-avx-main.o.
928         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
929         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
930         ($(objpfx)test-float-libmvec-sincosf): Also link with
931         $(objpfx)test-float-libmvec-sincosf-main.o.
932         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
933         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
934         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
935         test-double-libmvec-sincos-avx512-main.o and
936         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
937         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
938         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
939         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
940         (CFLAGS-test-double-libmvec-sincos.c): Removed.
941         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
942         (CFLAGS-test-double-libmvec-sincos-main.c): New.
943         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
944         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
945         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
946         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
947         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
948         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
949         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
950         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
951         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
952         -DREQUIRE_AVX2.
953         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
954         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
955         -DREQUIRE_AVX512F.
956         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
957         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
958         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
959         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
960         file.
961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
962         Likewise.
963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
964         Likewise.
965         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
966         Likewise.
967         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
968         Likewise.
969         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
970         Likewise.
971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
972         Likewise.
973         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
974         Likewise.
976 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
978         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
980 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
982         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
983         and typo in a comment about AT_HWCAP entry.
985 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
987         * sysdeps/aarch64/libm-test-ulps: Updated.
989 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
991         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
992         of r13 as it is not restored in mvcle case.
994 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
996         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
997         Rename "ret" to "__ret".
998         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
999         inline_syscall5, inline_syscall6): Likewise.
1001 2016-07-19   Will Newton  <will.newton@gmail.com>
1003         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1004         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1005         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1006         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1007         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1009 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1011         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1012         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1013         -mfpmath=387 with $(rtld-CFLAGS).
1014         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1015         $(rtld-CFLAGS).
1017 2016-07-18   Ross Burton  <ross.burton@intel.com>
1018              Khem Raj  <raj.khem@gmail.com>
1020         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1021         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1022         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1023         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1024         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1025         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1026         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1027         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1028         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1029         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1030         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1031         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1032         R_METAG_TLS_DTPOFF): New.
1034 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1035             Matt Clay  <mclay@lycos.com>
1037         [BZ #20357]
1038         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1039         to call __mpsin/__mpcos and to negate values.
1040         * math/auto-libm-test-in: Add test.
1041         * math/auto-libm-test-out: Regenerate.
1043 2016-07-18  Zack Weinberg  <zackw@panix.com>
1045         * grp/Makefile: Don't install the internal header grp-merge.h.
1047 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1049         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1051 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1053         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1055 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1057         [BZ #15368]
1058         * sysdeps/unix/sysv/linux/nptl-signals.h
1059         (__nptl_clear_internal_signals): New function.
1060         (__libc_signal_block_all): Likewise.
1061         (__libc_signal_block_app): Likewise.
1062         (__libc_signal_restore_set): Likewise.
1063         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1064         implementation.
1065         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1066         the cached pid/tid value in pthread structure.
1068 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1070         [BZ #20347]
1071         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1073 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1075         [BZ #20348]
1076         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1077         preadv64, pwrite64 and pwritev64.
1079 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1081         [BZ #20350]
1082         * posix/tst-preadwrite.c: Renamed to ...
1083         * posix/tst-preadwrite-common.c: This.
1084         (PREAD): Removed.
1085         (PWRITE): Likewise.
1086         (STRINGIFY): Likewise.
1087         (STRINGIFY2): Likewise.
1088         (do_prepare): Make it static and remove function arguments.
1089         (do_test): Likewise.
1090         (PREPARE): Updated.
1091         (TEST_FUNCTION): New.
1092         (name): Make it static.
1093         (fd): Likewise.
1094         (do_prepare): Use create_temp_file.
1095         (do_test): Renamed to ...
1096         (do_test_with_offset): This.  Make it static and accept offset.
1097         Properly check return value of PWRITE and PREAD.  Return bytes
1098         read.  Don't close fd nor unlink name.
1099         * posix/tst-preadwrite.c: Rewrite.
1100         * posix/tst-preadwrite64.c: Likewise.
1102 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1104         [BZ #20309]
1105         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1106         -mtls-dialect=gnu2 works.
1107         * configure: Regenerated.
1108         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1109         (tests): Add tst-gnu2-tls1.
1110         (modules-names): Add tst-gnu2-tls1mod.
1111         ($(objpfx)tst-gnu2-tls1): New.
1112         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1113         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1114         * elf/tst-gnu2-tls1.c: New file.
1115         * elf/tst-gnu2-tls1mod.c: Likewise.
1116         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1117         bytes for push in the PLT entry to align the stack.
1119 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1121         [BZ #20349]
1122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1124 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1126         [BZ #18707]
1127         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1128         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1130 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1132         * sysdeps/unix/sysv/linux/sysdep.h
1133         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1134         guards.
1135         * misc/tst-preadvwritev-common.c: New file.
1136         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1137         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1138         a check for files larger than 2GB.
1140         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1141         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1142         * sysdeps/unix/sysv/linux/pread.c
1143         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1144         __OFF_T_MATCHES_OFF64_T.
1145         * sysdeps/unix/sysv/linux/pread64.c
1146         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1147         * sysdeps/unix/sysv/linux/preadv.c
1148         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1149         * sysdeps/unix/sysv/linux/preadv64.c
1150         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1151         * sysdeps/unix/sysv/linux/pwrite.c
1152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1153         * sysdeps/unix/sysv/linux/pwrite64.c
1154         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1155         * sysdeps/unix/sysv/linux/pwritev.c
1156         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1157         * sysdeps/unix/sysv/linux/pwritev64.c
1158         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1160 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1163         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1165 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1167         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1169 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1171         [BZ #20240]
1172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1173         (CFLAGS-s_modf-ppc32.c): New variable.
1174         (CFLAGS-s_modff-ppc32.c): Likewise.
1175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1176         (CFLAGS-s_modf-ppc64.c): Likewise.
1177         (CFLAGS-s_modff-ppc64.c): Likewise.
1179 2016-07-07  Andreas Schwab  <schwab@suse.de>
1181         [BZ #20263]
1182         * nptl/tst-robust10.c: New test.
1183         * nptl/Makefile (tests): Add tst-robust10.
1185 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1187         [BZ #20263]
1188         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1190 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1192         * sysdeps/s390/linkmap.h (struct link_map_machine):
1193         Remove member gotplt and add member jmprel.
1194         * sysdeps/s390/s390-32/dl-machine.h
1195         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1196         instead of gotplt with &got[3].
1197         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1198         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1200 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1202         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1204 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1206         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1207         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1208         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1209         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1210         * libio/vtables.c (_IO_vtable_check)
1211         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1212         * libio/libioP.h (IO_set_accept_foreign_vtables)
1213         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1215 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1217         [BZ #20314]
1218         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1219         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1220         $(common-objpfx)cmath.
1221         ($(common-objpfx)cstdlib): New target.
1222         ($(common-objpfx)cmath): Likewise.
1224 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1226         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1228 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1230         [BZ #20327]
1231         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1232         are not part of the string.
1234 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1236         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1237         * nptl/tst-cancel4-common.h (fifoname): New variable.
1238         (fifofd): Likewise.
1239         (cl_fifo): New function.
1240         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1241         SIGINT.
1242         (tf_open): Add early cancel test.
1244 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1246         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1248 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1250         * sysdeps/generic/ldsodefs.h
1251         (dl_symbol_visibility_binds_local_p): New inline function.
1252         * elf/dl-addr.c (determine_info): Treat hidden and internal
1253         symbols as local.
1254         * elf/dl-lookup.c (do_lookup_x): Likewise.
1255         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1257 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1259         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1260         invalid exception for a sNaN input.
1261         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1262         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1263         (__nearbyint_vis3): Likewise
1264         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1265         (__nearbyintf_vis3): Likewise
1266         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1267         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1268         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1269         Likewise.
1270         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1271         Likewise.
1273 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1275         [BZ #20139]
1276         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1277         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1278         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1279         2.24 or above.
1280         (HAVE_AVX512_ASM_SUPPORT): Removed.
1281         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1282         * sysdeps/x86_64/configure: Regenerated.
1283         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1284         check unconditional.
1285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1286         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1287         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1288         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1289         Likewise.
1290         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1291         Likewise.
1292         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1293         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1294         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1295         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1296         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1297         Likewise.
1298         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1299         Likewise.
1300         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1301         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1302         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1303         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1305         Likewise.
1306         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1307         Likewise.
1308         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1309         Likewise.
1310         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1311         Likewise.
1312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1313         Likewise.
1314         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1315         Likewise.
1316         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1317         Likewise.
1318         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1319         Likewise.
1320         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1321         Likewise.
1322         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1323         Likewise.
1324         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1325         Likewise.
1327 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1329         [BZ #20024]
1330         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1332         of this implementation of vector function.
1333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1335         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1336         Likewise.
1337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1338         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1339         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1340         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1341         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1342         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1343         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1344         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1345         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1346         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1347         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1348         for testing vector sincos with fixed ABI.
1349         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1350         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1351         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1352         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1353         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1354         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1355         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1356         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1357         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1358         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1359         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1360         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1361         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1362         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1363         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1364         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1366 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1368         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1370 2016-06-30  Anton Blanchard  <anton@samba.org>
1372         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1373         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1374         s_sinf-ppc64.
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1378         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1380 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1384         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1385         e_expf-ppc64.
1386         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1388         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1389         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1391 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1393         [BZ #20277]
1394         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1395         when SHARED is defined.
1397 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1399         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1400         (index_arch_Prefer_ERMS): Likewise.
1401         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1402         __memcpy_erms for Prefer_ERMS.
1403         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1404         (__memmove_erms): Enabled for libc.a.
1405         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1406         __memmove_erms or Prefer_ERMS.
1407         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1408         __mempcpy_erms for Prefer_ERMS.
1409         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1410         __memset_erms for Prefer_ERMS.
1412 2016-06-30  Andreas Schwab  <schwab@suse.de>
1414         [BZ #20262]
1415         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1416         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1417         of memory.
1419 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1421         [BZ #18645]
1422         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1423         (test-extras): Add tst-cleanupx4aux.
1424         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1425         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1426         tst-cleanupx4aux.o.
1427         * nptl/tst-cleanupx4aux.c: New file.
1429 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1431         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1433 2016-06-29  Andreas Schwab  <schwab@suse.de>
1435         [BZ #20260]
1436         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1437         address before the beginning of the string as an integer to avoid
1438         array-bounds warning.
1440 2016-06-28  Richard Henderson  <rth@redhat.com>
1442         * elf/elf.h (EM_BPF): New.
1443         (EM_NUM): Update.
1444         (R_BPF_NONE, R_BPF_MAP_FD): New.
1446         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1447         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1448         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1449         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1450         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1451         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1452         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1453         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1454         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1455         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1456         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1457         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1458         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1459         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1460         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1461         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1462         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1463         (EM_NUM): Update.
1465 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1467         [BZ #18960]
1468         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1469         Set _nl_current_LC_CATEGORY_used to two instead of one.
1471 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1473         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1474         (do_test): ... this.
1475         (TEST_FUNCTION): New macro.
1476          Include test-skeleton.c.
1477         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1478         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1480 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1482         [BZ #15479]
1483         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1484         floating-point environment rather than just control word.
1485         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1486         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1487         floating-point environment, with "invalid" exceptions merged in,
1488         rather than just control word.
1489         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1490         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1491         "inexact" exceptions.
1493         [BZ #15479]
1494         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1495         floating-point environment rather than just control word.
1496         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1497         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1498         floating-point environment, with "invalid" exceptions merged in,
1499         rather than just control word.
1500         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1501         * math/libm-test.inc (floor_test_data): Do not allow spurious
1502         "inexact" exceptions.
1504         [BZ #15479]
1505         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1506         floating-point environment rather than just control word.
1507         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1508         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1509         floating-point environment, with "invalid" exceptions merged in,
1510         rather than just control word.
1511         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1512         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1513         "inexact" exceptions.
1515 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1517         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1518         __libc_vfork.
1519         (__vfork) [IS_IN (libc)]: Remove alias.
1520         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1521         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1522         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1524 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1526         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1527         of atomic_compare_and_exchange_bool_rel.
1528         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1529         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1530         catomic_compare_and_exchange_bool_rel): Remove.
1531         * sysdeps/aarch64/atomic-machine.h
1532         (atomic_compare_and_exchange_bool_rel): Likewise.
1533         * sysdeps/alpha/atomic-machine.h
1534         (atomic_compare_and_exchange_bool_rel): Likewise.
1535         * sysdeps/arm/atomic-machine.h
1536         (atomic_compare_and_exchange_bool_rel): Likewise.
1537         * sysdeps/mips/atomic-machine.h
1538         (atomic_compare_and_exchange_bool_rel): Likewise.
1539         * sysdeps/microblaze/atomic-machine.h
1540         ( __arch_compare_and_exchange_bool_8_rel,
1541         __arch_compare_and_exchange_bool_16_rel): Likewise.
1542         * sysdeps/powerpc/atomic-machine.h
1543         ( __arch_compare_and_exchange_bool_8_rel,
1544         __arch_compare_and_exchange_bool_16_rel): Likewise.
1545         * sysdeps/powerpc/powerpc32/atomic-machine.h
1546         ( __arch_compare_and_exchange_bool_32_rel,
1547         __arch_compare_and_exchange_bool_64_rel): Likewise.
1548         * sysdeps/powerpc/powerpc64/atomic-machine.h
1549         ( __arch_compare_and_exchange_bool_32_rel,
1550         __arch_compare_and_exchange_bool_64_rel): Likewise.
1551         * sysdeps/tile/atomic-machine.h
1552         (atomic_compare_and_exchange_bool_rel): Likewise.
1554 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #20296]
1557         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1558         when either argument is a NaN.
1559         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1560         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1562         * math/libm-test.inc (snan_value_ld): New macro.
1563         (isgreater_test_data): Add sNaN tests.
1564         (isgreaterequal_test_data): Likewise.
1565         (isless_test_data): Likewise.
1566         (islessequal_test_data): Likewise.
1567         (islessgreater_test_data): Likewise.
1568         (isunordered_test_data): Likewise.
1569         (nextafter_test_data): Likewise.
1570         (nexttoward_test_data): Likewise.
1571         (remainder_test_data): Likewise.
1572         (remquo_test_data): Likewise.
1573         (significand_test_data): Likewise.
1574         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1576 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1578         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1579         environment macros are defined.
1580         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1582 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1584         [BZ #20191]
1585         Implement vtable verification in libio.
1586         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1587         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1588         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1589         _IO_new_file_init_internal instead of _IO_file_init.
1590         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1591         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1592         * libio/Makefile (routines): Add vtables.
1593         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1594         (_IO_init): Remove, not for internal use.
1595         (_IO_init_internal): Declare, internal replacement for _IO_init.
1596         (_IO_file_init): Remove, not for internal use.
1597         (_IO_new_file_init): Remove, not for internal use.
1598         (_IO_new_file_init_internal): Declare, internal replacement for
1599         _IO_new_file_init.
1600         (_IO_old_file_init): Remove, not for internal use.
1601         (_IO_old_file_init_internal): Declare, internal replacement for
1602         _IO_old_file_init.
1603         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1604         internal use.
1605         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1606         Declare.
1607         (libio_vtable): New macro.
1608         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1609         functions.
1610         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1611         _IO_new_file_init.
1612         (_IO_new_file_init): New externally visible wrapper which disables
1613         vtable verification.
1614         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1615         Define as vtables.
1616         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1617         (_IO_init): New externally visible wrapper which disables
1618         vtable verification.
1619         * libio/iofdopen.c (_IO_new_fdopen): Call
1620         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1621         comment.
1622         * libio/iofopen.c (__fopen_internal): Call
1623         _IO_new_file_init_internal instead of _IO_file_init.
1624         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1625         Define as vtables.
1626         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1627         _IO_new_file_init_internal instead of _IO_file_init.
1628         * libio/iopopen.c (_IO_new_popen): Likewise.
1629         (_IO_proc_jumps): Define as vtable.
1630         * libio/iovdprintf.c (_IO_vdprintf): Call
1631         _IO_new_file_init_internal instead of _IO_file_init.
1632         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1633         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1634         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1635         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1636         _IO_old_file_init.
1637         (_IO_old_file_init): New externally visible wrapper which disables
1638         vtable verification.
1639         (_IO_old_file_jumps): Define as vtable.
1640         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1641         _IO_old_file_init_internal instead of _IO_old_file_init.
1642         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1643         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1644         (_IO_old_proc_jumps): Define as vtable.
1645         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1646         Define as vtables.
1647         * libio/vtables.c: New file.
1648         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1649         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1650         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1651         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1652         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1653         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1654         instead of _IO_init.
1656 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1658         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1660 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1662         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1663         potentially unused.
1665 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1667         * test-skeleton.c (write_message): New function.
1668         * malloc/tst-mallocfork2.c (write_message): Remove.
1669         * debug/tst-longjmp_chk2.c (write_indented): New function.
1670         (write_message): Remove.
1671         (stackoverflow_handler): Call write_indented.
1673 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1675         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1676         "inexact" exceptions after fnstenv.
1677         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1678         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1679         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1681 2015-06-22  Zack Weinberg  <zackw@panix.com>
1683         * sysdeps/generic/bits/hwcap.h: Moved to ...
1684         * bits/hwcap.h: Here.
1686 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1688         * sysdeps/aarch64/memcpy.S (memcpy):
1689         Further tuning for performance.
1691 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1693         [BZ #20284]
1694         * malloc/arena.c (reused_arena): Do not return NULL if we start
1695         out with a non-corrupted arena.
1697 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1699         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1700         * misc/tst-preadvwritev.c: New file.
1701         * misc/tst-preadvwritev64.c: Likewise.
1702         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1703         usage.
1704         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1705         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1706         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1707         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1709 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1711         [BZ #19654]
1712         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1713         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1714         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1715         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1716         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1717         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1718         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1719         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1720         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1721         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1722         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1723         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1724         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1725         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1726         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1727         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1728         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1729         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1730         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1731         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1732         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1733         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1734         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1735         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1736         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1737         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1739 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1741         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1742         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1744 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1746         * sysdeps/aarch64/memcpy.S (memcpy):
1747         Rewrite of optimized memcpy and memmove.
1748         * sysdeps/aarch64/memmove.S (memmove): Remove
1749         memmove code (merged into memcpy.S).
1751 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1753         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1754         * sysdeps/generic/dl-dtv.h: New file.
1755         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1756         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1757         (dtv_t): Remove.
1758         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1759         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1760         (dtv_t): Remove.
1761         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1762         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1763         (dtv_t): Remove.
1764         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1765         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1766         (dtv_t): Remove.
1767         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1768         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1769         (dtv_t): Remove.
1770         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1771         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1772         (dtv_t): Remove.
1773         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1774         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1775         (dtv_t): Remove.
1776         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1777         (dtv_t): Remove.
1778         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1779         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1780         (dtv_t): Remove.
1781         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1782         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1783         (dtv_t): Remove.
1784         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1785         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1786         (dtv_t): Remove.
1787         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1788         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1789         (dtv_t): Remove.
1790         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1791         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1792         (dtv_t): Remove.
1793         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1794         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1795         (dtv_t): Remove.
1796         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1797         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1798         (dtv_t): Remove.
1799         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1800         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1801         (dtv_t): Remove.
1803 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1805         Revert symbol poisoning of  __malloc_initialize_hook.
1806         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1807         poisoning.
1808         * malloc/Makefile: Remove un-poisoning.
1809         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1810         instead of old__malloc_initialize_hook.
1811         * malloc/malloc-hooks.h: Likewise.
1812         * malloc/malloc.c: Likewise.
1813         * malloc/mcheck-init.c: Likewise.
1815 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1817         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1819 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1821         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1822         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1823         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1824         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1826 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1828         * NEWS: Mention addition of nextup and nextdown.
1829         * manual/arith.texi: Document nextup and nextdown.
1830         * manual/libm-err-tab.pl: Add nextup and nextdown.
1831         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1832         * math/Versions (libm): Add GLIBC_2.24.
1833         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1834         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1835         Add new test.
1836         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1837         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1838         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1839         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1840         (nextup_test_data): Likewise.
1841         (nextdown_test_data): Likewise.
1842         * math/s_nextdown.c: New file.
1843         * math/s_nextdownf.c: Likewise.
1844         * math/s_nextdownl.c: Likewise.
1845         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1846         F(nextup): New function.
1847         F(nextdown): Likewise.
1848         * math/tgmath.h: Add nextup and nextdown.
1849         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1850         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1851         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1852         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1853         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1854         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1855         Add nextup and nextdown.
1856         (CFLAGS-nldbl-nextup.c): New variable.
1857         (CFLAGS-nldbl-nextdown.c): Likewise.
1858         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1859         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1860         * sysdeps/nacl/libm.abilist: Update.
1861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1875         Likewise.
1876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1890 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1892         * manual/pattern.texi: Fix typos & grammar errors.
1894 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1896         * manual/search.texi: Fix typos & grammar errors.
1898 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1900         * manual/message.texi: Fix typos & grammar errors.
1902 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1904         * manual/contrib.texi: Fix spelling typos.
1905         * manual/crypt.texi: Likewise.
1906         * manual/filesys.texi: Likewise.
1907         * manual/locale.texi: Likewise.
1908         * manual/message.texi: Likewise.
1909         * manual/nss.texi: Likewise.
1910         * manual/string.texi: Likewise.
1912 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1914         * manual/locale.texi: Fix typos & grammar errors.
1916 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1918         * manual/charset.texi: Fix typos & grammar errors.
1920 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1922         * manual/string.texi: Fix typos.
1924 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1926         * manual/ctype.texi: Fix typos.
1928 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1930         * manual/memory.texi: Fix various typos & grammar errors.
1932 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1934         [BZ #20255]
1935         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1936         * math/libm-test.inc (fdim_test_data): Add another test.
1938         [BZ #6796]
1939         [BZ #20255]
1940         [BZ #20256]
1941         * math/s_fdim.c: Include <math_private.h>.
1942         (__fdim): Use math_narrow_eval on result.
1943         * math/s_fdimf.c: Include <math_private.h>.
1944         (__fdimf): Use math_narrow_eval on result.
1945         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1946         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1947         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1948         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1949         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1950         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1951         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1952         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1953         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1954         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1955         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1956         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1957         overflow.  Add sNaN tests.
1959         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1960         fpclassify.
1961         * math/s_fdimf.c (__fdimf): Likewise.
1962         * math/s_fdiml.c (__fdiml): Likewise.
1964 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1966         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1967         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1969         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1970         ifunc'ed strcasecmp/strncasecmp.
1971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1972         [EALIGN]: Removed.
1973         [END]: Likewise.
1974         [__strcasecmp]: Define instead of the above to control symbol name.
1975         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1976         for __strcasecmp_power8.
1977         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1978         for __strncasecmp_power8.
1979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1981         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1982         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1983         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1984         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1986 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1988         [BZ #20252]
1989         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1990         arguments when second argument is a NaN.
1991         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1992         qNaN tests.
1994         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1995         (conj_test_data): Likewise.
1996         (copysign_test_data): Likewise.
1997         (creal_test_data): Likewise.
1998         (fma_test_data): Likewise.
1999         (fmod_test_data): Likewise.
2001         [BZ #20250]
2002         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2003         itself.
2004         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2005         zero input to itself.
2006         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2007         Likewise.
2008         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2009         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2010         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2011         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2012         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2014 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2016         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2017         * nptl/tst-cancel4-common.c: New file.
2018         * nptl/tst-cancel4-common.h: Likewise.
2019         * nptl/tst-cancel4.c: Move common definitions to
2020         tst-cancel4-common.{c,h} file.
2021         * nptl/tst-cancel4_1.c: New test.
2022         * nptl/tst-cancel4_2.c: New test.
2024 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2026         [BZ #20248]
2027         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2028         (write_message): New function.
2029         (stackoverflow_handler): Call it instead of printf, to avoid
2030         excessive stack usage by printf.
2031         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2033 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2035         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2036         (prio_inherit_missing): Remove define.
2037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2038         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2039         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2040         Likewise.
2041         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2042         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2043         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2044         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2045         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2046         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2048 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2050         [BZ #19670]
2051         [BZ #19672]
2053         * io/test-lfs.c (do_prepare): Use xmalloc.
2054         * io/tst-fcntl.c (do_prepare): Likewise.
2055         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2056         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2057         * login/tst-utmp.c (do_prepare): Likewise.
2058         * posix/tst-exec.c (do_prepare): Likewise.
2059         * posix/tst-pathconf.c (prepare): Likewise.
2060         * posix/tst-spawn.c (do_prepare): Likewise.
2061         * posix/tst-truncate.c (do_prepare): Likewise.
2062         * rt/tst-aio.c (do_prepare): Likewise.
2063         * rt/tst-aio64.c (do_prepare): Likewise.
2065 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2067         [BZ #20237]
2068         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2069         (get*ent): Set entidx to NULL during initialization.  If entidx is
2070         NULL, start iteration from the beginning.
2072 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2074         * malloc/malloc.c (musable): Return correct size for dumped fake
2075         mmapped chunk.
2077 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2079         [BZ #20222]
2080         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2081         (_IO_cookie_write): Likewise.
2082         (_IO_cookie_seek): Likewise.
2083         (_IO_cookie_close): Likewise.
2084         (_IO_old_cookie_seek): Likewise.
2085         (set_callbacks): New function.
2086         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2088 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2090         * locale/programs/localedef.c (oldstyle_tables): Remove.
2091         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2093 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2095         [BZ #20240]
2096         * math/Makefile (CFLAGS-s_modf.c): New variable.
2097         (CFLAGS-s_modff.c): Likewise.
2098         (CFLAGS-s_modfl.c): Likewise.
2099         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2101 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2103         [BZ #20215]
2104         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2105         [!__GNUC_PREREQ (3,2)]: Likewise.
2107 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2109         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2110         (msghdr.msg_controllen): Likewise.
2111         (cmsghdr.cmsg_len): Likewise.
2112         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2113         ptw-oldsendmsg.
2114         (CFLAGS-oldrecvmsg.c): Remove rule.
2115         (CFLAGS-oldsendmsg.c): Likewise.
2116         (CFLAGS-recvmsg.c): Add rule.
2117         (CFLAGS-sendmsg.c): Likewise.
2118         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2119         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2120         (CFLAGS-recvmsg.c): Remove rule.
2121         (CFLAGS-sendmsg.c): Likewise.
2122         (CFLAGS-oldrecvmsg.c): Likewise.
2123         (CFLAGS-oldsendmsg.c): Likewise.
2124         (CFLAGS-recvmmsg.c): Likewise.
2125         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2126         to kernel defined interfaces.
2127         (msghdr.msg_controllen): Likewise.
2128         (cmsghdr.cmsg_len): Likewise.
2129         (msghdr.__glibc_reserved1): Remove member.
2130         (msghdr.__glibc_reserved2): Likewise.
2131         (cmsghdr.__glibc_reserved1): Likewise.
2132         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2133         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2134         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2135         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2136         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2137         version.
2138         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2139         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2140         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2141         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2142         Remove recvmsg and sendmsg.
2143         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2144         Likewise.
2145         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2146         Likewise.
2147         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2148         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2149         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2150         Likewise.
2151         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2152         Likewise.
2153         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2154         [libc] (GLIBC_2.24): Likewise.
2155         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2156         Likewise.
2157         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2158         Likewise.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2160         [libc] (GLIBC_2.24): Likewise.
2161         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2164         Likewise.
2165         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2166         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2167         Likewise.
2168         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2169         Likewise.
2170         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2173         Likewise.
2174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2175         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2176         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2177         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2178         version for {recv,send,recm,sendm}msg.
2179         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2180         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2181         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2182         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2183         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2192         Likewise.
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2194         Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2198         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2199         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2209 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2211         [BZ #19564]
2212         Remove __malloc_initialize_hook from the API.
2213         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2214         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2215         #pragma GCC poison.
2216         * malloc/malloc-hooks.h: New file.
2217         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2218         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2219         (old__malloc_initialize_hook): Rename from
2220         __malloc_initialize_hook to evade poisoning.  Turn into compat
2221         symbol.
2222         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2223         __malloc_initialize_hook.
2224         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2225         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2226         * manual/memory.texi (Hooks for Malloc): Remove
2227         __malloc_initialize_hook.  Adjust hook example.
2229 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2231         [BZ #20235]
2232         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2233         itself.
2234         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2235         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2237         [BZ #20234]
2238         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2239         infinity or NaN input to itself.
2241         [BZ #20233]
2242         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2243         to itself.
2245         [BZ #20232]
2246         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2247         itself.
2249 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2251         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2252         __libc_start_main via GOT.
2254 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2256         * sysdeps/x86_64/memcopy.h: New file.
2257         * sysdeps/x86_64/wordcopy.c: Likewise.
2259 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2261         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2262         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2263         <cstdlib>.
2264         (optimization_barrier): New.
2265         (do_test): Use it.  Call quick_exit in the global namespace.
2266         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2267         instead of <cstdlib>, <thread>.
2268         (optimization_barrier): New.
2269         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2270         Call quick_exit in the global namespace.
2271         (do_test): Call optimization_barrier.  Use pthread_create,
2272         pthread_join instead of std::thread.
2274 2016-06-09  Andreas Schwab  <schwab@suse.de>
2276         [BZ #19755]
2277         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2278         new entries in auto-propagate mode.
2279         * nscd/grpcache.c (cache_addgr): Likewise.
2281 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2283         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2284         New functions.
2285         (add_temp_file): Use them.
2287 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2289         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2291 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2293         [BZ #20229]
2294         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2295         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2296         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2298         [BZ #20228]
2299         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2300         itself.
2301         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2302         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2304         [BZ #20227]
2305         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2306         itself.
2307         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2308         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2309         * math/libm-test.inc (log_test_data): Add sNaN tests.
2311         [BZ #20226]
2312         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2313         itself.
2314         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2315         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2316         (exp10_test_data): Likewise.
2317         (expm1_test_data): Likewise.
2319         [BZ #20225]
2320         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2321         itself.
2322         * math/s_ldexpf.c (__ldexpf): Likewise.
2323         * math/s_ldexpl.c (__ldexpl): Likewise.
2324         * math/w_scalbln.c (__w_scalbln): Likewise.
2325         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2326         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2327         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2328         (scalbln_test_data): Likewise.
2330         [BZ #20224]
2331         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2332         argument to itself.
2333         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2335 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2337         [BZ #19776]
2338         * sysdeps/x86_64/memcpy.S: Make it dummy.
2339         * sysdeps/x86_64/mempcpy.S: Likewise.
2340         * sysdeps/x86_64/memmove.S: New file.
2341         * sysdeps/x86_64/memmove_chk.S: Likewise.
2342         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2343         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2344         * sysdeps/x86_64/memmove.c: Removed.
2345         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2346         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2347         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2348         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2349         Likewise.
2350         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2351         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2353         memcpy-sse2-unaligned, memmove-avx-unaligned,
2354         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2356         (__libc_ifunc_impl_list): Replace
2357         __memmove_chk_avx512_unaligned_2 with
2358         __memmove_chk_avx512_unaligned.  Remove
2359         __memmove_chk_avx_unaligned_2.  Replace
2360         __memmove_chk_sse2_unaligned_2 with
2361         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2362         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2363         with __memmove_avx512_unaligned.  Replace
2364         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2365         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2366         with __memcpy_chk_avx512_unaligned.  Remove
2367         __memcpy_chk_avx_unaligned_2.  Replace
2368         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2369         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2370         Replace __memcpy_avx512_unaligned_2 with
2371         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2372         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2373         with __mempcpy_chk_avx512_unaligned.  Remove
2374         __mempcpy_chk_avx_unaligned_2.  Replace
2375         __mempcpy_chk_sse2_unaligned_2 with
2376         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2377         Replace __mempcpy_avx512_unaligned_2 with
2378         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2379         Replace __mempcpy_sse2_unaligned_2 with
2380         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2381         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2382         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2383         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2384         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2385         (ENTRY): Removed.
2386         (END): Likewise.
2387         (ENTRY_CHK): Likewise.
2388         (libc_hidden_builtin_def): Likewise.
2389         Don't include ../memcpy.S.
2390         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2391         __memcpy_chk_avx512_unaligned_erms and
2392         __memcpy_chk_avx512_unaligned.  Use
2393         __memcpy_chk_avx_unaligned_erms and
2394         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2395         Default to __memcpy_chk_sse2_unaligned.
2396         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2397         Change function suffix from unaligned_2 to unaligned.
2398         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2399         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2400         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2401         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2402         (ENTRY): Removed.
2403         (END): Likewise.
2404         (ENTRY_CHK): Likewise.
2405         (libc_hidden_builtin_def): Likewise.
2406         Don't include ../mempcpy.S.
2407         (mempcpy): New.  Add a weak alias.
2408         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2409         __mempcpy_chk_avx512_unaligned_erms and
2410         __mempcpy_chk_avx512_unaligned.  Use
2411         __mempcpy_chk_avx_unaligned_erms and
2412         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2413         Default to __mempcpy_chk_sse2_unaligned.
2415 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2417         [BZ #19881]
2418         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2419         into ...
2420         * sysdeps/x86_64/memset.S: This.
2421         (__bzero): Removed.
2422         (__memset_tail): Likewise.
2423         (__memset_chk): Likewise.
2424         (memset): Likewise.
2425         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2426         defined.
2427         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2428         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2429         (__memset_zero_constant_len_parameter): Check SHARED instead of
2430         PIC.
2431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2432         memset-avx2 and memset-sse2-unaligned-erms.
2433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2434         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2435         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2436         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2437         (__bzero): Enabled.
2438         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2439         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2440         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2441         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2442         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2443         (memset): Removed.
2444         (__memset_chk): Likewise.
2445         (MEMSET_SYMBOL): New.
2446         (libc_hidden_builtin_def): Replace __memset_sse2 with
2447         __memset_sse2_unaligned.
2448         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2449         __memset_chk_sse2 and __memset_chk_avx2 with
2450         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2451         Use __memset_chk_sse2_unaligned_erms or
2452         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2453         __memset_chk_avx512_unaligned_erms and
2454         __memset_chk_avx512_unaligned.
2456 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2458         * math/gen-auto-libm-test.c (fp_format_desc): remove
2459         suffix member.
2460         (output_generic_value): Remove usage of suffix member,
2461         and the resulting unuse of the fp_format argument.
2462         (output_for_one_input_case): Remove unused fp_format
2463         parameter.
2465         * math/auto-libm-test-out: Regenerate.
2467         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2468         usage with TEST_COND_ibm128.
2469         (TEST_COND_flt_32): Remove.
2470         (TEST_COND_dbl_64): Remove.
2471         (TEST_COND_ldbl_96_intel): Remove.
2472         (TEST_COND_ldbl_96_m68k): Remove.
2473         (TEST_COND_ldbl_128): Remove.
2475 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2477         * auto-libm-test-in:
2478         Replace flt-32 usage with binary32.
2479         Replace dbl-64 usage with binary64.
2480         Replace ldbl-intel-96 usage with intel96.
2481         Replace ldbl-m68k-96 usage with m68k96.
2482         Replace ldbl-128ibm usage with ibm128.
2483         Replace ldbl-128 usage with binary128.
2485         * auto-libm-test-out: Regenerate.
2487 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2489         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2490         (parse_ulps): Dynamically generate type name matching
2491         string from all_floats.
2492         (get_ulps): Generate the ulps as an array instead.
2493         (output_ulps): Dynamically compose the type based
2494         on the number of supported formats, and print
2495         the indices as type specific helper macros.
2497         * math/libm-test.inc: Remove comment about CHOOSE.
2498         (ulp_data): Generate the type in libm-test-ulps.h.
2499         (ULP_IDX): New macro.
2500         (find_ulps): Update usage of max_ulp.
2502         * math/test-double-vlen2.h (CHOOSE): Remove.
2503         * math/test-double-vlen4.h (CHOOSE): Likewise.
2504         * math/test-double-vlen8.h (CHOOSE): Likewise.
2505         * math/test-float.c (CHOOSE): Likewise.
2506         * math/test-float-finite.c (CHOOSE): Likewise.
2507         * math/test-double.c (CHOOSE): Likewise.
2508         * math/test-double-finite.c (CHOOSE): Likewise.
2509         * math/test-idouble.c (CHOOSE): Likewise.
2510         * math/test-ifloat.c (CHOOSE): Likewise.
2511         * math/test-ildoubl.c (CHOOSE): Likewise.
2512         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2513         * math/test-ldouble.c (CHOOSE): Likewise.
2515         * math/test-float.h (TEST_FLOAT): Remove.
2516         * math/test-double.h (TEST_DOUBLE): Likewise.
2517         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2519 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2521         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2522         (parse_args): Strip C suffix from floating point literals
2523         typed with 'f' and wrap them with LIT().
2525         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2526         (test_ff_f_data_nexttoward): Rename to
2527         (test_fj_f_data): New struct.
2528         (nexttoward_test_data): Relabel tests as
2529         TEST_fj_f instead of TEST_ff_f.
2531 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2533         Emacs bug 23726.
2534         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2535         (__libc_realloc): Correct size computation for dumped fake mmapped
2536         chunks.
2538 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2540         [BZ #20219]
2541         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2542         to itself.
2543         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2545         [BZ #20218]
2546         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2547         to itself.
2548         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2550 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2552         [BZ #20195]
2553         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2554         check to ...
2555         (init_cpu_features): Here.
2557 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2559         [BZ #20214]
2560         * sysdeps/unix/sysv/linux/bits/in.h
2561         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2562          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2563         Define to 1.
2564         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2565          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2566         Define to 0.
2567         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2568         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2570 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2572         [BZ #20198]
2573         * stdlib/Makefile (tests): Add tst-quick_exit, and
2574         tst-thread-quick_exit.
2575         [ifeq ($(have-cxx-thread_local),yes)]
2576         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2577         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2578         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2579         (LDLIBS-tst-thread-quick_exit): Likewise.
2580         [ifneq ($(have-cxx-thread_local),yes)]
2581         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2582         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2583         If run_dtors is true call __call_tls_dtors.
2584         (exit): Call __run_exit_handlers with run_dtors set to true.
2585         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2586         definition.
2587         * stdlib/quick_exit.c (quick_exit): Remove function.
2588         (__new_quick_exit): New function.
2589         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2590         function.
2591         * stdlib/tst-quick_exit.cc: New file.
2592         * stdlib/tst-thread-quick_exit.cc: New file.
2593         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2594         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2595         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2596         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2597         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2598         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2599         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2600         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2601         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2602         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2603         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2604         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2605         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2606         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2607         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2608         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2613         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2614         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2615         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2616         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2617         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2620         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2621         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2622         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2624 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2626         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2627         a typo in comments.
2629 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #20213]
2632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2633         argument to itself.
2634         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2636 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2638         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2639         required flags.
2640         (CFLAGS-pwritev64.c): Likewise.
2641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2643         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2644         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2645         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2646         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2647         syscall from auto-generation.
2648         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2649         [WORDSIZE == 64] (pwritev64): Remove macro.
2650         [!PWRITEV] (PWRITEV): Likewise.
2651         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2652         [!PWRITEV] (PWRITE): Likewise.
2653         [!PWRITEV] (OFF_T): Likewise.
2654         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2655         (LO_HI_LONG): Remove macro.
2656         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2657         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2658         (PWRITEV): Remove macro.
2659         (PWRITEV_REPLACEMENTE): Likewise.
2660         (PWRITE): Likewise.
2661         (OFF_T): Likewise.
2662         (pwritev64): New function.
2663         * nptl/tst-cancel4.c (tf_writev): Add test.
2665         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2666         required flags.
2667         (CFLAGS-preadv64.c): Likewise.
2668         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2669         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2670         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2671         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2672         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2673         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2674         syscall from auto-generation.
2675         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2676         [WORDSIZE == 64] (preadv64): Remove macro.
2677         [!PREADV] (PREADV): Likewise.
2678         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2679         [!PREADV] (PREAD): Likewise.
2680         [!PREADV] (OFF_T): Likewise.
2681         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2682         (LO_HI_LONG): Remove macro.
2683         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2684         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2685         (PREADV): Remove macro.
2686         (PREADV_REPLACEMENTE): Likewise.
2687         (PREAD): Likewise.
2688         (OFF_T): Likewise.
2689         (preadv64): New function.
2690         * nptl/tst-cancel4.c (tf_preadv): Add test.
2692 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2694         [BZ #20212]
2695         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2696         argument to itself.
2697         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2699 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2701         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2702         New symbol defined as libc_hidden_def.
2703         (strcasestr): Became a weak alias to __strcasestr.
2704         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2705         according to multi-arch support.  Move __stpncpy hidden
2706         definition from here to...
2707         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2708         symbol stpncpy.
2709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2710         libc_hidden_builtin_def.
2711         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2712         memset symbol to use when multi-arch support is available.
2714 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2716         * dlfcn/tst-rec-dlopen.c: Include string.h.
2718 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2720         * manual/install.texi: Remove mention of --without-tls
2721         * INSTALL: Regenerate.
2723 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2725         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2726         Remove.
2727         (call_function, interposed_malloc_called): New variables.
2728         (malloc): New function.
2729         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2730         and clear call_function as needed.
2732 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2734         * include/wchar.h (__wmemset): Use __typeof.
2736 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2738         * include/wchar.h (__wmemset): Declare function without typeof.
2740 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2742         [BZ #20205]
2743         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2744         exponent when incrementing negative subnormal with low mantissa
2745         word zero.
2746         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2747         Add another test.
2749 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2751         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2752         __wmemset instead of wmemset.
2754 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2756         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2757         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2758         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2759         __USE_KERNEL_IPV6_DEFS to 0.
2760         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2761         Update comment.
2763 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2765         [BZ #19861]
2766         Do not use IFUNC resolver with potentially unrelocated symbol.
2767         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2768         (DEFINE_FORK): Remove macro and inline definition.
2769         (fork_alias): Renamed from fork_ifunc.
2770         (__fork_alias): Renamed from __fork_ifunc.
2772 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2774         [BZ 19653]
2775         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2776         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2778 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2780         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2781         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2782         i386-linux-gnu).
2783         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2784         Set to no.
2785         * sysdeps/mach/hurd/configure: Refresh.
2787 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2789         [BZ #20178]
2790         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2791         on failure instead of exit.
2793 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2795         [BZ #3629]
2796         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2797         of POSIX.1-2008.
2799 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2801         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2802           Use PLT entry for calling _hurd_self_sigstate.
2804 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2806         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2807         available logical processors with SMT level type sharing L2
2808         cache for Intel processors.
2810 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2812         [BZ #20160]
2813         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2814         argument to itself before returning the result.
2815         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2816         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2817         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2819         Likewise.
2820         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2821         Likewise.
2822         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2823         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2824         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2825         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2826         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2827         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2829         [BZ #20160]
2830         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2831         argument to itself before returning the result.
2832         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2833         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2834         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2835         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2836         Likewise.
2837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2838         Likewise.
2839         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2840         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2841         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2842         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2843         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2844         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2846 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2848         * libm-test.inc: Replace usage of M_El with
2849         (lit_e): New macro.
2851 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2853         * libm-test.inc: Replace usage of M_PI_4l with
2854         (lit_pi_4_d): New macro.
2856 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2858         * libm-test.inc: Replace usage of M_PIl with
2859         (lit_pi): New macro.
2861 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2863         * libm-test.inc: Replace usage of M_PI2l with
2864         (lit_pi_2_d): New macro.
2866         * math/test-double.h (LITM): New macro.
2867         * math/test-float.h (LITM): Likewise.
2868         * math/test-ldouble.h (LITM): Likewise.
2870 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2872         * libm-test.inc (M_PI_34l): Rename to
2873         (lit_pi_3_m_4_d): New Macro.
2874         (M_PI_34_LOG10El): Rename to
2875         (lit_pi_3_m_4_ln10_m_d): New Macro.
2876         (M_PI2_LOG10El): Rename to
2877         (lit_pi_2_ln10_m_d):  New Macro.
2878         (M_PI4_LOG10El): Rename to
2879         (lit_pi_4_ln10_m_d):  New Macro.
2880         (M_PI_LOG10El): Rename to
2881         (lit_pi_ln10_d):  New Macro.
2883 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2885         [BZ #20157]
2886         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2887         determine whether to negate low half if [_ARCH_PPCGR], and integer
2888         comparison otherwise.
2889         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2890         determine whether to negate low half.
2892         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2893         (NO_TEST_INLINE_DOUBLE): Likewise.
2894         (TEST_COND_x86_64): Likewise.
2895         (TEST_COND_x86): Likewise.
2896         (M_PI_6l): Likewise.
2898 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2900         * math/libm-test.inc:
2901         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2902         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2903         (TEST_LDOUBLE): Update usage to evaluate as true if
2904         the guarded tests match the property being tested.
2905         (LDBL_MAX_EXP): Change to MAX_EXP.
2906         (LDBL_MIN_EXP): Change to MIN_EXP.
2907         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2908         nexttoward tests.
2910 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2912         * math/libm-test.inc:
2913         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2914         (TYPE_MIN): Likewise.
2915         (TYPE_TRUE_MIN): Likewise.
2916         (TYPE_MAX): Likewise.
2917         (MIN_EXP): Likewise.
2918         (MAX_EXP): Likewise.
2919         (MANT_DIG): Likewise.
2921         (FSTR_MAX): New macro.
2922         (__CONCATX): Likewise.
2923         (QTYPE_STR): Likewise.
2924         (TEST_COND_binary32): Likewise.
2925         (TEST_COND_binary64): Likewise.
2926         (TEST_COND_binary128): Likewise.
2927         (TEST_COND_ibm128): Likewise.
2928         (TEST_COND_intel96): Likewise.
2929         (TEST_COND_m68k96): Likewise.
2931         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2932         (TEST_COND_dbl_64): Likewise.
2933         (TEST_COND_ldbl_96_intel): Likewise.
2934         (TEST_COND_ldbl_96_m68k): Likewise.
2935         (TEST_COND_ldbl_128): Likewise.
2936         (TEST_COND_ldbl_128ibm): Likewise.
2938         (plus_zero): Redefine using LIT macro.
2939         (minus_zero): Likewise.
2940         (plus_infty): Redefine as (INF).
2941         (minux_infty): Redefine as (-INF).
2942         (max_value): Redefine as TYPE_MAX.
2943         (min_value): Redefine as TYPE_MIN.
2944         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2946         (print_float): Refactor to use snprintf to convert FLOAT values
2947         to string. This brings it closer to dropin replacement of strtof
2948         for the TS 18661 defined types.
2949         (update_stats): Likewise.
2950         (print_complex_function_ulps): Likewise.
2951         (print_max_error): Likewise.
2952         (print_complex_max_error): Likewise.
2953         (check_float_internal): Likewise.
2955         * math/test-float.h (PREFIX): New macro.
2956         (LIT): Likewise.
2957         (TYPE_STR): Likewise.
2958         (FTOSTR): Likewise.
2960         * math/test-double.h (PREFIX): New macro.
2961         (LIT): Likewise.
2962         (TYPE_STR): Likewise.
2963         (FTOSTR): Likewise.
2965         * math/test-ldouble.h (PREFIX): New macro.
2966         (LIT): Likewise.
2967         (TYPE_STR): Likewise.
2968         (FTOSTR): Likewise.
2970 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2972         [BZ #20156]
2973         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2974         to itself when zero or not finite.
2975         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2976         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2977         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2978         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2980 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2982         [BZ #20153]
2983         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2984         x * x + x for infinities and NaNs.
2986         [BZ #20151]
2987         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2988         argument to itself before returning result.
2989         (__ieee754_y0l): Likewise.
2990         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2991         (__ieee754_y1l).
2993         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2994         (atan_test_data): Likewise.
2995         (ceil_test_data): Likewise.
2996         (cos_test_data): Likewise.
2997         (cosh_test_data): Likewise.
2998         (erf_test_data): Likewise.
2999         (exp2_test_data): Likewise.
3000         (fabs_test_data): Likewise.
3001         (floor_test_data): Likewise.
3002         (ilogb_test_data): Likewise.
3003         (j0_test_data): Likewise.
3004         (j1_test_data): Likewise.
3005         (jn_test_data): Likewise.
3006         (lgamma_test_data): Likewise.
3007         (lrint_test_data): Likewise.
3008         (llrint_test_data): Likewise.
3009         (logb_test_data): Likewise.
3010         (lround_test_data): Likewise.
3011         (llround_test_data): Likewise.
3012         (nearbyint_test_data): Likewise.
3013         (rint_test_data): Likewise.
3014         (round_test_data): Likewise.
3015         (sin_test_data): Likewise.
3016         (sincos_test_data): Likewise.
3017         (sinh_test_data): Likewise.
3018         (sqrt_test_data): Likewise.
3019         (tan_test_data): Likewise.
3020         (tanh_test_data): Likewise.
3021         (tgamma_test_data): Likewise.
3022         (trunc_test_data): Likewise.
3023         (y0_test_data): Likewise.
3024         (y1_test_data): Likewise.
3025         (yn_test_data): Likewise.
3027         * math/libm-test.inc: Update comment about NaN testing.
3028         (TEST_SNAN): New macro.
3029         (snan_value): Likewise.
3030         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3031         (fpclassify_test_data): Add sNaN tests.
3032         (isfinite_test_data): Likewise.
3033         (isinf_test_data): Likewise.
3034         (isnan_test_data): Likewise.
3035         (isnormal_test_data): Likewise.
3036         (issignaling_test_data): Likewise.
3037         (signbit_test_data): Likewise.
3038         * math/gen-libm-test.pl (%beautify): Add snan_value.
3039         (show_exceptions): Add argument $test_snan.
3040         (parse_args): Handle snan_value as non-finite.  Update call to
3041         show_exceptions.
3042         * math/Makefile (libm-test-no-inline-cflags): Add
3043         -fsignaling-nans.
3045 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3047         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3048         (CFLAGS-oldsendmsg.c): Add rule.
3049         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3050         Correct recvmsg symbol name.
3051         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3052         Likewise.
3054 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3056         * sysdeps/unix/sysv/linux/Makefile
3057         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3058         oldsendmmsg.
3059         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3060         sendmmsg.
3061         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3064         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3069         Likewise.
3070         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3072         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3073         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3074         iovlen and controllen fields to adjust to POSIX specification.
3075         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3077         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3078         and change to correct expected type.
3079         (msghdr.msg_controllen): Likewise.
3080         (cmsghdr.cmsg_len): Likewise.
3081         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3082         expected POSIX assumption about the size.
3083         (msghdr.msg_controllen): Likewise.
3084         (msghdr.__glibc_reserved1): Likewise.
3085         (msghdr.__glibc_reserved2): Likewise.
3086         (cmsghdr.cmsg_len): Likewise.
3087         (cmsghdr.__glibc_reserved1): Likewise.
3088         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3089         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3090         (CFLAGS-sendmsg.c): Remove rule.
3091         (CFLAGS-recvmsg.c): Likewise.
3092         (CFLAGS-oldsendmsg.c): Add rule.
3093         (CFLAGS-oldrecvmsg.c): Likewise.
3094         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3095         recvmsg and sendmsg.
3096         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3097         Likewise.
3098         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3099         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3100         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3101         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3102         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3103         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3106         Likewise.
3107         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3108         Likewise.
3109         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3116         (GLIBC_2.24): Likewise.
3117         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3120         Likewise.
3121         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3122         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3123         Likewise.
3124         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3125         Likewise.
3126         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3127         Likewise.
3128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3129         (GLIBC_2.24): Likewise.
3130         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3131         Likewise.
3132         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3133         Likewise.
3134         * sysdeps/unix/sysv/linux/Makefile
3135         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3136         (CFLAGS-sendmsg.c): Add rule.
3137         (CFLAGS-recvmsg.c): Likewise.
3138         (CFLAGS-oldsendmsg.c): Likewise.
3139         (CFLAGS-oldrecvmsg.c): Likewise.
3140         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3141         initialization.
3142         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3143         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3144         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3145         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3146         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3147         iovlen and controllen fields to adjust to POSIX specification.
3148         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3149         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3150         added recvmsg and sendmsg.
3151         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3152         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3153         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3154         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3155         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3164         Likewise.
3165         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3167         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3168         Likewise.
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3171         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3172         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3173         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3183         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3184         from auto-generation.
3185         (sendmsg): Likewise.
3186         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3187         (sendmsg): Likewise.
3188         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3189         (sendmsg): Likewise.
3190         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3191         (sendmsg): Likewise.
3192         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3193         (sendmsg): Likewise.
3194         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3195         (sendmsg): Likewise.
3196         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3197         Likewise.
3198         (sendmsg): Likewise.
3199         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3200         (sendmsg): Likewise.
3201         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3203         Remove.
3204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3205         Likewise.
3206         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3207         Undefine.
3208         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3209         Likewise.
3210         * sysdeps/unix/sysv/linux/kernel-features.h
3211         (__ASSUME_SENDMSG_SYSCALL): Define.
3212         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3213         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3215         Remove.
3216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3217         Likewise.
3218         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3219         Undefine.
3220         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3221         Likewise.
3222         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3224         Remove.
3225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3226         Likewise.
3227         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3228         Undefine.
3229         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3230         Likewise.
3231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3232         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3233         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3235         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3236         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3237         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3238         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3239         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3241 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3243         * stdlib/gen-tst-strtod-round.c: Add backslash to
3244         compile command in comment.
3245         (printfp): Remove the literal suffix, and define an infinite
3246         value as INF to avoid expansion clash with INFINITY.
3247         (round_str): Remove the literal suffix.
3248         (round_for_all): Likewise, remove the now duplicate ldbl-64
3249         entry, and remove some magic constants.
3251         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3252         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3253         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3254         (_CONCAT): New macro.
3255         (CONCAT): Likewise.
3256         (CHOOSE_ld): Likewise.
3257         (CHOOSE_f): Likewise.
3258         (CHOOSE_d): Likewise.
3259         (FTYPE_MEMBER): Likewise.
3260         (BOOL_MEMBER): Likewise.
3261         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3262         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3263         (_XNTRY): Likewise.
3264         (XNTRY): Likewise.
3265         (_ENTRY): Likewise.
3266         (ENTRY): Likewise.
3267         (test_exactness): Generate members via macro.
3268         (test_results): Likewise.
3269         (test): Update members.
3270         (TEST): Redefine using new macros.
3271         (INF): New macro.
3272         (fetestmodes): New structure.
3273         (do_test): Refactor to be type generic.
3274         (test_in_one_mode): Refactor duplicate code into
3275         (GEN_ONE_TEST): New macro.
3277         * stdlib/tst-strtod-round-data.h: Regenerate.
3279         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3280         Extend to pass additional arbitrary parameters to
3281         generators.
3283 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3285         [BZ #15479]
3286         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3287         floating-point state after first floating-point operation on
3288         input.  Restore full floating-point state instead of just rounding
3289         mode.
3290         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3291         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3292         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3293         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3294         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3296         [BZ #15479]
3297         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3298         floating-point state after first floating-point operation on
3299         input.  Restore full floating-point state instead of just rounding
3300         mode.
3301         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3302         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3303         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3304         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3305         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3307 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3309         [BZ #19727]
3310         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3311         valid high surrogate.
3312         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3313         of an utf16 surrogate.
3314         * iconv/gconv_simple.c (BODY): Likewise.
3315         * iconvdata/bug-iconv12.c: New file.
3316         * iconvdata/Makefile (tests): Add bug-iconv12.
3318 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3320         [BZ #19726]
3321         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3322         outptrp in case of an illegal input.
3323         * iconv/tst-iconv6.c: New file.
3324         * iconv/Makefile (tests): Add tst-iconv6.
3326 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3328         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3329         an error in case of a value in range of an utf16 low surrogate.
3331 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3333         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3334         an error in case of a value in range of an utf16 low surrogate.
3336 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3338         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3339         Move to ...
3340         * sysdeps/s390/Makefile: ... here.
3341         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3342         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3343         (BRANCH_ON_COUNT): New define.
3344         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3345         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3346         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3347         run on s390-32, too.
3348         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3349         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3350         run on s390-32, too.
3351         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3352         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3353         run on s390-32, too.
3355 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3357         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3358         etf3eh or new vector loop-variant.
3360 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3363         etf3eh or new vector loop-variant.
3365 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3367         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3368         or new vector loop-variant.
3370 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3372         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3373         Rename to TR_LOOP and usage of tr instead of troo instruction.
3375 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3377         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3378         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3380 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3382         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3383         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3384         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3385         New override define.
3386         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3388 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3390         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3391         * sysdeps/s390/configure.ac: Add test for S390 vector register
3392         support in gcc.
3393         * sysdeps/s390/configure: Regenerated.
3395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3397         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3398         Install file from $(objpfx)gconv-modules.
3399         ($(objpfx)gconv-modules): Concatenate architecture specific file
3400         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3401         * sysdeps/s390/gconv-modules: New file.
3402         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3403         Deleted.
3404         ($(objpfx)gconv-modules-s390): Deleted.
3405         (sysdeps-gconv-modules): New variable.
3407 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3409         [BZ #15479]
3410         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3411         of immediate operand to rounding instruction.
3412         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3413         Likewise.
3414         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3415         Likewise.
3416         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3417         Likewise.
3419 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3421         * math/libm-test.inc (MIN_EXP): Directly define as
3422         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3424 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3426         * math/libm-test.inc (MANT_DIG): Directly define as
3427         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3429 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3431         * stdlib/gen-tst-strtod-round.c (main):
3432           Change usage to more closely match the generated
3433           output.  Add usage and compilation instructions.
3434           (string_to_fp): Add and use FILE* parameter as
3435           output target.
3436           (print_fp): Likewise.
3437           (round_str): Likewise.
3438           (round_for_all): Likewise.
3439         * stdlib/tst-strtod-round.c (tests): Move into
3440         * stdlib/tst-strtod-round-data.h: New file.
3442 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3444         [BZ #15479]
3445         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3446         (__round): Do not force "inexact" exception.
3447         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3448         variable.
3449         (__round): Do not force "inexact" exception.
3450         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3451         (__roundf): Do not force "inexact" exception.
3452         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3453         (__roundl): Do not force "inexact" exception.
3454         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3455         (__roundl): Do not force "inexact" exception.
3456         * math/libm-test.inc (round_test_data): Do not allow spurious
3457         "inexact" exceptions.
3459         [BZ #15479]
3460         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3461         exception in comment.
3462         (huge): Remove variable.
3463         (__floor): Do not force "inexact" exception.
3464         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3465         "inexact" exception in comment.
3466         (huge): Remove variable.
3467         (__floor): Do not force "inexact" exception.
3468         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3469         exception in comment.
3470         (huge): Remove variable.
3471         (__floorf): Do not force "inexact" exception.
3472         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3473         exception in comment.
3474         (huge): Remove variable.
3475         (__floorl): Do not force "inexact" exception.
3477         [BZ #15479]
3478         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3479         exception in comment.
3480         (huge): Remove variable.
3481         (__ceil): Do not force "inexact" exception.
3482         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3483         "inexact" exception in comment.
3484         (huge): Remove variable.
3485         (__ceil): Do not force "inexact" exception.
3486         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3487         (__ceilf): Do not force "inexact" exception.
3488         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3489         exception in comment.
3490         (huge): Remove variable.
3491         (__ceill): Do not force "inexact" exception.
3493 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3495         * config.h.in (BIND_NOW): New.
3496         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3497         * configure: Regenerated.
3498         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3499         indirect branch via the GOT slot.
3501 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3503         [BZ #19765]
3504         * sysdeps/s390/mempcpy.S: New File.
3505         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3506         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3507         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3508         Add mempcpy variants.
3509         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3510         (memcpy): Adjust to be usable from mempcpy entry point.
3511         (__memcpy_mvcle): Likewise.
3512         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3513         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3514         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3515         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3516         (__memcpy_z10): Likewise.
3517         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3519 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3521         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3522         Remove __GI_ symbol.
3523         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3524         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3525         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3526         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3527         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3528         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3530 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3532         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3533         Use cghi instead of chi to compare 64bit value.
3535 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3537         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3538         Jump to 1MB check before executing mvc-loop.
3540 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3542         [BZ #6527]
3543         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3544         unconditionally.
3545         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3547 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3549         * stdlib/tst-strtod6.c (do_test): Use new type generic
3550         invocation of the test function.
3551         (test): Refactor into ...
3552         (TEST_STRTOD): New macro base function.
3554 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3556         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3557         (TEST_STRTOD): New macro.
3558         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3560 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3562         * stdlib/tst-strtod6.c (do_test): Use new type generic
3563         invocation of the test function.
3564         (test): Refactor into ...
3565         (TEST_STRTOD): New macro base function.
3567 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3569         CVE-2016-4429
3570         [BZ #20112]
3571         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3572         payload.
3574 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3576         [BZ #20111]
3577         * bits/sockaddr.h (_SS_SIZE): Define.
3578         * bits/socket.h (_SS_SIZE): Remove.
3579         (_SS_PADSIZE): Adjust to account for all padding.
3580         (struct sockaddr_storage): Update comment.  Avoid implicit
3581         padding.
3582         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3583         (_SS_PADSIZE): Adjust to account for all padding.
3584         (struct sockaddr_storage): Update comment.  Avoid implicit
3585         padding.
3586         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3587         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3588         (_SS_PADSIZE): Adjust to account for all padding.
3589         (struct sockaddr_storage): Update comment.  Avoid implicit
3590         padding.
3591         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3592         __SS_SIZE is 126 in this version.
3593         * inet/tst-sockaddr.c: New file.
3594         * inet/Makefile (tests): Add tst-sockaddr.c
3595         (tst-sockaddr.c): Compile with non-strict aliasing.
3597 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3599         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3600         [XPG3 || XPG4].
3601         (NL_ARGMAX): Also expect for [XPG3].
3602         (NL_LANGMAX): Likewise.
3603         (NL_MSGMAX): Likewise.
3604         (NL_NMAX): Likewise.
3605         (NL_SETMAX): Likewise.
3606         (NL_TEXTMAX): Likewise.
3607         (NZERO): Likewise.
3608         (TMP_MAX): Likewise.
3609         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3610         variable.
3612         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3613         (PF_MAX): Update value.
3614         (AF_KCM): New macro.
3615         (SOL_NETBEUI): Likewise.
3616         (SOL_LLC): Likewise.
3617         (SOL_DCCP): Likewise.
3618         (SOL_NETLINK): Likewise.
3619         (SOL_TIPC): Likewise.
3620         (SOL_RXRPC): Likewise.
3621         (SOL_PPPOL2TP): Likewise.
3622         (SOL_BLUETOOTH): Likewise.
3623         (SOL_PNPIPE): Likewise.
3624         (SOL_RDS): Likewise.
3625         (SOL_IUCV): Likewise.
3626         (SOL_CAIF): Likewise.
3627         (SOL_ALG): Likewise.
3628         (SOL_NFC): Likewise.
3629         (SOL_KCM): Likewise.
3630         (MSG_BATCH): New enum value and macro.
3632 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3634         [BZ #18185]
3635         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3636         sharing L2 cache to 2 for Knights Landing.
3638 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3640         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3641         (FTW_DP): Do not expect for [XPG3 || XPG4].
3642         (FTW_SL): Do not expect for [XPG3].
3643         (FTW_SLN): Likewise.
3644         (FTW_PHYS): Likewise.
3645         (FTW_MOUNT): Likewise.
3646         (FTW_DEPTH): Likewise.
3647         (FTW_CHDIR): Likewise.
3648         (nftw): Likewise.
3649         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3650         variable.
3652 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3654         * manual/errno.texi: Fix various typos & grammar errors.
3656 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3658         * manual/intro.texi: Fix duplicated typo.
3660 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3662         [BZ #13304]
3663         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3664         <float.h>, <math_private.h> and <stdlib.h>.
3665         (add_split): New function.
3666         (mul_split): Likewise.
3667         (ext_val): New typedef.
3668         (store_ext_val): New function.
3669         (mul_ext_val): New function.
3670         (compare): New function.
3671         (add_split_ext): New function.
3672         (__fmal): After checking for Inf, NaN and zero, compute result as
3673         an exact sum of scaled double values in round-to-nearest before
3674         adding those up and adjusting for other rounding modes.
3675         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3676         tests of fma.
3677         * math/auto-libm-test-out: Regenerated.
3679 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3681         [BZ #20119]
3682         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3683         processor level type mask for CPUID with EAX == 11.
3685 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3687         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3688         logical threads if the HTT bit is 0.
3689         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3690         (index_cpu_HTT): Likewise.
3691         (reg_HTT): Likewise.
3693 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3695         [BZ #20115]
3696         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3697         Remove alignments on jump targets.
3699 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3701         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3702         (getpwent): Likewise.
3703         (setpwent): Likewise.
3704         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3705         variable.
3707         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3708         (remque): Likewise.
3709         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3710         variable.
3712 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3714         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3715         not being tested.
3717 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3719         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3720         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3721         call.
3722         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3723         (__condvar_cleanup1): Likewise.
3725 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3727         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3728         New
3729         (__pthread_unwind): Renamed to ...
3730         (PTHREAD_UNWIND): This.
3731         (__pthread_enable_asynccancel): Replace
3732         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3734 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3736         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3737         (CLONE_NEWCGROUP): New macro.
3739         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3740         (Q_GETNEXTQUOTA): New macro.
3742 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3744         [BZ #19907]
3745         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3746         buffer updated by the previous run.
3747         * string/test-memcpy.c (do_one_test): Likewise.
3748         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3749         * string/test-memmove.c (do_one_test): Likewise.
3751 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3753         [BZ #20094]
3754         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3755         not [__USE_XOPEN].
3756         (unlockpt): Likewise.
3757         (ptsname): Likewise.
3758         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3759         variable.
3761         [BZ #20076]
3762         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3763         instead of [__USE_UNIX98].
3764         (S_ISSOCK): Likewise.
3765         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3766         variable.
3768         [BZ #20074]
3769         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3770         [__USE_POSIX].
3771         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3772         variable.
3774         [BZ #20051]
3775         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3776         (ttyslot): Do not declare.
3777         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3778         (ttyslot): New prototype.
3779         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3780         variable.
3781         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3783 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3785         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3787 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3789         Fix race condition in tst-mallocfork2, use fewer resources.
3790         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3791         to current process group.
3792         (signal_sender): Yield in the non-sleeping case.
3794 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3796         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3797         (ecvt): Likewise.
3798         (fcvt): Likewise.
3799         (gcvt): Likewise.
3800         (getsubopt): Likewise.
3801         (grantpt): Likewise.
3802         (initstate): Likewise.
3803         (l64a): Likewise.
3804         (mktemp): Likewise.
3805         (mkstemp): Likewise.
3806         (ptsname): Likewise.
3807         (random): Likewise.
3808         (realpath): Likewise.
3809         (setstate): Likewise.
3810         (srandom): Likewise.
3811         (ttyslot): Likewise.
3812         (unlockpt): Likewise.
3813         (valloc): Likewise.
3815         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3816         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3817         variable.
3819 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3821         [BZ #20072]
3822         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3823         init_cpu_features only if SHARED is defined.
3824         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3826 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3828         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3829         non-inclusive caches on Intel processors.
3831 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3833         * malloc/malloc.c (dumped_main_arena_start)
3834         (dumped_main_arena_end): New variables.
3835         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3836         (do_check_chunk): Skip dumped fake mmapped chunks.
3837         (munmap_chunk): Likewise.
3838         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3839         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3840         mmapped chunks.
3841         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3842         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3843         and dumped_main_arena_end to cover the dumped heap.
3845 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3847         * conform/data/time.h-data (getdate_err): Do not expect for
3848         [XPG3].
3849         (getdate): Likewise.
3850         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3851         variable.
3853         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3854         (F_ULOCK): Likewise.
3855         (F_TEST): Likewise.
3856         (F_TLOCK): Likewise.
3857         (useconds_t): Likewise.
3858         (intptr_t): Do not expect for [XPG3] or [XPG4].
3859         (brk): Do not expect for [XPG3]
3860         (fchown): Likewise.
3861         (fchdir): Likewise.
3862         (ftruncate): Likewise.
3863         (getdtablesize): Likewise.
3864         (gethostid): Likewise.
3865         (getpagesize): Likewise.
3866         (getpgid): Likewise.
3867         (getsid): Likewise.
3868         (getwd): Likewise.
3869         (lchown): Likewise.
3870         (lockf): Likewise.
3871         (readlink): Likewise.
3872         (sbrk): Likewise.
3873         (setpgrp): Likewise.
3874         (setregid): Likewise.
3875         (setreuid): Likewise.
3876         (symlink): Likewise.
3877         (sync): Likewise.
3878         (truncate): Likewise.
3879         (ualarm): Likewise.
3880         (usleep): Likewise.
3881         (vfork): Likewise.
3882         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3883         variable.
3885         [BZ #20054]
3886         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3887         not [__USE_UNIX98].
3888         * conform/data/unistd.h-data (gethostname): Do not expect for
3889         [XPG3].
3891         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3892         [!POSIX] (S_IFBLK): Likewise.
3893         [!POSIX] (S_IFCHR): Likewise.
3894         [!POSIX] (S_IFIFO): Likewise.
3895         [!POSIX] (S_IFREG): Likewise.
3896         [!POSIX] (S_IFDIR): Likewise.
3897         [!POSIX] (S_IFLNK): Likewise.
3898         [!POSIX] (S_IFSOCK): Likewise.
3899         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3900         variable.
3901         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3903 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3905         * sysdeps/aarch64/memset.S (__memset):
3906         Rewrite of optimized memset.
3908 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3910         [BZ #19703]
3911         Partially async-signal-safe fork for single-threaded processes.
3912         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3913         variable.  Do not acquire and reset/release malloc and libio locks
3914         in single-threaded processes.
3915         * malloc/tst-mallocfork2.c: New file.
3916         * malloc/Makefile (tests): Add it.
3918 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3920         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3921         argument.  Use scratch buffer instead of extend_alloca.
3922         (gethosts): Use scratch buffer instead of extend_alloca.
3923         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3924         extend_alloca.
3925         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3927 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3929         [BZ #20055]
3930         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3931         instead of [__USE_UNIX98].
3932         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3933         [__USE_UNIX98].
3934         * conform/data/termios.h-data (tcgetsid): Do not expect for
3935         [XPG3].
3936         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3937         variable.
3938         (test-xfail-XPG4/termios.h/conform): Likewise.
3940 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3942         Do not use mcheck in localedef.
3943         * locale/programs/localedef.c (turn_on_mcheck)
3944         (__malloc_initialize_hook): Remove.
3946 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3948         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3949         * sysdeps/s390/s390-64/Makefile: Likewise.
3951 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3953         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3954         Remove ifunc-defines.sym.
3955         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3956         Likewise.
3957         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3958         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3959         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3960         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3961         rtld-global-offsets.sym.
3962         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3963         * sysdeps/x86/cpu-features-offsets.sym: This.
3964         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3965         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3967 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3969         [BZ #20073]
3970         * io/sys/stat.h (fchmod): Declare for
3971         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3972         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3973         variable.
3975         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3976         [XPG3] (S_IFSOCK): Likewise.
3977         [XPG3] (S_ISVTX): Likewise.
3978         [XPG3] (S_ISLNK): Likewise.
3979         [XPG3] (S_ISSOCK): Likewise.
3980         [XPG3] (fchmod): Likewise.
3981         [XPG3] (lstat): Likewise.
3982         [XPG3] (mknod): Likewise.
3984         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3985         [XPG3].  Expect type long and XFAIL for [XPG4].
3986         (st_blocks): Likewise.
3988         [BZ #20044]
3989         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3990         (pthread_atfork): New prototype.
3991         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3992         variable.
3994         [BZ #20043]
3995         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3996         prototype.
3998 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4000         [BZ #20017]
4001         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4002         gmtime.
4004 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4006         [BZ #19994]
4007         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4008         flag in _res.options.
4010 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4012         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4013         [XPG3 || XPG4].
4014         (blksize_t): Likewise.
4015         (clockid_t): Likewise.
4016         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4017         variable.
4018         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4020 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4022         * sysdeps/unix/sysv/linux/s390/init-first.c:
4023         Add VDSO_SYMBOL(getcpu).
4024         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4025         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4026         Add VDSO_SYMBOL(getcpu).
4027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4028         New define HAVE_GETCPU_VSYSCALL.
4029         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4031 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4033         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4034         instead of <sysdeps/x86_64/cacheinfo.c>.
4035         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4036         * sysdeps/x86/cacheinfo.c: Here.
4038 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4040         * malloc/malloc-internal.h: Adjust header file guard.
4042 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4044         [BZ #19787]
4045         * inet/getnameinfo.c (check_sprintf_result): New function.
4046         (CHECKED_SNPRINTF): New macro.
4047         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4048         to the host buffer.
4049         (gni_host_local): Use checked_copy to copy the host name.
4050         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4051         (gni_serv_local): Use checked_copy to copy the service name.
4052         (getnameinfo): Remove unnecessary truncation of result buffers.
4054 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4056         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4057         in case of inet_ntop failure.
4059 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4061         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4062         avoid long lines.
4063         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4064         variables.
4065         (gni_host_inet, gni_host_local): Add comment.
4066         (gni_host): Add comment.  Use temporary to avoid long lines.
4068 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4070         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4071         registers specifiers where general purpose registers specifiers should
4072         have been used.
4074 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4076         [BZ #19779]
4077         CVE-2016-1234
4078         Avoid copying names of directory entries.
4079         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4080         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4081         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4082         (struct readdir_result): New type.
4083         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4084         (GL_READDIR): New macros.
4085         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4086         (convert_dirent, convert_dirent64): New functions.
4087         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4088         convert_dirent64.  Adjust references to the readdir result.
4089         * sysdeps/unix/sysv/linux/i386/glob64.c:
4090         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4091         * posix/bug-glob2.c (LONG_NAME): Define.
4092         (filesystem): Add LONG_NAME.
4093         (my_DIR): Increase the size of room_for_dirent.
4095 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4097         [BZ #20041]
4098         * misc/sys/select.h (__need_timespec): Only define if
4099         [__USE_XOPEN2K].
4100         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4101         variable.
4102         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4103         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4104         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4106 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4107             Segher Boessenkool  <segher@gcc.gnu.org>
4109         [BZ #20004]
4110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4111         (__novec_swapcontext): Add missing load.
4113 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4115         [BZ #20023]
4116         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4117         <time.h>.
4118         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4119         variable.
4120         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4122 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4125         flags CLONE_VM compare.
4127 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4129         [BZ #20031]
4130         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4131         completely empty.
4133 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4135         [BZ #19573]
4136         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4137         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4138         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4139         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4140         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4141         (hesiod_free_list): Mark as hidden.
4142         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4143         res_set, res_get.
4144         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4145         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4146         (hesiod_init): Remove obsolete res_ninit call.
4147         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4148         (hesiod_bind): Do not call init.
4149         (get_txt_records): Use res_mkquery, res_send instead of
4150         res_nmkquery, res_nsend.
4151         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4152         instead of _nss_hesiod_init.
4153         (_nss_hesiod_initgroups_dyn): Likewise.
4154         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4155         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4156         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4158 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4160         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4161         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4163 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4165         * hesiod/hesiod.h: Remove RCS keyword.
4166         * hesiod/hesiod_p.h: Likewise.
4168         * hesiod/hesiod.c: Likewise.
4170 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4172         [BZ #12450]
4173         * locale/iso-639.def: Add Samogitian/sgs.
4175 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4177         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4179         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4181 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4182             Carlos O'Donell  <carlos@redhat.com>
4184         [BZ #19072]
4185         * grp/Makefile (headers): Add grp-merge.h
4186         (routines): Add grp-merge.
4187         * grp/getgrgid_r.c: Include grp-merge.h.
4188         (DEEPCOPY_FN): Define.
4189         (MERGE_FN): Define.
4190         * grp/getgrname_r.c: Include grp-merge.h.
4191         (DEEPCOPY_FN): Define.
4192         (MERGE_FN): Define.
4193         * grp/grp-merge.c: New file.
4194         * grp/grp-merge.h: New file.
4195         * include/grp-merge.h: New file.
4196         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4197         __copy_grp@GLIBC_PRIVATE.
4198         * manual/nss.texi (Actions in the NSS configuration): Describe
4199         return, continue, and merge.
4200         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4201         (DEEPCOPY_FN): Define.
4202         (MERGE_FN): Define.
4203         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4204         (DEEPCOPY_FN): Define.
4205         (MERGE_FN): Define.
4206         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4207         [!MERGE_FN]: Define __merge_einval.
4208         (CHECK_MERGE): Define.
4209         (REENTRANT_NAME): Process merge if do_merge is true.
4210         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4211         (__nss_getent_r): Likewise.
4212         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4213         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4215 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4217         [BZ #20012]
4218         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4219         length to calculate the buffer to read.
4220         (fmemopen_write): Set the buffer position based on bytes written.
4221         (fmemopen_seek): Return EINVAL for invalid whence modes.
4223         [BZ #19957]
4224         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4225         tst-getpid2.
4226         (test): Add tst-clone2.
4227         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4228         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4229         pid/tid fields for CLONE_VM.
4230         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4231         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4232         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4233         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4234         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4235         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4236         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4237         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4239         Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4241         Likewise.
4242         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4243         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4244         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4245         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4246         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4247         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4248         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4249         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4251 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4253         [BZ #19642]
4254         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4255         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4256         (gni_serv_local, gni_serv): New functions extracted from
4257         getnameinfo.
4258         (getnameinfo): Call gni_host and gni_serv to perform the
4259         processing.  Always free scratch buffer.
4261 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4263         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4264         remaining bytes in the dest string, with zeros.
4266 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4268         [BZ #20010]
4269         CVE-2016-3706
4270         * sysdeps/posix/getaddrinfo.c
4271         (convert_hostent_to_gaih_addrtuple): New function.
4272         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4273         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4274         AF_INET data.
4276 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4278         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4279         callback function gl_readdir.
4280         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4281         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4282         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4283         memcpy to copy the name.
4284         * manual/pattern.texi (Calling Glob): Document requirements for
4285         implementations of the gl_readdir callback function.
4286         * manual/examples/mkdirent.c: New example.
4287         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4288         per the manual guidance.
4289         * posix/tst-gnuglob.c (my_readdir): Likewise.
4291 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4293         [BZ #20014]
4294         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4295         not [__USE_POSIX].
4296         (getchar_unlocked): Likewise.
4297         (putc_unlocked): Likewise.
4298         (putchar_unlocked): Likewise.
4299         (flockfile): Likewise.
4300         (ftrylockfile): Likewise.
4301         (funlockfile): Likewise.
4302         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4303         variable.
4304         (test-xfail-XPG4/stdio.h/conform): Likewise.
4306         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4307         Expect constant.
4308         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4309         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4310         variable.
4311         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4312         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4314         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4315         [__USE_LARGEFILE64] (off64_t): Likewise.
4316         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4317         variable.
4319 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4321         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4323 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4325         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4326         * resolv/res_init.c: Likewise.
4327         * resolv/res_mkquery.c: Likewise.
4329 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4331         * resolv/res_init.c (isascii): Do not define.  Use definition in
4332         <ctype.h>.
4333         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4334         (LOG_AUTH): Remove.
4335         (SPRINTF): Remove, adjust caller.
4336         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4338 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4341         SUNSECURITY conditional.
4342         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4344 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4346         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4347         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4348         Remove BSD-related preprocessor conditionals.
4349         * conf/portability.h: Remove.
4351 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4353         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4354         * resolv/res_data.c: Likewise.
4356 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4358         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4359         * resolv/res_data.c: Remove code conditional on ultrix.
4361 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4363         * resolv/res_init.c (RFC1535): Do not define.  Remove
4364         RFC1535 preprocessor conditionals.
4365         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4366         because there configuration options which make the resolver
4367         behavior different.
4369 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4371         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4372         RESOLVSORT preprocessor conditionals.
4373         * resolv/nss_dns/dns-host.c: Likewise.
4374         * resolv/res_init.c: Likewise.
4376 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4378         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4379         is never defined.
4381 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4383         * inet/inet_lnaof.c: Remove SCSS keyword.
4384         * inet/inet_mkadr.c: Likewise.
4385         * inet/inet_net.c: Likewise.
4386         * inet/inet_netof.c: Likewise.
4387         * inet/rcmd.c: Likewise.
4388         * inet/rexec.c: Likewise.
4389         * inet/ruserpass.c: Likewise.
4391 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4393         * resolv/inet_addr.c: Remove _LIBC conditionals.
4394         * resolv/res_data.c: Likewise.
4395         * resolv/res_init.c: Likewise.
4396         * resolv/res_mkquery.c: Likewise.
4397         * resolv/res_libc.c: Update comment.
4398         * resolv/README: Update.
4400 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4402         * resolv/gethnamaddr.c: Remove SCSS keyword.
4403         * resolv/herror.c: Likewise.
4404         * resolv/inet_addr.c: Likewise.
4405         * resolv/inet_net_ntop.c: Likewise.
4406         * resolv/inet_net_pton.c: Likewise.
4407         * resolv/inet_neta.c: Likewise.
4408         * resolv/inet_ntop.c: Likewise.
4409         * resolv/inet_pton.c: Likewise.
4410         * resolv/ns_date.c: Remove RCS keyword.
4411         * resolv/ns_name.c: Likewise.
4412         * resolv/ns_netint.c: Likewise.
4413         * resolv/ns_parse.c: Likewise.
4414         * resolv/ns_print.c: Likewise.
4415         * resolv/ns_samedomain.c: Likewise.
4416         * resolv/ns_ttl.c: Likewise.
4417         * resolv/nsap_addr.c: Likewise.
4418         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4419         * resolv/res_data.c: Remove RCS keyword.
4420         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4421         * resolv/res_init.c: Likewise.
4422         * resolv/res_mkquery.c: Likewise.
4423         * resolv/res_query.c: Likewise.
4424         * resolv/res_send.c: Likewise.
4426 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4428         * conform/data/stdio.h-data (fdopen): Expect also for
4429         [XPG3 || XPG4].
4431         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4432         (fseeko): Likewise.
4433         (ftello): Likewise.
4434         (ftrylockfile): Likewise.
4435         (funlockfile): Likewise.
4436         (getc_unlocked): Likewise.
4437         (getchar_unlocked): Likewise.
4438         (putc_unlocked): Likewise.
4439         (putchar_unlocked): Likewise.
4441 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4443         [BZ #19868]
4444         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4445         DNS packet syntax checks (which were not needed before).  Skip
4446         over non-PTR records.
4448 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4450         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4451         definition.  Include <stddef.h> instead.
4453 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4455         [BZ #19831]
4456         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4457         function.
4458         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4459         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4461 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4463         [BZ #19862]
4464         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4465         (getanswer_r): Do not call syslog.
4466         (gaih_getanswer_slice): Likewise.
4467         * resolv/gethnamaddr.c (AskedForGot): Remove.
4468         (getanswer): Do not call syslog.
4469         (gethostbyaddr): Likewise.
4471 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4473         * conform/data/signal.h-data (union sigval): Expect also if
4474         [XOPEN2K].
4475         (struct sigevent): Likewise.
4476         (SIGEV_NONE): Likewise.
4477         (SIGEV_SIGNAL): Likewise.
4478         (SIGEV_THREAD): Likewise.
4479         (SIGRTMIN): Likewise.
4480         (SIGRTMAX): Likewise.
4481         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4482         variable.
4483         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4485 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4487         [BZ #19830]
4488         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4489         (gaih_getanswer_slice): Likewise.
4490         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4491         Also check for availability of RR metadata.
4493 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4495         [BZ #19825]
4496         * resolv/res_send.c (send_vc): Remove early *resplen2
4497         initialization.  Set *resplen2 on socket error.  Call
4498         close_and_return_error for other errors.
4500 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4502         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4503         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4504         (SCM_IUCV_TRGCLS): New define.
4506 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4508         [BZ #20005]
4509         * libio/fmemopen.c (fmemopen_write): Update internal position after
4510         write.
4511         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4512         * stdio-common/tst-fmemopen4.c: New file..
4514 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4516         [BZ #19996]
4517         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4518         not [__USE_XOPEN2K].
4519         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4520         variable.
4522         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4523         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4524         variable.
4526         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4527         [__USE_XOPEN2K8].
4528         [__USE_LARGEFILE64] (off64_t): Likewise.
4529         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4530         variable.
4532 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4534         [BZ #19989]
4535         * libio/stdio.h (cuserid): Do not declare if
4536         [__USE_XOPEN2K && !__USE_GNU].
4537         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4538         variable.
4540 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4542         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4543         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4545         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4546         ifunc'ed strcspn.
4547         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4548         [EALIGN]: Removed.
4549         [END]: Likewise
4550         [STRSPN]: Define instead of the above to control symbol name.
4551         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4552         New file.
4553         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4554         Likewise.
4555         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4556         Likewise.
4557         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4558         Likewise.
4559         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4560         [INITIAL_MASK]: New macro.
4561         [STRCSPN]: Likewise.
4562         [UPDATE_MASK]: Likewise.
4563         [USE_AS_STRCSPN]: Lisewise.
4565 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4567         [BZ #19931]
4568         * stdio-common/tst-vfprintf-width-prec.c: New file.
4569         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4570         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4571         (generated): Add mtrace-related files.
4572         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4573         (tst-%-mem.out): New pattern rule, replaces
4574         tst-printf-bz18872-mem.out.
4575         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4576         specifier, deallocate any previously allocated work buffer.
4578 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4580         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4581         Add nop before __startcontext, add explaining comments.
4583 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4585         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4586         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4587         completely different API.
4589         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4590         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4591         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4592         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4593         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4594         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4595         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4596         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4597         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4598         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4600 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4602         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4604 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4606         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4607         when it is the default of 0.
4609 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4611         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4612         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4613         (sysdep_routines): Add new strcasestr targets.
4614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4615         (__libc_ifunc_impl_list): Likewise.
4616         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4617         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4618         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4619         * sysdeps/powerpc/powerpc64/power8/Makefile:
4620         New file to add strcasestr-ppc64 to sysdep_routines.
4621         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4622         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4624 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4626         * benchtests/Makefile (wcsmbs-benchset): Include only for
4627         native builds and runs.
4628         (LOCALES): Likewise.
4629         (bench-build): Build timing-type here instead of the bench
4630         target.  Generate locale only for native builds.
4631         * benchtests/README: Add note for cross-building.
4633         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4635         * benchtests/README: Update README to include instructions on
4636         using bench-build.
4638         * Makefile.in (bench-build): New target.
4639         * Rules (PHONY): Add bench-build target.
4640         * benchtests/Makefile (bench): Depend on bench-build.
4641         (bench-build): New target.
4643 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4645         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4646         profil_reply_port.
4647         (profile_waiter): Do not initialize profil_reply_port.
4648         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4649         frequency instead of tick length in us.
4651 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4653         [BZ #18712]
4654         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4655         (__old_mempcpy_small): Likewise.
4656         (__old_strcpy_small): Likewise.
4657         (__old_stpcpy_small): Likewise.
4658         (__old_strpbrk_c2): Fix compat symbol name.
4659         (__old_strpbrk_c3): Likewise.
4660         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4661         (__mempcpy_small): Remove.
4662         (__strcpy_small): Remove.
4663         (__stpcpy_small): Remove.
4665 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4667         [BZ #19400]
4668         * locale/iso-639.def: Add the Talossan/tzl language.
4670 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4672         [BZ #16983]
4673         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4674         comment.  Add "ln" to strchr check on postal_fmt.
4676 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4678         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4679         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4680         tel_dom_fmt.
4682 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4684         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4685         (sysdep_routines): Added __strlen_power8.
4686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4687         __strlen_power8 entry.
4688         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4689         Implementation for POWER8.
4690         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4691         for __strlen_power8.
4692         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4693         Implementation for POWER8.
4695 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4697         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4699 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4701         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4702         Goldmont and Airmont processors.
4704 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4706         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4707         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4708         (__STRING2_SMALL_GET32): Remove.
4709         (memset): Remove.
4710         (__memset_1): Remove.
4711         (__memset_gc): Remove.
4712         (__mempcpy): Remove.
4713         (mempcpy): Remove.
4714         (__mempcpy_args): Remove.
4715         (strchr): Remove.
4716         (strcpy): Remove.
4717         (strcpy_args): Remove.
4718         (__stpcpy_args): Remove.
4719         (__strcmp_cc): Remove.
4720         (__strcmp_gc): Remove.
4721         (strstr): Remove.
4723 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4725         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4726         * nis/nis_call.c (nis_server_cache_add): Likewise.
4728 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4730         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4732 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4734         * malloc/arena.c (__malloc_fork_lock_parent)
4735         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4736         internal_function attribute.
4738 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4740         * stdio-common/printf_fp.c (__printf_fp_l):
4741         Rename ___printf_fp_l to __printf_fp_l and
4742         remove strong alias. Use libc_hidden_def instead
4743         of ldbl_hidden_def macro.
4745 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4747         Remove malloc hooks from fork handler.  They are no longer needed
4748         because malloc runs right before fork, and no malloc calls from
4749         other fork handlers are not possible anymore.
4750         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4751         declarations.
4752         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4753         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4754         (atfork_recursive_cntr): Remove.
4755         (__malloc_fork_lock_parent): Do not override malloc hooks and
4756         thread_arena.
4757         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4758         thread_arena.
4759         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4760         thread_arena instead of save_arena.
4762 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4764         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4765         (thread_atfork, thread_atfork_static): Remove.
4766         * sysdeps/mach/hurd/malloc-machine.h:
4767         (thread_atfork, thread_atfork_static): Remove.
4769 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4771         [BZ #19431]
4772         Run the malloc fork handler as late as possible to avoid deadlocks.
4773         * malloc/malloc-internal.h: New file.
4774         * malloc/malloc.c: Include it.
4775         * malloc/arena.c (ATFORK_MEM): Remove.
4776         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4777         Update comment.
4778         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4779         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4780         Remove outdated comment.
4781         (ptmalloc_init): Do not call thread_atfork.  Remove
4782         thread_atfork_static.
4783         * malloc/tst-malloc-fork-deadlock.c: New file.
4784         * Makefile (tests): Add tst-malloc-fork-deadlock.
4785         (tst-malloc-fork-deadlock): Link against libpthread.
4786         * manual/memory.texi (Aligned Memory Blocks): Update safety
4787         annotation comments.
4788         * sysdeps/nptl/fork.c (__libc_fork): Call
4789         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4790         __malloc_fork_unlock_child.
4791         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4793 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4795         [BZ #19613]
4796         Remove union wait.
4797         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4798         (w_stopsig, w_stopval): Remove.
4799         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4800         stat_loc argument.
4801         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4802         (__WAIT_STATUS_DEFN): Remove.
4803         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4804         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4805         (wait, wait3, wait4): Use int * for the stat_loc argument.
4806         * posix/wait.c (__wait): Likewise.
4807         * posix/wait3.c (__wait3): Likewise.
4808         * posix/wait4.c (__wait4): Likewise.
4809         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4810         (__WAIT_STATUS_DEFN): Remove.
4811         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4812         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4813         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4814         argument.
4815         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4816         * sysdeps/posix/wait3.c (__wait3): Likewise.
4817         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4818         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4819         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4820         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4821         stat_loc argument.
4822         * manual/process.texi (BSD Wait Functions): Remove union wait.
4824 2016-04-13  Andreas Schwab  <schwab@suse.de>
4826         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4827         (test-extras): Add tst-tlsalign-vars.
4828         * math/Makefile: Wrap long lines.
4829         (libm-vec-test-wrappers): Define.
4830         (test-extras): Add $(libm-vec-test-wrappers).
4831         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4832         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4833         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4834         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4835         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4836         (extra-test-objs): Add corresponding objects.
4838 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4840         [BZ #19928]
4841         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4842         New.
4843         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4844         times of shared cache size.
4845         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4846         (VMOVNT): New.
4847         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4848         (VMOVNT): Likewise.
4849         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4850         (VMOVNT): Likewise.
4851         (VMOVU): Changed to movups for smaller code sizes.
4852         (VMOVA): Changed to movaps for smaller code sizes.
4853         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4854         comments.
4855         (PREFETCH): New.
4856         (PREFETCH_SIZE): Likewise.
4857         (PREFETCHED_LOAD_SIZE): Likewise.
4858         (PREFETCH_ONE_SET): Likewise.
4859         Rewrite to use forward and backward loops, which move 4 vector
4860         registers at a time, to support overlapping addresses and use
4861         non temporal store if size is above the threshold and there is
4862         no overlap between destination and source.
4864 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4866         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4867         Include dl-vdso.
4868         * sysdeps/unix/sysv/linux/mips/Versions: Add
4869         __vdso_clock_gettime.
4870         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4871         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4872         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4873         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4874         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4875         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4876         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4877         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4878         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4880 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4882         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4883         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4886         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4887         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4890         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4892         syscalls generation.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4894         [__NR_pwrite64] (__NR_write): Remove define.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4896         [__NR_pwrite64] (__NR_write): Remove define.
4897         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4898         Remove define.
4899         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4900         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4901         Remove define.
4902         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4903         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4904         Linux implementation as base.
4905         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4907         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4908         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4913         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4915         syscall generation.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4917         [__NR_pread64] (__NR_pread): Remove define.
4918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4919         [__NR_pread64] (__NR_pread): Likewise.
4920         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4921         define.
4922         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4923         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4924         Remove define.
4925         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4926         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4927         Linux implementation as base.
4928         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4929         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4930         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4932         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4933         definition.
4934         (__ALIGNMENT_COUNT): Likewise.
4935         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4936         (__ALIGNMENT_COUNT): Likewise.
4937         (SYSCALL_LL): New define.
4938         (SYSCALL_LL64): Likewise.
4939         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4940         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4941         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4942         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4945         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4946         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4947         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4949         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4951 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4953         [BZ #19865]
4954         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4955         original buffer before retry.
4957 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4959         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4960         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4961         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4962         GLRO(dl_auxv) list.
4963         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4964         including <ldsodefs.h>.
4965         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4967 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4969         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4970         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4971         $(CPPFLAGS).
4973 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4975         [BZ #17950]
4976         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4977         Add -mfpmath=387.
4979 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4981         * sysdeps/i386/configure.ac: Change == to = when calling test.
4982         * sysdeps/x86_64/configure.ac: Likewise.
4983         * sysdeps/i386/configure: Regenerated.
4984         * sysdeps/x86_64/configure: Likewise.
4986 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4988         [BZ #16137]
4989         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4990         * benchtests/bench-strcoll.c (input_files): Likewise.
4991         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4992         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4993         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4995 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4997         [BZ #19929]
4998         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4999         [__USE_XOPEN2K8 && !__USE_GNU].
5000         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5001         variable.
5003         [BZ #19925]
5004         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5005         define if [!__USE_MISC && __USE_XOPEN2K].
5006         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5007         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5008         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5009         Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5011         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5012         variable.
5013         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5015 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5017         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5018         (sysdep_routines): Add new strspn targets.
5019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5020         (__libc_ifunc_impl_list): Add strspn.
5021         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5022         New file.
5023         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5024         Likewise.
5025         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5026         Likewise.
5027         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5028         Likewise.
5030 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5032         * misc/hsearch_r.c: Include <limits.h>.
5034 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5036         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5038 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5040         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5041         (MEMCPY_SYMBOL): New.
5042         (MEMPCPY_SYMBOL): Likewise.
5043         (MEMMOVE_CHK_SYMBOL): Likewise.
5044         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5045         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5046         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5047         Provide alias for memcpy in libc.a and ld.so.
5049 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5051         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5052         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5053         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5054         Disabled fro now.
5055         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5056         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5058 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5060         * benchtests/Makefile (string-benchset): Add memcpy-large,
5061         memmove-large and memset-large.
5062         * benchtests/bench-memcpy-large.c: New file.
5063         * benchtests/bench-memmove-large.c: Likewise.
5064         * benchtests/bench-memmove-large.c: Likewise.
5065         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5067 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5069         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5070         32-bit displacement to avoid long nop between instructions.
5072 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5074         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5075         a comment on VMOVU and VMOVA.
5077 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5079         [BZ #19633]
5080         Use specified locale for number formatting in strfmon_l.
5081         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5082         (__nl_lookup_word): New inline functions.
5083         * include/printf.h (__print_fp_l): Declare.
5084         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5085         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5086         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5087         (___printf_fp): New function.
5088         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5089         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5090         * stdlib/tst-strfmon_l.c (do_test): New test.
5091         * stdlib/Makefile (tests): Add kt.
5092         (LOCALES): Build additional locales.
5093         (tst-strfmon_l.out): Require locales.
5095 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5097         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5098         if not in libc.
5099         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5100         Likewise.
5101         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5102         Likewise.
5103         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5104         Likewise.
5106 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5108         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5109         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5110         with unaligned_erms.
5111         (__memmove_erms): Skip if source == destination.
5112         (__memmove_unaligned_erms): Don't check source == destination
5113         first.
5115 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5117         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5118         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5120 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5122         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5123         * string/strspn.c (strspn): Likewise.
5125 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5127         * benchtests/bench-memset.c (do_test): Support 64-byte
5128         alignment.
5129         (test_main): Test 64-byte alignment.
5131 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5133         * benchtests/bench-memmove.c (test_main): Test 64-byte
5134         alignment.
5136 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5138         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5140 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5142         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5143         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5144         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5146         * string/strpbrk.c (strpbrk): Rewrite function.
5147         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5148         (__strpbrk_c2): Likewise.
5149         (__strpbrk_c3): Likewise.
5150         * string/string-inlines.c
5151         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5152         Likewise.
5153         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5154         Likewise.
5156         * string/strspn.c (strcspn): Rewrite function.
5157         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5158         (__strspn_c1): Remove inline function.
5159         (__strspn_c2): Likewise.
5160         (__strspn_c3): Likewise.
5161         * string/string-inlines.c
5162         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5163         compatibility symbol.
5164         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5165         Likewise.
5166         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5167         Likewise.
5168         * string/string-inlines.c: Include generic version.
5170 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5171             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5173         * string/Version (libc): Add GLIBC_2.24.
5174         * string/strcspn.c (strcspn): Rewrite function.
5175         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5176         (__strcspn_c1): Remove inline function.
5177         (__strcspn_c2): Likewise.
5178         (__strcspn_c3): Likewise.
5179         * string/string-inline.c
5180         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5181         compatibility symbol.
5182         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5183         Likewise.
5184         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5185         Likewise.
5186         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5188 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5190         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5191         Use ahi instead of aghi to adjust stack pointer.
5193 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5195         [BZ #19853]
5196         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5197         TEST to take significant digits as second parameter.
5198         [TEST]: Redefine in terms of TEST_N taking 30
5199         significant digits.
5200         (do_test): Add test case to demonstrate precision
5201         failure in the ldbl-128ibm printf.
5202         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5203         (__mpn_extract_long_double): Carry 7 extra intermediate
5204         bits of precision to aide computing difference when
5205         signs differ.
5207 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5209         [BZ #19881]
5210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5211         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5212         memset-avx512-unaligned-erms.
5213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5214         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5215         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5216         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5217         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5218         __memset_sse2_unaligned_erms, __memset_erms,
5219         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5220         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5221         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5222         file.
5223         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5224         Likewise.
5225         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5226         Likewise.
5227         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5228         Likewise.
5230 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5232         [BZ #19776]
5233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5234         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5235         memmove-avx512-unaligned-erms.
5236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5237         (__libc_ifunc_impl_list): Test
5238         __memmove_chk_avx512_unaligned_2,
5239         __memmove_chk_avx512_unaligned_erms,
5240         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5241         __memmove_chk_sse2_unaligned_2,
5242         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5243         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5244         __memmove_avx512_unaligned_erms, __memmove_erms,
5245         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5246         __memcpy_chk_avx512_unaligned_2,
5247         __memcpy_chk_avx512_unaligned_erms,
5248         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5249         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5250         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5251         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5252         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5253         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5254         __mempcpy_chk_avx512_unaligned_erms,
5255         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5256         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5257         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5258         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5259         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5260         __mempcpy_erms.
5261         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5262         file.
5263         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5264         Likwise.
5265         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5266         Likwise.
5267         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5268         Likwise.
5270 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5272         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5273         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5274         (La_s390_64_regs): Likewise.
5275         (La_s390_32_retval): Append vector register lrv_v24.
5276         (La_s390_64_retval): Likeweise.
5277         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5278         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5279         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5280         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5282 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5284         [BZ #19916]
5285         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5286         to create a non-vector/vector version for _dl_runtime_resolve and
5287         _dl_runtime_profile. Move implementation to ...
5288         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5289         (_dl_runtime_resolve) Save and restore fpr/vrs.
5290         (_dl_runtime_profile) Save and restore vrs and fix some issues
5291         if _dl_call_pltexit is called.
5292         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5293         Choose the correct resolver function if running on a machine with vx.
5294         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5295         to create a non-vector/vector version for _dl_runtime_resolve and
5296         _dl_runtime_profile. Move implementation to ...
5297         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5298         (_dl_runtime_resolve) Save and restore fpr/vrs.
5299         (_dl_runtime_profile) Save and restore vrs and fix some issues
5300         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5301         Choose the correct resolver function if running on a machine with vx.
5303 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5305         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5307 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5309         [BZ #19509]
5310         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5311         skip_map != NULL.
5312         * elf/tst-dlsym-error.c: New file.
5313         * elf/Makefile (tests): Add tst-dlsym-error.
5314         (tst-dlsym-error): Link against libdl.
5316 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5319         (__ASSUME_FUTIMESAT): Remove macro.
5320         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5322 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5324         [BZ #19879]
5325         CVE-2016-3075
5326         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5327         copy name.
5329 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5331         [BZ #19837]
5332         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5333         error if parse_line fails.
5335 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5337         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5338         (index_cpu_ERMS): Likewise.
5339         (reg_ERMS): Likewise.
5341 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5343         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5344         PER_LINUX_FDPIC): Add.
5346 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5349         memcpy-avx512-no-vzeroupper.
5350         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5351         to ...
5352         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5353         (MEMCPY): Don't define.
5354         (MEMCPY_CHK): Likewise.
5355         (MEMPCPY): Likewise.
5356         (MEMPCPY_CHK): Likewise.
5357         (MEMPCPY_CHK): Renamed to ...
5358         (__mempcpy_chk_avx512_no_vzeroupper): This.
5359         (MEMPCPY_CHK): Renamed to ...
5360         (__mempcpy_chk_avx512_no_vzeroupper): This.
5361         (MEMCPY_CHK): Renamed to ...
5362         (__memmove_chk_avx512_no_vzeroupper): This.
5363         (MEMCPY): Renamed to ...
5364         (__memmove_avx512_no_vzeroupper): This.
5365         (__memcpy_avx512_no_vzeroupper): New alias.
5366         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5368 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5370         [BZ #18858]
5371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5372         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5373         and mempcpy-avx512-no-vzeroupper.
5374         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5375         New.
5376         (MEMPCPY): Likewise.
5377         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5378         (MEMPCPY_CHK): New.
5379         (MEMPCPY): Likewise.
5380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5381         (MEMPCPY): Likewise.
5382         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5383         (MEMPCPY): Likewise.
5384         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5385         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5386         Likewise.
5387         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5388         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5390 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5391              Amit Pawar  <Amit.Pawar@amd.com>
5393         [BZ #19583]
5394         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5395         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5396         processors.  Set Fast_Copy_Backward for AMD Excavator
5397         processors.
5398         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5399         New.
5400         (index_arch_Fast_Unaligned_Copy): Likewise.
5401         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5402         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5404 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5406         [BZ #19791]
5407         * resolv/res_send.c (close_and_return_error): New function.
5408         (send_dg): Initialize *resplen2 after reopen failure.  Call
5409         close_and_return_error for error returns.  On error paths without
5410         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5411         successful return.
5413 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5415         [BZ# 19860]
5416         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5417         zero if the compiler does not provide the AVX512F bit.
5419 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5421         [BZ #19848]
5422         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5423         from 8 to 4.
5424         (__ieee754_powl): Compare integer exponent against 4 not 8.
5425         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5426         from 8 to 4.
5427         (__ieee754_powl): Compare integer exponent against 4 not 8.
5428         * math/auto-libm-test-in: Add more tests of pow.
5429         * math/auto-libm-test-out: Regenerated.
5430         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5433 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5435         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5436         Make code unconditional.
5437         [!__NR_utimensat]: Remove conditional code.
5438         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5439         Make code unconditional.
5440         [!__NR_utimensat]: Remove conditional code.
5441         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5442         Make code unconditional.
5443         [!__NR_utimensat]: Remove conditional code.
5445 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5447         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5448         Make code unconditional.
5450 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5452         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5453         call-clobbered %eax on retry path.
5454         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5456 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5458         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5459         Don't set %rcx twice before "rep movsb".
5461 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5463         [BZ #19583]
5464         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5465         inline.  Check family before setting family, model and
5466         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5467         bits here.
5468         (init_cpu_features): Replace HAS_CPU_FEATURE and
5469         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5470         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5471         for Intel processors with usable AVX2.  Call get_common_indeces
5472         for other processors with family == NULL.
5473         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5474         (CPU_FEATURES_ARCH_P): Likewise.
5475         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5476         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5478 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5480         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5481         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5482         $(shared-thread-library) instead of hardcoding the path to libpthread.
5484 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5486         * sysdeps/unix/sysv/linux/kernel-features.h
5487         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5488         * sysdeps/unix/sysv/linux/getdents.c
5489         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5490         [!have_no_getdents64_defined]: Likewise.
5491         (__GETDENTS): Remove __have_no_getdents64 conditional.
5493 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5495         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5496         Remove macro.
5497         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5498         <kernel-features.h>.
5499         (signalfd) [__NR_signalfd4]: Make code unconditional.
5500         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5502 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5504         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5505         style.
5507 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5509         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5510         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5511         __pthread_unwind.
5512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5513         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5515         (__condvar_cleanup1): Likewise.
5517 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5519         [BZ #19822]
5520         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5521         move it to the final $@ location.
5523 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5525         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5526         access where posix_spawn success and pid argument is null.
5527         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5528         success case.
5530 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5532         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5534         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5536         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5537         and __fcntl.
5538         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5539         __fcntl only.
5540         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5541         adding attribute_hidden to __open and __fcntl.
5543         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5544         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5545         depend on libc-modules.h,
5546         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5548 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5551         Remove macro.
5552         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5553         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5554         entry.
5556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5557         Remove macro.
5558         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5559         include <kernel-features.h>.
5560         [!__ASSUME_FALLOCATE]: Remove conditional code.
5561         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5563 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5566         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5568         (_ZGVdN4v_cos_avx2): Likewise.
5569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5570         (_ZGVdN4v_cos): Likewise.
5571         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5572         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5574         (_ZGVdN4v_exp_avx2): Likewise.
5575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5576         (_ZGVdN4v_exp): Likewise.
5577         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5578         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5579         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5580         (_ZGVdN4v_log_avx2): Likewise.
5581         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5582         (_ZGVdN4v_log): Likewise.
5583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5584         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5586         (_ZGVdN4vv_pow_avx2): Likewise.
5587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5588         (_ZGVdN4vv_pow): Likewise.
5589         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5590         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5592         (_ZGVdN4v_sin_avx2): Likewise.
5593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5594         (_ZGVdN4v_sin): Likewise.
5595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5596         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5598         (_ZGVdN4vvv_sincos_avx2): Likewise.
5599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5600         (_ZGVdN4vvv_sincos): Likewise.
5601         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5602         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5604         (_ZGVbN4v_cosf_sse4): Likewise.
5605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5606         (_ZGVdN8v_cosf_avx2): Likewise.
5607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5608         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5610         (_ZGVbN4v_expf_sse4): Likewise.
5611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5612         (_ZGVdN8v_expf_avx2): Likewise.
5613         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5614         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5616         (_ZGVbN4v_logf_sse4): Likewise.
5617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5618         (_ZGVdN8v_logf_avx2): Likewise.
5619         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5620         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5622         (_ZGVbN4vv_powf_sse4): Likewise.
5623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5624         (_ZGVdN8vv_powf_avx2): Likewise.
5625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5626         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5628         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5630         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5632         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5634         (_ZGVbN4v_sinf_sse4): Likewise.
5635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5636         (_ZGVdN8v_sinf_avx2): Likewise.
5637         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5638         Use JUMPTARGET to call callee.
5639         (WRAPPER_IMPL_SSE2_ff): Likewise.
5640         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5641         (WRAPPER_IMPL_AVX): Likewise.
5642         (WRAPPER_IMPL_AVX_ff): Likewise.
5643         (WRAPPER_IMPL_AVX_fFF): Likewise.
5644         (WRAPPER_IMPL_AVX512): Likewise.
5645         (WRAPPER_IMPL_AVX512_ff): Likewise.
5646         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5647         Likewise.
5648         (WRAPPER_IMPL_SSE2_ff): Likewise.
5649         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5650         (WRAPPER_IMPL_AVX): Likewise.
5651         (WRAPPER_IMPL_AVX_ff): Likewise.
5652         (WRAPPER_IMPL_AVX_fFF): Likewise.
5653         (WRAPPER_IMPL_AVX512): Likewise.
5654         (WRAPPER_IMPL_AVX512_ff): Likewise.
5655         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5657 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5659         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5660         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5661         qualifier.
5662         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5663         internal_function qualifiers.
5665 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5667         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5668         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5669         * math/atest-exp.c (exp_mpn): Mark chk unused.
5670         * math/atest-exp2.c (exp_mpn): Likwise.
5671         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5672         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5674 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5677         Remove macro.
5678         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5679         <kernel-features.h>.
5680         [__NR_ppoll]: Make code unconditional.
5681         [!__ASSUME_PPOLL]: Remove conditional code.
5683         * sysdeps/unix/sysv/linux/kernel-features.h
5684         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5685         (__ASSUME_ACCEPT4): Likewise.
5686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5687         Define.
5688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5689         Likewise.
5690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5691         Likewise.
5692         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5695         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5696         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5697         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5698         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5700         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5702         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5703         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5704         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5705         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5706         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5707         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5708         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5709         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5710         Likewise.
5711         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5712         Likewise.
5713         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5714         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5715         0x040300].
5716         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5717         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5719         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5720         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5721         0x030300].
5722         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5723         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5724         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5725         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5726         0x040300].
5727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5729         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5730         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5732         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5733         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5734         0x030300].
5735         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5736         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5737         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5738         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5739         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5740         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5741         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5742         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5743         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5744         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5745         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5746         0x040300].
5747         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5748         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5749         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5750         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5751         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5753         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5754         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5756         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5758         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5759         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5760         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5761         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5762         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5764         Likewise.
5765         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5766         Likewise.
5768 2016-03-15  Andreas Schwab  <schwab@suse.de>
5770         [BZ #19257]
5771         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5772         statp->_u._ext.nscount as loop count.
5774 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5776         * math/test-signgam-finite-c99.c: Also #undef
5777         __LIBC_INTERNAL_MATH_INLINES.
5778         * math/test-signgam-main.c: Likewise.
5780 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5782         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5783         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5784         (MADV_FREE): Likewise.
5785         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5786         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5787         EPOLLEXCLUSIVE.
5789 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5791         * timezone/README: Remove mention of checktab.awk. Mention wiki
5792         SharedSourceFiles.
5794 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5796         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5797         WUNTRACED.
5799 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5801         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5802         order to match the type of p when calling atomic_exchange_acq().
5804 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5806         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5807         cfi_offset calls.
5808         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5809         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5810         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5811         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5812         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5814 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5816         * timezone/checktab.awk: Removed.
5818 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5820         * manual/math.texi (Errors in Math Functions): Document relaxed
5821         accuracy goals for IBM long double.
5822         * math/libm-test.inc (test_exceptions): Always allow spurious
5823         "underflow" and "inexact" exceptions for IBM long double.
5825 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5827         [BZ #19762]
5828         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5829         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5830         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5831         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5832         (bit_arch_*): This for feature array.
5833         (bit_*): Renamed to ...
5834         (bit_cpu_*): This for cpu array.
5835         (index_*): Renamed to ...
5836         (index_arch_*): This for feature array.
5837         (index_*): Renamed to ...
5838         (index_cpu_*): This for cpu array.
5839         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5840         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5841         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5842         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5843         bit_##name with index_cpu_##name and bit_cpu_##name.
5844         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5845         bit_##name with index_arch_##name and bit_arch_##name.
5847 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5849         [BZ #19792]
5850         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5851         Terminate FDE before return label.
5853 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5855         [BZ #19790]
5856         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5857         (rintl): Define as macro.
5858         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5859         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5860         of fesetround.  Ensure results are evaluated before end of scope.
5861         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5862         USE_AS_NEARBYINTL and include s_rintl.c.
5863         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5864         Disable exception traps in new environment.
5865         (libc_feholdsetround_ppc_ctx): Likewise.
5867 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5869         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5870         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5871         (tst_audit10_aux) [__AVX512F__]: ... here.
5873 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5875         * include/sys/auxv.h: New file.
5877 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5879         [BZ #19759]
5880         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5882 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5884         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5885         operand modifier.
5886         (feclearexcept): Likewise.
5888 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5890         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5891         to reflect the entire 32-bit HWCAP.
5892         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5893         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5895 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5897         [BZ #19783]
5898         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5899         $(test-via-rtld-prefix).
5900         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5902 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5904         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5905         union wait.  Report any non-zero exit status as error.
5907 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5909         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5910         configured with --enable-hardcoded-path-in-tests.
5912 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5914         [BZ #19677]
5915         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5916         (__ieee754_remainderl): Put zero low parts in canonical form.
5917         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5918         file.  Based on
5919         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5920         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5921         with wrapper round test-fmodrem-ldbl-128ibm.c.
5922         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5923         file.
5924         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5925         Likewise.
5926         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5927         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5929 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5931         [BZ #19610]
5932         * elf/ldconfig.c (opt_link): Update comment.
5933         (options): Update help string for option -X.
5934         (search_dir): Unlink stale symbolic link only if updating symbolic
5935         links.
5936         * elf/tst-ldconfig-X.sh: New file.
5937         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5938         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5940 2016-03-07  Andreas Schwab  <schwab@suse.de>
5942         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5943         needed arguments.
5945 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5947         [BZ #15333]
5948         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5949         to lstat64.
5951 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5953         * libio/filedoalloc.c (isatty): Remove.
5954         (local_isatty): Add comment.  Call __isatty directly.
5955         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5956         * libio/wfiledoalloc.c (isatty): Remove.
5957         (_IO_wfile_doallocate): Update comment.
5959 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5961         [BZ #19269]
5962         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5963         tst-audit4-aux.o.
5964         (tst-audit10): Depend on tst-audit10-aux.o.
5965         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5966         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5967         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5968         instead of inline AVX code.
5969         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5970         instead of inline AVX512 code.
5971         * sysdeps/x86_64/tst-audit4-aux.c: New file
5972         * sysdeps/x86_64/tst-audit10-aux.c: New file
5974         [BZ #19648]
5975         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5977 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5979         [BZ #14750]
5980         [BZ #10354]
5981         [BZ #18433]
5982         * include/sched.h (__clone): Add hidden prototype.
5983         (__clone2): Likewise.
5984         * include/unistd.h (__dup): Likewise.
5985         * posix/Makefile (tests): Add tst-spawn2.
5986         * posix/tst-spawn2.c: New file.
5987         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5988         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5989         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5990         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5991         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5992         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5993         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5994         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5995         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5996         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5997         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5999         Likewise.
6000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6001         Likewise.
6002         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6003         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6004         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6005         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6006         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6007         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6008         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6009         * sysdeps/unix/sysv/linux/nptl-signals.h
6010         (____nptl_is_internal_signal): New function.
6011         * sysdeps/unix/sysv/linux/spawni.c: New file.
6013         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6014         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6015         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6016         * posix/tst-execvp2.c (do_test): Likewise.
6017         * posix/tst-execvp3.c (do_test): Likewise.
6018         * posix/tst-execvp4.c (do_test): Likewise.
6019         * posix/tst-execvpe1.c: New file.
6020         * posix/tst-execvpe2.c: Likewise.
6021         * posix/tst-execvpe3.c: Likewise.
6022         * posix/tst-execvpe4.c: Likewise.
6023         * posix/tst-execvpe5.c: Likewise.
6024         * posix/tst-execvpe6.c: Likewise.
6026         [BZ #19534]
6027         * posix/execl.c (execl): Remove dynamic memory allocation.
6028         * posix/execle.c (execle): Likewise.
6029         * posix/execlp.c (execlp): Likewise.
6031 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6033         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6034         Replace .text with .text.avx512.
6035         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6036         Likewise.
6038 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6040         * sysdeps/generic/libnsl.abilist: New file.
6041         * sysdeps/generic/libutil.abilist: New file.
6043 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6045         [BZ #19762]
6046         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6047         HAS_ARCH_FEATURE with Fast_Rep_String.
6048         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6049         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6050         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6051         Likewise.
6052         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6053         Likewise.
6054         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6056         Likewise.
6057         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6058         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6059         Likewise.
6061 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6063         [BZ #19745]
6064         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6065         with *%rax in call.
6067 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6069         [BZ #19745]
6070         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6071         with *__libc_start_main@GOTPCREL(%rip) in call.
6073 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6075         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6076         inside conditional for nonempty $(CXX).
6078         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6079         nonempty.
6081         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6082         to test for empty $(CXX) rather than $(CXX) of "no".
6084 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6086         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6088 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6089             H.J. Lu  <hongjiu.lu@intel.com>
6091         [BZ #18880]
6092         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6093         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6094         enable __memcpy_ssse3_back.
6096 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6098         [BZ #19758]
6099         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6100         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6102 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6104         [BZ #19490]
6105         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6106         (__fentry__): Likewise.
6108 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6110         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6111         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6113 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6115         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6116         __mcount_internal directly.
6117         (C_LABEL(__fentry__)): Likewise.
6118         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6119         directly.
6121 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6123         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6124         (__start_context): Call __setcontext directly.
6126 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6128         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6129         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6130         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6131         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6133         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6134         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6135         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6136         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6137         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6138         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6139         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6141         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6142         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6143         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6144         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6146         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6147         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6148         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6149         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6150         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6151         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6152         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6153         Remove conditional code.
6154         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6155         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6156         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6157         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6158         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6159         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6160         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6161         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6162         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6163         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6165         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6167 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6169         * NEWS (2.23): Fix typo in bug 19048 text.
6171 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6173         [BZ #14259]
6174         * Makeconfig: Rename msgcatdir to localedir.
6175         Rename inst_msgcatdir to inst_localedir.
6176         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6177         * config.make.in: Add localedir.
6178         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6179         (ldd-rewrite): Likewise.
6180         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6181         (install-others): Use inst_localedir.
6182         (CPPFLAGS): Use localedir.
6183         * locale/Makefile (locale-CPPFLAGS): Likewise.
6184         * po/Makefile (mo-installed): Use inst_localedir.
6186         [BZ #19575]
6187         * localedata/charmaps/GB18030: Update comments regarding PAU to
6188         non-PUA mappings.
6190 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6192         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6193         test for header.
6194         * sysdeps/unix/sysv/linux/configure: Regenerated.
6195         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6196         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6197         Remove conditional code.
6198         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6200         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6201         Define to 3.2.0.
6202         (arch_minimum_kernel): Likewise.
6203         * sysdeps/unix/sysv/linux/configure: Regenerated.
6204         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6205         Define to 2.6.32.
6206         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6207         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6208         (arch_minimum_kernel): Define to 2.6.32.
6209         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6210         * README: Document Linux 3.2 requirement.
6211         * manual/install.texi (Linux): Document Linux 3.2 headers
6212         requirement.
6213         * INSTALL: Regenerated.
6215 2016-02-24  Andreas Schwab  <schwab@suse.de>
6217         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6218         if !NO_LONG_DOUBLE.
6220 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6222         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6223         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6225 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6227         [BZ #19512]
6228         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6230 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6232         * posix/tst-dir.c: Include libc-internal.h.
6234 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6236         [BZ #19056]
6237         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6238         * manual/filesys.texi (Reading/Closing Directory): Mention
6239         deprecaion.
6240         * posix/tst-dir.c (main): Disable deprecation warning in test.
6242 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6244         [BZ #19679]
6245         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6246         Renamed to ...
6247         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6248         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6249         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6250         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6251         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6252         * sysdeps/x86_64/dl-trampoline.h
6253         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6254         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6256 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6258         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6260 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6262         * elf/elf.h (R_386_GOT32X): New.
6263         (R_386_NUM): Update.
6264         (R_X86_64_GOTPCRELX: New.
6265         (R_X86_64_REX_GOTPCRELX): New.
6266         (R_X86_64_NUM): Update.
6268 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6270         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6272 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6274         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6275         assign attr->stackaddr to it, and adjust it down when
6276         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6277         [_STACK_GROWS_UP]: Delete assert.
6278         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6279         Implement stack grows up logic.
6280         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6281         stack grows up logic.
6283 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6285         * NEWS: Update with 2.24 template.
6287 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6289         [BZ #19678]
6290         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6291         Ensure +0.0 is returned when taking the next value below the least
6292         positive value.
6294 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6296         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6297         available.  Do not define NO_THREADS.
6298         * malloc/malloc.c: Do not check NO_THREADS.
6299         * malloc/arena.c: Likewise.
6301 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6303         * malloc/malloc.c (__libc_mallinfo): Update comment.
6304         (struct malloc_par): Remove max_total_mem member, it was always 0.
6305         (int_mallinfo): Store 0 into usmblks (no functional change).
6306         * malloc/hooks.c (struct malloc_state): Document that
6307         max_total_mem is always 0.
6308         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6309         always 0.
6310         * manual/memory.texi (Statistics of Malloc): Likewise.
6312 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6314         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6315         * malloc/arena.c (arena_max): Remove.
6316         (heap_trim, _int_new_arena): Do not update arena_max.
6318 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6320         * resolv/res_init.c (res_ninit): Update comment.
6322 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6324         [BZ #19505]
6325         * posix/spawn_int.h: Add headers and include guard.
6326         (__spawn_valid_fd): New function.
6327         * posix/spawn_faction_addopen.c
6328         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6329         * posix/spawn_faction_addclose.c
6330         (posix_spawn_file_actions_addclose): Likewise.
6331         * posix/spawn_faction_adddup2.c
6332         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6333         second file descriptor.
6334         * posix/spawn_valid_fd.c: New file.
6335         * posix/tst-posix_spawn-fd.c: New file.
6336         * posix/Makefile (routines): Add spawn_valid_fd.
6337         (tests): Add tst-posix_spawn-fd.
6339 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6341         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6342         (do_test): Limit the number of arenas, so that we can use fewer
6343         outer threads.  Limit timeout to 3 seconds, in preparation for a
6344         larger TIMEOUT value.
6346 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6348         [BZ #19674]
6349         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6350         sign in overflowing and underflowing results when overflow or
6351         underflow is detected early.  Include sign in result before rather
6352         than after scaling.
6354         [BZ #19603]
6355         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6356         (__ieee754_remainderl): Adjust sign of integer version of low part
6357         when taking absolute value of high part.
6358         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6359         * math/libm-test.inc (remainder_test_data): Add another test.
6360         (remquo_test_data): Likewise.
6362 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6364         [BZ #19602]
6365         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6366         equal high parts and both low parts zero specially.
6367         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6368         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6369         Add test-fmodl-ldbl-128ibm.
6371         [BZ #19595]
6372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6373         common logic for all cases of shifting subnormal results.  Do not
6374         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6375         exponent to ldbl_insert_mantissa in subnormal case.
6377         [BZ #19594]
6378         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6379         on high and low parts then adjust result and use
6380         ldbl_canonicalize_int if needed.
6382         [BZ #19593]
6383         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6384         on high part and __floor or __ceil on low part then use
6385         ldbl_canonicalize_int if needed.
6387         [BZ #19592]
6388         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6389         high and low parts then use ldbl_canonicalize_int if needed.
6391         [BZ #17899]
6392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6393         New function.
6394         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6395         on high and low parts then use ldbl_canonicalize_int if needed.
6397 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6399         * configure: Regenerated.
6401         * po/libc.pot: Regenerated.
6403         * po/be.po: Updated translation.
6404         * po/bg.po: Likewise.
6405         * po/ca.po: Likewise.
6406         * po/cs.po: Likewise.
6407         * po/da.po: Likewise.
6408         * po/el.po: Likewise.
6409         * po/eo.po: Likewise.
6410         * po/es.po: Likewise.
6411         * po/fi.po: Likewise.
6412         * po/fr.po: Likewise.
6413         * po/gl.po: Likewise.
6414         * po/hr.po: Likewise.
6415         * po/hu.po: Likewise.
6416         * po/ia.po: Likewise.
6417         * po/id.po: Likewise.
6418         * po/it.po: Likewise.
6419         * po/ja.po: Likewise.
6420         * po/lt.po: Likewise.
6421         * po/nb.po: Likewise.
6422         * po/nl.po: Likewise.
6423         * po/pt_BR.po: Likewise.
6424         * po/rw.po: Likewise.
6425         * po/sk.po: Likewise.
6426         * po/sl.po: Likewise.
6427         * po/sv.po: Likewise.
6428         * po/tr.po: Likewise.
6429         * po/zh_CN.po: Likewise.
6430         * po/zh_TW.po: Likewise.
6432         * version.h (RELEAES): Set to "development".
6433         (VERSION): Set to 2.23.90.
6435         * version.h (RELEASE): Set to "stable".
6436         (VERSION): Set to 2.23.
6437         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6439         * NEWS: Updated fixed bugs.
6441 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6442             Wilco Dijkstra  <wdijkstr@arm.com>
6444         [BZ #19462]
6445         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6446         (_STRING_INLINE_unaligned): This.
6447         * include/string.h: Include <string_private.h>.
6448         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6449         _STRING_INLINE_unaligned.
6450         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6451         (_STRING_INLINE_unaligned): New.
6452         * sysdeps/aarch64/string_private.h: New file.
6453         * sysdeps/generic/string_private.h: Likewise.
6454         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6455         * sysdeps/s390/string_private.h: Likewise.
6456         * sysdeps/x86/string_private.h: Likewise.
6457         * sysdeps/m68k/m680x0/m68020/bits/string.h
6458         (_STRING_ARCH_unaligned): Renamed to ...
6459         (_STRING_INLINE_unaligned): This.
6460         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6461         to ...
6462         (_STRING_INLINE_unaligned): This.
6463         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6464         to ...
6465         (_STRING_INLINE_unaligned): This.
6466         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6467         to ...
6468         (_STRING_INLINE_unaligned): This.
6470 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6471             H.J. Lu  <hongjiu.lu@intel.com>
6473         [BZ #19590]
6474         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6475         relocation.
6477 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6479         [BZ #18665]
6480         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6481         *herrno_p.
6482         (gaih_getanswer): Document functional behviour. Return tryagain
6483         if any result is tryagain.
6484         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6485         when freed.
6486         * resolv/res_send.c: Add copyright text.
6487         (__libc_res_nsend): Document that MAXPACKET is expected.
6488         (send_vc): Document. Remove buffer reuse.
6489         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6490         size of the buffer. Add Dprint for truncated UDP buffer.
6492 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6494         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6495         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6496         * INSTALL: Regenerate.
6498 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6499             Jonathan Wakely  <jwakely@redhat.com>
6500             Carlos O'Donell  <carlos@redhat.com>
6502         [BZ 19439]
6503         * math/Makefile (tests): Add test-math-isinff.
6504         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6505         * math/bits/mathcalls.h [__USE_MISC]: Use
6506         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6507         functions not in C++11 and which don't conflict e.g. isinff,
6508         isinfl etc.
6509         * math/test-math-isinff.cc: New file.
6511 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6513         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6515 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6517         [BZ #19529]
6518         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6520 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6522         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6524 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6526         [BZ #19550]
6527         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6528         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6529         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6530         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6531         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6532         New syscall entry.
6533         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6534         New syscall entry.
6535         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6536         syscall entry.
6538 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6540         [BZ #18240]
6541         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6542         unsigned int wraparound.
6544 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6546         [BZ #18240]
6547         * misc/bug18240.c: New test.
6548         * misc/Makefile (tests): Add it.
6550 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6551             Joseph Myers  <joseph@codesourcery.com>
6553         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6554         load in branch delay slot when less than a word of input left.
6556 2016-01-27  Andreas Schwab  <schwab@suse.de>
6558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6560         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6561         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6563 2016-01-26  David S. Miller  <davem@davemloft.net>
6565         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6567 2016-01-25  David S. Miller  <davem@davemloft.net>
6569         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6570         __sqrtl_finite.
6571         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6572         instead using versioned_symbol.
6573         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6574         of entries.
6576         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6577         __sqrtl_finite to GLIBC_2.23
6579 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6581         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6583 2016-01-25  Andreas Schwab  <schwab@suse.de>
6585         [BZ #17514]
6586         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6587         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6588         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6589         * nptl/tst-mutex-errorcheck.c: New file.
6591 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6593         [BZ #18560]
6594         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6595         (IPCOP_semop): Likewise.
6596         (IPCOP_semget): Likewise.
6597         (IPCOP_semctl): Likewise.
6598         (IPCOP_msgsnd): Likewise.
6599         (IPCOP_msgrcv): Likewise.
6600         (IPCOP_msgget): Likewise.
6601         (IPCOP_msgctl): Likewise.
6602         (IPCOP_shmat): Likewise.
6603         (IPCOP_shmdt): Likewise.
6604         (IPCOP_shmget): Likewise.
6605         (IPCOP_shmctl): Likewise.
6607 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6609         * string/tst-endian.c: Include <libc-internal.h>.
6610         (do_test): Ignore tautological-compare warnings around
6611         "htobeXX (beXXtoh (i)) != i" and
6612         "htoleXX (leXXtoh (i)) != i" if-statements.
6614 2016-01-24  David S. Miller  <davem@davemloft.net>
6616         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6617         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6618         alias.
6619         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6620         __sqrtl_finite.
6622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6624 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6626         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6627         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6628         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6630 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6632         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6633         (thread_func): Use new function to simplify barrier check.
6634         (do_test): Use new function to simplify checking barrier exit
6635         code, and actually join the child thread.
6637 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6639         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6640         semicolon.
6641         (__libc_tend): Likewise.
6642         (__libc_tabort): Likewise.
6644 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6646         * sysdeps/nios2/libm-test-ulps: Update.
6647         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6648         (__gtsf2): Likewise.
6649         (__unorddf2): Likewise.
6650         (__unordsf2): Likewise.
6651         (__ledf2): Likewise.
6653 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6655         * nis/nis_table.c (__follow_path): Disable diagnostic for
6656         uninitialized variable that is a false positive for gcc 4.7.
6657         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6659 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6661         * sysdeps/nacl/lowlevellock-futex.h
6662         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6663         Always evaluate PRIVATE argument.
6665 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6667         [BZ #19490]
6668         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6669         (pthread_cond_broadcast): Use ENTRY/END
6670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6671         (pthread_cond_signal): Likewise.
6672         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6673         Likewise.
6674         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6675         Likewise.
6676         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6677         Likewise.
6679 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6681         * sysdeps/ieee754/dbl-64/s_finite.c
6682         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6683         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6684         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6686         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6689         (__gtsf2): Add as optional for libc.so.
6690         (__unordsf2): Likewise.
6691         (__signbit): Remove for libc.so.
6692         (__signbitl): Likewise.
6694 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6696         * iconvdata/bug-iconv11.c (test_ibm93x):
6697         Use %zu printf format specifier for size_t argument.
6699 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6701         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6702         already-recorded ulps.
6703         * sysdeps/arm/libm-test-ulps: Regenerated.
6704         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6705         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6706         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6708 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6709             Paul Pluzhnikov  <ppluzhnikov@google.com>
6711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6712         assembler not supporting AVX-512.
6714 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6716         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6718 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6720         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6721         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6723         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6725         * sysdeps/arm/libm-test-ulps: Regenerated.
6727 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6729         [BZ #19451]
6730         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6732 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6734         [BZ #19486]
6735         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6736         * sysdeps/generic/fix-fp-int-convert-overflow.h
6737         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6738         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6739         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6740         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6741         Likewise.
6742         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6743         Avoid conversions to long int where inexact exceptions
6744         could be raised.
6745         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6746         Likewise.
6747         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6748         Avoid conversions to long long int where inexact exceptions
6749         could be raised.
6750         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6751         Likewise.
6753 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6755         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6756         * configure: Regenerated.
6758 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6760         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6762 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6765         outside of comment.
6767 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6769         * nptl/tst-barrier1.c: Add description on first line.
6770         * nptl/tst-barrier2.c: Likewise.
6771         * nptl/tst-barrier3.c: Likewise.
6772         * nptl/tst-barrier4.c: Likewise.
6773         * nptl/tst-barrier5.c: Likewise.
6775 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6777         [BZ #18868]
6778         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6780 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6784         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6785         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6786         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6787         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6788         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6789         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6790         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6791         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6794 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6796         [BZ #13065]
6797         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6798         new implementation.
6799         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6800         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6801         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6802         (BARRIER_IN_THRESHOLD): New macro.
6803         * nptl/pthread_barrierattr_setpshared.c
6804         (pthread_barrierattr_setpshared): Clean up.
6805         * nptl/tst-barrier4.c: Correct comment.
6806         * nptl/tst-barrier5.c: New file.
6807         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6808         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6809         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6810         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6811         * nptl/lowlevelbarrier.sym: Remove.
6812         * nptl/DESIGN-barrier.txt: Remove.
6813         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6814         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6815         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6816         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6817         error.
6818         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6819         implementation.
6821 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6823         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6824         (do_child): Mask SIGRTMIN while thr is running.
6826 2016-01-15  Martin Sebor  <msebor@redhat.com>
6828         [BZ #19432]
6829         * iconvdata/Makefile: Add bug-iconv11.
6830         * iconvdata/bug-iconv11.c: New test.
6831         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6832         * iconvdata/ibm933.c: Same.
6833         * iconvdata/ibm935.c: Same.
6834         * iconvdata/ibm937.c: Same.
6835         * iconvdata/ibm939.c: Same.
6837 2016-01-15  Martin Sebor  <msebor@redhat.com>
6839         [BZ #19443]
6840         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6841         [DEBUG] (_ufc_set_bits): Declare used.
6842         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6843         [DEBUG] (print_all): Declare used.
6844         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6845         operands of the ternary ?: expression to target type.
6846         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6847         calling the undeclared abort.
6848         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6850 2016-01-15  Martin Sebor  <msebor@redhat.com>
6852         [BZ #18755]
6853         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6854         warnings.
6855         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6856         (__gai_create_helper_thread): Same.
6857         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6858         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6859         to suppress -Wmaybe-uninitialized warnings.
6861 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6863         [BZ #19465]
6864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6865         inside if.
6866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6867         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6868         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6870 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6872         [BZ #19466]
6873         * time/tst-mktime2.c (time_t_max): Removed.
6874         (time_t_min): Likewise.
6875         (TYPE_SIGNED): New.
6876         (TYPE_MINIMUM): Likewise.
6877         (TYPE_MAXIMUM): Likewise.
6878         (TIME_T_MIN): Likewise.
6879         (TIME_T_MAX): Likewise.
6880         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6881         and TIME_T_MIN.
6882         (do_test): Likewise.
6884 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6886         [BZ #19467]
6887         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6888         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6890 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6892         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6894 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6896         * benchtests/Makefile (PYTHON): Define.
6897         (bench-func): Use $(PYTHON) to run python scripts.
6898         ($(objpfx)bench-%.c): Likewise.
6900 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6902         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6903         leading slash when `file_name' is "/".
6905 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6907         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6908         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6909         Likewise.
6910         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6911         Likewise.
6912         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6915         enum constant and macro.
6916         (PTRACE_SETSIGMASK): Likewise.
6917         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6918         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6919         (PTRACE_GETSIGMASK): Likewise.
6920         (PTRACE_SETSIGMASK): Likewise.
6921         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6922         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6923         Likewise.
6924         (PTRACE_SETSIGMASK): Likewise.
6925         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6926         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6927         (PTRACE_GETSIGMASK): Likewise.
6928         (PTRACE_SETSIGMASK): Likewise.
6929         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6930         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6931         Likewise.
6932         (PTRACE_SETSIGMASK): Likewise.
6933         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6934         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6935         Likewise.
6936         (PTRACE_SETSIGMASK): Likewise.
6937         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6938         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6939         Likewise.
6940         (PTRACE_SETSIGMASK): Likewise.
6941         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6943 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6944             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6946         [BZ #19439]
6947         * math/bits/mathcalls.h
6948         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6949         prototype.
6950         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6952 2016-01-11  Andreas Schwab  <schwab@suse.de>
6954         [BZ #19253]
6955         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6956         cache when TZDEFRULES was used.
6957         * time/tst-tzname.c: New file.
6958         * time/Makefile (test): Add tst-tzname.
6959         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6960         * timezone/Makefile (test-zones): Add $(posixrules-file).
6961         ($(testdata)/$(posixrules-file)): New rule.
6963 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6965         Fix doc quoting problems with Texinfo 5
6966         Without this change, in the info file output, Texinfo 5 quotes code
6967         in text with undirected single quotes 'like this' and generates
6968         code examples that with many PDF readers cannot be cut out of PDFs
6969         and pasted into code.
6970         * manual/libc.texinfo: Configure the libc manual like the GNU
6971         Emacs manual, by using @documentencoding and setting
6972         txicodequoteundirected and txicodequotebacktick.  This way,
6973         Texinfo 5 quotes code in text with directed single quotes ‘like
6974         this’ and produces examples that can be cut out of PDFs.  This
6975         change causes Texinfo 5 to generate info files that contain UTF-8
6976         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6977         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6979 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6981         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6982         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6983         barriers to their respective compiler built-ins.
6984         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6985         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6986         * sysdeps/powerpc/sysdep.h: Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6988         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6989         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6991 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6993         * scripts/config.guess: Revert previous shebang change.
6994         * scripts/config.sub: Likewise.
6995         * scripts/mkinstalldirs: Likewise.
6997 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6999         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7000         PPC_FEATURE2_HAS_IEEE128.
7001         * sysdeps/powerpc/dl-procinfo.c:
7002         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7004 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7006         [BZ #19415]
7007         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7008         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7009         (_dl_lookup_address): Rewrite using function resolver trampoline.
7010         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7011         two bits in address.
7013 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7015         * longlong.h: Change !__SHMEDIA__ to
7016         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7017         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7019 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7020             Joseph Myers  <joseph@codesourcery.com>
7021             Mark Shinwell  <shinwell@codesourcery.com>
7022             Andrew Stubbs  <ams@codesourcery.com>
7023             Rich Felker <dalias@libc.org>
7025         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7027 2016-01-07  Richard Henderson  <rth@redhat.com>
7029         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7031 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7033         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7034         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7035         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7036         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7037         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7039 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7040             Joseph Myers  <joseph@codesourcery.com>
7042         * timezone/private.h: Update from tzcode 2015g.
7043         * timezone/tzfile.h: Likewise.
7044         * timezone/tzselect.ksh: Likewise.
7045         * timezone/zdump.c: Likewise.
7046         * timezone/zic.c: Likewise.
7047         * timezone/ialloc.c: Remove file.
7048         * timezone/scheck.c: Likewise.
7049         * timezone/Makefile (extra-objs): Remove variable.
7050         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7051         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7052         -Wno-maybe-uninitialized.
7053         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7054         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7055         (CFLAGS-ialloc.c): Remove variable.
7056         (CFLAGS-scheck.c): Likewise.
7057         * timezone/README: Update list of files from tzcode.
7059 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7061         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7062         instead of __fxprintf when _LIBC is undefined.
7064 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7066         * catgets/test-gencat.sh: Remove space after shebang.
7067         * conform/GlibcConform.pm: Likewise.
7068         * conform/check-header-lists.sh: Likewise.
7069         * conform/conformtest.pl: Likewise.
7070         * conform/linknamespace.pl: Likewise.
7071         * conform/list-header-symbols.pl: Likewise.
7072         * debug/catchsegv.sh: Likewise.
7073         * elf/genrtldtbl.awk: Likewise.
7074         * elf/tst-pathopt.sh: Likewise.
7075         * elf/tst-rtld-load-self.sh: Likewise.
7076         * grp/tst_fgetgrent.sh: Likewise.
7077         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7078         * iconvdata/gen-8bit-gap.sh: Likewise.
7079         * iconvdata/gen-8bit.sh: Likewise.
7080         * iconvdata/run-iconv-test.sh: Likewise.
7081         * intl/tst-gettext.sh: Likewise.
7082         * intl/tst-gettext2.sh: Likewise.
7083         * intl/tst-gettext4.sh: Likewise.
7084         * intl/tst-gettext6.sh: Likewise.
7085         * intl/tst-translit.sh: Likewise.
7086         * io/ftwtest-sh: Likewise.
7087         * libio/test-freopen.sh: Likewise.
7088         * locale/gen-translit.pl: Likewise.
7089         * malloc/tst-mtrace.sh: Likewise.
7090         * manual/check-safety.sh: Likewise.
7091         * manual/libc-texinfo.sh: Likewise.
7092         * manual/tsort.awk: Likewise.
7093         * manual/xtract-typefun.awk: Likewise.
7094         * nptl/tst-cancel-wrappers.sh: Likewise.
7095         * nptl/tst-tls6.sh: Likewise.
7096         * posix/globtest.sh: Likewise.
7097         * posix/tst-getconf.sh: Likewise.
7098         * posix/wordexp-tst.sh: Likewise.
7099         * scripts/check-c++-types.sh: Likewise.
7100         * scripts/check-local-headers.sh: Likewise.
7101         * scripts/config.guess: Likewise.
7102         * scripts/config.sub: Likewise.
7103         * scripts/cpp: Likewise.
7104         * scripts/cross-test-ssh.sh: Likewise.
7105         * scripts/documented.sh: Likewise.
7106         * scripts/evaluate-test.sh: Likewise.
7107         * scripts/gen-libc-abis: Likewise.
7108         * scripts/gen-sorted.awk: Likewise.
7109         * scripts/list-fixed-bugs.py: Likewise.
7110         * scripts/merge-test-results.sh: Likewise.
7111         * scripts/mkinstalldirs: Likewise.
7112         * scripts/rellns-sh: Likewise.
7113         * scripts/test-installation.pl: Likewise.
7114         * scripts/update-copyrights: Likewise.
7115         * stdio-common/tst-printf.sh: Likewise.
7116         * stdio-common/tst-unbputc.sh: Likewise.
7117         * stdlib/tst-fmtmsg.sh: Likewise.
7118         * stdlib/tst-setcontext3.sh: Likewise.
7119         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7120         * sysdeps/unix/make-syscalls.sh: Likewise.
7122 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7124         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7125         asm stw with atomic_exchange_rel.  Add explanatory comment.
7126         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7127         Likewise.
7129 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7131         [BZ #19122]
7132         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7133         * sysdeps/generic/dl-unistd.h: New file.
7134         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7136 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7138          [BZ #19122]
7139          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7140          * sysdeps/generic/dl-mman.h: New file.
7141          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7143 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7145         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7146         trailing whitespace removed.
7147         * scripts/config.guess: Update to version 2016-01-01.
7148         * scripts/config.sub: Update to version 2016-01-01.
7149         * scripts/move-if-change: Update from gnulib.
7151 2016-01-04  Anton Blanchard  <anton@samba.org>
7153         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7154         for array indices.
7155         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7157 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7159         * NEWS: Update copyright dates.
7160         * catgets/gencat.c (print_version): Likewise.
7161         * csu/version.c (banner): Likewise.
7162         * debug/catchsegv.sh: Likewise.
7163         * debug/pcprofiledump.c (print_version): Likewise.
7164         * debug/xtrace.sh (do_version): Likewise.
7165         * elf/ldconfig.c (print_version): Likewise.
7166         * elf/ldd.bash.in: Likewise.
7167         * elf/pldd.c (print_version): Likewise.
7168         * elf/sotruss.sh: Likewise.
7169         * elf/sprof.c (print_version): Likewise.
7170         * iconv/iconv_prog.c (print_version): Likewise.
7171         * iconv/iconvconfig.c (print_version): Likewise.
7172         * locale/programs/locale.c (print_version): Likewise.
7173         * locale/programs/localedef.c (print_version): Likewise.
7174         * login/programs/pt_chown.c (print_version): Likewise.
7175         * malloc/memusage.sh (do_version): Likewise.
7176         * malloc/memusagestat.c (print_version): Likewise.
7177         * malloc/mtrace.pl: Likewise.
7178         * manual/libc.texinfo: Likewise.
7179         * nptl/version.c (banner): Likewise.
7180         * nscd/nscd.c (print_version): Likewise.
7181         * nss/getent.c (print_version): Likewise.
7182         * nss/makedb.c (print_version): Likewise.
7183         * posix/getconf.c (main): Likewise.
7184         * scripts/test-installation.pl: Likewise.
7185         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7187         * All files with FSF copyright notices: Update copyright dates
7188         using scripts/update-copyrights.
7189         * intl/plural.c: Regenerated.
7190         * locale/programs/charmap-kw.h: Likewise.
7191         * locale/programs/locfile-kw.h: Likewise.
7193 2016-01-02  Helge Deller  <deller@gmx.de>
7195         [BZ #19285]
7196         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7197         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7198         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7199         (MADV_xxK_PAGES): Remove.
7201 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7203         [BZ #15421]
7204         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7205         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7206         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7207         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7209 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7211         [BZ #19408]
7212         * sysdeps/unix/sysv/linux/personality.c: New file.
7213         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7214         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7215         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7216         (sysdep_routines): Add personality.
7217         (tests): Add tst-personality.
7218         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7219         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7220         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7221         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7222         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7223         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7224         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7225         Likewise.
7226         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7227         Likewise.
7228         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7229         Likewise.
7230         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7231         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7232         Likewise.
7234 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7236         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7237         (PATH_ARM_SYSTYPE): Remove.
7238         (PATH_CPUINFO): Likewise.
7239         (IO_BASE_FOOTBRIDGE): Likewise.
7240         (IO_SHIFT_FOOTBRIDGE): Likewise.
7241         (struct platform): Likewise.
7242         (init_iosys): Remove compatibility code for 2.4 kernels.
7243         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7245 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7247         * malloc/tst-malloc-thread-fail.c: New file.
7248         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7249         (tst-malloc-thread-fail): Link against libpthread.
7251 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7253         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7254         (get_parser): New function.
7255         (main): New function.
7257 2015-12-29  Rob Wu  <rob@robwu.nl>
7259         [BZ #19369]
7260         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7262 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7264         [BZ #19270]
7265         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7267 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7269         [BZ #15421]
7270         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7272 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7274         [BZ #13690]
7275         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7276         after releasing it.
7277         (__lll_robust_unlock): Likewise.
7278         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7279         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7280         (lll_robust_unlock): Likewise.
7281         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7282         Prevent warnings in callers.
7284 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7286         * malloc/arena.c (list_lock): Update comment.
7288 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7290         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7291         __parse_hwcap_and_convert_at_platform to libc.a.
7293 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7295         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7296         platform and feature support for POWER9.
7297         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7298         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7299         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7300         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7301         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7302         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7303         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7304         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7306 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7308         Harmonize generic stdio-lock support with nptl
7310         This fixes build when _IO_funlockfile is a macro, fixes build where
7311         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7312         stack unwind.
7314         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7315         _IO_release_lock ): Use cleanup attribute on new
7316         _IO_acquire_lock_file variable instead of assuming that
7317         _IO_release_lock will be called.
7318         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7319         _IO_acquire_lock_needs_exceptions_enabled.
7320         (_IO_acquire_lock_clear_flags2): New macro.
7322 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7324         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7326 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7328         [BZ #19182]
7329         * malloc/arena.c (list_lock): Document lock ordering requirements.
7330         (free_list_lock): New lock.
7331         (ptmalloc_lock_all): Comment on free_list_lock.
7332         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7333         (detach_arena): Update comment.  free_list_lock is now needed.
7334         (_int_new_arena): Use free_list_lock around detach_arena call.
7335         Acquire arena lock after list_lock.  Add comment, including FIXME
7336         about incorrect synchronization.
7337         (get_free_list): Switch to free_list_lock.
7338         (reused_arena): Acquire free_list_lock around detach_arena call
7339         and attached threads counter update.  Add two FIXMEs about
7340         incorrect synchronization.
7341         (arena_thread_freeres): Switch to free_list_lock.
7342         * malloc/malloc.c (struct malloc_state): Update comments to
7343         mention free_list_lock.
7345 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7347         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7348         Remove functions.
7349         (sloww, sloww1): Accept argument to offset quadrant.
7350         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7351         quadrant.
7352         (__sin, __cos): Consolidate common code into new functions.
7353         (reduce_sincos_1, do_sincos_1): New functions.
7354         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7356         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7357         code to new functions.
7358         (reduce_sincos_2, do_sincos_2): New functions.
7359         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7361         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7362         common code for sincos.
7363         (__cos) [!IN_SINCOS]: Likewise.
7364         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7365         New function.
7366         (__sincos): Use it.
7368 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7370         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7371         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7372         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7374 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7376         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7377         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7379         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7380         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7381         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7382         index_Prefer_No_VZEROUPPER): New feature.
7383         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7384         Prefer_No_VZEROUPPER for Knights Landing.
7386 015-12-18  Torvald Riegel  <triegel@redhat.com>
7388         * math/atest-exp2.c (mp_exp_m1): Remove.
7390 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7392         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7393         syscalls.
7394         (__SYSCALL0): New macro.
7395         (__SYSCALL1): Likewise.
7396         (__SYSCALL2): Likewise.
7397         (__SYSCALL3): Likewise.
7398         (__SYSCALL4): Likewise.
7399         (__SYSCALL5): Likewise.
7400         (__SYSCALL6): Likewise.
7401         (__SYSCALL_CONCAT_X): Likewise.
7402         (__SYSCALL_CONCAT): Likewise.
7403         (__SYSCALL_DIST): Likewise.
7404         (__SYSCALL_CALL): Likewise.
7406 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7408         [BZ #19363]
7409         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7411 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7413         [BZ #19375]
7414         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7415         negative subnormals.
7417 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7420         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7421         (INTERNAL_SYSCALL_NCS): Use it.
7422         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7424 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7426         [BZ #19243]
7427         * malloc/arena.c (get_free_list): Remove assert and adjust
7428         reference count handling.  Add comment about reused_arena
7429         interaction.
7430         (reused_arena): Add comments abount get_free_list interaction.
7431         * malloc/tst-malloc-thread-exit.c: New file.
7432         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7433         (tst-malloc-thread-exit): Link against libpthread.
7435 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7437         [BZ #19367]
7438         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7439         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7440         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7441         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7442         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7444 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7446         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7447         Silvermont optimizations for Knights Landing.
7449 2015-12-15  Andreas Schwab  <schwab@suse.de>
7451         [BZ #17197]
7452         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7453         immediately after emitting SI.
7454         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7455         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7456         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7457         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7458         * iconvdata/bug-iconv10.c: New file.
7459         * iconvdata/Makefile (tests): Add bug-iconv10.
7460         ($(objpfx)bug-iconv10.out): New rule.
7462 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7464         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7465         aliasing violation.
7467 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7469         [BZ #18472]
7470         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7471         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7472         conditionals for them.
7473         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7474         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7476         sys/kdaemon.h.
7477         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7478         compat-only syscall, obsoleted in glibc 2.23.
7479         (create_module): Likewise.
7480         (get_kernel_syms): Likewise.
7481         (query_module): Likewise.
7482         (uselib): Likewise.
7483         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7485 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7487         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7488         <linux/version.h>.
7489         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7490         conditional code.
7491         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7492         and ioshift_name initialization.
7494 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7496         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7497         Fix indentation.
7499 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7503 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7505         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7507 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7508             Jakub Wilk  <jwilk@debian.org>
7510         [BZ #19347]
7511         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7512         to change the group of the device to the tty group.
7514 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7516         Split large string section; add truncation advice
7517         * manual/examples/strncat.c: Remove.
7518         This example was misleading, as the code would have undefined
7519         behavior if "hello" was longer than SIZE.  Anyway, the manual
7520         shouldn't encourage strncpy+strncat for this sort of thing.
7521         * manual/string.texi (Copying Strings and Arrays): Split into
7522         three sections Copying Strings and Arrays, Concatenating Strings,
7523         and Truncating Strings, as this section was way too long.  All
7524         cross-referenced changed.  Add advice about string-truncation
7525         functions.  Remove misleading strncat example.
7527 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7529         * manual/nss.texi (NSS Modules Interface): Document
7530         NSS_STATUS_NOTFOUND and SUCCESS.
7532 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7534         [BZ 18568]
7535         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7536         201505L, for Unicode 8.
7538 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7540         * locale/C-translit.h: Regenerate.
7542 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7544         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7545         and U+0153.
7547 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7549         [BZ #19351]
7550         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7551         expanding log(1+z), compare z rather than its square with epsilon
7552         to determine when to avoid evaluating the expansion.
7554         [BZ #19350]
7555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7556         Increase overflow threshold.
7558         [BZ #19349]
7559         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7560         when small.
7562         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7564         New macro.
7565         [__LINUX_KERNEL_VERSION >= 0x040300]
7566         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7568         Likewise.
7569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7570         Likewise.
7571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7572         Likewise.
7573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7574         Likewise.
7575         [__LINUX_KERNEL_VERSION >= 0x040300]
7576         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7577         [__LINUX_KERNEL_VERSION >= 0x040300]
7578         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7579         [__LINUX_KERNEL_VERSION >= 0x040300]
7580         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7581         [__LINUX_KERNEL_VERSION >= 0x040300]
7582         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7583         [__LINUX_KERNEL_VERSION >= 0x040300]
7584         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7585         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7586         Likewise.
7587         [__LINUX_KERNEL_VERSION >= 0x040300]
7588         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7590         Likewise.
7591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7592         Likewise.
7593         [__LINUX_KERNEL_VERSION >= 0x040300]
7594         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7596         Likewise.
7597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7598         Likewise.
7599         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7601         Likewise.
7602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7603         Likewise.
7604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7605         Likewise.
7606         [__LINUX_KERNEL_VERSION >= 0x040300]
7607         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7609         Likewise.
7610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7611         Likewise.
7612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7613         Likewise.
7614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7615         Likewise.
7616         [__LINUX_KERNEL_VERSION >= 0x040300]
7617         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7618         [__LINUX_KERNEL_VERSION >= 0x040300]
7619         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7620         [__LINUX_KERNEL_VERSION >= 0x040300]
7621         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7622         [__LINUX_KERNEL_VERSION >= 0x040300]
7623         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7624         [__LINUX_KERNEL_VERSION >= 0x040300]
7625         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7626         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7627         Likewise.
7628         [__LINUX_KERNEL_VERSION >= 0x040300]
7629         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7631         Likewise.
7632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7633         Likewise.
7634         [__LINUX_KERNEL_VERSION >= 0x040300]
7635         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7637         Likewise.
7638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7639         Likewise.
7640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7641         (__ASSUME_SOCKET_SYSCALL): Likewise.
7642         (__ASSUME_BIND_SYSCALL): Likewise.
7643         (__ASSUME_CONNECT_SYSCALL): Likewise.
7644         (__ASSUME_LISTEN_SYSCALL): Likewise.
7645         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7646         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7647         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7648         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7649         (__ASSUME_SEND_SYSCALL): Likewise.
7650         (__ASSUME_SENDTO_SYSCALL): Likewise.
7651         (__ASSUME_RECV_SYSCALL): Likewise.
7652         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7653         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7654         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7655         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7656         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7657         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7658         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7659         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7660         Likewise.
7661         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7662         Likewise.
7663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7664         Likewise.
7665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7666         Likewise.
7667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7668         Likewise.
7669         [__LINUX_KERNEL_VERSION >= 0x020625]
7670         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7671         [__LINUX_KERNEL_VERSION >= 0x020625]
7672         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7673         [__LINUX_KERNEL_VERSION >= 0x020625]
7674         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7675         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7676         Likewise.
7677         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7678         Likewise.
7679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7680         Likewise.
7681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7682         Likewise.
7683         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7684         Likewise.
7685         [__LINUX_KERNEL_VERSION >= 0x020625]
7686         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7687         [__LINUX_KERNEL_VERSION >= 0x020625]
7688         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7689         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7690         Likewise.
7691         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7692         Likewise.
7694 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7696         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7697         record the current if the current ABI and CPU support the FP64
7698         extension.
7699         (has-modd-spreg): Define to record the current if the current ABI and
7700         CPU support 32-bit floating point values in odd FPU registers.
7701         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7702         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7703         $(has-modd-spreg) equals yes.
7704         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7705         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7706         $(has-modd-spreg) equal yes.
7708 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7710         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7711         basename.
7713 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7715         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7716         (bench-string): ... here.
7717         (bench): Add bench-string.
7718         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7719         to *-benchset to reflect what they are.
7720         (benchset): Adjust.
7722         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7723         cos-inputs.
7725 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7727         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7728         __attribute__ ((__simd__)) for vector math function declarations.
7730 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7732         Fix typo in strncat, wcsncat manual entries
7733         * manual/string.texi (Copying and Concatenation): Fix typos in
7734         sample implementations of strncat and wcsncat, by having them use
7735         the old value of the destination length, not the new one.
7737 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7739         [BZ #16961]
7740         [BZ #16962]
7741         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7742         string on the stack for strtod.
7743         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7744         a string on the stack for strtof.
7745         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7746         constructing a string on the stack for strtold.
7747         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7748         __strtold_nan to GLIBC_PRIVATE.
7749         * math/test-nan-overflow.c: New file.
7750         * math/test-nan-payload.c: Likewise.
7751         * math/Makefile (tests): Add test-nan-overflow and
7752         test-nan-payload.
7754 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7756         Consistency about byte vs character in string.texi
7757         * manual/string.texi (String and Array Utilities):
7758         Distinguish more carefully among bytes, multibyte characters,
7759         and wide characters.  Use "byte" when talking about C 'char',
7760         to distinguish it more clearly from multibyte characters.
7761         Say "wide character" or "multibyte character" instead of
7762         "character", when a wide or multibyte character is intended.
7763         Similarly for "multibyte string" versus "string".
7764         Define these terms more carefully.
7766 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7768         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7769         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7770         Likewise.
7771         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7772         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7773         * sysdeps/sh/math_private.h: New file.
7774         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7775         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7776         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7777         long double function name.
7778         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7779         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7780         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7781         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7782         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7784         Remove __finitel, __isinfl, and __isnanl.
7785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7786         Likewise.
7787         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7789         Remove __finitel.
7790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7791         Likewise.
7792         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7794 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7796         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7797         installed libmvec_nonshared.a.
7799 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7801         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7802         (sysdep_routines): Likewise.
7803         (sysdep-rtld-routines): Likewise.
7804         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7805         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7806         * sysdeps/powerpc/Versions: Added new
7807         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7808         * sysdeps/powerpc/hwcapinfo.c: New file.
7809         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7810         and parse hwcap, hwcap2 and platform number information.
7811         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7812         to store HWCAP+HWCAP2 and platform number.
7813         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7814         for HWCAP+HWCAP2 and platform number in the TCB.
7815         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7816         the HWCAP, HWCAP2 and platform number in the TCB.
7817         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7818         (TLS_INIT_TP): Included calls to add the hwcap and
7819         at_platform values in the TCB in TP initialization.
7820         (TLS_DEFINE_INIT_TP): Likewise.
7821         (THREAD_GET_HWCAP): New macro.
7822         (THREAD_SET_HWCAP): Likewise.
7823         (THREAD_GET_AT_PLATFORM): Likewise.
7824         (THREAD_SET_AT_PLATFORM): Likewise.
7825         * sysdeps/powerpc/powerpc32/dl-machine.h:
7826         (dl_platform_init): New function that calls
7827         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7828         powerpc32.
7829         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7830         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7831         this functionality, static linking case.
7832         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7833         linking case.
7834         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7835         __parse_hwcap_and_convert_at_platform for the static linking case.
7836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7837         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7838         ABI list for GLIBC 2.23.
7839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7840         Likewise.
7841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7842         Likewise.
7844 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7846         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7847         * configure: Regenerate.
7848         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7849         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7851 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7853         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7854         * iconvdata/ibm933.c: Likewise.
7855         * iconvdata/ibm935.c: Likewise.
7856         * iconvdata/ibm937.c: Likewise.
7857         * iconvdata/ibm939.c: Likewise.
7859 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7861         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7862         pthread_join.
7863         * nptl/tst-cancel21.c (tf): Likewise.
7865 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7867         [BZ #19313]
7868         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7869         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7870         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7871         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7872         Likewise.
7873         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7874         Likewise.
7875         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7876         Likewise.
7877         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7878         Likewise.
7879         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7880         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7881         unsigned long int with __CPU_MASK_TYPE.
7883 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7885         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7887 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7889         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7890         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7891         t512.x.
7892         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7894 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7896         [BZ #19214]
7897         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7898         argument to return extended model.  Update family and model
7899         with extended family and model when family == 0x0f.
7900         (init_cpu_features): Updated.
7902 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7904         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7905         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7907         * sysdeps/mach/hurd/mmap64.c: New file.
7909 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7911         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7912         rights for its main user thread in NEWTASK.
7914 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7916         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7917         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7919 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7921         [BZ #14259]
7922         * Makeconfig: Rename localedir to complocaledir.
7923         Rename inst_localedir to inst_complocaledir.
7924         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7925         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7926         * configure.ac: Use libc_cv_complocaledir.
7927         * configure: Regenerate.
7928         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7929         -DCOMPLOCALEDIR.
7930         * locale/findlocale.c: Use COMPLOCALEDIR.
7931         * locale/loadarchive.c: Likewise.
7932         * locale/programs/locale.c: Likewise.
7933         * locale/programs/localedef.c: Likewise.
7934         * locale/programs/locarchive.c: Likewise.
7935         * localedata/Makefile: Use inst_complocaledir.
7936         * sysdeps/gnu/configure: Regenerate.
7937         * sysdeps/hppa/configure: Regenerate.
7938         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7939         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7941         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7942         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7943         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7944         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7946 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7948         [BZ #19058]
7949         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7950         AS_NEEDED.
7951         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7952         workaround.
7953         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7954         libmvec-static-only-routines): Added new file.
7955         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7957 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7959         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7960         of interrupted RPC instead of restoring it.
7962         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7963         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7964         libc_hidden_def.
7965         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7966         into initialized data instead of common. Define rtld_hidden_data_def.
7967         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7968         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7969         libc_hidden_def.
7970         (if_freenameindex): Add libc_hidden_weak.
7971         (if_nameindex): Add libc_hidden_weak.
7972         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7973         __open64.
7974         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7975         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7976         * sysdeps/mach/nanosleep.c: Include <time.h>
7977         (__nanosleep): Rename to __libc_nanosleep.
7978         (__nanosleep): Add weak_alias.
7979         (nanosleep): Update alias.
7981 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7983         * stdlib/strtod_nan.c: New file.
7984         * stdlib/strtod_nan_double.h: Likewise.
7985         * stdlib/strtod_nan_float.h: Likewise.
7986         * stdlib/strtod_nan_main.c: Likewise.
7987         * stdlib/strtod_nan_narrow.h: Likewise.
7988         * stdlib/strtod_nan_wide.h: Likewise.
7989         * stdlib/strtof_nan.c: Likewise.
7990         * stdlib/strtold_nan.c: Likewise.
7991         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7992         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7993         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7994         * wcsmbs/wcstod_nan.c: Likewise.
7995         * wcsmbs/wcstof_nan.c: Likewise.
7996         * wcsmbs/wcstold_nan.c: Likewise.
7997         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7998         strtold_nan.
7999         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8000         wcstof_nan.
8001         * include/stdlib.h (__strtof_nan): Declare and use
8002         libc_hidden_proto.
8003         (__strtod_nan): Likewise.
8004         (__strtold_nan): Likewise.
8005         (__wcstof_nan): Likewise.
8006         (__wcstod_nan): Likewise.
8007         (__wcstold_nan): Likewise.
8008         * include/wchar.h (____wcstoull_l_internal): Declare.
8009         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8010         (____strtoull_l_internal): Remove declaration.
8011         (STRTOF_NAN): Define macro.
8012         (SET_MANTISSA): Remove macro.
8013         (STRTOULL): Likewise.
8014         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8015         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8016         (STRTOF_NAN): Define macro.
8017         (SET_MANTISSA): Remove macro.
8018         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8019         (SET_MANTISSA): Remove macro.
8020         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8021         macro.
8022         (SET_MANTISSA): Remove macro.
8023         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8024         macro.
8025         (SET_MANTISSA): Remove macro.
8026         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8027         (SET_MANTISSA): Remove macro.
8028         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8029         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8030         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8032         [BZ #19266]
8033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8034         upper case and lower case letters inside NAN(), not using TOLOWER.
8035         * stdlib/tst-strtod-nan-locale-main.c: New file.
8036         * stdlib/tst-strtod-nan-locale.c: Likewise.
8037         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8038         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8039         Depend on $(gen-locales).
8040         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8041         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8042         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8043         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8044         Depend on $(gen-locales).
8045         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8047 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8049         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8051         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8053         __finitel, __isinfl, and __isnanl.
8054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8055         Likewise.
8056         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8058         __finitel.
8059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8063 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8065         * malloc/memusage.c (me): Remove redundant getenv call.
8067 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8069         [BZ #19143]
8070         [BZ #19164]
8071         * nptl/check-cpuset.h: Remove.
8072         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8073         Remove CPU set size check.
8074         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8077         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8078         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8079         (__pthread_setaffinity_new): Remove CPU set size check.
8080         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8081         (__kernel_cpumask_size): Remove.
8082         (__sched_setaffinity_new): Remove CPU set size check.
8083         * manual/threads.texi (Default Thread Attributes): Remove stale
8084         reference to check_cpuset_attr, determine_cpumask_size in comment.
8085         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8086         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8087         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8088         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8089         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8090         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8091         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8092         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8093         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8094         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8095         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8096         skeleton test file.
8097         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8098         tst-affinity-pid.
8100 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8102         * scripts/update-abilist.sh: New file.
8103         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8104         * Makerules (update-all-abi-%, update-all-abi)
8105         (subdir_update-all-abi): New targets.
8106         * elf/Makefile (update-all-abi): New target.
8108 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8110         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8111         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8112         (__libc_lock_define_initialized): Use it.
8113         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8114         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8115         * malloc/malloc.c (main_arena): Likewise.
8116         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8117         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8119 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8121         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8122         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8123         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8124         (PTRACE_O_MASK): Update value.
8125         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8126         New value in enum __ptrace_setoptions.
8127         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8128         (PTRACE_O_MASK): Update value.
8129         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8130         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8131         (PTRACE_O_MASK): Update value.
8132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8133         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8134         (PTRACE_O_MASK): Update value.
8135         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8136         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8137         (PTRACE_O_MASK): Update value.
8138         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8139         New value in enum __ptrace_setoptions.
8140         (PTRACE_O_MASK): Update value.
8141         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8142         New value in enum __ptrace_setoptions.
8143         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8144         (PTRACE_O_MASK): Update value.
8146         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8147         New macro.
8148         (PACKET_AUXDATA): Likewise.
8149         (PACKET_ORIGDEV): Likewise.
8150         (PACKET_VERSION): Likewise.
8151         (PACKET_HDRLEN): Likewise.
8152         (PACKET_RESERVE): Likewise.
8153         (PACKET_TX_RING): Likewise.
8154         (PACKET_LOSS): Likewise.
8155         (PACKET_VNET_HDR): Likewise.
8156         (PACKET_TX_TIMESTAMP): Likewise.
8157         (PACKET_TIMESTAMP): Likewise.
8158         (PACKET_FANOUT): Likewise.
8159         (PACKET_TX_HAS_OFF): Likewise.
8160         (PACKET_QDISC_BYPASS): Likewise.
8161         (PACKET_ROLLOVER_STATS): Likewise.
8162         (PACKET_FANOUT_DATA): Likewise.
8163         (PACKET_MR_UNICAST): Likewise.
8165         [BZ #19242]
8166         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8167         (TOUPPER): Likewise.
8168         * stdlib/tst-strtol-locale-main.c: New file.
8169         * stdlib/tst-strtol-locale.c: Likewise.
8170         * stdlib/Makefile (tests): Add tst-strtol-locale.
8171         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8172         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8173         Depend on $(gen-locales).
8174         * wcsmbs/tst-wcstol-locale.c: New file.
8175         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8176         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8177         tr_TR.ISO-8859-9.
8178         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8179         Depend on $(gen-locales).
8181 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8183         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8184         __glibc_likely instead of __builtin_expect.  After falling back to
8185         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8186         system interface to register the code pages as occupied.
8188 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8190         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8191         [!ARM_MATH_PRIVATE_H].
8192         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8193         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8194         [!HPPA_MATH_PRIVATE_H].
8195         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8196         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8197         to [!I386_MATH_PRIVATE_H].
8198         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8199         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8200         Change guard to [!M68K_MATH_PRIVATE_H].
8201         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8202         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8203         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8204         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8205         macro.
8206         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8207         [!MIPS_MATH_PRIVATE_H].
8208         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8209         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8210         [!NIO2_MATH_PRIVATE_H].
8211         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8212         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8213         [!TILE_MATH_PRIVATE_H].
8214         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8216         [BZ #15421]
8217         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8218         initialize with 0 and define as weak alias of __signgam.
8219         * include/math.h [!_ISOMAC] (__signgam): Declare.
8220         * math/Makefile (libm-calls): Add w_lgamma_compat.
8221         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8222         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8223         test-signgam-ullong-init.
8224         (tests-static): Add test-signgam-uchar-static,
8225         test-signgam-uchar-init-static, test-signgam-uint-static,
8226         test-signgam-uint-init-static, test-signgam-ullong-static and
8227         test-signgam-ullong-init-static.
8228         (CFLAGS-test-signgam-uchar.c): New variable.
8229         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8230         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8231         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8232         (CFLAGS-test-signgam-uint.c): Likewise.
8233         (CFLAGS-test-signgam-uint-init.c): Likewise.
8234         (CFLAGS-test-signgam-uint-static.c): Likewise.
8235         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8236         (CFLAGS-test-signgam-ullong.c): Likewise.
8237         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8238         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8239         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8240         * math/Versions (libm): Add GLIBC_2.23.
8241         * math/lgamma-compat.h: New file.
8242         * math/test-signgam-main.c: Likewise.
8243         * math/test-signgam-uchar-init-static.c: Likewise.
8244         * math/test-signgam-uchar-init.c: Likewise.
8245         * math/test-signgam-uchar-static.c: Likewise.
8246         * math/test-signgam-uchar.c: Likewise.
8247         * math/test-signgam-uint-init-static.c: Likewise.
8248         * math/test-signgam-uint-init.c: Likewise.
8249         * math/test-signgam-uint-static.c: Likewise.
8250         * math/test-signgam-uint.c: Likewise.
8251         * math/test-signgam-ullong-init-static.c: Likewise.
8252         * math/test-signgam-ullong-init.c: Likewise.
8253         * math/test-signgam-ullong-static.c: Likewise.
8254         * math/test-signgam-ullong.c: Likewise.
8255         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8256         wrapper of w_lgamma_main.c.
8257         * math/w_lgamma_compat.c: New file.
8258         * math/w_lgamma_compatf.c: Likewise.
8259         * math/w_lgamma_compatl.c: Likewise.
8260         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8261         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8262         defining compatibility symbols.
8263         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8264         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8265         wrapper of w_lgammaf_main.c.
8266         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8267         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8268         defining compatibility symbols.
8269         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8270         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8271         wrapper of w_lgammal_main.c.
8272         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8273         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8274         defining compatibility symbols.
8275         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8276         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8277         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8278         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8279         <lgamma-compat.h>.
8280         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8281         (__ieee754_gamma): Define as alias.
8282         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8283         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8284         <lgamma-compat.h>.
8285         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8286         (__ieee754_gammaf): Define as alias.
8287         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8288         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8289         <lgamma-compat.h>.
8290         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8291         (__ieee754_gammal): Define as alias.
8292         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8293         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8294         <math/w_lgamma_compat.c>.
8295         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8296         Define as alias of __lgamma_compat and use in defining lgammal.
8297         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8298         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8299         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8300         (USE_AS_COMPAT): New macro.
8301         (LGAMMA_OLD_VER): Undefine and redefine.
8302         (lgammal): Do not define here.
8303         (gammal): Only define here if [GAMMA_ALIAS].
8304         * conform/linknamespace.pl (@whitelist): Remove signgam.
8305         * sysdeps/nacl/libm.abilist: Update.
8306         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8307         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8308         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8314         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8315         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8316         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8319         Likewise.
8320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8321         Likewise.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8323         Likewise.
8324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8325         Likewise.
8326         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8327         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8328         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8329         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8330         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8332         Likewise.
8333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8336         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8337         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8339 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8341         [BZ #16364]
8342         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8343         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8345 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8347         * sysdeps/s390/fpu/bits/mathinline.h:
8348         Use __asm__ [__volatile__] instead of asm [volatile].
8349         * sysdeps/s390/abort-instr.h: Likewise.
8350         * sysdeps/s390/atomic-machine.h: Likewise.
8351         * sysdeps/s390/bits/string.h: Likewise.
8352         * sysdeps/s390/dl-tls.h: Likewise.
8353         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8354         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8355         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8356         * sysdeps/s390/fpu/fesetround.c: Likewise.
8357         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8358         * sysdeps/s390/fpu/s_fma.c: Likewise.
8359         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8360         * sysdeps/s390/memusage.h: Likewise.
8361         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8362         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8363         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8364         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8365         * sysdeps/s390/nptl/tls.h: Likewise.
8366         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8367         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8368         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8369         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8370         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8371         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8372         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8373         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8374         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8375         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8376         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8377         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8378         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8379         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8380         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8381         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8382         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8383         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8384         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8386         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8388         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8390 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8391             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8393         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8394         Add lwarx hint, and use macro for acquire instruction.
8395         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8396         Likewise.
8397         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8398         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8399         update to use new atomic macros.
8401 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8403         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8404         (__lll_trylock_elision): Fix setting of adapt_count.
8405         * sysdeps/unix/sysv/linux/powerpc/htm.h
8406         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8407         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8408         (_ABORT_SYSCALL): Renumber, and clarify definition.
8409         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8411 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8413         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8414         after system headers to prevent MIN/MAX redefinition.  Define
8415         HAVE_ALLOCA to preserve builtin alloca usage.
8417 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8419         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8420         static and don't set or restore rounding.
8421         (__cos)[IN_SINCOS]: Likewise.
8422         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8423         (__sincos): Set and restore rounding mode.  Remove check for infinite
8424         or NaN input.
8426         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8428         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8429         as used.
8431 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8433         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8435 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8437         * config.make.in (have-glob-dat-reloc): New.
8438         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8439         target supports GLOB_DAT relocaton. AC_SUBST.
8440         * configure: Regenerated.
8441         * elf/Makefile (tests): Add tst-prelink.
8442         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8443         (tst-prelink-ENV): New.
8444         ($(objpfx)tst-prelink-conflict.out): Likewise.
8445         ($(objpfx)tst-prelink-cmp.out): Likewise.
8446         * sysdeps/x86/tst-prelink.c: Moved to ...
8447         * elf/tst-prelink.c: Here.
8448         * sysdeps/x86/tst-prelink.exp: Moved to ...
8449         * elf/tst-prelink.exp: Here.
8450         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8451         (tst-prelink-ENV): Removed.
8452         ($(objpfx)tst-prelink-conflict.out): Likewise.
8453         ($(objpfx)tst-prelink-cmp.out): Likewise.
8454         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8456 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8458         [BZ #14551]
8459         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8460         (__mpn_construct_long_double): If high part overflows to infinity,
8461         set errno and recompute overflowed result of the correct sign.
8462         * sysdeps/ieee754/ldbl-128ibm/Makefile
8463         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8464         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8465         $(libm).
8466         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8468 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8470         [BZ #15479]
8471         [BZ #19238]
8472         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8473         floating-point state after first operation on input.  Restore full
8474         state rather than just rounding mode.
8475         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8476         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8477         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8479         [BZ #19235]
8480         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8481         add 0.5 to integer arguments.
8482         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8483         Likewise.
8484         (.LC2): New object.
8486 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8488         * scripts/pylintrc (reports): Set to no.
8490 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8492         * elf/dl-load.c (open_verify): Take new argument FD.
8493         Skip __open call if passed FD is not -1.
8494         (_dl_map_object, open_path): Update callers.
8495         * elf/dl-sysdep-open.h: New file.
8496         * elf/dl-load.c: Include it.
8497         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8498         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8499         * sysdeps/nacl/dl-sysdep-open.h: New file.
8500         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8501         from libc to rtld.
8503 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8505         [BZ #19228]
8506         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8507         and restore full floating-point state.
8508         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8509         Likewise.
8510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8511         Likewise.
8512         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8513         Likewise.
8514         * math/test-nearbyint-except-2.c: New file.
8515         * math/Makefile (tests): Add test-nearbyint-except-2.
8517 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8519         [BZ #19178]
8520         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8521         (tst-prelink-ENV): New.
8522         ($(objpfx)tst-prelink-conflict.out): Likewise.
8523         ($(objpfx)tst-prelink-cmp.out): Likewise.
8524         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8525         * sysdeps/x86/tst-prelink.c: New file.
8526         * sysdeps/x86/tst-prelink.exp: Likewise.
8528 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8530         * math/auto-libm-test-in: Add another test of pow.
8531         * math/auto-libm-test-out: Regenerated.
8532         * math/libm-test.inc (pow_test_data): Add another test.
8534 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8536         [BZ #19219]
8537         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8538         weak_alias to nearbyintl.
8540 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8542         * sysdeps/aarch64/bits/string.h: New file.
8543         (_STRING_ARCH_unaligned): Define.
8545 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8547         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8548         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8549         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8550         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8553 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8555         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8556         for original name of the DSO.  Add it to the name list of the DSO
8557         if it is actually given.
8558         (_dl_map_object): Keep track of whether an audit module rewrote
8559         the file name.  If yes, pass the original name to
8560         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8561         debugging is enabled, log the change of the file name.
8562         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8563         _dl_map_object_from_fd.
8564         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8565         * elf/tst-audit11.c: New file
8566         * elf/tst-auditmod11.c: New file.
8567         * elf/tst-audit11mod1.c: New file.
8568         * elf/tst-audit11mod2.c: New file.
8569         * elf/tst-audit11mod2.map: New file.
8570         * elf/tst-audit12.c: New file
8571         * elf/tst-auditmod12.c: New file.
8572         * elf/tst-audit12mod1.c: New file.
8573         * elf/tst-audit12mod2.c: New file.
8574         * elf/tst-audit12mod2.map: New file.
8575         * elf/tst-audit12mod3.c: New file.
8577 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8579         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8580         Don't create weak aliases,
8581         because versioned symbols are created later.
8582         * sysdeps/s390/s390-32/setjmp.S
8583         (setjmp, _setjmp): Remove weak and rename to an unique name
8584         in SHARED case due to existing versioned symbols.
8585         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8587         (getcontext): Create weak alias only in non SHARED case.
8588         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8590 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8592         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8593         (__ASSUME_*_SYSCALL) Define new macros.
8594         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8595         Remove socketcall syscalls.
8596         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8597         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8598         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8599         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8600         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8601         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8603 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8605         [BZ #12926]
8606         Terminate process on invalid netlink response.
8607         * sysdeps/unix/sysv/linux/netlinkaccess.h
8608         (__netlink_assert_response): Declare.
8609         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8610         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8611         (sysdep_routines): Add netlink_assert_response.
8612         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8613         __netlink_assert_response.
8614         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8615         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8616         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8617         __netlink_assert_response.
8619 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8621         [BZ #19178]
8622         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8623         (RTYPE_CLASS_PLT): Likewise.
8624         (RTYPE_CLASS_COPY): Likewise.
8625         (RTYPE_CLASS_TLS): Likewise.
8626         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8627         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8628         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8629         DL_DEBUG_PRELINK.
8631 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8633         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8634         calls with argument -0.5.
8635         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8637         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8638         (libc_cv_z_nodlopen): Likewise.
8639         (libc_cv_z_initfirst): Likewise.
8640         * configure: Regenerated.
8642 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8644         Simplify abilist format to be line-based.
8645         * scripts/abilist.awk: Collect descriptors in the descs variable.
8646         (emit): Write descs variable and sort it
8647         externally, with sort.
8648         * sysdeps/**/*.abilist: Convert to new format.
8650 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8652         [BZ #11460]
8653         * io/Makefile (routines): Add fts64.
8654         (tests): Add tst-fts and tst-fts-lfs.
8655         (CFLAGS-fts64.c): New.
8656         * io/Versions (GLIBC_2.23): New.
8657         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8658         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8659         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8660         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8661         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8662         (FTSENT64): Likewise.
8663         (fts64_children): Likewise.
8664         (fts64_close): Likewise.
8665         (fts64_open): Likewise.
8666         (fts64_read): Likewise.
8667         (fts64_set): Likewise.
8668         * io/fts64.c: New file.
8669         * io/tst-fts.c: New test.
8670         * io/tst-fts-lfs.c: Likewise.
8671         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8672         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8673         fts64_set.
8674         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8690         Likewise.
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8693         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8694         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8695         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8703         * sysdeps/wordsize-64/fts.c: New file.
8704         * sysdeps/wordsize-64/fts64.c: Likewise.
8705         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8706         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8707         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8708         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8710 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8712         * math/libm-test.inc (NON_FINITE): New macro.
8713         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8714         * math/gen-libm-test.pl (show_exceptions): Add argument
8715         $non_finite.
8716         (parse_args): Update call to show_exceptions.
8717         * math/test-math-finite.h: New file.
8718         * math/test-math-no-finite.h: Likewise.
8719         * math/test-double-finite.c: Likewise.
8720         * math/test-float-finite.c: Likewise.
8721         * math/test-ldouble-finite.c: Likewise.
8722         * math/test-double.c: Include "test-math-no-finite.h".
8723         * math/test-float.c: Include "test-math-no-finite.h".
8724         * math/test-ldouble.c: Include "test-math-no-finite.h".
8725         * math/test-math-inline.h (TEST_FINITE): New macro.
8726         * math/test-math-vector.h (TEST_FINITE): Likewise.
8727         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8728         (libm-tests): Add test-float-finite and test-double-finite.
8729         ($(objpfx)test-float-finite.o): New dependency on
8730         $(objpfx)libm-test.stmp.
8731         ($(objpfx)test-double-finite.o): Likewise.
8732         ($(objpfx)test-ldouble-finite.o): Likewise.
8733         (libm-test-no-inline-cflags): New variable.
8734         (libm-test-finite-cflags): Likewise.
8735         (CFLAGS-test-float-finite.c): Likewise.
8736         (CFLAGS-test-double-finite.c): Likewise.
8737         (CFLAGS-test-ldouble-finite.c): Likewise.
8738         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8739         (CFLAGS-test-double.c): Likewise.
8740         (CFLAGS-test-ldouble.c): Likewise.
8742 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8744         * io/fcntl.c (__fcntl): Add ... to prototype.
8745         * misc/ioctl.c (__ioctl): Likewise.
8746         * misc/syscall.c (syscall): Likewise.
8748 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8750         * scripts/list-fixed-bugs.py: New file.
8752         [BZ #19213]
8753         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8754         returned for argument 1.
8755         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8756         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8757         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8758         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8759         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8760         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8762         [BZ #19211]
8763         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8764         __USE_XOPEN], not if [!__USE_ISOC99].
8765         (lgammaf): Likewise.
8766         (lgammal): Likewise.
8767         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8768         (gammaf): Likewise.
8769         (gammal): Likewise.
8770         * math/test-signgam-finite-c11.c: New file.
8771         * math/test-signgam-finite-c99.c: Likewise.
8772         * math/test-signgam-finite.c: Likewise.
8773         * math/Makefile (tests): Add test-signgam-finite,
8774         test-signgam-finite-c99 and test-signgam-finite-c11.
8775         (CFLAGS-test-signgam-finite.c): New variable.
8776         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8777         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8779         [BZ #19212]
8780         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8781         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8782         500].
8783         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8784         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8785         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8786         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8787         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8788         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8789         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8791         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8792         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8794         [BZ #19209]
8795         * math/bits/math-finite.h (ldexp): Remove declaration.
8796         (ldexpf): Likewise.
8797         (ldexpl): Likewise.
8799         [BZ #19205]
8800         * math/bits/math-finite.h (acosf): Condition declaration on
8801         [__USE_ISOC99].
8802         (acosl): Likewise.
8803         (acoshf): Likewise.
8804         (acoshl): Likewise.
8805         (asinf): Likewise.
8806         (asinl): Likewise.
8807         (atan2f): Likewise.
8808         (atan2l): Likewise.
8809         (atanhf): Likewise.
8810         (atanhl): Likewise.
8811         (coshf): Likewise.
8812         (coshl): Likewise.
8813         (expf): Likewise.
8814         (expl): Likewise.
8815         (fmodf): Likewise.
8816         (fmodl): Likewise.
8817         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8818         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8819         (j0l): Likewise.
8820         (y0f): Likewise.
8821         (y0l): Likewise.
8822         (j1f): Likewise.
8823         (j1l): Likewise.
8824         (y1f): Likewise.
8825         (y1l): Likewise.
8826         (jnf): Likewise.
8827         (jnl): Likewise.
8828         (ynf): Likewise.
8829         (ynl): Likewise.
8830         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8831         (lgammal_r): Likewise.
8832         (__lgamma_r_finite): New declaration.
8833         (__lgammaf_r_finite): Likewise.
8834         (__lgammal_r_finite): Likewise.
8835         (lgamma): Use __lgamma_r_finite.
8836         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8837         __lgammaf_r_finite.
8838         (lgammal): Condition definition on [__USE_ISOC99].  Use
8839         __lgammal_r_finite.
8840         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8841         __lgamma_r_finite.
8842         (gammaf): Condition definition on [__USE_ISOC99].  Use
8843         __lgammaf_r_finite.
8844         (gammal): Condition definition on [__USE_ISOC99].  Use
8845         __lgammal_r_finite.
8846         (logf): Condition declaration on [__USE_ISOC99].
8847         (logl): Likewise.
8848         (log10f): Likewise.
8849         (log10l): Likewise.
8850         (ldexpf): Likewise.
8851         (ldexpl): Likewise.
8852         (powf): Likewise.
8853         (powl): Likewise.
8854         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8855         __USE_ISOC99].
8856         (remainderf): Condition declaration on [__USE_ISOC99].
8857         (remainderl): Likewise.
8858         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8859         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8860         (scalbl): Likewise.
8861         (sinhf): Condition declaration on [__USE_ISOC99].
8862         (sinhl): Likewise.
8863         (sqrtf): Likewise.
8864         (sqrtl): Likewise.
8866 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8868         * sysdeps/arm/atomic-machine.h
8869         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8870         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8871         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8872         Remove conditional code.
8873         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8874         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8875         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8876         Change conditional to [__ASSEMBLER__].
8877         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8878         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8879         [!__ASSEMBLER__].
8880         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8881         code.
8882         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8883         conditional macro definitions.
8884         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8885         (__arch_compare_and_exchange_val_16_acq): Likewise.
8886         (__arch_compare_and_exchange_val_32_acq): Likewise.
8887         (atomic_exchange_and_add): Likewise.
8888         (atomic_add): Likewise.
8889         (atomic_add_negative): Likewise.
8890         (atomic_add_zero): Likewise.
8891         (atomic_bit_set): Likewise.
8892         (atomic_bit_test_set): Likewise.
8893         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8894         code unconditional.
8895         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8897         * math/test-math-errno.h: New file.
8898         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8899         empty.
8900         (TEST_ERRNO): New macro.
8901         (TEST_EXCEPTIONS): Likewise.
8902         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8903         (TEST_EXCEPTIONS): Likewise.
8904         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8905         * math/test-double.c: Include "test-math-errno.h".
8906         * math/test-float.c: Likewise.
8907         * math/test-ldouble.c: Likewise.
8908         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8909         code unconditional.
8910         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8911         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8912         unconditional.
8913         (test_errno): Only run code if TEST_ERRNO.
8914         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8916 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8918         * nptl/tst-once5.cc: Remove attribution.
8920 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8922         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8923         sqrt, tan, tanh, y0, y1 and yn.
8924         * math/auto-libm-test-out: Regenerated.
8925         * math/libm-test.inc (scalb_test_data): Add more tests.
8926         (scalbn_test_data): Likewise.
8927         (scalbln_test_data): Likewise.
8928         (signbit_test_data): Likewise.
8929         (sin_test_data): Likewise.
8930         (sincos_test_data): Likewise.
8931         (sinh_test_data): Likewise.
8932         (sqrt_test_data): Likewise.
8933         (tan_test_data): Likewise.
8934         (tanh_test_data): Likewise.
8935         (tgamma_test_data): Likewise.
8936         (y0_test_data): Likewise.
8937         (y1_test_data): Likewise.
8938         (yn_test_data): Likewise.
8939         (significand_test_data): Likewise.
8940         * sysdeps/i386/fpu/libm-test-ulps: Update.
8942 2015-11-03  David Kastrup  <dak@gnu.org>
8944         [BZ #18604]
8945         * assert/assert.h (assert): Don't macro-expand failed assertion
8946         expression in error message.
8947         * malloc/malloc.c (assert): Likewise.
8949 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8951         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8952         test.
8953         * configure: Regenerated.
8955 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8957         * math/libm-test.inc (modf_test_data): Add more tests.
8958         (nearbyint_test_data): Likewise.
8959         (nextafter_test_data): Likewise.
8960         (nexttoward_test_data): Likewise.
8961         (pow_test_data): Likewise.
8962         (remainder_test_data): Likewise.
8963         (remquo_test_data): Likewise.
8964         (rint_test_data): Likewise.
8966         [BZ #19201]
8967         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8968         Check for zero remainder in case of large exponents and ensure
8969         correct sign of result in that case.
8970         * math/libm-test.inc (remainder_test_data): Add more tests.
8972         [BZ #6799]
8973         * math/s_nextafter.c: Include <errno.h>.
8974         (__nextafter): Set errno on overflow and underflow.
8975         * math/s_nexttowardf.c: Include <errno.h>.
8976         (__nexttowardf): Set errno on overflow and underflow.
8977         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8978         (__nextafterl): Set errno on overflow and underflow.
8979         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8980         (__nexttoward): Set errno on overflow and underflow.
8981         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8982         (__nexttowardf): Set errno on overflow and underflow.
8983         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8984         (__nextafterf): Set errno on overflow and underflow.
8985         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8986         (__nextafterl): Set errno on overflow and underflow.
8987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8988         (__nexttoward): Set errno on overflow and underflow.
8989         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8990         (__nexttowardf): Set errno on overflow and underflow.
8991         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8992         (__nextafterl): Set errno on overflow and underflow.
8993         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8994         (__nexttoward): Set errno on overflow and underflow.
8995         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8996         (__nexttowardf): Set errno on overflow and underflow.
8997         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8998         (__nexttoward): Set errno on overflow and underflow.
8999         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9000         (__nexttowardf): Set errno on overflow and underflow.
9001         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9002         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9003         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9004         (__nextafterl): Set errno on overflow and underflow.
9005         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9006         setting to be missing on overflow.  Add more tests.
9007         (nexttoward_test_data): Likewise.
9009         * configure.ac (libc_cv_initfini_array): Remove configure test.
9010         * configure: Regenerated.
9012 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9014         [BZ #19189]
9015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9016         non-finite argument handle arguments with negative sign.
9018         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9019         result from infinite argument.
9020         (j1_test_data): Likewise.
9021         (jn_test_data): Likewise.
9022         (y0_test_data): Likewise.
9023         (y1_test_data): Likewise.
9024         (yn_test_data): Likewise.
9026         [BZ #16171]
9027         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9028         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9029         * math/w_remainderf.c (dremf): Define as weak alias of
9030         __remainderf.
9031         * math/w_remainderl.c (dreml): Define as weak alias of
9032         __remainderl.
9033         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9034         __remainder.
9035         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9036         __remainderf.
9037         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9038         __remainderl.
9039         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9040         weak alias of remainderl.
9041         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9042         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9043         alias of __remainder.
9044         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9045         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9046         strong alias of __remainderl.
9047         (dreml): Use long_double_symbol.
9048         * math/Makefile (libm-calls): Remove w_drem.
9049         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9050         (CFLAGS-nldbl-drem.c): Remove variable.
9051         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9052         * math/w_drem.c: Remove file.
9053         * math/w_dremf.c: Likewise.
9054         * math/w_dreml.c: Likewise.
9055         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9056         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9057         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9059         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9060         * sysdeps/i386/configure: Regenerated.
9061         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9062         * sysdeps/x86_64/configure: Regenerated.
9064         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9065         test.
9066         (libc_cv_visibility_attribute): Likewise.
9067         (libc_cv_protected_data): Test unconditionally.
9068         (libc_cv_broken_visibility_attribute): Remove configure test.
9069         (libc_cv_have_sdata_section): Test unconditionally.
9070         * configure: Regenerated.
9072         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9073         * include/scratch_buffer.h: Include <stddef.h> instead of
9074         <libc-internal.h>.
9075         (struct scratch_buffer): Use max_align_t instead of
9076         libc_max_align_t.
9078 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9080         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9081         instead of extend_alloca.  Change control flow to avoid a goto.
9082         Remove assert which is trivially always true.
9084 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9086         [BZ #16068]
9087         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9088         (FE_ALL_EXCEPT_X86): New macro.
9089         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9090         FE_ALL_EXCEPT.  Ensure precision control is included in
9091         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9092         handle "denormal operand exception" and clear FZ and DAZ bits.
9093         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9094         (FE_ALL_EXCEPT_X86): New macro.
9095         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9096         FE_ALL_EXCEPT.  Ensure precision control is included in
9097         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9098         handle "denormal operand exception" and clear FZ and DAZ bits.
9099         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9100         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9101         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9102         test-fenv-x87 and test-fenv-sse-2.
9103         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9105         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9106         * math/test-double.h (BUILD_COMPLEX): New macro.
9107         * math/test-float.h (BUILD_COMPLEX): Likewise.
9108         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9110         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9111         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9112         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9114         instead of DBL_DENORM_MIN in comment.
9115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9116         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9117         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9118         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9119         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9120         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9122 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9124         [BZ# 19048]
9125         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9126         attached_threads member.
9127         (main_arena): Initialize attached_threads.
9128         * malloc/arena.c (list_lock): Update comment.
9129         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9130         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9131         (deattach_arena): New function.
9132         (_int_new_arena): Initialize arena reference count and deattach
9133         replaced arena.
9134         (get_free_list, reused_arena): Update reference count and deattach
9135         replaced arena.
9136         (arena_thread_freeres): Update arena reference count and only put
9137         unreferenced arenas on the free list.
9139 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #19181]
9142         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9143         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9144         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9145         * math/test-fenv-clear-main.c: New file.
9146         * math/test-fenv-clear.c: Likewise.
9147         * math/Makefile (tests): Add test-fenv-clear.
9148         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9149         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9150         test-fenv-clear-sse.
9151         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9153         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9154         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9155         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9157 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9159         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9160         static libc.
9162 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9164         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9165         test.
9166         * sysdeps/i386/configure: Regenerated.
9167         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9168         test.
9169         * sysdeps/x86_64/configure: Regenerated.
9170         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9172         memset-avx2 unconditionally instead of conditionally on
9173         [$(config-cflags-avx2) = yes].
9174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9175         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9176         unconditional.
9177         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9178         * sysdeps/x86_64/multiarch/memset_chk.S
9179         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9180         to [IS_IN (libc) && SHARED].
9182 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9184         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9185         configure test.
9186         * sysdeps/arm/configure: Regenerated.
9187         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9188         Define variable if not already defined.
9190         [BZ #17404]
9191         * sysdeps/mips/atomic-machine.h
9192         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9193         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9194         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9196         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9197         unconditional.
9198         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9199         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9200         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9201         unconditional.
9202         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9203         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9204         unconditional.
9205         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9206         * stdlib/setenv.c
9207         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9208         code unconditional.
9209         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9210         Remove conditional code.
9211         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9212         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9213         unconditional.
9214         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9215         code.
9216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9217         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9218         unconditional.
9219         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9220         code.
9221         * sysdeps/ieee754/ldbl-128/k_tanl.c
9222         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9223         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9224         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9225         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9226         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9227         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9228         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9229         unconditional.
9230         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9231         code.
9232         * sysdeps/ieee754/ldbl-96/k_tanl.c
9233         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9234         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9236         * nptl/tst-initializers1-c11.c: New file.
9237         * nptl/tst-initializers1-gnu11.c: Likewise.
9238         * nptl/Makefile (tests): Add these new tests.
9239         (CFLAGS-tst-initializers1-c11.c): New variable.
9240         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9242         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9243         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9244         instead of -std=gnu99.
9245         * configure.ac (systemtap): Test with -std=gnu11 instead of
9246         -std=gnu99.
9247         * configure: Regenerated.
9248         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9249         in compilation command in comment.
9251         * sysdeps/nptl/configure.ac: Remove file.
9252         * sysdeps/nptl/configure: Remove generated file.
9253         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9254         * configure: Regenerated.
9255         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9256         * config.make.in (have-forced-unwind): Remove variable.
9257         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9258         unconditional.
9259         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9260         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9261         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9262         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9263         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9264         unconditional.
9266 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9268         [BZ #19174]
9269         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9270         .skip_lock_out_of_tbegin_retries.
9271         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9272         (__lll_lock_elision): Likewise, and respect a value of
9273         try_tbegin <= 0.
9275 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9277         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9278         statement.
9280 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9282         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9283         variable.
9284         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9285         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9287         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9288         of -std=c1x -D_ISOC11_SOURCE.
9290         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9291         * configure: Regenerated.
9292         * manual/install.texi (Tools for Compilation): Document
9293         requirement for GCC 4.7 or later.
9294         * INSTALL: Regenerated.
9296 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9298         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9299         on CNT to a conditional jump to 'puntdata'.
9301 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9303         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9304         (libc_cv_gcc_tls_model_attr): Likewise.
9305         * configure: Regenerated.
9307         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9308         * configure: Regenerated.
9309         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9311 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9313         * configure.ac (old_glibc_headers): Remove configure test.
9314         * configure: Regenerated.
9315         * config.make.in (old-glibc-headers): Remove variable.
9316         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9317         (install): Remove dependency on remove-old-headers.
9318         (headers2_0): Remove variable.
9319         (remove-old-headers): Remove rule.
9321         * configure.ac (libc_cv_dot_text): Remove configure test.
9322         (libc_cv_asm_set_directive): Use .text instead of
9323         ${libc_cv_dot_text} in configure test.
9324         * configure: Regenerated.
9326 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9328         [BZ #19168]
9329         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9331 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9333         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9334         not support static linking.
9335         * configure: Regenerate.
9337 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9339         * math/libm-test.inc (check_float_internal): Do not special-case
9340         errors up to 0.5 ulp.
9342         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9343         log2.
9344         * math/auto-libm-test-out: Regenerated.
9345         * math/libm-test.inc (MAX_EXP): New macro.
9346         (ilogb_test_data): Add more tests.
9347         (isfinite_test_data): Likewise.
9348         (isgreater_test_data): Likewise.
9349         (isgreaterequal_test_data): Likewise.
9350         (isinf_test_data): Likewise.
9351         (isless_test_data): Likewise.
9352         (islessequal_test_data): Likewise.
9353         (islessgreater_test_data): Likewise.
9354         (isnan_test_data): Likewise.
9355         (isnormal_test_data): Likewise.
9356         (issignaling_test_data): Likewise.
9357         (isunordered_test_data): Likewise.
9358         (j0_test_data): Likewise.
9359         (j1_test_data): Likewise.
9360         (jn_test_data): Likewise.
9361         (lgamma_test_data): Likewise.
9362         (log_test_data): Likewise.
9363         (log10_test_data): Likewise.
9364         (log1p_test_data): Likewise.
9365         (log2_test_data): Likewise.
9366         (logb_test_data): Likewise.
9367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9369         [BZ #18611]
9370         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9371         avoid excess range and precision on underflow.
9372         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9373         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9374         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9375         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9376         underflow.
9377         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9378         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9379         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9380         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9381         * math/auto-libm-test-in: Do not allow missing errno setting for
9382         tests of j1 and jn.
9383         * math/auto-libm-test-out: Regenerated.
9385 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9387         [BZ #15491]
9388         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9389         floating-point environment instead of clearing all exceptions.
9390         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9391         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9392         merging in "invalid" exceptions from frndint.
9393         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9394         * math/test-nearbyint-except.c: New file.
9395         * math/Makefile (tests): Add test-nearbyint-except.
9397 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9399         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9401         * sysdeps/tile/libm-test-ulps: Regenerated.
9403 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9406         (__NR_sync_file_range2): Assume it is always defined.
9407         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9408         (__NR_sync_file_range): Assume it is always defined.
9410 2015-10-22  Andreas Schwab  <schwab@suse.de>
9412         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9413         INTERNAL_SYSCALL_ERRNO.
9414         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9415         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9416         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9417         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9421 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9423         * io/tst-fcntl.c (fd): New static variable.
9424         (do_prepare): Open temporary file here....
9425         (do_test): ...not here.
9427         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9429 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9431         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9432         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9433         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9434         Moved before "#ifdef __ASSEMBLER__".
9436 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9438         [BZ #19156]
9439         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9440         arguments very close to 0.
9442 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9444         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9445         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9447 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9449         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9450         New.  Defined for GCC 5 and above when not compiling for
9451         profiling.
9452         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9454         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9455         Renamed to ...
9456         (CFLAGS-epoll_pwait.o): This.
9457         (CFLAGS-mmap.c): Renamed to ...
9458         (CFLAGS-mmap.o): This.
9459         (CFLAGS-mmap64.c): Renamed to ...
9460         (CFLAGS-mmap64.o): This.
9461         (CFLAGS-epoll_pwait.os): New.
9462         (CFLAGS-mmap.os): Likewise.
9463         (CFLAGS-mmap64.os): Likewise.
9464         (CFLAGS-semtimedop.os): Likewise.
9465         (CFLAGS-semtimedop.c): Renamed to ...
9466         (CFLAGS-semtimedop.o): This.
9468 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9470         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9471         warning message.
9473 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9475         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9476         * Makefile ($(objpfx)c++-types-check.out): Filter out
9477         $(+gccwarn-c) instead of -Wstrict-prototypes.
9479         * io/fts.c (fts_open): Convert to prototype-style function
9480         definition.
9481         * malloc/mcheck.c (mcheck): Likewise.
9482         (mcheck_pedantic): Likewise.
9483         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9484         internal_function.
9485         (re_search_internal): Likewise.
9486         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9487         prototype-style function definition.
9488         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9489         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9490         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9491         (xdr_utmpptr): Likewise.
9492         (xdr_utmparr): Likewise.
9493         (xdr_utmpidle): Likewise.
9494         (xdr_utmpidleptr): Likewise.
9495         (xdr_utmpidlearr): Likewise.
9497         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9498         log, log10 and log2.
9499         * math/auto-libm-test-out: Regenerated.
9500         * math/libm-test.inc (fmod_test_data): Add more tests.
9501         (fpclassify_test_data): Likewise.
9502         (frexp_test_data): Likewise.
9503         (hypot_test_data): Likewise.
9504         (ilogb_test_data): Likewise.
9506 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9508         * debug/fortify_fail.c (__fortify_fail): Convert to
9509         prototype-style function definition.  Use internal_function.
9510         * libio/genops.c (save_for_backup): Convert to prototype-style
9511         function definition.
9512         * libio/wgenops.c (save_for_wbackup): Likewise.
9513         * login/grantpt.c (grantpt): Likewise.
9514         * login/ptsname.c (ptsname): Likewise.
9515         (__ptsname_r): Likewise.
9516         * login/unlockpt.c (unlockpt): Likewise.
9517         * mach/msgserver.c (__mach_msg_server): Likewise.
9518         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9519         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9520         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9521         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9522         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9523         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9524         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9525         Likewise.
9526         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9527         internal_function.
9528         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9529         prototype-style function definition.
9530         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9531         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9532         (__pthread_create_2_0): Likewise.
9533         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9534         * nptl/register-atfork.c (__register_atfork): Likewise.
9535         * posix/glob.c (glob): Likewise.
9536         * posix/regcomp.c (re_comp): Likewise.
9537         * posix/regexec.c (re_exec): Likewise.
9538         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9539         [!__STDC__]: Remove conditional code.
9540         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9541         [!__STDC__]: Remove conditional code.
9542         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9543         [!__STDC__]: Remove conditional code.
9544         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9545         [!__STDC__]: Remove conditional code.
9546         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9547         [!__STDC__]: Remove conditional code.
9548         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9549         [!__STDC__]: Remove conditional code.
9550         * stdlib/mul.c [__STDC__]: Make code unconditional.
9551         [!__STDC__]: Remove conditional code.
9552         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9553         [!__STDC__]: Remove conditional code.
9554         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9555         [!__STDC__]: Remove conditional code.
9556         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9557         function definition.
9558         (STRTOF): Likewise.
9559         * stdlib/strtod_l.c (__STRTOF): Likewise.
9560         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9561         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9562         (__strtol_l): Likewise.
9563         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9564         [!__STDC__]: Remove conditional code.
9565         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9566         definition.
9567         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9568         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9569         type.
9570         (__strcasecmp): Convert to prototype-style function definition.
9571         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9572         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9573         type.
9574         (__strncasecmp): Convert to prototype-style function definition.
9575         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9576         * sunrpc/xdr.c (xdr_union): Likewise.
9577         * sunrpc/xdr_array.c (xdr_array): Likewise.
9578         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9579         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9580         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9581         Likewise.
9582         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9583         Likewise.
9584         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9585         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9586         Likewise.
9587         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9588         (LOCALE_PARAM_PROTO): Likewise.
9589         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9590         argument type.
9591         (ut_argument_spec): Remove macro.
9592         (ut_argument_spec_iso): Rename to ut_argument_spec.
9593         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9594         prototype-style function definition.
9595         (memcpy_uppcase): Likewise.
9596         (__strftime_internal): Likewise.
9597         (my_strftime): Likewise.
9598         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9599         (LOCALE_PARAM_DECL): Likewise.
9600         [_LIBC] (LOCALE_PARAM): Include argument type.
9601         (__strptime_internal): Convert to prototype-style function
9602         definition.
9603         (strptime): Likewise.
9604         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9605         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9606         type.
9607         (__wcscasecmp): Convert to prototype-style function definition.
9608         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9609         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9610         type.
9611         (__wcsncasecmp): Convert to prototype-style function definition.
9613         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9614         function definition.
9615         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9616         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9617         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9618         * elf/dl-minimal.c (_itoa): Likewise.
9619         * hurd/hurdmalloc.c (malloc): Likewise.
9620         (free): Likewise.
9621         (realloc): Likewise.
9622         * inet/inet6_option.c (inet6_option_space): Likewise.
9623         (inet6_option_init): Likewise.
9624         (inet6_option_append): Likewise.
9625         (inet6_option_alloc): Likewise.
9626         (inet6_option_next): Likewise.
9627         (inet6_option_find): Likewise.
9628         * io/ftw.c (FTW_NAME): Likewise.
9629         (NFTW_NAME): Likewise.
9630         (NFTW_NEW_NAME): Likewise.
9631         (NFTW_OLD_NAME): Likewise.
9632         * libio/iofwide.c (_IO_fwide): Likewise.
9633         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9634         (_IO_str_init_static): Likewise.
9635         (_IO_str_init_readonly): Likewise.
9636         (_IO_str_overflow): Likewise.
9637         (_IO_str_underflow): Likewise.
9638         (_IO_str_count): Likewise.
9639         (_IO_str_seekoff): Likewise.
9640         (_IO_str_pbackfail): Likewise.
9641         (_IO_str_finish): Likewise.
9642         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9643         (_IO_wstr_overflow): Likewise.
9644         (_IO_wstr_underflow): Likewise.
9645         (_IO_wstr_count): Likewise.
9646         (_IO_wstr_seekoff): Likewise.
9647         (_IO_wstr_pbackfail): Likewise.
9648         (_IO_wstr_finish): Likewise.
9649         * locale/programs/localedef.c (normalize_codeset): Likewise.
9650         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9651         (add_locales_to_archive): Likewise.
9652         (delete_locales_from_archive): Likewise.
9653         * malloc/malloc.c (__libc_mallinfo): Likewise.
9654         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9655         * misc/tsearch.c (__tfind): Likewise.
9656         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9657         * nptl/pthread_attr_getdetachstate.c
9658         (__pthread_attr_getdetachstate): Likewise.
9659         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9660         Likewise.
9661         * nptl/pthread_attr_getinheritsched.c
9662         (__pthread_attr_getinheritsched): Likewise.
9663         * nptl/pthread_attr_getschedparam.c
9664         (__pthread_attr_getschedparam): Likewise.
9665         * nptl/pthread_attr_getschedpolicy.c
9666         (__pthread_attr_getschedpolicy): Likewise.
9667         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9668         Likewise.
9669         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9670         Likewise.
9671         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9672         Likewise.
9673         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9674         Likewise.
9675         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9676         (__pthread_attr_init_2_0): Likewise.
9677         * nptl/pthread_attr_setdetachstate.c
9678         (__pthread_attr_setdetachstate): Likewise.
9679         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9680         Likewise.
9681         * nptl/pthread_attr_setinheritsched.c
9682         (__pthread_attr_setinheritsched): Likewise.
9683         * nptl/pthread_attr_setschedparam.c
9684         (__pthread_attr_setschedparam): Likewise.
9685         * nptl/pthread_attr_setschedpolicy.c
9686         (__pthread_attr_setschedpolicy): Likewise.
9687         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9688         Likewise.
9689         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9690         Likewise.
9691         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9692         Likewise.
9693         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9694         Likewise.
9695         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9696         Likewise.
9697         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9698         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9699         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9700         use internal_function.
9701         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9702         prototype-style function definition.
9703         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9704         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9705         internal_function.
9706         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9707         Convert to prototype-style function definition.
9708         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9709         Likewise.
9710         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9711         Likewise.
9712         (__pthread_mutex_unlock): Likewise.
9713         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9714         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9715         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9716         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9717         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9718         * nss/makedb.c (process_input): Likewise.
9719         * posix/fnmatch.c (__strchrnul): Likewise.
9720         (__wcschrnul): Likewise.
9721         (fnmatch): Likewise.
9722         * posix/fnmatch_loop.c (FCT): Likewise.
9723         * posix/glob.c (globfree): Likewise.
9724         (__glob_pattern_type): Likewise.
9725         (__glob_pattern_p): Likewise.
9726         * posix/regcomp.c (re_compile_pattern): Likewise.
9727         (re_set_syntax): Likewise.
9728         (re_compile_fastmap): Likewise.
9729         (regcomp): Likewise.
9730         (regerror): Likewise.
9731         (regfree): Likewise.
9732         * posix/regexec.c (regexec): Likewise.
9733         (re_match): Likewise.
9734         (re_search): Likewise.
9735         (re_match_2): Likewise.
9736         (re_search_2): Likewise.
9737         (re_search_stub): Likewise.  Use internal_function
9738         (re_copy_regs): Likewise.
9739         (re_set_registers): Convert to prototype-style function
9740         definition.
9741         (prune_impossible_nodes): Likewise.  Use internal_function.
9742         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9743         prototype-style function definition.
9744         (inet_net_pton_ipv4): Likewise.
9745         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9746         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9747         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9748         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9749         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9750         Make variadic.
9751         * time/strptime_l.c (localtime_r): Convert to prototype-style
9752         function definition.
9753         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9754         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9755         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9756         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9758         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9759         definition.
9760         (_ufc_doit_r): Likewise.
9761         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9762         (_ufc_output_conversion_r): Likewise.
9763         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9764         * inet/rcmd.c (rcmd_af): Likewise.
9765         (rcmd): Likewise.
9766         (ruserok_af): Likewise.
9767         (ruserok): Likewise.
9768         (ruserok2_sa): Likewise.
9769         (ruserok_sa): Likewise.
9770         (iruserok_af): Likewise.
9771         (iruserok): Likewise.
9772         (__ivaliduser): Likewise.
9773         (__validuser2_sa): Likewise.
9774         * inet/rexec.c (rexec_af): Likewise.
9775         (rexec): Likewise.
9776         * inet/ruserpass.c (ruserpass): Likewise.
9777         * locale/programs/xmalloc.c (xcalloc): Likewise.
9778         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9779         * math/w_drem.c (__drem): Likewise.
9780         * math/w_dremf.c (__dremf): Likewise.
9781         * math/w_dreml.c (__dreml): Likewise.
9782         * misc/daemon.c (daemon): Likewise.
9783         * resolv/res_debug.c (p_fqnname): Likewise.
9784         * stdlib/div.c (div): Likewise.
9785         * string/memcmp.c (memcmp_bytes): Likewise.
9786         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9787         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9789         * crypt/cert.c (main): Convert to prototype-style function
9790         definition.
9791         * io/pipe.c (__pipe): Likewise.
9792         * io/pipe2.c (__pipe2): Likewise.
9793         * misc/futimesat.c (futimesat): Likewise.
9794         * misc/utimes.c (__utimes): Likewise.
9795         * posix/execve.c (__execve): Likewise.
9796         * posix/execvp.c (execvp): Likewise.
9797         * posix/execvpe.c (__execvpe): Likewise.
9798         * posix/fexecve.c (fexecve): Likewise.
9799         * socket/socketpair.c (socketpair): Likewise.
9800         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9801         * stdlib/erand48.c (erand48): Likewise.
9802         * stdlib/erand48_r.c (__erand48_r): Likewise.
9803         * stdlib/jrand48.c (jrand48): Likewise.
9804         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9805         * stdlib/lcong48.c (lcong48): Likewise.
9806         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9807         * stdlib/nrand48.c (nrand48): Likewise.
9808         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9809         * stdlib/seed48.c (seed48): Likewise.
9810         * stdlib/seed48_r.c (__seed48_r): Likewise.
9811         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9812         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9813         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9815 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9817         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9818         * configure: Regenerated.
9819         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9820         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9821         unconditional.
9822         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9823         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9824         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9825         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9826         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9827         unconditional.
9828         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9830         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9831         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9833         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9834         function definition.
9835         * crypt/crypt_util.c (__encrypt_r): Likewise.
9836         * libio/genops.c (_IO_no_init): Likewise.
9837         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9838         (_IO_old_fopencookie): Likewise.
9839         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9840         * libio/iogetline.c (_IO_getline): Likewise.
9841         (_IO_getline_info): Likewise.
9842         * libio/iogetwline.c (_IO_getwline): Likewise.
9843         (_IO_getwline_info): Likewise.
9844         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9845         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9846         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9847         (find_entry): Likewise.
9848         (iterate_table): Likewise.
9849         (lookup): Likewise.
9850         * login/forkpty.c (forkpty): Likewise.
9851         * misc/hsearch_r.c (__hsearch_r): Likewise.
9852         * misc/select.c (__select): Likewise.
9853         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9854         Likewise.
9855         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9856         Likewise.
9857         * nptl/old_pthread_cond_timedwait.c
9858         (__pthread_cond_timedwait_2_0): Likewise.
9859         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9860         * nptl/pthread_barrierattr_getpshared.c
9861         (pthread_barrierattr_getpshared): Likewise.
9862         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9863         Likewise.
9864         * nptl/pthread_mutex_setprioceiling.c
9865         (pthread_mutex_setprioceiling): Likewise.
9866         * nptl/pthread_mutexattr_getprioceiling.c
9867         (pthread_mutexattr_getprioceiling): Likewise.
9868         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9869         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9870         Likewise.
9871         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9872         Likewise.
9873         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9874         Likewise.
9875         * socket/recvfrom.c (__recvfrom): Likewise.
9876         * socket/sendto.c (__sendto): Likewise.
9877         * socket/setsockopt.c (__setsockopt): Likewise.
9878         * stdio-common/_itoa.c (_itoa): Likewise.
9879         * stdio-common/_itowa.c (_itowa): Likewise.
9880         * stdio-common/reg-printf.c (__register_printf_specifier):
9881         Likewise.
9882         (__register_printf_function): Likewise.
9883         * stdio-common/tempname.c (__path_search): Likewise.
9884         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9885         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9886         * stdlib/random_r.c (__initstate_r): Likewise.
9887         * stdlib/setenv.c (__add_to_environ): Likewise.
9888         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9889         * streams/getpmsg.c (getpmsg): Likewise.
9890         * streams/putmsg.c (putmsg): Likewise.
9891         * streams/putpmsg.c (putpmsg): Likewise.
9892         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9893         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9894         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9895         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9896         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9897         * sunrpc/svc_udp.c (cache_get): Likewise.
9898         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9899         * sysdeps/mach/hurd/getcwd.c
9900         (__canonicalize_directory_name_internal): Likewise.
9901         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9902         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9903         * sysdeps/mach/hurd/select.c (__select): Likewise.
9904         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9905         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9906         * sysdeps/sparc/nptl/pthread_barrier_init.c
9907         (__pthread_barrier_init): Likewise.
9908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9909         (__pthread_cond_timedwait): Likewise.
9910         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9911         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9912         Likewise.
9913         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9914         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9915         Likewise.
9916         * sysvipc/semtimedop.c (semtimedop): Likewise.
9917         * time/setitimer.c (__setitimer): Likewise.
9918         * time/strftime_l.c (emacs_strftime): Likewise.
9920 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9922         * config.make.in (have-ssp): Delete.
9923         (stack-protector): New variable.
9924         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9925         cache test for -fstack-protector-strong.  Export stack_protector to
9926         the best ssp flag.
9927         * configure: Regenerated.
9928         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9929         * nscd/Makefile (CFLAGS-nscd): Likewise.
9930         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9932 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9934         [BZ #19122]
9935         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9936         attribute_hidden.
9938 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9940         [BZ #18743]
9941         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9942         code to...
9943         (ELIDE_LOCK): ...here.
9944         (__get_new_count): New function with part of the code from
9945         __elide_lock that updates the value of adapt_count after a
9946         transaction abort.
9947         (__elided_trylock): Moved this code to...
9948         (ELIDE_TRYLOCK): ...here.
9950 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9952         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9953         * configure: Regenerate.
9954         * INSTALL: Regenerate.
9955         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9956         and tweak grammar.
9958 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9960         * login/programs/pt_chown.c: Include signal.h
9961         (main): Clear any signal mask from the parent process.
9963 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9965         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9966         * configure: Regenerated.
9967         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9968         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9969         $(gnu89-inline-CFLAGS).
9971         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9972         test.
9973         (libc_cv_asm_weakext_directive): Likewise.
9974         * configure: Regenerated.
9975         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9976         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9977         * include/libc-symbols.h
9978         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9979         #error.
9980         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9981         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9983         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9984         prototype-style function definition.
9985         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9986         * sysdeps/i386/ffs.c (__ffs): Likewise.
9987         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9988         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9989         Likewise.
9990         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9991         Likewise.
9992         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9993         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9994         Likewise.
9995         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9996         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9997         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9998         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9999         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10000         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10001         * sysdeps/mach/hurd/access.c (__access): Likewise.
10002         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10003         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10004         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10005         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10006         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10007         (cthread_getspecific): Likewise.
10008         (cthread_setspecific): Likewise.
10009         (__libc_getspecific): Likewise.
10010         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10011         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10012         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10013         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10014         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10015         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10016         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10017         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10018         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10019         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10020         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10021         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10022         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10023         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10024         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10025         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10026         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10027         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10028         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10029         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10030         * sysdeps/mach/hurd/link.c (__link): Likewise.
10031         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10032         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10033         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10034         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10035         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10036         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10037         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10038         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10039         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10040         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10041         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10042         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10043         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10044         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10045         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10046         * sysdeps/mach/hurd/send.c (__send): Likewise.
10047         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10048         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10049         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10050         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10051         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10052         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10053         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10054         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10055         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10056         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10057         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10058         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10059         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10060         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10061         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10062         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10063         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10064         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10065         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10066         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10067         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10068         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10069         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10070         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10071         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10072         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10073         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10074         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10075         * sysdeps/posix/alarm.c (alarm): Likewise.
10076         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10077         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10078         * sysdeps/posix/dup.c (__dup): Likewise.
10079         * sysdeps/posix/dup2.c (__dup2): Likewise.
10080         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10081         (main): Likewise.
10082         * sysdeps/posix/flock.c (__flock): Likewise.
10083         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10084         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10085         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10086         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10087         * sysdeps/posix/isatty.c (__isatty): Likewise.
10088         * sysdeps/posix/killpg.c (killpg): Likewise.
10089         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10090         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10091         * sysdeps/posix/raise.c (raise): Likewise.
10092         * sysdeps/posix/remove.c (remove): Likewise.
10093         * sysdeps/posix/rename.c (rename): Likewise.
10094         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10095         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10096         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10097         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10098         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10099         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10100         * sysdeps/posix/sigset.c (sigset): Likewise.
10101         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10102         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10103         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10104         * sysdeps/posix/time.c (time): Likewise.
10105         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10106         (ttyname): Likewise.
10107         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10108         * sysdeps/posix/utime.c (utime): Likewise.
10109         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10110         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10111         Likewise.
10112         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10113         (pthread_spin_trylock): Likewise.
10114         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10115         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10116         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10117         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10118         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10119         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10120         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10121         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10122         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10123         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10124         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10125         * sysdeps/s390/ffs.c (__ffs): Likewise.
10126         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10127         Likewise.
10128         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10129         Likewise.
10130         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10131         Likewise.
10132         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10133         (pthread_barrier_destroy): Likewise.
10134         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10135         (__pthread_barrier_wait): Likewise.
10136         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10137         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10138         (__pthread_barrier_wait): Likewise.
10139         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10140         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10141         (memcmp_not_common_alignment): Likewise.
10142         (MEMCMP): Likewise.
10143         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10144         (_wordcopy_fwd_dest_aligned): Likewise.
10145         (_wordcopy_bwd_aligned): Likewise.
10146         (_wordcopy_bwd_dest_aligned): Likewise.
10147         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10148         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10149         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10150         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10151         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10152         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10153         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10154         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10155         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10156         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10157         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10158         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10159         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10160         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10161         * sysdeps/unix/stime.c (stime): Likewise.
10162         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10163         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10164         Likewise.  Use internal_function.
10165         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10166         Convert to prototype-style function definition.
10167         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10168         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10169         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10170         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10171         Likewise.  Use internal_function.
10172         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10173         prototype-style function definition
10174         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10175         Likewise.
10176         (__getlogin_r): Likewise.
10177         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10179         (__pthread_cond_broadcast): Likewise.
10180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10181         (__pthread_cond_destroy): Likewise.
10182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10183         (__pthread_cond_init): Likewise.
10184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10185         (__pthread_cond_signal): Likewise.
10186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10187         (__pthread_cond_wait): Likewise.
10188         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10189         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10190         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10195         Likewise.
10196         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10197         Likewise.
10198         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10200         (__ftruncate64): Likewise.
10201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10202         (truncate64): Likewise.
10203         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10204         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10205         (pthread_getcpuclockid): Likewise.
10206         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10207         Likewise.
10208         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10209         Likewise.
10210         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10211         Likewise.
10212         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10213         Likewise.
10214         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10215         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10216         (__libc_sigaction): Likewise.
10217         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10218         Likewise.
10219         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10220         (__sigprocmask): Likewise.
10221         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10222         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10223         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10224         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10225         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10226         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10227         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10228         Likewise.
10229         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10230         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10231         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10232         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10234         Likewise.
10235         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10236         (__sigprocmask): Likewise.
10237         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10238         (cfgetispeed): Likewise.
10239         (cfsetospeed): Likewise.
10240         (cfsetispeed): Likewise.
10241         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10242         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10243         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10244         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10245         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10246         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10247         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10248         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10249         Likewise.
10250         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10251         Likewise.
10252         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10253         Likewise.
10254         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10255         Likewise.
10256         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10258 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10260         sunrpc: Rewrite with explicit TLS access using __thread.
10261         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10262         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10263         directly.
10264         (__rpc_thread_variables): Access thread_rpc_vars directly.
10265         Eliminate redundant assignment of the tvp variable.
10267 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10269         malloc: Rewrite with explicit TLS access using __thread.
10270         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10271         (tsd_setspecific, tsd_getspecific): Remove.
10272         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10273         (tsd_setspecific, tsd_getspecific): Likewise.
10274         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10275         (tsd_setspecific, tsd_getspecific): Likewise.
10276         * malloc/arena.c (thread_arena): New TLS variable.
10277         (arena_key): Remove variable.
10278         (arena_get): Use thread_arena.
10279         (arena_lookup): Remove macro.
10280         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10281         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10282         (_int_new_arena, get_free_list, reused_arena)
10283         (arena_thread_freeres): Use thread_arena.
10284         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10285         tsd_getspecific, tsd_setspecific from safety annotations.
10286         (Allocating Cleared Space): Remove arena_lookup from safety
10287         annotations.
10289 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10291         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10292         struct scratch_buffer instead of extend_alloca.
10294 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10296         * sysdeps/unix/sysv/linux/kernel-features.h
10297         (__ASSUME_SOCK_CLOEXEC): Remove.
10298         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10299         (__have_paccept): Remove unused macro.
10300         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10301         * misc/syslog.c (openlog_internal): Remove fallback code for
10302         !__ASSUME_SOCK_CLOEXEC.
10303         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10304         missing SOCK_CLOEXEC.
10305         * nscd/connections.c (have_sock_cloexec): Remove definition.
10306         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10307         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10308         !__ASSUME_SOCK_CLOEXEC.
10309         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10310         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10311         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10312         definition.
10313         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10314         code for !__ASSUME_SOCK_CLOEXEC.
10316 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10318         [BZ #18982]
10319         * manual/stdio.texi (Variable Arguments Output): Add portability
10320         note, explaining that vfprintf clobbers the va_list pointer.
10322 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10324         * math/libm-test.inc (fabs_test_data): Add more tests.
10325         (fdim_test_data): Likewise.
10326         (fma_test_data): Likewise.
10327         (fmax_test_data): Likewise.
10328         (fmin_test_data): Likewise.
10329         (fmod_test_data): Likewise.
10331 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10333         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10334         data.
10336 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10338         * math/libm-test.inc (ceil_test_data): Add more tests and more
10339         expectations for "inexact".
10340         (floor_test_data): Add more tests.
10341         (round_test_data): Likewise.
10342         (trunc_test_data): Likewise.
10344         * crypt/cert.c (good_bye): Convert to prototype-style function
10345         definition.
10346         (get8): Likewise.
10347         (put8): Likewise.
10348         * crypt/crypt-entry.c (crypt): Likewise.
10349         (__fcrypt): Likewise.
10350         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10351         (_ufc_set_bits): Likewise.
10352         (_ufc_clearmem): Likewise.
10353         (__init_des_r): Likewise.
10354         (shuffle_sb): Likewise.
10355         (shuffle_sb): Likewise.
10356         (_ufc_setup_salt_r): Likewise.
10357         (_ufc_mk_keytab_r): Likewise.
10358         (_ufc_dofinalperm_r): Likewise.
10359         (encrypt): Likewise.
10360         (__setkey_r): Likewise.
10361         (setkey): Likewise.
10362         * crypt/md5.c (md5_init_ctx): Likewise.
10363         (md5_read_ctx): Likewise.
10364         (md5_finish_ctx): Likewise.
10365         (md5_stream): Likewise.
10366         (md5_buffer): Likewise.
10367         (md5_process_bytes): Likewise.
10368         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10369         (__sha256_finish_ctx): Likewise.
10370         (__sha256_process_bytes): Likewise.
10371         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10372         (__sha512_finish_ctx): Likewise.
10373         (__sha512_process_bytes): Likewise.
10374         * ctype/isctype.c (__isctype): Likewise.
10375         * debug/backtrace.c (__backtrace): Likewise.
10376         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10377         * debug/fgets_chk.c (__fgets_chk): Likewise.
10378         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10379         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10380         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10381         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10382         * debug/memset_chk.c (__memset_chk): Likewise.
10383         * debug/strcat_chk.c (__strcat_chk): Likewise.
10384         * debug/strncat_chk.c (__strncat_chk): Likewise.
10385         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10386         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10387         * dirent/dirfd.c (dirfd): Likewise.
10388         * dirent/getdents.c (__getdirentries): Likewise.
10389         * dirent/getdents64.c (getdirentries64): Likewise.
10390         * dirent/rewinddir.c (__rewinddir): Likewise.
10391         * dirent/seekdir.c (seekdir): Likewise.
10392         * dirent/telldir.c (telldir): Likewise.
10393         * elf/sln.c (makesymlinks): Likewise.
10394         (makesymlink): Likewise.
10395         * gmon/gmon.c (__moncontrol): Likewise.
10396         (__monstartup): Likewise.
10397         (write_hist): Likewise.
10398         (write_call_graph): Likewise.
10399         (write_bb_counts): Likewise.
10400         * grp/setgroups.c (setgroups): Likewise.
10401         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10402         * inet/inet_net.c (inet_network): Likewise.
10403         * inet/inet_netof.c (inet_netof): Likewise.
10404         * inet/rcmd.c (rresvport_af): Likewise.
10405         (rresvport): Likewise.
10406         * io/access.c (__access): Likewise.
10407         * io/chdir.c (__chdir): Likewise.
10408         * io/chmod.c (__chmod): Likewise.
10409         * io/chown.c (__chown): Likewise.
10410         * io/close.c (__close): Likewise.
10411         * io/creat.c (creat): Likewise.
10412         * io/creat64.c (creat64): Likewise.
10413         * io/dup.c (__dup): Likewise.
10414         * io/dup2.c (__dup2): Likewise.
10415         * io/dup3.c (__dup3): Likewise.
10416         * io/euidaccess.c (__euidaccess): Likewise.
10417         * io/faccessat.c (faccessat): Likewise.
10418         * io/fchmod.c (__fchmod): Likewise.
10419         * io/fchmodat.c (fchmodat): Likewise.
10420         * io/fchown.c (__fchown): Likewise.
10421         * io/fchownat.c (fchownat): Likewise.
10422         * io/fcntl.c (__fcntl): Likewise.
10423         * io/flock.c (__flock): Likewise.
10424         * io/fts.c (fts_load): Likewise.
10425         (fts_close): Likewise.
10426         (fts_read): Likewise.
10427         (fts_set): Likewise.
10428         (fts_children): Likewise.
10429         (fts_build): Likewise.
10430         (fts_stat): Likewise.
10431         (fts_sort): Likewise.
10432         (fts_alloc): Likewise.
10433         (fts_lfree): Likewise.
10434         (fts_palloc): Likewise.
10435         (fts_padjust): Likewise.
10436         (fts_maxarglen): Likewise.
10437         (fts_safe_changedir): Likewise.
10438         * io/getwd.c (getwd): Likewise.
10439         * io/isatty.c (__isatty): Likewise.
10440         * io/lchown.c (__lchown): Likewise.
10441         * io/link.c (__link): Likewise.
10442         * io/linkat.c (linkat): Likewise.
10443         * io/lseek.c (__libc_lseek): Likewise.
10444         * io/mkdir.c (__mkdir): Likewise.
10445         * io/mkdirat.c (mkdirat): Likewise.
10446         * io/mkfifo.c (mkfifo): Likewise.
10447         * io/mkfifoat.c (mkfifoat): Likewise.
10448         * io/open.c (__libc_open): Likewise.
10449         * io/open64.c (__libc_open64): Likewise.
10450         * io/readlink.c (__readlink): Likewise.
10451         * io/readlinkat.c (readlinkat): Likewise.
10452         * io/rmdir.c (__rmdir): Likewise.
10453         * io/symlink.c (__symlink): Likewise.
10454         * io/symlinkat.c (symlinkat): Likewise.
10455         * io/ttyname.c (ttyname): Likewise.
10456         * io/ttyname_r.c (__ttyname_r): Likewise.
10457         * io/umask.c (__umask): Likewise.
10458         * io/unlink.c (__unlink): Likewise.
10459         * io/unlinkat.c (unlinkat): Likewise.
10460         * io/utime.c (utime): Likewise.
10461         * libio/clearerr.c (clearerr): Likewise.
10462         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10463         * libio/feof.c (_IO_feof): Likewise.
10464         * libio/feof_u.c (feof_unlocked): Likewise.
10465         * libio/ferror.c (_IO_ferror): Likewise.
10466         * libio/ferror_u.c (ferror_unlocked): Likewise.
10467         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10468         * libio/fileno.c (__fileno): Likewise.
10469         * libio/fputc.c (fputc): Likewise.
10470         * libio/fputc_u.c (fputc_unlocked): Likewise.
10471         * libio/fputwc.c (fputwc): Likewise.
10472         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10473         * libio/freopen.c (freopen): Likewise.
10474         * libio/freopen64.c (freopen64): Likewise.
10475         * libio/fseek.c (fseek): Likewise.
10476         * libio/fseeko.c (fseeko): Likewise.
10477         * libio/fseeko64.c (fseeko64): Likewise.
10478         * libio/ftello.c (__ftello): Likewise.
10479         * libio/ftello64.c (ftello64): Likewise.
10480         * libio/fwide.c (fwide): Likewise.
10481         * libio/genops.c (_IO_un_link): Likewise.
10482         (_IO_link_in): Likewise.
10483         (_IO_least_marker): Likewise.
10484         (_IO_switch_to_main_get_area): Likewise.
10485         (_IO_switch_to_backup_area): Likewise.
10486         (_IO_switch_to_get_mode): Likewise.
10487         (_IO_free_backup_area): Likewise.
10488         (_IO_switch_to_put_mode): Likewise.
10489         (__overflow): Likewise.
10490         (__underflow): Likewise.
10491         (__uflow): Likewise.
10492         (_IO_setb): Likewise.
10493         (_IO_doallocbuf): Likewise.
10494         (_IO_default_underflow): Likewise.
10495         (_IO_default_uflow): Likewise.
10496         (_IO_default_xsputn): Likewise.
10497         (_IO_sgetn): Likewise.
10498         (_IO_default_xsgetn): Likewise.
10499         (_IO_sync): Likewise.
10500         (_IO_default_setbuf): Likewise.
10501         (_IO_default_seekpos): Likewise.
10502         (_IO_default_doallocate): Likewise.
10503         (_IO_init): Likewise.
10504         (_IO_old_init): Likewise.
10505         (_IO_default_sync): Likewise.
10506         (_IO_default_finish): Likewise.
10507         (_IO_default_seekoff): Likewise.
10508         (_IO_sputbackc): Likewise.
10509         (_IO_sungetc): Likewise.
10510         (_IO_set_column): Likewise.
10511         (_IO_set_column): Likewise.
10512         (_IO_adjust_column): Likewise.
10513         (_IO_get_column): Likewise.
10514         (_IO_init_marker): Likewise.
10515         (_IO_remove_marker): Likewise.
10516         (_IO_marker_difference): Likewise.
10517         (_IO_marker_delta): Likewise.
10518         (_IO_seekmark): Likewise.
10519         (_IO_unsave_markers): Likewise.
10520         (_IO_nobackup_pbackfail): Likewise.
10521         (_IO_default_pbackfail): Likewise.
10522         (_IO_default_seek): Likewise.
10523         (_IO_default_stat): Likewise.
10524         (_IO_default_read): Likewise.
10525         (_IO_default_write): Likewise.
10526         (_IO_default_showmanyc): Likewise.
10527         (_IO_default_imbue): Likewise.
10528         (_IO_iter_next): Likewise.
10529         (_IO_iter_file): Likewise.
10530         * libio/getc.c (_IO_getc): Likewise.
10531         * libio/getwc.c (_IO_getwc): Likewise.
10532         * libio/iofclose.c (_IO_new_fclose): Likewise.
10533         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10534         * libio/iofflush.c (_IO_fflush): Likewise.
10535         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10536         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10537         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10538         * libio/iofgets.c (_IO_fgets): Likewise.
10539         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10540         * libio/iofgetws.c (fgetws): Likewise.
10541         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10542         * libio/iofopen64.c (_IO_fopen64): Likewise.
10543         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10544         (_IO_cookie_write): Likewise.
10545         (_IO_cookie_seek): Likewise.
10546         (_IO_cookie_close): Likewise.
10547         (_IO_cookie_seekoff): Likewise.
10548         (_IO_old_cookie_seek): Likewise.
10549         * libio/iofputs.c (_IO_fputs): Likewise.
10550         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10551         * libio/iofputws.c (fputws): Likewise.
10552         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10553         * libio/iofread.c (_IO_fread): Likewise.
10554         * libio/iofread_u.c (__fread_unlocked): Likewise.
10555         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10556         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10557         * libio/ioftell.c (_IO_ftell): Likewise.
10558         * libio/iofwrite.c (_IO_fwrite): Likewise.
10559         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10560         * libio/iogets.c (_IO_gets): Likewise.
10561         * libio/iopadn.c (_IO_padn): Likewise.
10562         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10563         (_IO_new_popen): Likewise.
10564         (_IO_new_proc_close): Likewise.
10565         * libio/ioputs.c (_IO_puts): Likewise.
10566         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10567         (_IO_seekoff): Likewise.
10568         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10569         (_IO_seekpos): Likewise.
10570         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10571         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10572         * libio/ioungetc.c (_IO_ungetc): Likewise.
10573         * libio/ioungetwc.c (ungetwc): Likewise.
10574         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10575         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10576         * libio/iowpadn.c (_IO_wpadn): Likewise.
10577         * libio/libc_fatal.c (__libc_fatal): Likewise.
10578         * libio/memstream.c (__open_memstream): Likewise.
10579         (_IO_mem_sync): Likewise.
10580         (_IO_mem_finish): Likewise.
10581         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10582         (_IO_old_file_close_it): Likewise.
10583         (_IO_old_file_finish): Likewise.
10584         (_IO_old_file_fopen): Likewise.
10585         (_IO_old_file_attach): Likewise.
10586         (_IO_old_file_setbuf): Likewise.
10587         (_IO_old_do_write): Likewise.
10588         (old_do_write): Likewise.
10589         (_IO_old_file_underflow): Likewise.
10590         (_IO_old_file_overflow): Likewise.
10591         (_IO_old_file_sync): Likewise.
10592         (_IO_old_file_seekoff): Likewise.
10593         (_IO_old_file_write): Likewise.
10594         (_IO_old_file_xsputn): Likewise.
10595         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10596         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10597         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10598         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10599         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10600         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10601         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10602         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10603         (_IO_old_popen): Likewise.
10604         (_IO_old_proc_close): Likewise.
10605         * libio/oldpclose.c (__old_pclose): Likewise.
10606         * libio/pclose.c (__new_pclose): Likewise.
10607         * libio/peekc.c (_IO_peekc_locked): Likewise.
10608         * libio/putc.c (_IO_putc): Likewise.
10609         * libio/putc_u.c (putc_unlocked): Likewise.
10610         * libio/putchar.c (putchar): Likewise.
10611         * libio/putchar_u.c (putchar_unlocked): Likewise.
10612         * libio/putwc.c (putwc): Likewise.
10613         * libio/putwc_u.c (putwc_unlocked): Likewise.
10614         * libio/putwchar.c (putwchar): Likewise.
10615         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10616         * libio/rewind.c (rewind): Likewise.
10617         * libio/setbuf.c (setbuf): Likewise.
10618         * libio/setlinebuf.c (setlinebuf): Likewise.
10619         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10620         * libio/vscanf.c (_IO_vscanf): Likewise.
10621         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10622         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10623         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10624         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10625         (_IO_switch_to_main_wget_area): Likewise.
10626         (_IO_switch_to_wbackup_area): Likewise.
10627         (_IO_wsetb): Likewise.
10628         (_IO_wdefault_pbackfail): Likewise.
10629         (_IO_wdefault_finish): Likewise.
10630         (_IO_wdefault_uflow): Likewise.
10631         (__woverflow): Likewise.
10632         (__wuflow): Likewise.
10633         (__wunderflow): Likewise.
10634         (_IO_wdefault_xsputn): Likewise.
10635         (_IO_wdefault_xsgetn): Likewise.
10636         (_IO_wdoallocbuf): Likewise.
10637         (_IO_wdefault_doallocate): Likewise.
10638         (_IO_switch_to_wget_mode): Likewise.
10639         (_IO_free_wbackup_area): Likewise.
10640         (_IO_switch_to_wput_mode): Likewise.
10641         (_IO_sputbackwc): Likewise.
10642         (_IO_sungetwc): Likewise.
10643         (_IO_adjust_wcolumn): Likewise.
10644         (_IO_init_wmarker): Likewise.
10645         (_IO_wmarker_delta): Likewise.
10646         (_IO_seekwmark): Likewise.
10647         (_IO_unsave_wmarkers): Likewise.
10648         * libio/wmemstream.c (open_wmemstream): Likewise.
10649         (_IO_wmem_sync): Likewise.
10650         (_IO_wmem_finish): Likewise.
10651         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10652         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10653         * locale/programs/simple-hash.c (init_hash): Likewise.
10654         (delete_hash): Likewise.
10655         (insert_entry): Likewise.
10656         (set_entry): Likewise.
10657         (next_prime): Likewise.
10658         (is_prime): Likewise.
10659         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10660         (xmalloc): Likewise.
10661         (xrealloc): Likewise.
10662         * locale/programs/xstrdup.c (xstrdup): Likewise.
10663         * localedata/collate-test.c (xstrcoll): Likewise.
10664         * localedata/xfrm-test.c (xstrcmp): Likewise.
10665         * login/getlogin_r.c (__getlogin_r): Likewise.
10666         * login/getpt.c (__posix_openpt): Likewise.
10667         * login/login_tty.c (login_tty): Likewise.
10668         * login/setlogin.c (setlogin): Likewise.
10669         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10670         (mach_msg_destroy_port): Likewise.
10671         (mach_msg_destroy_memory): Likewise.
10672         * malloc/mcheck.c (flood): Likewise.
10673         * misc/acct.c (acct): Likewise.
10674         * misc/brk.c (__brk): Likewise.
10675         * misc/chflags.c (chflags): Likewise.
10676         * misc/chroot.c (chroot): Likewise.
10677         * misc/fchflags.c (fchflags): Likewise.
10678         * misc/fstab.c (getfsspec): Likewise.
10679         (getfsfile): Likewise.
10680         * misc/fsync.c (fsync): Likewise.
10681         * misc/ftruncate.c (__ftruncate): Likewise.
10682         * misc/ftruncate64.c (__ftruncate64): Likewise.
10683         * misc/getdomain.c (getdomainname): Likewise.
10684         (getdomainname): Likewise.
10685         * misc/gethostname.c (__gethostname): Likewise.
10686         * misc/getpass.c (getpass): Likewise.
10687         * misc/getttyent.c (skip): Likewise.
10688         (value): Likewise.
10689         * misc/gtty.c (gtty): Likewise.
10690         * misc/hsearch.c (hsearch): Likewise.
10691         (hcreate): Likewise.
10692         * misc/hsearch_r.c (__hcreate_r): Likewise.
10693         (__hdestroy_r): Likewise.
10694         * misc/ioctl.c (__ioctl): Likewise.
10695         * misc/mkdtemp.c (mkdtemp): Likewise.
10696         * misc/mkostemp.c (mkostemp): Likewise.
10697         * misc/mkostemp64.c (mkostemp64): Likewise.
10698         * misc/mkostemps.c (mkostemps): Likewise.
10699         * misc/mkostemps64.c (mkostemps64): Likewise.
10700         * misc/mkstemp.c (mkstemp): Likewise.
10701         * misc/mkstemp64.c (mkstemp64): Likewise.
10702         * misc/mkstemps.c (mkstemps): Likewise.
10703         * misc/mkstemps64.c (mkstemps64): Likewise.
10704         * misc/mktemp.c (__mktemp): Likewise.
10705         * misc/preadv.c (preadv): Likewise.
10706         * misc/preadv64.c (preadv64): Likewise.
10707         * misc/pwritev.c (pwritev): Likewise.
10708         * misc/pwritev64.c (pwritev64): Likewise.
10709         * misc/readv.c (__readv): Likewise.
10710         * misc/revoke.c (revoke): Likewise.
10711         * misc/setdomain.c (setdomainname): Likewise.
10712         * misc/setegid.c (setegid): Likewise.
10713         * misc/seteuid.c (seteuid): Likewise.
10714         * misc/sethostid.c (sethostid): Likewise.
10715         * misc/sethostname.c (sethostname): Likewise.
10716         * misc/setregid.c (__setregid): Likewise.
10717         * misc/setreuid.c (__setreuid): Likewise.
10718         * misc/sstk.c (sstk): Likewise.
10719         * misc/stty.c (stty): Likewise.
10720         * misc/syscall.c (syscall): Likewise.
10721         * misc/syslog.c (setlogmask): Likewise.
10722         * misc/truncate.c (__truncate): Likewise.
10723         * misc/truncate64.c (truncate64): Likewise.
10724         * misc/ualarm.c (ualarm): Likewise.
10725         * misc/usleep.c (usleep): Likewise.
10726         * misc/ustat.c (ustat): Likewise.
10727         * misc/writev.c (__writev): Likewise.
10728         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10729         * nptl/old_pthread_cond_broadcast.c
10730         (__pthread_cond_broadcast_2_0): Likewise.
10731         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10732         Likewise.
10733         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10734         Likewise.
10735         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10736         Likewise.
10737         * nptl/pt-raise.c (raise): Likewise.
10738         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10739         Likewise.
10740         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10741         * nptl/pthread_barrierattr_destroy.c
10742         (pthread_barrierattr_destroy): Likewise.
10743         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10744         Likewise.
10745         * nptl/pthread_barrierattr_setpshared.c
10746         (pthread_barrierattr_setpshared): Likewise.
10747         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10748         Likewise.
10749         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10750         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10751         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10752         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10753         Likewise.
10754         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10755         Likewise.
10756         * nptl/pthread_condattr_getpshared.c
10757         (pthread_condattr_getpshared): Likewise.
10758         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10759         Likewise.
10760         * nptl/pthread_condattr_setpshared.c
10761         (pthread_condattr_setpshared): Likewise.
10762         * nptl/pthread_detach.c (pthread_detach): Likewise.
10763         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10764         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10765         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10766         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10767         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10768         Likewise.
10769         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10770         Likewise.
10771         * nptl/pthread_mutex_getprioceiling.c
10772         (pthread_mutex_getprioceiling): Likewise.
10773         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10774         Likewise.
10775         * nptl/pthread_mutexattr_getprotocol.c
10776         (pthread_mutexattr_getprotocol): Likewise.
10777         * nptl/pthread_mutexattr_getpshared.c
10778         (pthread_mutexattr_getpshared): Likewise.
10779         * nptl/pthread_mutexattr_getrobust.c
10780         (pthread_mutexattr_getrobust): Likewise.
10781         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10782         Likewise.
10783         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10784         Likewise.
10785         * nptl/pthread_mutexattr_setprioceiling.c
10786         (pthread_mutexattr_setprioceiling): Likewise.
10787         * nptl/pthread_mutexattr_setprotocol.c
10788         (pthread_mutexattr_setprotocol): Likewise.
10789         * nptl/pthread_mutexattr_setpshared.c
10790         (pthread_mutexattr_setpshared): Likewise.
10791         * nptl/pthread_mutexattr_setrobust.c
10792         (pthread_mutexattr_setrobust): Likewise.
10793         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10794         Likewise.
10795         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10796         Likewise.
10797         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10798         Likewise.
10799         * nptl/pthread_rwlockattr_getkind_np.c
10800         (pthread_rwlockattr_getkind_np): Likewise.
10801         * nptl/pthread_rwlockattr_getpshared.c
10802         (pthread_rwlockattr_getpshared): Likewise.
10803         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10804         Likewise.
10805         * nptl/pthread_rwlockattr_setkind_np.c
10806         (pthread_rwlockattr_setkind_np): Likewise.
10807         * nptl/pthread_rwlockattr_setpshared.c
10808         (pthread_rwlockattr_setpshared): Likewise.
10809         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10810         Likewise.
10811         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10812         Likewise.
10813         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10814         Likewise.
10815         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10816         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10817         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10818         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10819         * nptl/sem_close.c (sem_close): Likewise.
10820         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10821         * nptl/sem_init.c (__old_sem_init): Likewise.
10822         * nptl/sigaction.c (__sigaction): Likewise.
10823         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10824         * posix/_exit.c (_exit): Likewise.
10825         * posix/alarm.c (alarm): Likewise.
10826         * posix/confstr.c (confstr): Likewise.
10827         * posix/fpathconf.c (__fpathconf): Likewise.
10828         * posix/getgroups.c (__getgroups): Likewise.
10829         * posix/getpgid.c (__getpgid): Likewise.
10830         * posix/group_member.c (__group_member): Likewise.
10831         * posix/pathconf.c (__pathconf): Likewise.
10832         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10833         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10834         * posix/setgid.c (__setgid): Likewise.
10835         * posix/setpgid.c (__setpgid): Likewise.
10836         * posix/setuid.c (__setuid): Likewise.
10837         * posix/sleep.c (__sleep): Likewise.
10838         * posix/sysconf.c (__sysconf): Likewise.
10839         * posix/times.c (__times): Likewise.
10840         * posix/uname.c (__uname): Likewise.
10841         * posix/waitid.c (__waitid): Likewise.
10842         * pwd/getpw.c (__getpw): Likewise.
10843         * resolv/base64.c (b64_pton): Likewise.
10844         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10845         * resolv/gethnamaddr.c (Dprintf): Likewise.
10846         (gethostbyname): Likewise.
10847         (gethostbyname2): Likewise.
10848         (gethostbyaddr): Likewise.
10849         (_sethtent): Likewise.
10850         (_gethtbyname): Likewise.
10851         (_gethtbyname2): Likewise.
10852         (_gethtbyaddr): Likewise.
10853         (map_v4v6_address): Likewise.
10854         (map_v4v6_hostent): Likewise.
10855         (addrsort): Likewise.
10856         (ht_sethostent): Likewise.
10857         (ht_gethostbyname): Likewise.
10858         (ht_gethostbyaddr): Likewise.
10859         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10860         (inet_net_ntop_ipv4): Likewise.
10861         * resolv/inet_neta.c (inet_neta): Likewise.
10862         * resolv/inet_ntop.c (inet_ntop): Likewise.
10863         (inet_ntop4): Likewise.
10864         (inet_ntop6): Likewise.
10865         * resolv/inet_pton.c (__inet_pton): Likewise.
10866         (inet_pton4): Likewise.
10867         (inet_pton6): Likewise.
10868         * resolv/res_debug.c (loc_aton): Likewise.
10869         (loc_ntoa): Likewise.
10870         * resource/getpriority.c (__getpriority): Likewise.
10871         * resource/getrusage.c (__getrusage): Likewise.
10872         * resource/nice.c (nice): Likewise.
10873         * resource/setpriority.c (__setpriority): Likewise.
10874         * resource/setrlimit64.c (setrlimit64): Likewise.
10875         * resource/vlimit.c (vlimit): Likewise.
10876         * resource/vtimes.c (vtimes): Likewise.
10877         * rt/aio_error.c (aio_error): Likewise.
10878         * rt/aio_return.c (aio_return): Likewise.
10879         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10880         * signal/kill.c (__kill): Likewise.
10881         * signal/killpg.c (killpg): Likewise.
10882         * signal/raise.c (raise): Likewise.
10883         * signal/sigaction.c (__sigaction): Likewise.
10884         * signal/sigaddset.c (sigaddset): Likewise.
10885         * signal/sigaltstack.c (sigaltstack): Likewise.
10886         * signal/sigandset.c (sigandset): Likewise.
10887         * signal/sigblock.c (__sigblock): Likewise.
10888         * signal/sigdelset.c (sigdelset): Likewise.
10889         * signal/sigempty.c (sigemptyset): Likewise.
10890         * signal/sigfillset.c (sigfillset): Likewise.
10891         * signal/sighold.c (sighold): Likewise.
10892         * signal/sigignore.c (sigignore): Likewise.
10893         * signal/sigintr.c (siginterrupt): Likewise.
10894         * signal/sigisempty.c (sigisemptyset): Likewise.
10895         * signal/sigismem.c (sigismember): Likewise.
10896         * signal/signal.c (signal): Likewise.
10897         * signal/sigorset.c (sigorset): Likewise.
10898         * signal/sigpause.c (__sigpause): Likewise.
10899         * signal/sigpending.c (sigpending): Likewise.
10900         * signal/sigprocmask.c (__sigprocmask): Likewise.
10901         * signal/sigrelse.c (sigrelse): Likewise.
10902         * signal/sigreturn.c (__sigreturn): Likewise.
10903         * signal/sigset.c (sigset): Likewise.
10904         * signal/sigsetmask.c (__sigsetmask): Likewise.
10905         * signal/sigstack.c (sigstack): Likewise.
10906         * signal/sigsuspend.c (__sigsuspend): Likewise.
10907         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10908         * signal/sysv_signal.c (__sysv_signal): Likewise.
10909         * socket/accept.c (accept): Likewise.
10910         * socket/accept4.c (__libc_accept4): Likewise.
10911         * socket/bind.c (__bind): Likewise.
10912         * socket/connect.c (__connect): Likewise.
10913         * socket/getpeername.c (getpeername): Likewise.
10914         * socket/getsockname.c (__getsockname): Likewise.
10915         * socket/getsockopt.c (getsockopt): Likewise.
10916         * socket/listen.c (__listen): Likewise.
10917         * socket/recv.c (__recv): Likewise.
10918         * socket/recvmsg.c (__recvmsg): Likewise.
10919         * socket/send.c (__send): Likewise.
10920         * socket/sendmsg.c (__sendmsg): Likewise.
10921         * socket/shutdown.c (shutdown): Likewise.
10922         * socket/sockatmark.c (sockatmark): Likewise.
10923         * socket/socket.c (__socket): Likewise.
10924         * stdio-common/ctermid.c (ctermid): Likewise.
10925         * stdio-common/cuserid.c (cuserid): Likewise.
10926         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10927         * stdio-common/remove.c (remove): Likewise.
10928         * stdio-common/rename.c (rename): Likewise.
10929         * stdio-common/renameat.c (renameat): Likewise.
10930         * stdio-common/tempname.c (__gen_tempname): Likewise.
10931         * stdio-common/xbug.c (InitBuffer): Likewise.
10932         (AppendToBuffer): Likewise.
10933         (ReadFile): Likewise.
10934         * stdlib/a64l.c (a64l): Likewise.
10935         * stdlib/drand48_r.c (drand48_r): Likewise.
10936         * stdlib/getcontext.c (getcontext): Likewise.
10937         * stdlib/getenv.c (getenv): Likewise.
10938         * stdlib/l64a.c (l64a): Likewise.
10939         * stdlib/llabs.c (llabs): Likewise.
10940         * stdlib/lldiv.c (lldiv): Likewise.
10941         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10942         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10943         * stdlib/putenv.c (putenv): Likewise.
10944         * stdlib/random.c (__srandom): Likewise.
10945         (__initstate): Likewise.
10946         (__setstate): Likewise.
10947         * stdlib/random_r.c (__srandom_r): Likewise.
10948         (__setstate_r): Likewise.
10949         (__random_r): Likewise.
10950         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10951         * stdlib/setcontext.c (setcontext): Likewise.
10952         * stdlib/setenv.c (setenv): Likewise.
10953         (unsetenv): Likewise.
10954         * stdlib/srand48.c (srand48): Likewise.
10955         * stdlib/srand48_r.c (__srand48_r): Likewise.
10956         * stdlib/swapcontext.c (swapcontext): Likewise.
10957         * stdlib/system.c (__libc_system): Likewise.
10958         * stdlib/tst-strtod.c (expand): Likewise.
10959         * stdlib/tst-strtol.c (expand): Likewise.
10960         * stdlib/tst-strtoll.c (expand): Likewise.
10961         * streams/fattach.c (fattach): Likewise.
10962         * streams/fdetach.c (fdetach): Likewise.
10963         * streams/getmsg.c (getmsg): Likewise.
10964         * streams/isastream.c (isastream): Likewise.
10965         * string/ffs.c (__ffs): Likewise.
10966         * string/ffsll.c (ffsll): Likewise.
10967         * string/memcmp.c (memcmp_common_alignment): Likewise.
10968         (memcmp_not_common_alignment): Likewise.
10969         (MEMCMP): Likewise.
10970         * string/memcpy.c (memcpy): Likewise.
10971         * string/memmove.c (MEMMOVE): Likewise.
10972         * string/memset.c (memset): Likewise.
10973         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10974         * string/strchrnul.c (STRCHRNUL): Likewise.
10975         * string/strerror.c (strerror): Likewise.
10976         * string/strndup.c (__strndup): Likewise.
10977         * string/strverscmp.c (__strverscmp): Likewise.
10978         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10979         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10980         (clnttcp_freeres): Likewise.
10981         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10982         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10983         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10984         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10985         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10986         (xdr_callhdr): Likewise.
10987         * sunrpc/rpcinfo.c (udpping): Likewise.
10988         (tcpping): Likewise.
10989         (pstatus): Likewise.
10990         (pmapdump): Likewise.
10991         (brdcst): Likewise.
10992         (deletereg): Likewise.
10993         (getprognum): Likewise.
10994         (getvers): Likewise.
10995         (get_inet_address): Likewise.
10996         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10997         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10998         (svcudp_stat): Likewise.
10999         (svcudp_recv): Likewise.
11000         (svcudp_reply): Likewise.
11001         (svcudp_getargs): Likewise.
11002         (svcudp_freeargs): Likewise.
11003         (svcudp_destroy): Likewise.
11004         * sunrpc/xdr.c (xdr_bytes): Likewise.
11005         (xdr_netobj): Likewise.
11006         (xdr_string): Likewise.
11007         (xdr_wrapstring): Likewise.
11008         * sunrpc/xdr_float.c (xdr_float): Likewise.
11009         (xdr_double): Likewise.
11010         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11011         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11012         * sysvipc/ftok.c (ftok): Likewise.
11013         * sysvipc/msgctl.c (msgctl): Likewise.
11014         * sysvipc/msgget.c (msgget): Likewise.
11015         * sysvipc/msgrcv.c (msgrcv): Likewise.
11016         * sysvipc/msgsnd.c (msgsnd): Likewise.
11017         * sysvipc/semget.c (semget): Likewise.
11018         * sysvipc/semop.c (semop): Likewise.
11019         * sysvipc/shmat.c (shmat): Likewise.
11020         * sysvipc/shmctl.c (shmctl): Likewise.
11021         * sysvipc/shmdt.c (shmdt): Likewise.
11022         * sysvipc/shmget.c (shmget): Likewise.
11023         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11024         * termios/speed.c (cfgetospeed): Likewise.
11025         (cfgetispeed): Likewise.
11026         (cfsetospeed): Likewise.
11027         (cfsetispeed): Likewise.
11028         * termios/tcflow.c (tcflow): Likewise.
11029         * termios/tcflush.c (tcflush): Likewise.
11030         * termios/tcgetattr.c (__tcgetattr): Likewise.
11031         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11032         * termios/tcgetsid.c (tcgetsid): Likewise.
11033         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11034         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11035         * time/adjtime.c (__adjtime): Likewise.
11036         * time/dysize.c (dysize): Likewise.
11037         * time/ftime.c (ftime): Likewise.
11038         * time/getitimer.c (__getitimer): Likewise.
11039         * time/gettimeofday.c (__gettimeofday): Likewise.
11040         * time/gmtime.c (__gmtime_r): Likewise.
11041         (gmtime): Likewise.
11042         * time/localtime.c (__localtime_r): Likewise.
11043         (localtime): Likewise.
11044         * time/offtime.c (__offtime): Likewise.
11045         * time/settimeofday.c (__settimeofday): Likewise.
11046         * time/stime.c (stime): Likewise.
11047         * time/strftime_l.c (tm_diff): Likewise.
11048         (iso_week_days): Likewise.
11049         * time/strptime.c (strptime): Likewise.
11050         * time/time.c (time): Likewise.
11051         * time/timespec_get.c (timespec_get): Likewise.
11052         * time/tzset.c (tzset_internal): Likewise.
11053         (compute_change): Likewise.
11054         (__tz_compute): Likewise.
11055         * wcsmbs/btowc.c (__btowc): Likewise.
11056         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11057         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11058         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11059         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11060         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11061         * wcsmbs/wcscat.c (__wcscat): Likewise.
11062         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11063         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11064         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11065         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11066         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11067         * wcsmbs/wcslen.c (__wcslen): Likewise.
11068         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11069         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11070         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11071         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11072         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11073         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11074         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11075         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11076         * wcsmbs/wcstok.c (wcstok): Likewise.
11077         * wcsmbs/wctob.c (wctob): Likewise.
11078         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11079         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11080         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11081         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11082         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11083         * wcsmbs/wmemset.c (__wmemset): Likewise.
11084         * wctype/wcfuncs.c (__towlower): Likewise.
11085         (__towupper): Likewise.
11087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11088         (lll_unlock_elision): Add adapt_count parameter.
11090 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11092         * sysdeps/nptl/configure.ac: Do not give errors based on the
11093         results of top-level configure tests.
11094         * sysdeps/nptl/configure: Regenerated.
11096         * configure.ac (libc_cv_Bgroup): Remove configure test.
11097         * configure: Regenerated.
11098         * config.make.in (have-Bgroup): Remove variable.
11100         * configure.ac (sizeof_long_double): Remove configure test.
11101         * configure: Regenerated.
11102         * config.make.in (sizeof-long-double): Remove variable.
11104         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11105         * configure: Regenerated.
11106         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11107         variable.
11108         (exceptions): Likewise.
11109         * sysdeps/arm/configure: Regenerated.
11110         * config.make.in (exceptions): Remove variable.
11111         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11112         $(exceptions).
11113         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11114         (CFLAGS-vdprintf_chk.c): Likewise.
11115         (CFLAGS-printf_chk.c): Likewise.
11116         (CFLAGS-fprintf_chk.c): Likewise.
11117         (CFLAGS-vprintf_chk.c): Likewise.
11118         (CFLAGS-vfprintf_chk.c): Likewise.
11119         (CFLAGS-gets_chk.c): Likewise.
11120         (CFLAGS-fgets_chk.c): Likewise.
11121         (CFLAGS-fgets_u_chk.c): Likewise.
11122         (CFLAGS-fread_chk.c): Likewise.
11123         (CFLAGS-fread_u_chk.c): Likewise.
11124         (CFLAGS-wprintf_chk.c): Likewise.
11125         (CFLAGS-fwprintf_chk.c): Likewise.
11126         (CFLAGS-vwprintf_chk.c): Likewise.
11127         (CFLAGS-vfwprintf_chk.c): Likewise.
11128         (CFLAGS-fgetws_chk.c): Likewise.
11129         (CFLAGS-fgetws_u_chk.c): Likewise.
11130         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11131         (CFLAGS-fputc.c): Likewise.
11132         (CFLAGS-fputwc.c): Likewise.
11133         (CFLAGS-freopen64.c): Likewise.
11134         (CFLAGS-freopen.c): Likewise.
11135         (CFLAGS-fseek.c): Likewise.
11136         (CFLAGS-fseeko64.c): Likewise.
11137         (CFLAGS-fseeko.c): Likewise.
11138         (CFLAGS-ftello64.c): Likewise.
11139         (CFLAGS-ftello.c): Likewise.
11140         (CFLAGS-fwide.c): Likewise.
11141         (CFLAGS-genops.c): Likewise.
11142         (CFLAGS-getc.c): Likewise.
11143         (CFLAGS-getchar.c): Likewise.
11144         (CFLAGS-getwc.c): Likewise.
11145         (CFLAGS-getwchar.c): Likewise.
11146         (CFLAGS-iofclose.c): Likewise.
11147         (CFLAGS-iofflush.c): Likewise.
11148         (CFLAGS-iofgetpos64.c): Likewise.
11149         (CFLAGS-iofgetpos.c): Likewise.
11150         (CFLAGS-iofgets.c): Likewise.
11151         (CFLAGS-iofgetws.c): Likewise.
11152         (CFLAGS-iofputs.c): Likewise.
11153         (CFLAGS-iofputws.c): Likewise.
11154         (CFLAGS-iofread.c): Likewise.
11155         (CFLAGS-iofsetpos64.c): Likewise.
11156         (CFLAGS-iofsetpos.c): Likewise.
11157         (CFLAGS-ioftell.c): Likewise.
11158         (CFLAGS-iofwrite.c): Likewise.
11159         (CFLAGS-iogetdelim.c): Likewise.
11160         (CFLAGS-iogetline.c): Likewise.
11161         (CFLAGS-iogets.c): Likewise.
11162         (CFLAGS-iogetwline.c): Likewise.
11163         (CFLAGS-ioputs.c): Likewise.
11164         (CFLAGS-ioseekoff.c): Likewise.
11165         (CFLAGS-ioseekpos.c): Likewise.
11166         (CFLAGS-iosetbuffer.c): Likewise.
11167         (CFLAGS-iosetvbuf.c): Likewise.
11168         (CFLAGS-ioungetc.c): Likewise.
11169         (CFLAGS-ioungetwc.c): Likewise.
11170         (CFLAGS-oldfileops.c): Likewise.
11171         (CFLAGS-oldiofclose.c): Likewise.
11172         (CFLAGS-oldiofgetpos64.c): Likewise.
11173         (CFLAGS-oldiofgetpos.c): Likewise.
11174         (CFLAGS-oldiofsetpos64.c): Likewise.
11175         (CFLAGS-oldiofsetpos.c): Likewise.
11176         (CFLAGS-peekc.c): Likewise.
11177         (CFLAGS-putc.c): Likewise.
11178         (CFLAGS-putchar.c): Likewise.
11179         (CFLAGS-putwc.c): Likewise.
11180         (CFLAGS-putwchar.c): Likewise.
11181         (CFLAGS-rewind.c): Likewise.
11182         (CFLAGS-wfileops.c): Likewise.
11183         (CFLAGS-wgenops.c): Likewise.
11184         (CFLAGS-oldiofopen.c): Likewise.
11185         (CFLAGS-iofopen.c): Likewise.
11186         (CFLAGS-iofopen64.c): Likewise.
11187         (CFLAGS-oldtmpfile.c): Likewise.
11188         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11189         (CFLAGS-fprintf.c): Likewise.
11190         (CFLAGS-printf.c): Likewise.
11191         (CFLAGS-vfwprintf.c): Likewise.
11192         (CFLAGS-vfscanf.c): Likewise.
11193         (CFLAGS-vfwscanf.c): Likewise.
11194         (CFLAGS-fscanf.c): Likewise.
11195         (CFLAGS-scanf.c): Likewise.
11196         (CFLAGS-isoc99_vfscanf.c): Likewise.
11197         (CFLAGS-isoc99_vscanf.c): Likewise.
11198         (CFLAGS-isoc99_fscanf.c): Likewise.
11199         (CFLAGS-isoc99_scanf.c): Likewise.
11200         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11201         (CFLAGS-isoc99_fwscanf.c): Likewise.
11202         (CFLAGS-isoc99_vwscanf.c): Likewise.
11203         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11205         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11206         after mkstemp64.
11207         * login/tst-utmp.c (do_prepare): Likewise.
11208         * rt/tst-aio.c (do_prepare): Likewise.
11209         * rt/tst-aio64.c (do_prepare): Likewise.
11211 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11213         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11214         (__lll_lock_elision): Remove adapt_count decrement...
11215         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11216         (__lll_trylock_elision): Likewise.
11217         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11218         (__lll_unlock_elision): ... to here. And utilize
11219         new adapt_count parameter.
11220         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11221         (__lll_unlock_elision): Update to include adapt_count
11222         parameter.
11223         (lll_unlock_elision): Pass pointer to adapt_count
11224         variable.
11226 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11228         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11229         Add elision adapt_count parameter to list of arguments.
11230         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11231         (lll_unlock_elision): Update with new parameter list
11232         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11233         (lll_unlock_elision): Likewise.
11234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11235         (lll_unlock_elision): Likewise.
11237 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11239         [BZ #19122]
11240         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11241         attribute_hidden.
11243         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11244         attribute_hidden.
11245         [IS_IN (rtld)] (__strdup): Likewise.
11246         [IS_IN (rtld)] (__strerror_r): Likewise.
11247         [IS_IN (rtld)] (__strsep_g): Likewise.
11248         [IS_IN (rtld)] (memchr): Likewise.
11249         [IS_IN (rtld)] (memcmp): Likewise.
11250         [IS_IN (rtld)] (memcpy): Likewise.
11251         [IS_IN (rtld)] (memmove): Likewise.
11252         [IS_IN (rtld)] (memset): Likewise.
11253         [IS_IN (rtld)] (rawmemchr): Likewise.
11254         [IS_IN (rtld)] (stpcpy): Likewise.
11255         [IS_IN (rtld)] (strchr): Likewise.
11256         [IS_IN (rtld)] (strcmp): Likewise.
11257         [IS_IN (rtld)] (strlen): Likewise.
11258         [IS_IN (rtld)] (strnlen): Likewise.
11259         [IS_IN (rtld)] (strsep): Likewise.
11261         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11262         attribute_hidden.
11263         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11265         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11266         attribute_hidden.
11267         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11269         * include/setjmp.h (__longjmp): Add attribute_hidden.
11270         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11272         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11273         Add attribute_hidden.
11275         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11276         [IS_IN (rtld)] (__open): Likewise.
11277         [IS_IN (rtld)] (__fcntl): Likewise.
11279         * include/dirent.h (__opendirat): Add attribute_hidden.
11280         (__getdents): Likewise.
11281         (__getdents64): Likewise.
11282         (__alloc_dir): Likewise.
11283         [IS_IN (rtld)] (__closedir): Likewise.
11284         [IS_IN (rtld)] (__fdopendir): Likewise.
11285         [IS_IN (rtld)] (__readdir): Likewise.
11286         [IS_IN (rtld)] (__readdir64): Likewise.
11287         [IS_IN (rtld)] (__rewinddir): Likewise.
11289         * include/dlfcn.h (_dl_catch_error): Moved to ...
11290         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11291         attribute_hidden.
11293         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11294         (_itoa_word): Likewise.
11296         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11297         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11298         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11299         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11300         (_dl_higher_prime_number): Likewise.
11301         (_dl_debug_printf_c): Likewise.
11302         (_dl_signal_cerror): Likewise.
11303         (_dl_receive_error): Likewise.
11304         (_dl_reloc_bad_type): Likewise.
11305         (_dl_resolve_conflicts): Likewise.
11306         (_dl_check_all_versions): Likewise.
11307         (_dl_check_map_versions): Likewise.
11308         (_dl_sort_fini): Likewise.
11309         (_dl_debug_initialize): Likewise.
11310         (_dl_init_paths): Likewise.
11311         (_dl_show_auxv): Likewise.
11312         (_dl_next_ld_env_entry): Likewise.
11313         (_dl_important_hwcaps): Likewise.
11314         (_dl_load_cache_lookup): Likewise.
11315         (_dl_update_slotinfo): Likewise.
11316         (_dl_show_scope): Likewise.
11318         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11319         attribute_hidden.
11320         (_wordcopy_fwd_dest_aligned): Likewise.
11321         (_wordcopy_bwd_aligned): Likewise.
11322         (_wordcopy_bwd_dest_aligned): Likewise.
11324         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11325         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11326         Likewise.
11327         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11328         Likewise.
11329         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11331 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11333         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11334         GCC 5 requirement.
11336 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11338         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11339         test.
11340         * sysdeps/i386/configure: Regenerated.
11341         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11342         code unconditional.
11344         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11345         test.
11346         (libc_cv_asm_popsection_directive): Likewise.
11347         * configure: Regenerated.
11348         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11349         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11350         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11351         (__make_section_unallocated): Make definition unconditional.
11352         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11353         Remove conditional definition.
11354         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11355         (__make_section_unallocated): Likewise.
11357         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11358         * configure: Regenerated.
11359         * config.make.in (static-libgcc): Remove variable.
11360         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11361         $(static-libgcc).
11362         (build-module-helper): Likewise.
11364         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11365         * configure: Regenerated.
11367 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11369         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11370         (struct char_buffer): New type.
11371         (char_buffer_start, char_buffer_size, char_buffer_error)
11372         (char_buffer_rewind, char_buffer_add): New functions.
11373         (ADDW): Remove macro, replaced by the char_buffer_add function.
11374         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11375         of extend_alloca.  Make control flow more explicit.
11377 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11379         [BZ #19137]
11380         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11381         Add -fomit-frame-pointer.
11382         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11384 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11386         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11387         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11388         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11389         only if !__GNUC_PREREQ (5,0).
11390         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11391         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11392         (INTERNAL_SYSCALL_NCS): Likewise.
11393         (LOADREGS_0): New macro for GCC 5.
11394         (ASMARGS_0): Likewise.
11395         (LOADREGS_1): Likewise.
11396         (ASMARGS_1): Likewise.
11397         (LOADREGS_2): Likewise.
11398         (ASMARGS_2): Likewise.
11399         (LOADREGS_3): Likewise.
11400         (ASMARGS_3): Likewise.
11401         (LOADREGS_4): Likewise.
11402         (ASMARGS_4): Likewise.
11403         (LOADREGS_5): Likewise.
11404         (ASMARGS_5): Likewise.
11405         (LOADREGS_6): Likewise.
11406         (ASMARGS_6): Likewise.
11408 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11410         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11411         -fomit-frame-pointer.
11412         (CFLAGS-mmap64.c): Likewise.
11413         (CFLAGS-semtimedop.c): Likewise.
11414         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11415         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11416         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11417         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11419 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11421         [BZ #18928]
11422         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11423         _dl_pointer_guard member.
11424         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11425         initializer.
11426         (security_init): Always set up pointer guard.
11427         (process_envvars): Do not process LD_POINTER_GUARD.
11429 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #19134]
11432         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11433         (.LC2): Likewise.
11434         (.LC3): Likewise.
11435         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11437 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11439         [BZ #19129]
11440         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11441         r0 and r1.
11443 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11445         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11447 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11449         * include/stap-probe.h: Fix macro definition formatting.
11451 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11453         [BZ #19074]
11454         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11455         load and store num_ifs.
11457 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11459         [BZ #18822]
11460         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11461         (__sched_getaffinity_new): Add libc_hidden_proto and
11462         libc_hidden_def.
11464 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11466         [BZ #19007]
11467         * scripts/localplt.awk: Also allow GOT references.
11468         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11469         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11470         with "+ REL R_386_GLOB_DAT".
11471         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11472         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11474 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11476         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11477         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11479         Likewise.
11480         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11481         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11482         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11483         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11484         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11485         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11486         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11487         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11488         Likewise.
11489         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11491 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11493         [BZ #19125]
11494         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11495         <math_private.h> and <stdint.h>.
11496         (__llround): Avoid conversions to and from long long int, and
11497         subtractions, where those might raise spurious exceptions.
11498         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11499         <math_private.h> and <stdint.h>.
11500         (__llroundf): Avoid conversions to and from long long int, and
11501         subtractions, where those might raise spurious exceptions.
11503 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11505         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11506         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11507         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11508         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11509         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11510         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11511         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11512         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11513         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11514         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11515         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11517         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11518         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11519         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11520         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11521         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11522         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11523         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11524         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11525         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11526         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11527         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11528         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11529         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11530         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11531         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11532         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11533         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11534         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11535         (__xstat64_conv): Likewise.
11536         (__xstat32_conv): Likewise.
11538 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11540         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11541         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11542         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11543         <sysdeps/unix/sysv/linux/sysdep.h>.
11544         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11545         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11546         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11547         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11548         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11549         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11550         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11551         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11552         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11555         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11556         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11557         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11558         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11560         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11561         (sysdep-dl-routines): Add sysdep.
11562         [$(subdir) == nptl] (libpthread-routines): Likewise.
11563         [$(subdir) == rt] (librt-routines): Likewise.
11564         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11565         PIC when branching to SYSCALL_ERROR_LABEL.
11566         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11568         <sysdeps/unix/sysv/linux/sysdep.h>.
11569         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11570         (SYSCALL_ERROR_ERRNO): Removed.
11571         (SYSCALL_ERROR_HANDLER): Changed to empty.
11572         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11573         (__syscall_error): New prototype.
11574         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11575         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11577 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11579         [BZ #19124]
11580         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11581         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11582         _dl_runtime_resolve_avx.
11583         (_dl_runtime_profile_avx512): Make it a hidden alias of
11584         _dl_runtime_profile_avx.
11586 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11588         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11589         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11590         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11591         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11593         [BZ #16422]
11594         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11595         New configure test.
11596         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11597         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11598         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11599         <math_private.h> and <stdint.h>.
11600         (__llrint): Avoid conversions to long long int where those might
11601         raise spurious exceptions.
11602         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11603         <math_private.h> and <stdint.h>.
11604         (__llrintf): Avoid conversions to long long int where those might
11605         raise spurious exceptions.
11607 2015-10-12  Andreas Schwab  <schwab@suse.de>
11609         [BZ #18969]
11610         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11611         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11612         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11613         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11614         $(gen-locales).
11615         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11616         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11617         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11618         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11619         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11620         $(gen-locales).
11621         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11622         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11623         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11624         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11625         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11626         ($(objpfx)tst-ftell-active-handler.out)
11627         ($(objpfx)tst-ftell-append.out)
11628         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11629         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11630         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11631         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11632         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11633         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11634         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11635         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11636         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11637         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11638         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11639         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11640         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11641         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11642         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11643         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11644         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11645         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11646         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11647         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11648         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11649         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11650         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11651         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11652         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11653         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11654         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11655         $(gen-locales).
11656         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11657         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11658         $(gen-locales).
11659         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11660         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11661         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11662         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11663         $(gen-locales).
11664         * libio/tst_wprintf2.c (main): Use explicit locale.
11665         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11667 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11669         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11670         __msg_sig_post.
11671         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11673 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11675         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11676         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11678         * sysdeps/arm/libm-test-ulps: Regenerated.
11680         [BZ #15470]
11681         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11683         [BZ #16399]
11684         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11685         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11686         and <fix-fp-int-convert-overflow.h>.
11687         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11688         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11689         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11690         and <fix-fp-int-convert-overflow.h>.
11691         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11692         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11693         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11694         <fix-fp-int-convert-overflow.h>.
11695         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11696         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11697         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11698         <fix-fp-int-convert-overflow.h>.
11699         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11700         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11701         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11702         and <fix-fp-int-convert-overflow.h>.
11703         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11704         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11705         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11706         <limits.h> and <fix-fp-int-convert-overflow.h>.
11707         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11708         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11709         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11710         and <fix-fp-int-convert-overflow.h>.
11711         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11712         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11713         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11714         and <fix-fp-int-convert-overflow.h>.
11715         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11716         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11717         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11719 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11721         [BZ #18589]
11722         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11723         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11724         $(gen-locales).
11726 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11727             Phil Blundell <pb@pbcl.net>
11729         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11730         * nptl/tst-cancel26.c: New file.
11731         * nptl/tst-cancel27.c: Likewise.
11733 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11735         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11736         __ILP32__ isn't defined.
11737         (lrint): Likewise.
11738         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11739         (lrintf): Likewise.
11740         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11741         (lrintl): Likewise.
11742         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11743         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11744         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11746 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11748         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11749         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11751         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11752         file.
11753         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11754         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11756 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11758         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11759         configure test.
11760         * sysdeps/i386/configure: Regenerated.
11761         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11762         configure test.
11763         * sysdeps/x86_64/configure: Regenerated.
11764         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11765         Make code unconditional.
11767         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11768         test.
11769         * sysdeps/i386/configure: Regenerated.
11770         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11771         test.
11772         * sysdeps/x86_64/configure: Regenerated.
11773         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11774         Make code unconditional.
11775         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11776         Likewise.
11777         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11778         Likewise.
11779         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11780         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11781         code unconditional.
11782         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11783         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11784         code unconditional.
11785         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11786         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11787         code unconditional.
11788         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11789         code unconditional.
11790         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11791         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11792         code unconditional.
11793         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11794         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11795         code unconditional.
11796         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11797         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11798         code unconditional.
11799         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11800         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11801         code unconditional.
11802         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11803         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11805         [BZ #19095]
11806         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11807         mantissa to long int before shifting left.
11809 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11811         [BZ #19094]
11812         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11813         <limits.h>.
11814         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11815         when result overflows but exception would not result from cast.
11816         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11817         <limits.h>.
11818         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11819         when result overflows but exception would not result from cast.
11820         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11821         <limits.h>.
11822         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11823         when result overflows but exception would not result from cast.
11824         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11825         <limits.h>.
11826         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11827         when result overflows but exception would not result from cast.
11828         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11829         <limits.h>.
11830         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11831         when result overflows but exception would not result from cast.
11832         * math/libm-test.inc (lrint_test_data): Add more tests.
11833         (llrint_test_data): Likewise.
11835 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11837         [BZ #18872]
11838         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11839         Move out from under [$(run-built-tests) = yes] conditional.
11840         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11841         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11843 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11845         [BZ #18589]
11846         * string/Makefile (tests): Add bug-strcoll2.
11847         (LOCALES): Add cs_CZ.UTF-8.
11848         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11850         [BZ #18589]
11851         * string/bug-strcoll2.c: New file.
11852         * locale/categories.def: Revert commit
11853         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11854         * locale/langinfo.h: Likewise.
11855         * locale/localeinfo.h: Likewise.
11856         * locale/C-collate.c: Likewise.
11857         * locale/programs/ld-collate.c (collate_output): Likewise.
11858         * string/strcoll_l.c (STRDIFF): Likewise.
11859         (STRCOLL): Likewise.
11860         * wcsmbs/wcscoll_l.c: Likewise.
11862 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11864         * math/libm-test.inc (lround_test_data): Do not expect the absence
11865         of "inexact" for some tests with non-integer arguments.
11866         (llround_test_data): Likewise.
11868         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11869         test.
11870         (libc_cv_cc_sse2avx): Likewise.
11871         * sysdeps/i386/configure: Regenerated.
11872         * sysdeps/i386/i686/multiarch/Makefile
11873         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11874         [$(subdir) = math].
11875         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11876         code unconditional.
11877         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11878         Likewise.
11879         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11880         Likewise.
11881         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11882         Likewise.
11883         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11884         test.
11885         (libc_cv_cc_sse2avx): Likewise.
11886         * sysdeps/x86_64/configure: Regenerated.
11887         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11888         unconditional.
11889         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11890         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11891         unconditional.
11892         (_dl_runtime_profile)
11893         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11894         conditional code.
11895         * sysdeps/x86_64/fpu/multiarch/Makefile
11896         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11897         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11899         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11900         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11901         * sysdeps/x86_64/fpu/multiarch/e_log.c
11902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11903         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11904         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11905         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11906         Likewise.
11907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11908         Likewise.
11909         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11910         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11911         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11912         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11913         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11914         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11915         (HAVE_SSE2AVX_SUPPORT): Likewise.
11917 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11919         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11920         instead of #pragma optimize.
11922 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11924         [BZ #17195]
11925         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11926         as is similarly done in systrim and _int_free already.
11928 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11930         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11932 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #19088]
11935         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11936         <limits.h>.
11937         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11938         overflows but exception would not result from cast.
11939         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11940         and <limits.h>.
11941         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11942         overflows but exception would not result from cast.
11943         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11944         <limits.h>.
11945         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11946         overflows but exception would not result from cast.
11947         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11948         <limits.h>.
11949         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11950         overflows but exception would not result from cast.
11951         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11952         <limits.h>.
11953         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11954         overflows but exception would not result from cast.
11955         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11956         <limits.h>.
11957         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11958         overflows but exception would not result from cast.
11959         * math/libm-test.inc (lround_test_data): Add more tests.
11960         (llround_test_data): Likewise.
11962 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11964         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11965         (CFLAGS-ialloc.c): Ditto.
11966         (CFLAGS-scheck.c): Ditto.
11968 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11970         [BZ #19086]
11971         * manual/filesys.texi (Storage Allocation): Fix argument order for
11972         posix_fallocate64.
11974 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11976         [BZ #19085]
11977         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11978         exponent below 48 inside case for non-overflowing exponent.
11979         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11981 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11983         * iconvdata/cp737.h (from_idx): Add const.
11984         * iconvdata/cp775.h (from_idx): Likewise.
11986 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11988         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11989         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11990         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11992         [BZ #19079]
11993         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11994         file, conditioned on [!_LP64].
11995         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11996         [!_LP64] (__lround): Do not define as function or alias.
11997         [!_LP64] (lround): Likewise.
11998         [!_LP64] (__lroundl): Likewise.
11999         [!_LP64] (lroundl): Likewise.
12000         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12001         macro.
12002         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12003         Likewise.
12005 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12007         * math/libm-test.inc (lrint_test_data): Add more tests.
12008         (llrint_test_data): Likewise.
12009         (lround_test_data): Likewise.
12010         (llround_test_data): Likewise.
12012         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12013         (llrint_test_data): Add tests used for lrint.
12015         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12016         test.
12017         * sysdeps/i386/configure: Regenerated.
12018         * sysdeps/i386/i686/multiarch/Makefile
12019         [$(config-cflags-sse4) = yes]: Make code unconditional.
12020         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12021         Likewise.
12022         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12023         Likewise.
12024         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12025         test.
12026         * sysdeps/x86_64/configure: Regenerated.
12027         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12028         Make code unconditional.
12029         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12030         Likewise.
12031         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12032         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12034         * scripts/rpm2dynsym.sh: Remove file.
12036 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12038         * configure.ac (libc_cv_cxx_thread_local): Define.
12039         * configure: Regenerate.
12040         * config.make.in (have-cxx-thread_local): Define.
12041         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12042         (LDLIBS-tst-thread_local1): Define.
12043         (tests): Add tst-thread_local1.
12044         [have-cxx-thread_local != yes] (tests-unsupported): Add
12045         tst-thread_local1.
12046         * nptl/tst-thread_local1.cc: New file.
12048 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12050         [BZ #19078]
12051         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12052         (u_thres): Likewise.
12053         (__expl): Determine whether to call __kernel_standard_l based on
12054         value of result, not argument.
12056         * math/libm-test.inc (scalb_test_data): Add more expectations for
12057         the "inexact" exception.
12059         [BZ #19077]
12060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12061         0.0L for argument 1.0L.
12063         [BZ #19076]
12064         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12065         constant 0.0L when computing infinite result.
12067 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12069         [BZ #10432]
12070         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12071         malloc_usable_size.
12073 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12075         [BZ #19018]
12076         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12077         Mangle function pointer before storing it.
12078         (__call_tls_dtors): Demangle function pointer before calling it.
12080 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12082         [BZ #19012]
12083         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12084         Clean up on failure.
12086 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12088         [BZ #19071]
12089         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12090         long int variable to store possibly incremented high part of
12091         mantissa.
12092         * math/libm-test.inc (lround_test_data): Add tests used for
12093         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12094         for tests requiring 64-bit long.  Do not condition tests on
12095         [TEST_FLOAT] unnecessarily.
12096         (llround_test_data): Add tests used for lround.  Add another
12097         expectation for the "inexact" exception.  Do not condition tests
12098         on [TEST_FLOAT] unnecessarily.
12100         [BZ #887]
12101         [BZ #19049]
12102         [BZ #19050]
12103         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12104         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12105         <fix-int-fp-convert-zero.h>.
12106         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12107         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12108         <fix-int-fp-convert-zero.h>.
12109         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12110         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12111         <fix-int-fp-convert-zero.h>.
12112         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12113         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12114         <fix-int-fp-convert-zero.h>.
12115         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12116         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12117         <fix-int-fp-convert-zero.h>.
12118         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12119         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12120         <fix-int-fp-convert-zero.h>.
12121         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12122         * sysdeps/ieee754/flt-32/s_erff.c: Include
12123         <fix-int-fp-convert-zero.h>.
12124         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12125         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12126         <fix-int-fp-convert-zero.h>.
12127         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12128         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12129         <fix-int-fp-convert-zero.h>.
12130         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12131         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12132         <fix-int-fp-convert-zero.h>.
12133         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12134         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12135         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12136         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12137         file.
12138         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12140 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12142         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12144 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #19059]
12147         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12148         overflowing computation.
12149         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12150         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12151         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12152         Likewise.
12153         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12154         Likewise.
12155         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12156         Likewise.
12157         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12158         Likewise.
12159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12161         Likewise.
12162         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12163         Likewise.
12164         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12166         * nss/rewrite_field.c (__nss_rewrite_field): Use
12167         internal_function.
12168         * nss/valid_field.c (__nss_valid_field): Likewise.
12169         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12171 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12173         [BZ #18724]
12174         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12175         (__nss_invalid_field_characters, __nss_valid_field)
12176         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12177         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12178         tst-field.c: New file.
12179         * nss/Makefile (routines): Add valid_field, rewrite_field.
12180         (tests-static): Define unconditionally.
12181         (tests): Include tests-static.
12182         [build-static-nss] (tests-static): Use append.
12183         [build-static-nss] (tests): Remove modification.
12184         * nss/getent.c (print_group): Call putgrent.  Report error.
12185         (print_gshadow): Call putsgent.  Report error.
12186         (print_passwd): Call putpwent.  Report error.
12187         (print_shadow): Call putspent.  Report error.
12188         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12189         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12190         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12191         name, password, directory, shell fields for valid syntax.  Rewrite
12192         GECOS field to match syntax.
12193         * pwd/Makefile (tests): Add tst-putpwent.
12194         * pwd/tst-putpwent.c: New file.
12195         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12196         Check grName, grpasswd, gr_mem fields for valid syntax.
12197         Change loop variable i to size_t.
12198         * grp/Makefile (tests): Add tst-putgrent.
12199         * grp/tst-putgrent.c: New file.
12200         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12201         valid syntax.
12202         * shadow/Makefile (tests): Add tst-putspent.
12203         * shadow/tst-putspent.c: New file.
12204         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12205         sg_mem fields for valid syntax.
12206         * gshadow/Makefile (tests): Add tst-putsgent.
12207         * gshadow/tst-putsgent.c: New file.
12209 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12211         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12212         assembly instructions.
12214 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12216         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12217         prefix from operands.
12219 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12221         [BZ #16347]
12222         [BZ #19046]
12223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12224         <libc-internal.h>.
12225         (MAXLGM): Do not use diagnostic control macros.
12226         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12227         threshold for ldbl-128ibm.
12228         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12229         instead of multiplying by log then subtracting.
12230         * math/auto-libm-test-in: Add more tests of lgamma.
12231         * math/auto-libm-test-out: Regenerated.
12233         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12234         (TYPE_HEX_DIG): Likewise.
12235         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12236         precisions when printing floating-point numbers.
12237         (check_float_internal): Likewise.
12239 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12241         [BZ #16620]
12242         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12243         of log (10) rounded downward to 48 bits.
12244         (log10_low): Use corresponding low part of log (10).
12246         [BZ #19032]
12247         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12248         compute result as (x - x) / (x - x) not as 0 / 0.
12249         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12250         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12252         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12253         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12254         and expm1.
12255         * math/auto-libm-test-out: Regenerated.
12256         * math/libm-test.inc (acos_test_data): Add more tests.
12257         (asin_test_data): Likewise.
12258         (asinh_test_data): Likewise.
12259         (atan_test_data): Likewise.
12260         (atanh_test_data): Likewise.
12261         (atan2_test_data): Likewise.
12262         (cbrt_test_data): Likewise.
12263         (ceil_test_data): Likewise.
12264         (copysign_test_data): Likewise.
12265         (cos_test_data): Likewise.
12266         (cosh_test_data): Likewise.
12267         (erf_test_data): Likewise.
12268         (erfc_test_data): Likewise.
12269         (exp_test_data): Likewise.
12270         (exp10_test_data): Likewise.
12271         (exp2_test_data): Likewise.
12272         (expm1_test_data): Likewise.
12273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12275 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12277         [BZ #19006]
12278         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12279         to ...
12280         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12281         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12282         to ...
12283         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12284         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12285         to ...
12286         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12287         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12288         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12289         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12290         to ...
12291         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12292         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12293         Moved to ...
12294         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12295         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12296         Moved to ...
12297         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12299         to ...
12300         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12301         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12302         Moved to ...
12303         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12304         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12305         to ...
12306         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12307         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12308         Removed.
12309         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12310         Likewise.
12311         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12312         Likewise.
12313         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12314         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12315         Likewise.
12316         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12317         Likewise.
12318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12319         Likewise.
12320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12321         Likewise.
12322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12329         Likewise.
12330         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12331         Likewise.
12332         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12333         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12334         Likewise.
12335         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12336         Likewise.
12337         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12342         Likewise.
12343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12344         Replace ../i486/pthread_cond_timedwait.S with
12345         ../pthread_cond_timedwait.S.
12347 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12349         * math/libm-test.inc (acos_test_data): Refine expectations for
12350         errno and "inexact" exceptions.
12351         (acosh_test_data): Likewise.
12352         (asin_test_data): Likewise.
12353         (asinh_test_data): Likewise.
12354         (atan_test_data): Likewise.
12355         (atanh_test_data): Likewise.
12356         (atan2_test_data): Likewise.
12357         (cbrt_test_data): Likewise.
12358         (ceil_test_data): Likewise.
12359         (copysign_test_data): Likewise.
12360         (cosh_test_data): Likewise.
12361         (erf_test_data): Likewise.
12362         (erfc_test_data): Likewise.
12363         (exp_test_data): Likewise.
12364         (exp10_test_data): Likewise.
12365         (exp2_test_data): Likewise.
12366         (expm1_test_data): Likewise.
12367         (fabs_test_data): Likewise.
12368         (floor_test_data): Likewise.
12369         (fma_test_data): Likewise.
12370         (fmax_test_data): Likewise.
12371         (fmin_test_data): Likewise.
12372         (fmod_test_data): Likewise.
12373         (fpclassify_test_data): Likewise.
12374         (frexp_test_data): Likewise.
12375         (hypot_test_data): Likewise.
12376         (ilogb_test_data): Likewise.
12377         (isgreater_test_data): Likewise.
12378         (isgreaterequal_test_data): Likewise.
12379         (isinf_test_data): Likewise.
12380         (isless_test_data): Likewise.
12381         (islessequal_test_data): Likewise.
12382         (islessgreater_test_data): Likewise.
12383         (isnan_test_data): Likewise.
12384         (isnormal_test_data): Likewise.
12385         (issignaling_test_data): Likewise.
12386         (isunordered_test_data): Likewise.
12387         (j0_test_data): Likewise.
12388         (j1_test_data): Likewise.
12389         (jn_test_data): Likewise.
12390         (lgamma_test_data): Likewise.
12391         (lrint_test_data): Likewise.
12392         (llrint_test_data): Likewise.
12393         (log_test_data): Likewise.
12394         (log10_test_data): Likewise.
12395         (log1p_test_data): Likewise.
12396         (log2_test_data): Likewise.
12397         (logb_test_data): Likewise.
12398         (lround_test_data): Likewise.
12399         (llround_test_data): Likewise.
12400         (modf_test_data): Likewise.
12401         (nearbyint_test_data): Likewise.
12402         (nextafter_test_data): Likewise.
12403         (nexttoward_test_data): Likewise.
12404         (pow_test_data): Likewise.
12405         (remainder_test_data): Likewise.
12406         (remquo_test_data): Likewise.
12407         (rint_test_data): Likewise.
12408         (round_test_data): Likewise.
12409         (signbit_test_data): Likewise.
12410         (sinh_test_data): Likewise.
12411         (sqrt_test_data): Likewise.
12412         (tanh_test_data): Likewise.
12413         (tgamma_test_data): Likewise.
12414         (trunc_test_data): Likewise.
12415         (y0_test_data): Likewise.
12416         (y1_test_data): Likewise.
12417         (yn_test_data): Likewise.
12418         (significand_test_data): Likewise.
12420 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12422         * manual/filesys.texi (Storage Allocation): Document that
12423         posix_fallocate emulation fails when fd is open with O_WRONLY.
12425 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12427         [BZ #19016]
12428         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12429         allow more cases with X^2 + Y^2 >= 0.5.
12430         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12431         normal element in sum instead of special-casing based on values of
12432         arguments.
12433         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12434         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12435         -1 as normal element in sum instead of special-casing based on
12436         values of arguments.
12437         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12438         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12439         (__x2y2m1): Update comment.
12440         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12441         as normal element in sum instead of special-casing based on values
12442         of arguments.
12443         * math/s_clog.c (__clog): Handle more cases using log1p without
12444         hypot.
12445         * math/s_clog10.c (__clog10): Likewise.
12446         * math/s_clog10f.c (__clog10f): Likewise.
12447         * math/s_clog10l.c (__clog10l): Likewise.
12448         * math/s_clogf.c (__clogf): Likewise.
12449         * math/s_clogl.c (__clogl): Likewise.
12450         * math/auto-libm-test-in: Add more tests of clog and clog10.
12451         * math/auto-libm-test-out: Regenerated.
12452         * sysdeps/i386/fpu/libm-test-ulps: Update.
12453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12455 2015-09-28  Martin Sebor  <msebor@redhat.com>
12457         [BZ #18969]
12458         * string/Makefile (LOCALES): Define.
12459         (gen-locales.mk): Include.
12460         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12461         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12462         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12463         on setlocale failure.
12465 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12467         [BZ #18985]
12468         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12469         (__strftime_internal): Likewise.
12470         * time/tst-strftime.c (do_bz18985): New test.
12471         (do_test): Call it.
12473 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #18956]
12476         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12477         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12478         extracting high part.
12479         * math/auto-libm-test-in: Add another test of pow.
12480         * math/auto-libm-test-out: Regenerated.
12481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12483 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12485         [BZ #18825]
12486         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12487         New macro.
12488         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12489         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12490         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12491         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12492         DBL_NARROW_EVAL, reloading the PIC register as needed.
12493         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12494         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12495         FLT_NARROW_EVAL.  Use separate return path for case when first
12496         argument is NaN.
12497         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12498         DEFINE_LDBL_MIN.
12499         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12500         PIC register.
12501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12502         math_check_force_underflow_nonneg.
12503         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12504         underflow for subnormal result.
12505         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12506         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12507         math_check_force_underflow_nonneg.
12508         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12509         math_check_force_underflow.
12510         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12511         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12512         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12513         DEFINE_LDBL_MIN.
12514         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12515         * math/auto-libm-test-in: Add more tests of pow.
12516         * math/auto-libm-test-out: Regenerated.
12518 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12520         * nss/bug17079.c (init_test_items): Add diagnostic for
12521         inconsistent entries.
12522         (test_buffer_size): Skip inconsistent entries.
12524 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12526         [BZ #13304]
12527         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12528         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12529         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12531         [BZ #13304]
12532         * sysdeps/microblaze/s_fma.c: New file.
12533         * sysdeps/microblaze/s_fmaf.c: Likewise.
12534         * sysdeps/microblaze/sfp-machine.h: Likewise.
12536 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12538         [BZ #17250]
12539         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12540         member.
12542 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12544         [BZ #18803]
12545         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12546         (MO): New macro.
12547         (__ieee754_hypot) [PIC]: Load PIC register.
12548         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12549         DBL_NARROW_EVAL.
12550         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12551         math_check_force_underflow_nonneg in case where result might be
12552         tiny.
12553         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12554         Likewise.
12555         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12556         Likewise.
12557         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12558         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12559         * math/auto-libm-test-in: Add more tests of hypot.
12560         * math/auto-libm-test-out: Regenerated.
12562 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12564         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12566 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12568         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12569         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12570         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12571         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12572         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12573         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12574         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12576         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12577         LOAD_PIC_REG.
12579         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12580         (FLT_CHECK_FORCE_UFLOW): Likewise.
12581         (DBL_CHECK_FORCE_UFLOW): Likewise.
12582         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12583         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12584         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12585         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12586         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12587         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12588         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12589         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12590         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12591         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12592         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12593         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12594         (flt_min): Replace with use of DEFINE_FLT_MIN.
12595         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12596         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12598         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12599         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12600         (flt_min): Replace with use of DEFINE_FLT_MIN.
12601         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12602         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12603         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12604         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12605         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12606         (flt_min): Replace with use of DEFINE_FLT_MIN.
12607         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12608         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12609         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12610         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12611         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12612         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12613         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12614         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12615         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12616         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12617         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12618         (flt_min): Replace with use of DEFINE_FLT_MIN.
12619         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12620         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12621         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12622         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12623         main computation.
12624         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12625         (flt_min): Replace with use of DEFINE_FLT_MIN.
12626         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12627         main computation.
12628         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12629         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12630         (MO): New macro.
12631         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12632         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12633         (flt_min): Replace with use of DEFINE_FLT_MIN.
12634         (MO): New macro.
12635         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12636         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12637         (__log1pl): Use MO.
12639         [BZ #19003]
12640         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12641         $(config-cflags-nofma).
12643 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12645         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12647 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12649         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12650         (TWO127): Likewise.
12652         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12653         (min_of_type): Likewise.
12654         (math_check_force_underflow): Likewise.
12655         (math_check_force_underflow_nonneg): Likewise.
12656         (math_check_force_underflow_complex): Likewise.
12657         * math/e_exp2l.c (__ieee754_exp2l): Use
12658         math_check_force_underflow_nonneg.
12659         * math/k_casinh.c (__kernel_casinh): Likewise.
12660         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12661         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12662         * math/s_catan.c (__catan): Use
12663         math_check_force_underflow_complex.
12664         * math/s_catanf.c (__catanf): Likewise.
12665         * math/s_catanh.c (__catanh): Likewise.
12666         * math/s_catanhf.c (__catanhf): Likewise.
12667         * math/s_catanhl.c (__catanhl): Likewise.
12668         * math/s_catanl.c (__catanl): Likewise.
12669         * math/s_ccosh.c (__ccosh): Likewise.
12670         * math/s_ccoshf.c (__ccoshf): Likewise.
12671         * math/s_ccoshl.c (__ccoshl): Likewise.
12672         * math/s_cexp.c (__cexp): Likewise.
12673         * math/s_cexpf.c (__cexpf): Likewise.
12674         * math/s_cexpl.c (__cexpl): Likewise.
12675         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12676         * math/s_clog10.c (__clog10): Likewise.
12677         * math/s_clog10f.c (__clog10f): Likewise.
12678         * math/s_clog10l.c (__clog10l): Likewise.
12679         * math/s_clogf.c (__clogf): Likewise.
12680         * math/s_clogl.c (__clogl): Likewise.
12681         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12682         * math/s_csinf.c (__csinf): Likewise.
12683         * math/s_csinh.c (__csinh): Likewise.
12684         * math/s_csinhf.c (__csinhf): Likewise.
12685         * math/s_csinhl.c (__csinhl): Likewise.
12686         * math/s_csinl.c (__csinl): Likewise.
12687         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12688         * math/s_csqrtf.c (__csqrtf): Likewise.
12689         * math/s_csqrtl.c (__csqrtl): Likewise.
12690         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12691         * math/s_ctanf.c (__ctanf): Likewise.
12692         * math/s_ctanh.c (__ctanh): Likewise.
12693         * math/s_ctanhf.c (__ctanhf): Likewise.
12694         * math/s_ctanhl.c (__ctanhl): Likewise.
12695         * math/s_ctanl.c (__ctanl): Likewise.
12696         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12697         instead of volatile.
12698         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12699         math_check_force_underflow.
12700         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12701         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12702         volatile when forcing underflow.
12703         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12704         math_check_force_underflow_nonneg.
12705         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12706         Likewise.
12707         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12708         math_check_force_underflow.
12709         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12710         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12711         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12712         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12713         math_check_force_underflow_nonneg.
12714         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12715         math_check_force_underflow.
12716         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12718         instead of volatile.
12719         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12720         math_check_force_underflow.
12721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12722         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12723         math_check_force_underflow_nonneg.
12724         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12725         math_check_force_underflow.
12726         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12727         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12728         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12729         math_check_force_underflow_nonneg.
12730         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12731         Likewise.
12732         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12733         math_check_force_underflow.
12734         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12735         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12736         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12737         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12738         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12739         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12740         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12741         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12742         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12743         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12744         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12745         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12746         Likewise.
12747         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12748         math_check_force_underflow_nonneg.
12749         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12750         Likewise.
12751         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12752         math_check_force_underflow.
12753         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12754         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12755         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12756         Likewise.
12757         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12758         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12759         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12760         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12761         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12762         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12764         instead of volatile.
12765         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12766         math_check_force_underflow.
12767         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12769         math_check_force_underflow.
12770         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12771         Likewise.
12772         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12773         Use math_check_force_underflow_nonneg.
12774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12775         math_check_force_underflow.
12776         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12777         Likewise.
12778         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12779         Likewise.
12780         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12781         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12782         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12783         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12784         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12785         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12786         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12787         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12788         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12789         math_check_force_underflow_nonneg.
12790         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12791         math_check_force_underflow.
12792         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12793         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12794         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12795         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12796         math_check_force_underflow_nonneg.
12797         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12798         math_check_force_underflow.
12799         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12801         instead of volatile.
12802         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12803         math_check_force_underflow.
12805         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12806         * stdlib/strtod_l.c: Include <math_private.h>.
12807         (overflow_value): Use math_narrow_eval.
12808         (underflow_value): Likewise.
12809         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12810         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12811         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12812         (__ieee754_gamma_r): Likewise.
12813         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12814         Likewise.
12815         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12816         Likewise.
12817         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12818         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12819         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12820         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12821         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12822         (__ieee754_gammaf_r): Likewise.
12823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12824         Likewise.
12825         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12826         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12827         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12828         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12829         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12830         volatile.
12831         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12832         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12833         math_narrow_eval.
12834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12835         Likewise.
12836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12837         Likewise.
12838         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12839         Likewise.
12840         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12841         volatile.
12842         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12843         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12844         math_narrow_eval.
12845         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12846         Likewise.
12847         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12848         Likewise.
12850 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12852         * nptl/Versions: Remove ignored symbols.
12854 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12856         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12857         * nss/Makefile (tests): Update.
12859 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12861         * nss/bug18287.c: New file.
12862         * nss/Makefile (tests): Add bug18287.
12864 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12866         * mach/Versions (__mach_host_self_): Add symbol.
12868 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12870         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12871         vm_page_size.
12873 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12875         Really fix sysdeps/i386/fpu/s_scalbn.S build
12877         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12878         (libc: GLIBC_2_22): Remove unused version set.
12880 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12882         * config.make.in (enable-timezone-tools): New variable.
12883         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12884         (enable_timezone_tools): Export to generated files.
12885         * configure: Regenerate.
12886         * INSTALL: Regenerate.
12887         * manual/install.texi (--disable-timezone-tools): Document new flag.
12888         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12889         ifeq ($(enable-timezone-tools),yes) check.
12891 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12893         * timezone/Makefile: Revert previous change.
12895         [BZ #18980]
12896         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12897         (DEFINE_DBL_MIN): Likewise.
12898         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12899         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12900         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12901         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12902         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12903         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12904         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12905         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12906         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12907         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12908         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12909         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12910         (flt_min): Replace with use of DEFINE_FLT_MIN.
12911         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12912         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12913         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12914         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12915         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12916         (flt_min): Replace with use of DEFINE_FLT_MIN.
12917         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12918         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12919         (flt_min): Replace with use of DEFINE_FLT_MIN.
12920         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12921         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12922         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12923         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12924         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12925         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12926         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12927         (__ieee754_pow): Use DBL_NARROW_EVAL.
12928         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12929         (__ieee754_powf): Use FLT_NARROW_EVAL.
12930         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12931         (__ieee754_expf_sse2): Convert double-precision result to single
12932         precision.
12933         * sysdeps/i386/fpu/libm-test-ulps: Update.
12935 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12937         * timezone/Makefile: Ignore unused variable errors due to private.h
12938         (time_t_min) and (time_t_max).
12939         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12940         Likewise.
12942 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12944         [BZ #18981]
12945         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12946         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12947         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12948         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12949         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12950         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12951         (__scalbn): Use DBL_NARROW_EVAL.
12952         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12953         (__scalbnf): Use FLT_NARROW_EVAL.
12955 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12957         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12958         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12959         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12960         * stdio-common/printf_fp.c (___printf_fp):
12961         Use signbit to get the sign. Use isinf macro to allow inlining.
12962         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12963         * stdio-common/printf_size.c (__printf_size): Likewise.
12965 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12967         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12969 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12971         [BZ #18980]
12972         * sysdeps/generic/math_private.h: Include <float.h>.
12973         (math_narrow_eval): New macro.
12974         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12975         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12976         math_narrow_eval on overflowing return value.
12977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12978         Likewise.
12979         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12980         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12981         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12982         Likewise.
12983         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12985 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12987         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12988         * math/Makefile: Remove isinf_ns.c.
12989         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12990         * math/multc3.c (__multc3): Likewise.
12991         * math/s_casin.c (__casin): Likewise.
12992         * math/s_casinf.c (__casinf): Likewise.
12993         * math/s_casinl.c (__casinl): Likewise.
12994         * math/s_cproj.c (__cproj): Likewise.
12995         * math/s_cprojf.c (__cprojf): Likewise.
12996         * math/s_cprojl.c (__cprofl): Likewise.
12997         * math/s_ctan.c (__ctan): Likewise.
12998         * math/s_ctanf.c (__ctanf): Likewise.
12999         * math/s_ctanh.c (__ctanh): Likewise.
13000         * math/s_ctanhf.c (__ctanhf): Likewise.
13001         * math/s_ctanhl.c (__ctanhl): Likewise.
13002         * math/s_ctanl.c (__ctanl): Likewise.
13003         * math/w_fmod.c (__fmod): Likewise.
13004         * math/w_fmodf.c (__fmodf): Likewise.
13005         * math/w_fmodl.c (_fmodl): Likewise.
13006         * math/w_remainder.c (__remainder): Likewise.
13007         * math/w_remainderf.c (__remainderf): Likewise.
13008         * math/w_remainderl.c (__remainderl): Likewise.
13009         * math/w_scalb.c (__scalb): Likewise.
13010         * math/w_scalbf.c (__scalbf): Likewise.
13011         * math/w_scalbl.c (__scalbl): Likewise.
13012         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13013         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13014         with isinf.
13015         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13016         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13017         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13018         __isinf_nsf with isinf.
13019         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13020         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13021         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13022         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13023         with isinf.
13024         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13025         __isinf_nsl with isinf.
13026         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13027         with isinf.
13028         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13029         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13030         __isinf_nsl with isinf.
13031         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13032         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13033         with isinf.
13035 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13037         * resolv/base64.c (rcsid): Remove unused static.
13038         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13039         static.  (tqpi1): Likewise.
13040         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13041         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13042         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13043         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13044         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13045         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13047         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13048         Likewise.
13050 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13052         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13053         <nptl/pthreadP.h>.
13054         (_longjmp_unwind): Use __libc_ptf_call.
13055         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13057 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13059         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13060         * sysdeps/arm/__longjmp.S: Likewise.
13062 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13064         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13065         Use __builtin_signbit.
13066         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13067         Use __builtin_signbitf.
13068         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13069         Use __builtin_signbitl.
13070         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13071         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13073 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13075         [BZ #15367]
13076         [BZ #17441]
13078         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13079         * math/math.h (fpclassify): Use __builtin_fpclassify when
13080         available.  (signbit): Use __builtin_signbit(f/l).
13081         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13082         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13083         (isinf): Use __builtin_isinf_sign.
13085 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13087         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13088         * benchtests/bench-math-inlines.c: New benchmark.
13089         * benchtests/bench-util.h: New file.
13090         * benchtests/bench-util.c: New file.
13091         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13093 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13095         * elf/tst-dlmopen1.c: Define TEST_SO.
13096         (do_test): Use TEST_SO.
13098         * elf/dl-load.c: Include libc-internal.h.
13099         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13101 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13103         [BZ #17887]
13104         * time/strptime_l.c (__strptime_internal): Make %z accept
13105         [+-]HH:MM time zones.
13107 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13109         [BZ #17886]
13110         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13111         valid time zone.
13113 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13115         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13116         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13117         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13118         (__ASSUME_FDATASYNC): Delete.
13120 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13122         * conform/linknamespace.pl: Require weak undefined symbols to be
13123         in the standard namespace.
13124         (%strong_syms): Rename to %seen_syms.
13125         (%strong_seen): Rename to %seen_where.
13127 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13129         [BZ #18970]
13130         * misc/error.c (error): Replace pthread_setcancelstate with
13131         __pthread_setcancelstate.
13132         (error_at_line): Likewise.
13133         * posix/wordexp.c (parse_comm): Likewise.
13134         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13135         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13136         (__pthread_setcancelstate): This.
13137         (pthread_setcancelstate): Add an alias.
13138         * nptl/nptl-init.c (pthread_functions): Replace
13139         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13140         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13141         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13142         hidden_proto.
13143         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13144         it with hidden_def.
13145         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13146         (pthread_setcancelstate): Renamed to ...
13147         (__pthread_setcancelstate): This.
13148         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13149         __libc_ptf_call with __pthread_setcancelstate.
13151 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13152             Andreas Schwab  <schwab@suse.de>
13154         [BZ #17118]
13155         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13156         result when imaginary part of argument is infinite using sine and
13157         cosine.
13158         * math/s_ctanf.c (__ctanf): Likewise.
13159         * math/s_ctanl.c (__ctanl): Likewise.
13160         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13161         of result when real part of argument is infinite using sine and
13162         cosine.
13163         * math/s_ctanhf.c (__ctanhf): Likewise.
13164         * math/s_ctanhl.c (__ctanhl): Likewise.
13165         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13166         (ctanh_test_data): Add more tests of ctanh.
13168 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13170         [BZ #15384]
13171         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13172         bit-mask as in subtraction.
13173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13174         Likewise.
13175         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13176         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13177         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13179         [BZ #18951]
13180         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13181         underflow exception for small results.
13182         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13183         Likewise.
13184         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13185         Likewise.
13186         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13187         Likewise.
13188         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13189         Likewise.
13190         * math/auto-libm-test-in: Add more tests of tgamma.
13191         * math/auto-libm-test-out: Regenerated.
13193 2015-09-17  Andreas Schwab  <schwab@suse.de>
13195         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13197 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13199         [BZ #18977]
13200         * math/bits/mathcalls.h
13201         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13202         not declare.
13203         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13204         Likewise.
13205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13206         Likewise.
13207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13208         Likewise.
13209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13210         Likewise.
13211         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13212         Likewise.
13213         * conform/data/math.h-data
13214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13215         function.
13216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13217         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13219         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13225         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13228         [BZ #6803]
13229         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13230         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13231         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13232         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13233         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13234         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13235         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13236         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13237         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13238         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13239         Likewise.
13240         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13241         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13242         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13243         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13244         long_double_symbol calls.
13245         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13246         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13247         strong alias of __ldexpl.
13248         (scalbnl): Define using long_double_symbol.
13249         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13250         Remove alias.
13251         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13252         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13253         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13254         (scalbln_test_data): Add more errno expectations.
13256 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13258         Cache the host port like we cache the task port.  This way we do not
13259         need to call the kernel just to get the port.  Furthermore, we no
13260         longer increase the reference count on every invocation of
13261         `mach_host_self'.
13263         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13264         Protect declarations against the macro expansion.
13265         * mach/mach_init.c (__mach_host_self_): New variable.
13266         (mach_init): Initialize `__mach_host_self_'.
13267         * mach/mach_init.h (__mach_host_self_): New declaration.
13268         (__mach_host_self, mach_host_self): New macros.
13269         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13270         Release reference.
13272 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13274         [BZ #4404]
13275         * po/de.po: Update from Translation Project.
13277         [BZ #16415]
13278         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13279         (__expm1l): Remove code to handle positive infinity and overflow.
13280         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13281         variable.
13282         (__expm1l): Remove code to handle positive infinity and overflow.
13284 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13285             Paul Pluzhnikov  <ppluzhnikov@google.com>
13287         [BZ #18872]
13288         * stdio-common/Makefile (tst-printf-bz18872): New test.
13289         (tst-printf-bz18872-mem.out): Likewise.
13290         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13291         * stdio-common/vfprintf.c: Fix memory leaks.
13293 2015-09-16  Andreas Schwab  <schwab@suse.de>
13295         [BZ #17244]
13296         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13297         Remove extra va_start/va_end calls.
13299         [BZ #17243]
13300         * posix/execl.c (execl): Add missing va_end.
13301         * posix/execle.c (execle): Likewise.
13302         * posix/execlp.c (execlp): Likewise.
13304 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13306         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13307         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13309 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13311         [BZ #18967]
13312         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13313         undefine around includes of <bits/mathcalls.h>.
13314         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13315         not declare function.
13316         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13317         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13318         (scalb): Likewise.
13319         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13320         not define macro.
13321         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13322         variable.
13323         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13324         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13325         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13327         [BZ #18857]
13328         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13329         return non-finite argument without doing ordered comparisons on
13330         it.
13332         [BZ #16296]
13333         * math/fenv.h (fegetround): Use __attribute_pure__.
13334         * include/fenv.h (__fegetround): Likewise.
13336         [BZ #18595]
13337         * math/s_ctan.c (__ctan): Force underflow exception for results
13338         whose real or imaginary part has small absolute value.
13339         * math/s_ctanf.c (__ctanf): Likewise.
13340         * math/s_ctanh.c (__ctanh): Likewise.
13341         * math/s_ctanhf.c (__ctanhf): Likewise.
13342         * math/s_ctanhl.c (__ctanhl): Likewise.
13343         * math/s_ctanl.c (__ctanl): Likewise.
13344         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13345         and ctanh.  Add more tests of ctan and ctanh.
13347         [BZ #15918]
13348         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13349         handling of cases where one argument is an infinity.
13351         [BZ #18875]
13352         [BZ #18966]
13353         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13354         (MO): New macro.
13355         (__ieee754_exp10): For small results, force underflow exception
13356         and remove excess range and precision from return value.
13357         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13358         (MO): New macro.
13359         (__ieee754_exp10f): For small results, force underflow exception
13360         and remove excess range and precision from return value.
13361         * math/auto-libm-test-in: Add more tests of exp10.
13362         * math/auto-libm-test-out: Regenerated.
13364 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13366         [BZ #18875]
13367         [BZ #18961]
13368         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13369         (MO): New macro.
13370         (__ieee754_exp): For small results, force underflow exception and
13371         remove excess range and precision from return value.
13372         (__exp_finite): Likewise.
13373         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13374         (MO): New macro.
13375         (__ieee754_expf): For small results, force underflow exception and
13376         remove excess range and precision from return value.
13377         (__expf_finite): Likewise.
13378         * math/auto-libm-test-in: Add more tests of exp.
13379         * math/auto-libm-test-out: Regenerated.
13381         [BZ #16521]
13382         [BZ #18875]
13383         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13384         small results.
13385         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13386         (MO): New macro.
13387         (__ieee754_exp2): For small results, force underflow exception and
13388         remove excess range and precision from return value.
13389         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13390         (MO): New macro.
13391         (__ieee754_exp2f): For small results, force underflow exception
13392         and remove excess range and precision from return value.
13393         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13394         (MO): New macro.
13395         (__ieee754_exp2l): Force underflow exception for small results.
13396         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13397         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13398         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13399         (MO): New macro.
13400         (__ieee754_exp2l): Force underflow exception for small results.
13401         * math/auto-libm-test-in: Add more tests or exp2.
13402         * math/auto-libm-test-out: Regenerated.
13404 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13406         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13408         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13409         /dev/null.
13411 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13413         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13414         io fs process)): Drop spurious backslash.
13416 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13419         Use sysinfo system call instead of parsing /proc/meminfo.
13420         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13421         Likewise.
13423 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13425         [BZ #16985]
13426         * programs/localedef.c (main): Display argv[remaining] when
13427         output_path is NULL.
13429 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13431         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13432         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13433         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13434         tanh.
13435         * math/auto-libm-test-out: Regenerated.
13436         * sysdeps/i386/fpu/libm-test-ulps: Update.
13437         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13438         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13443         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13444         Use 'override' keyword to freeze the value here, preventing
13445         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13447 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13449         [BZ #14912]
13450         * sysdeps/aarch64/bits/atomic.h: Move to ...
13451         * sysdeps/aarch64/atomic-machine.h: ...here.
13452         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13453         _AARCH64_ATOMIC_MACHINE_H.
13454         * sysdeps/alpha/bits/atomic.h: Move to ...
13455         * sysdeps/alpha/atomic-machine.h: ...here.
13456         * sysdeps/arm/bits/atomic.h: Move to ...
13457         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13458         * bits/atomic.h: Move to ...
13459         * sysdeps/generic/atomic-machine.h: ...here.
13460         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13461         * sysdeps/i386/bits/atomic.h: Move to ...
13462         * sysdeps/i386/atomic-machine.h: ...here.
13463         * sysdeps/ia64/bits/atomic.h: Move to ...
13464         * sysdeps/ia64/atomic-machine.h: ...here.
13465         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13466         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13467         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13468         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13469         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13470         * sysdeps/microblaze/bits/atomic.h: Move to ...
13471         * sysdeps/microblaze/atomic-machine.h: ...here.
13472         * sysdeps/mips/bits/atomic.h: Move to ...
13473         * sysdeps/mips/atomic-machine.h: ...here.
13474         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13475         * sysdeps/powerpc/bits/atomic.h: Move to ...
13476         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13477         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13478         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13479         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13480         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13481         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13482         <atomic-machine.h> instead of <bits/atomic.h>.
13483         * sysdeps/s390/bits/atomic.h: Move to ...
13484         * sysdeps/s390/atomic-machine.h: ...here.
13485         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13486         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13487         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13488         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13489         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13490         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13491         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13492         * sysdeps/tile/bits/atomic.h: Move to ...
13493         * sysdeps/tile/atomic-machine.h: ...here.
13494         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13495         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13496         <sysdeps/tile/atomic-machine.h> instead of
13497         <sysdeps/tile/bits/atomic.h>.
13498         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13499         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13500         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13501         <sysdeps/tile/atomic-machine.h> instead of
13502         <sysdeps/tile/bits/atomic.h>.
13503         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13504         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13505         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13506         <sysdeps/arm/atomic-machine.h> instead of
13507         <sysdeps/arm/bits/atomic.h>.
13508         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13509         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13510         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13511         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13512         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13513         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13514         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13515         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13516         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13517         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13518         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13519         * sysdeps/x86_64/bits/atomic.h: Move to ...
13520         * sysdeps/x86_64/atomic-machine.h: ...here.
13521         * include/atomic.h: Include <atomic-machine.h> instead of
13522         <bits/atomic.h>.
13524         * sysdeps/mips/mips32/libm-test-ulps: Update.
13525         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13527         [BZ #18952]
13528         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13529         not convert non-integer negative arguments to int to determine the
13530         value of signgam.
13531         * math/auto-libm-test-in: Add more tests of lgamma.
13532         * math/auto-libm-test-out: Regenerated.
13534         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13535         cosh, csqrt, erfc, expm1 and lgamma.
13536         * math/auto-libm-test-out: Regenerated.
13537         * sysdeps/i386/fpu/libm-test-ulps: Update.
13538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13540 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13542         [BZ #2542]
13543         [BZ #2543]
13544         [BZ #2558]
13545         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13546         __lgamma_neg for arguments from -28.0 to -2.0.
13547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13548         __lgamma_negf for arguments from -15.0 to -2.0.
13549         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13550         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13552         Call __lgamma_negl for arguments from -33.0 to -2.0.
13553         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13554         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13555         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13556         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13557         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13558         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13559         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13560         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13561         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13562         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13563         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13564         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13565         (__lgamma_neg): Likewise.
13566         (__lgamma_negl): Likewise.
13567         (__lgamma_product): Likewise.
13568         (__lgamma_productl): Likewise.
13569         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13570         * math/auto-libm-test-in: Add more tests of lgamma.
13571         * math/auto-libm-test-out: Regenerated.
13572         * sysdeps/i386/fpu/libm-test-ulps: Update.
13573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13577         [BZ #18675]
13578         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13580 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13582         [BZ #14912]
13583         * bits/libc-lock.h: Move to ...
13584         * sysdeps/generic/libc-lock.h: ...here.
13585         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13586         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13587         * sysdeps/mach/hurd/libc-lock.h: ...here.
13588         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13589         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13590         * sysdeps/mach/bits/libc-lock.h: Move to ...
13591         * sysdeps/mach/libc-lock.h: ...here.
13592         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13593         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13594         * sysdeps/nptl/libc-lock.h: ...here.
13595         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13596         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13597         * sysdeps/nptl/libc-lockP.h: ...here.
13598         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13599         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13600         <bits/libc-lock.h>.
13601         * dirent/scandir-tail.c: Likewise.
13602         * dlfcn/dlerror.c: Likewise.
13603         * elf/dl-close.c: Likewise.
13604         * elf/dl-iteratephdr.c: Likewise.
13605         * elf/dl-lookup.c: Likewise.
13606         * elf/dl-open.c: Likewise.
13607         * elf/dl-support.c: Likewise.
13608         * elf/dl-writev.h: Likewise.
13609         * elf/rtld.c: Likewise.
13610         * grp/fgetgrent.c: Likewise.
13611         * gshadow/fgetsgent.c: Likewise.
13612         * gshadow/sgetsgent.c: Likewise.
13613         * iconv/gconv_conf.c: Likewise.
13614         * iconv/gconv_db.c: Likewise.
13615         * iconv/gconv_dl.c: Likewise.
13616         * iconv/gconv_int.h: Likewise.
13617         * iconv/gconv_trans.c: Likewise.
13618         * include/link.h: Likewise.
13619         * inet/getnameinfo.c: Likewise.
13620         * inet/getnetgrent.c: Likewise.
13621         * inet/getnetgrent_r.c: Likewise.
13622         * intl/bindtextdom.c: Likewise.
13623         * intl/dcigettext.c: Likewise.
13624         * intl/finddomain.c: Likewise.
13625         * intl/gettextP.h: Likewise.
13626         * intl/loadmsgcat.c: Likewise.
13627         * intl/localealias.c: Likewise.
13628         * intl/textdomain.c: Likewise.
13629         * libidn/idn-stub.c: Likewise.
13630         * libio/libioP.h: Likewise.
13631         * locale/duplocale.c: Likewise.
13632         * locale/freelocale.c: Likewise.
13633         * locale/newlocale.c: Likewise.
13634         * locale/setlocale.c: Likewise.
13635         * login/getutent_r.c: Likewise.
13636         * login/getutid_r.c: Likewise.
13637         * login/getutline_r.c: Likewise.
13638         * login/utmp-private.h: Likewise.
13639         * login/utmpname.c: Likewise.
13640         * malloc/mtrace.c: Likewise.
13641         * misc/efgcvt.c: Likewise.
13642         * misc/error.c: Likewise.
13643         * misc/fstab.c: Likewise.
13644         * misc/getpass.c: Likewise.
13645         * misc/mntent.c: Likewise.
13646         * misc/syslog.c: Likewise.
13647         * nis/nis_call.c: Likewise.
13648         * nis/nis_callback.c: Likewise.
13649         * nis/nss-default.c: Likewise.
13650         * nis/nss_compat/compat-grp.c: Likewise.
13651         * nis/nss_compat/compat-initgroups.c: Likewise.
13652         * nis/nss_compat/compat-pwd.c: Likewise.
13653         * nis/nss_compat/compat-spwd.c: Likewise.
13654         * nis/nss_nis/nis-alias.c: Likewise.
13655         * nis/nss_nis/nis-ethers.c: Likewise.
13656         * nis/nss_nis/nis-grp.c: Likewise.
13657         * nis/nss_nis/nis-hosts.c: Likewise.
13658         * nis/nss_nis/nis-network.c: Likewise.
13659         * nis/nss_nis/nis-proto.c: Likewise.
13660         * nis/nss_nis/nis-pwd.c: Likewise.
13661         * nis/nss_nis/nis-rpc.c: Likewise.
13662         * nis/nss_nis/nis-service.c: Likewise.
13663         * nis/nss_nis/nis-spwd.c: Likewise.
13664         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13665         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13666         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13667         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13668         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13669         * nis/nss_nisplus/nisplus-network.c: Likewise.
13670         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13671         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13672         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13673         * nis/nss_nisplus/nisplus-service.c: Likewise.
13674         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13675         * nis/ypclnt.c: Likewise.
13676         * nptl/libc_pthread_init.c: Likewise.
13677         * nss/getXXbyYY.c: Likewise.
13678         * nss/getXXent.c: Likewise.
13679         * nss/getXXent_r.c: Likewise.
13680         * nss/nss_db/db-XXX.c: Likewise.
13681         * nss/nss_db/db-netgrp.c: Likewise.
13682         * nss/nss_db/nss_db.h: Likewise.
13683         * nss/nss_files/files-XXX.c: Likewise.
13684         * nss/nss_files/files-alias.c: Likewise.
13685         * nss/nsswitch.c: Likewise.
13686         * posix/regex_internal.h: Likewise.
13687         * posix/wordexp.c: Likewise.
13688         * pwd/fgetpwent.c: Likewise.
13689         * resolv/res_hconf.c: Likewise.
13690         * resolv/res_libc.c: Likewise.
13691         * shadow/fgetspent.c: Likewise.
13692         * shadow/lckpwdf.c: Likewise.
13693         * shadow/sgetspent.c: Likewise.
13694         * socket/opensock.c: Likewise.
13695         * stdio-common/reg-modifier.c: Likewise.
13696         * stdio-common/reg-printf.c: Likewise.
13697         * stdio-common/reg-type.c: Likewise.
13698         * stdio-common/vfprintf.c: Likewise.
13699         * stdio-common/vfscanf.c: Likewise.
13700         * stdlib/abort.c: Likewise.
13701         * stdlib/cxa_atexit.c: Likewise.
13702         * stdlib/fmtmsg.c: Likewise.
13703         * stdlib/random.c: Likewise.
13704         * stdlib/setenv.c: Likewise.
13705         * string/strsignal.c: Likewise.
13706         * sunrpc/auth_none.c: Likewise.
13707         * sunrpc/bindrsvprt.c: Likewise.
13708         * sunrpc/create_xid.c: Likewise.
13709         * sunrpc/key_call.c: Likewise.
13710         * sunrpc/rpc_thread.c: Likewise.
13711         * sysdeps/arm/backtrace.c: Likewise.
13712         * sysdeps/generic/ldsodefs.h: Likewise.
13713         * sysdeps/generic/stdio-lock.h: Likewise.
13714         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13715         * sysdeps/i386/backtrace.c: Likewise.
13716         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13717         * sysdeps/m68k/backtrace.c: Likewise.
13718         * sysdeps/mach/hurd/cthreads.c: Likewise.
13719         * sysdeps/mach/hurd/dirstream.h: Likewise.
13720         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13721         * sysdeps/nptl/malloc-machine.h: Likewise.
13722         * sysdeps/nptl/stdio-lock.h: Likewise.
13723         * sysdeps/posix/dirstream.h: Likewise.
13724         * sysdeps/posix/getaddrinfo.c: Likewise.
13725         * sysdeps/posix/system.c: Likewise.
13726         * sysdeps/pthread/aio_suspend.c: Likewise.
13727         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13728         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13729         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13730         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13731         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13732         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13733         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13734         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13735         * sysdeps/unix/sysv/linux/system.c: Likewise.
13736         * sysdeps/x86_64/backtrace.c: Likewise.
13737         * time/alt_digit.c: Likewise.
13738         * time/era.c: Likewise.
13739         * time/tzset.c: Likewise.
13740         * wcsmbs/wcsmbsload.c: Likewise.
13741         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13742         instead of <bits/libc-lock.h> in comment.
13744 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13746         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13747         Only use .set mips2 if the current ISA is below mips2.
13748         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13749         Likewise.
13750         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13751         mips32r2 if the current ISA is below mips32r2.
13752         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13753         (TLS_IE): Updated to use the TLD_RDHWR macro.
13754         (TLS_LE): Likewise.
13755         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13756         __ASSEMBLER__ condition.
13758 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13760         Fix parallel build of before-compile targets.
13762         * sysdeps/mach/Makefile ($(patsubst
13763         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13764         mach-before-compile target.
13765         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13766         io fs process)): Move rule to dedicated hurd-before-compile target.
13768 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13770         Fix rules generating headers in hurd/ and mach/ when initial make call
13771         has subdir= explicitly set.
13773         * sysdeps/mach/Makefile ($(patsubst
13774         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13775         calling $(MAKE).
13776         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13777         io fs process)): Force subdir to hurd when calling $(MAKE).
13778         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13779         subdir to mach when calling $(MAKE).
13781 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13783         Check sysheaders when looking for Mach and Hurd headers
13785         * sysdeps/mach/configure.ac: Add sysheaders check.
13786         * sysdeps/mach/configure: Regenerate.
13787         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13788         * sysdeps/mach/hurd/configure: Regenerate.
13790 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13792         [BZ #18921]
13793         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13794         Fix inverted sense of test of 'o_directory_works' value.
13795         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13796         Bernhard Voelker <mail@bernhard-voelker.de>.
13798 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13800         [BZ #14912]
13801         * bits/linkmap.h: Move to ...
13802         * sysdeps/generic/linkmap.h: ...here.
13803         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13804         * sysdeps/aarch64/linkmap.h: ...here.
13805         * sysdeps/arm/bits/linkmap.h: Move to ...
13806         * sysdeps/arm/linkmap.h: ...here.
13807         * sysdeps/hppa/bits/linkmap.h: Move to ...
13808         * sysdeps/hppa/linkmap.h: ...here.
13809         * sysdeps/ia64/bits/linkmap.h: Move to ...
13810         * sysdeps/ia64/linkmap.h: ...here.
13811         * sysdeps/mips/bits/linkmap.h: Move to ...
13812         * sysdeps/mips/linkmap.h: ...here.
13813         * sysdeps/s390/bits/linkmap.h: Move to ...
13814         * sysdeps/s390/linkmap.h: ...here.
13815         * sysdeps/sh/bits/linkmap.h: Move to ...
13816         * sysdeps/sh/linkmap.h: ...here.
13817         * sysdeps/x86/bits/linkmap.h: Move to ...
13818         * sysdeps/x86/linkmap.h: ...here.
13819         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13821 2015-09-04  Andreas Schwab  <schwab@suse.de>
13823         [BZ #18635]
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13825         (__makecontext): Terminate FDE before return label.
13826         (__novec_makecontext): Likewise.
13828 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13830         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13831         first member of struct sv in syscall macro.
13833 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13835         [BZ #14912]
13836         * bits/stdio-lock.h: Move to ...
13837         * sysdeps/generic/stdio-lock.h: ...here.
13838         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13839         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13840         * sysdeps/nptl/stdio-lock.h: ...here.
13841         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13842         * include/libio.h: Include <stdio-lock.h> instead of
13843         <bits/stdio-lock.h>.
13844         * sysdeps/nptl/fork.c: Likewise.
13845         * sysdeps/pthread/flockfile.c: Likewise.
13846         * sysdeps/pthread/ftrylockfile.c: Likewise.
13847         * sysdeps/pthread/funlockfile.c: Likewise.
13849         [BZ #14912]
13850         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13851         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13852         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13853         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13854         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13855         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13856         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13858 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13860         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13861         (test-xfail-tst-protected1b): New variable.
13863 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13865         [BZ #14912]
13866         * bits/libc-tsd.h: Move to ...
13867         * sysdeps/generic/libc-tsd.h: ...here.
13868         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13869         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13870         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13871         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13872         * include/ctype.h: Include <libc-tsd.h> instead of
13873         <bits/libc-tsd.h>.
13874         * include/rpc/rpc.h: Likewise.
13875         * locale/localeinfo.h: Likewise.
13876         * sunrpc/rpc_thread.c: Likewise.
13877         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13878         * sysdeps/nptl/malloc-machine.h: Likewise.
13880         * Makefile (headers): Remove bits/libc-lock.h.
13881         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13883         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13884         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13885         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13886         <bits/stdio-lock.h>.
13887         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13888         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13890 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13892         [BZ #18757]
13893         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13894         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13895         BZ #18757.
13897 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13899         * malloc/mtrace.pl: Filter out NULL entries.
13901 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13903         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13904         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13905         macro.
13907         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13908         (TCP_CC_INFO): Likewise.
13909         (TCP_SAVE_SYN): Likewise.
13910         (TCP_SAVED_SYN): Likewise.
13912 2015-08-31  Brett Neumeier <brett@neumeier.us>
13914         [BZ #18870]
13915         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13917 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13919         [BZ #18873]
13920         Fix broken overflow check in posix_fallocate
13921         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13922         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13923         Fix parenthesization typo.
13925 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13927         [BZ #18887]
13928         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13929         tst-mntent-blank-passno.
13930         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13931         * misc/tst-mntent-blank-corrupt.c: New test.
13932         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13933         * misc/tst-mntent.c (do_test): ... here.
13935 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13937         [BZ #4404]
13938         * po/de.po: Fix SIGALRM typo.
13940 2015-08-28  James Perkins  <james@loowit.net>
13942         * time/tst-strptime2.c (tests): Replace short list of test
13943         strings for strptime %z specifier with code which exhaustively
13944         tests every combination of sign and 0 to 5 digits. Tests for
13945         rejection of invalid strings.
13947 2015-08-28  James Perkins  <james@loowit.net>
13949         [BZ #16141]
13950         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13951         calculation, removing incorrect decimal time rounding, so that
13952         all minute values result in a valid seconds value.
13953         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13954         offset range limits to UTC-99:59 through UTC+99:59 to parse
13955         current and historical use cases.
13956         * time/tst-strptime2.c (tests): Modify and add tests for the
13957         strptime %z input field descriptor, specifically conversion of
13958         minutes to seconds and validating an offset range of -9959 to
13959         +9959.
13961 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13962             Dmitry V. Levin  <ldv@altlinux.org>
13964         [BZ #18877]
13965         * posix/Makefile (tests): Add tst-mmap-offset.
13966         * posix/tst-mmap.c: New file.
13967         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13968         offset calculation for negative values.
13970 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13972         * sysdeps/i386/init-arch.h: New file.
13973         * sysdeps/i386/i586/init-arch.h: Likewise.
13974         * sysdeps/i386/i686/init-arch.h: Likewise.
13975         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13976         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13977         * sysdeps/x86/cpu-features.h (bit_I586): New.
13978         (bit_I686): Likewise.
13979         (bit_CX8): Likewise.
13980         (bit_CMOV): Likewise.
13981         (index_CX8): Likewise.
13982         (index_CMOV): Likewise.
13983         (index_I586): Likewise.
13984         (index_I686): Likewise.
13985         (reg_CX8): Likewise.
13986         (reg_CMOV): Likewise.
13987         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13988         available at compile-time.
13989         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13990         available at compile-time.
13991         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13992         (USE_I686): Likewise.
13994 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13996         * sysdeps/i386/bcopy.S: New file.
13997         * sysdeps/i386/bzero.S: Likewise.
13998         * sysdeps/i386/memcpy.S: Likewise.
13999         * sysdeps/i386/memmove.S: Likewise.
14000         * sysdeps/i386/mempcpy.S: Likewise.
14001         * sysdeps/i386/memset.S: Likewise.
14002         * sysdeps/i386/bzero.c: Removed.
14003         * sysdeps/i386/memset.c: Likewise.
14004         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14005         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14006         * sysdeps/i386/i586/memset_chk.S: Likewise.
14007         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14008         * sysdeps/i386/memcpy_chk.S: Here.
14009         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14010         * sysdeps/i386/memmove_chk.S: Here.
14011         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14012         * sysdeps/i386/mempcpy_chk.S: Likewise.
14013         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14014         * sysdeps/i386/memset_chk.S: Likewise.
14016 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14018         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14019         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14020         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14021         * soft-fp/fmadf4.c: Ditto.
14022         * soft-fp/fmatf4.c: Ditto.
14024 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14026         * sysdeps/i386/i586/Implies: Removed.
14027         * sysdeps/i386/i686/Implies: Likewise.
14029 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14031         * sysdeps/i386/i486/strlen.S: Moved to ...
14032         * sysdeps/i386/strlen.S: Here.
14034 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14036         * sysdeps/i386/i486/strcat.S: Moved to ...
14037         * sysdeps/i386/strcat.S: Here.
14039 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14041         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14042         * sysdeps/i386/pthread_spin_trylock.S: Here.
14043         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14044         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14046 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14048         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14049         * sysdeps/i386/string-inlines.c: Here.
14051 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14053         * sysdeps/i386/i486/htonl.S: Moved ...
14054         * sysdeps/i386/htonl.S: here.
14056 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14058         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14059         * sysdeps/i386/bits/atomic.h: Here.
14061 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14063         * sysdeps/i386/i486/Versions: Removed.
14065 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14067         [BZ #2898]
14068         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14069         Based on patch by Aurelien Jarno.
14071 2015-08-26  Stan Shebs  <stanshebs@google.com>
14073         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14074         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14076 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14078         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14079         * sysdeps/powerpc/dl-procinfo.c:
14080         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14081         feature so it shows when LD_SHOW_AUXV=1.
14083 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14085         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14086         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14087         definition.  ISA 2.07B no longer requires full sync.
14089 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14091         [BZ #18863]
14092         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14093         (si_call_addr): Define.
14094         (si_syscall): Define.
14095         (si_arch): Define.
14097 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14099         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14100         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14101         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14102         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14103         (__memset_zero_constant_len_parameter): New.
14104         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14105         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14106         (__memset_zero_constant_len_parameter): Don't define if
14107         __memset_chk or USE_AS_BZERO are defined.
14109         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14110         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14111         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14113         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14114         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14115         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14116         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14117         comments.
14118         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14119         -mno-mmx for $(all-rtld-routines).
14120         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14121         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14122         i386.
14124 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14126         * sysdeps/generic/unwind.h
14127         (_Unwind_Word): Use __mode__(__unwind_word__)
14128         instead of __mode__(__word__).
14129         (_Unwind_Sword): Likewise.
14131         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14132         (MAX_NEEDED_INPUT): New define.
14133         (MAX_NEEDED_OUTPUT): New define.
14135         * NEWS: New item for IBM z13 string optimizations.
14137         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14138         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14139         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14140         * sysdeps/s390/multiarch/Makefile
14141         (sysdep_routines): Add memrchr functions.
14142         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14143         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14145         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14146         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14147         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14148         * sysdeps/s390/multiarch/Makefile
14149         (sysdep_routines): Add wmemcmp functions.
14150         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14151         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14152         * benchtests/bench-wmemcmp.c: New File.
14153         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14155         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14156         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14157         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14158         * sysdeps/s390/multiarch/Makefile
14159         (sysdep_routines): Add wmemset functions.
14160         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14161         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14162         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14163         * string/test-memset.c: Add wmemset support.
14164         * wcsmbs/test-wmemset.c: New File.
14165         * wcsmbs/Makefile (strop-tests): Add wmemset.
14166         * benchtests/bench-memset.c: Add wmemset support.
14167         * benchtests/bench-wmemset.c: New File.
14168         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14170         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14171         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14172         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14173         * sysdeps/s390/multiarch/Makefile
14174         (sysdep_routines): Add memccpy functions.
14175         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14176         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14177         * string/memccpy.c: Use MEMCCPY if defined.
14179         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14180         * sysdeps/s390/multiarch/memchr.c: Likewise.
14181         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14182         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14183         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14184         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14185         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14186         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14187         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14188         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14189         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14190         and rawmemchr functions.
14191         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14192         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14193         and wmemchr.
14194         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14195         * string/test-memchr.c: Add wmemchr support.
14196         * wcsmbs/test-wmemchr.c: New File.
14197         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14198         * benchtests/bench-memchr.c: Add wmemchr support.
14199         * benchtests/bench-wmemchr.c: New File.
14200         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14202         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14203         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14204         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14205         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14206         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14207         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14208         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14209         wcscspn functions.
14210         * sysdeps/s390/multiarch/ifunc-impl-list.c
14211         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14212         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14213         * string/test-strcspn.c: Add wcscspn support.
14214         * wcsmbs/test-wcscspn.c: New File.
14215         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14216         * benchtests/bench-strcspn.c: Add wcscspn support.
14217         * benchtests/bench-wcscspn.c: New File.
14218         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14220         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14221         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14222         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14223         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14224         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14225         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14226         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14227         wcspbrk functions.
14228         * sysdeps/s390/multiarch/ifunc-impl-list.c
14229         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14230         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14231         * string/test-strpbrk.c: Add wcspbrk support.
14232         * wcsmbs/test-wcspbrk.c: New File.
14233         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14234         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14235         * benchtests/bench-wcspbrk.c: New File.
14236         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14238         * sysdeps/s390/multiarch/strspn-c.c: New File.
14239         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14240         * sysdeps/s390/multiarch/strspn.c: Likewise.
14241         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14242         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14243         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14244         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14245         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14246         wcsspn functions.
14247         * sysdeps/s390/multiarch/ifunc-impl-list.c
14248         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14249         * string/test-strspn.c: Add wcsspn support.
14250         * wcsmbs/test-wcsspn.c: New File.
14251         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14252         * benchtests/bench-strspn.c: Add wcsspn support.
14253         * benchtests/bench-wcsspn.c: New File.
14254         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14256         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14257         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14258         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14259         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14260         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14261         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14262         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14263         wcsrchr functions.
14264         * sysdeps/s390/multiarch/ifunc-impl-list.c
14265         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14266         * benchtests/bench-wcsrchr.c: New File.
14267         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14269         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14270         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14271         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14272         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14273         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14274         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14276         wcschrnul functions.
14277         * sysdeps/s390/multiarch/ifunc-impl-list.c
14278         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14279         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14280         * string/test-strchr.c: Add wcschrnul support.
14281         * wcsmbs/test-wcschrnul.c: New File.
14282         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14283         * benchtests/bench-strchr.c: Add wcschrnul support.
14284         * benchtests/bench-wcschrnul.c: New File.
14285         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14287         * sysdeps/s390/multiarch/strchr-c.c: New File.
14288         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14289         * sysdeps/s390/multiarch/strchr.c: Likewise.
14290         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14291         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14292         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14294         wcschr functions.
14295         * sysdeps/s390/multiarch/ifunc-impl-list.c
14296         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14297         * string/strchr.c (STRCHR): Define and use macro.
14298         * benchtests/bench-wcschr.c: New File.
14299         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14301         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14302         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14303         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14304         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14305         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14306         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14307         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14308         wcsncmp functions.
14309         * sysdeps/s390/multiarch/ifunc-impl-list.c
14310         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14311         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14312         * benchtests/bench-strncmp.c: Add wcsncmp support.
14313         * benchtests/bench-wcsncmp.c: New File.
14314         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14316         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14317         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14318         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14319         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14320         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14321         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14322         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14323         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14324         wcscmp functions.
14325         * sysdeps/s390/multiarch/ifunc-impl-list.c
14326         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14327         * string/strcmp.c (STRCMP): Define and use macro.
14328         * benchtests/bench-wcscmp.c: New File.
14329         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14330         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14331         instead of _HAVE_STRING_ARCH_memchr.
14333         * sysdeps/s390/multiarch/strncat-c.c: New File.
14334         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14335         * sysdeps/s390/multiarch/strncat.c: Likewise.
14336         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14337         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14338         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14340         wcsncat functions.
14341         * sysdeps/s390/multiarch/ifunc-impl-list.c
14342         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14343         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14344         * string/test-strncat.c: Add wcsncat support.
14345         * wcsmbs/test-wcsncat.c: New File.
14346         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14347         * benchtests/bench-strncat.c: Add wcsncat support.
14348         * benchtests/bench-wcsncat.c: New File.
14349         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14351         * sysdeps/s390/multiarch/strcat-c.c: New File.
14352         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14353         * sysdeps/s390/multiarch/strcat.c: Likewise.
14354         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14355         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14356         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14358         wcscat functions.
14359         * sysdeps/s390/multiarch/ifunc-impl-list.c
14360         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14361         * string/strcat.c (STRCAT): Define and use macro.
14362         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14363         * string/test-strcat.c: Add wcscat support.
14364         * wcsmbs/test-wcscat.c: New File.
14365         * wcsmbs/Makefile (strop-tests): Add wcscat.
14366         * benchtests/bench-strcat.c: Add wcscat support.
14367         * benchtests/bench-wcscat.c: New File.
14368         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14370         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14371         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14372         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14373         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14374         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14375         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14377         wcpncpy functions.
14378         * sysdeps/s390/multiarch/ifunc-impl-list.c
14379         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14380         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14381         * string/test-stpncpy.c: Add wcpncpy support.
14382         * wcsmbs/test-wcpncpy.c: New File.
14383         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14384         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14385         * benchtests/bench-wcpncpy.c: New File.
14386         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14388         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14389         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14390         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14391         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14392         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14393         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14394         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14395         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14396         wcsncpy functions.
14397         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14398         * sysdeps/s390/multiarch/ifunc-impl-list.c
14399         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14400         * string/test-strncpy.c: Add wcsncpy support.
14401         * wcsmbs/test-wcsncpy.c: New File.
14402         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14403         * benchtests/bench-strncpy.c: Add wcsncpy support.
14404         * benchtests/bench-wcsncpy.c: New File.
14405         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14407         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14408         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14409         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14410         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14411         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14412         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14413         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14414         wcpcpy functions.
14415         * string/stpcpy.c: Use STPCPY if defined.
14416         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14417         * sysdeps/s390/multiarch/ifunc-impl-list.c
14418         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14419         * string/test-stpcpy.c: Add wcpcpy support.
14420         * wcsmbs/test-wcpcpy.c: New File.
14421         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14422         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14423         * benchtests/bench-wcpcpy.c: New File.
14424         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14426         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14427         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14428         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14429         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14430         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14431         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14432         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14433         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14434         wcscpy functions.
14435         * sysdeps/s390/multiarch/ifunc-impl-list.c
14436         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14437         * benchtests/bench-wcscpy.c: New File.
14438         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14440         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14441         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14442         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14443         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14444         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14445         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14447         wcsnlen functions.
14448         * sysdeps/s390/multiarch/ifunc-impl-list.c
14449         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14450         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14451         * string/test-strnlen.c: Add wcsnlen support.
14452         * wcsmbs/test-wcsnlen.c: New File.
14453         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14454         * benchtests/bench-strnlen.c: Add wcsnlen support.
14455         * benchtests/bench-wcsnlen.c: New File.
14456         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14458         * sysdeps/s390/multiarch/Makefile: New File.
14459         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14460         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14461         * sysdeps/s390/multiarch/strlen.c: Likewise.
14462         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14463         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14464         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14465         * string/strlen.c (STRLEN): Define and use macro.
14466         * sysdeps/s390/multiarch/ifunc-impl-list.c
14467         (IFUNC_VX_IMPL): New macro function.
14468         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14469         * benchtests/Makefile (wcsmbs-bench): New variable.
14470         (string-bench-all): Added wcsmbs-bench.
14471         * benchtests/bench-wcslen.c: New File.
14473         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14474         s390_vx_libc_ifunc2): New macro function.
14476         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14477         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14478         assembler support.
14479         * sysdeps/s390/configure: Regenerated.
14481         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14482         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14484         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14485         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14486         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14488         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14489         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14490         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14491         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14492         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14493         (memcmp, bcmp): Use __memcmp_default as alias source.
14494         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14495         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14496         Rename to __memcmp_default.
14497         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14498         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14499         (memcpy): Use __memcpy_default as alias source.
14500         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14501         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14502         Rename to __memcpy_default.
14503         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14504         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14505         (memset): Use __memset_default as alias source.
14506         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14507         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14508         Rename to __memset_default.
14509         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14510         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14511         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14512         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14513         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14514         (memcmp, bcmp): Use __memcmp_default as alias source.
14515         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14516         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14517         Rename to __memcmp_default.
14518         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14519         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14520         (memcpy): Use __memcpy_default as alias source.
14521         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14522         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14523         Rename to __memcpy_default.
14524         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14525         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14526         (memset): Use __memset_default as alias source.
14527         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14528         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14529         Rename to __memset_default.
14530         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14531         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14533         [BZ #18610]
14534         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14535         __ieee_instruction_pointer to __unused.
14536         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14537         __ieee_instruction_pointer.
14538         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14539         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14540         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14541         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14542         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14543         Mark dxc-field as reserved.
14545 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14547         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14548         if the weak reference is not null.
14550 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14552         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14554         [BZ #11214]
14555         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14557 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14559         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14560         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14561         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14562         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14563         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14564         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14565         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14566         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14567         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14568         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14569         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14570         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14571         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14572         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14573         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14574         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14575         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14576         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14578 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14580         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14581         register other than r0 for tabort, it has special meaning.
14582         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14583         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14584         transaction before starting syscall.
14586 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14588         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14590 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14592         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14594         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14595         * sysdeps/x86_64/rtld-memset.S: Likewise.
14596         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14597         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14598         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14599         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14601         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14603 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14605         * debug/strcpy_chk.c: Improve performance.
14606         * debug/stpcpy_chk.c: Likewise.
14607         * sysdeps/x86_64/strcpy_chk.S: Remove.
14608         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14610         [BZ #18240]
14611         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14613 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14615         [BZ #15128]
14616         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14617         ifuncmain8.
14618         (modules-names): Add ifuncmod8.
14619         ($(objpfx)ifuncmain8): New rule.
14620         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14621         <cpuid.h>.
14622         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14623         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14624         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14625         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14626         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14627         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14628         * sysdeps/x86_64/ifuncmain8.c: New file.
14629         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14630         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14631         Removed.
14632         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14633         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14634         Change rtld_savespace_sse to __glibc_unused2.
14635         (RTLD_CHECK_FOREIGN_CALL): Removed.
14636         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14637         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14638         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14640 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14642         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14644 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14646         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14647         Unconditionally set __fpcr to avoid uninialized warning.
14648         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14650 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14652         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14653         is corrupt.
14655         * malloc/arena.c (arena_get2): Drop unused argument.
14656         (arena_lock): Adjust.
14657         (arena_get_retry): Likewise.
14659 2015-08-24  Andreas Schwab  <schwab@suse.de>
14661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14662         Don't define.
14663         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14664         (__ASSUME_IPC64): Don't undef.
14665         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14666         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14667         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14668         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14669         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14670         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14671         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14672         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14673         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14674         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14675         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14676         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14677         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14678         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14679         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14680         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14681         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14682         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14683         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14684         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14685         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14687 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14689         * manual/Makefile (install): Only build manual when perl is available.
14691 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14693         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14694         '#undef memcpy' by '#undef memchr'.
14696 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14698         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14699         memchr not point to the internal __GI_memchr implementation.
14701 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14703         * timezone/Makefile (CFLAGS-zdump.c): Remove
14704         -Wno-strict-prototypes.
14705         (CFLAGS-zic.c): Likewise.
14706         (CFLAGS-ialloc.c): Likewise.
14707         (CFLAGS-scheck.c): Likewise.
14709         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14710         -Wno-error=undef.
14712 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14714         * i386/i686/multiarch/strcasestr-c.c: Removed.
14715         * x86_64/multiarch/strcasestr.c: Likewise.
14716         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14717         Remove strcasestr.
14719 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14721         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14723         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14724         variables for high and low parts before possibly modifying them.
14726 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14728         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14729         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14730         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14731         of "multiarch/init-arch.h".
14732         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14733         * sysdeps/x86/init-arch.h: This.
14735 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14737         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14738         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14740 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14742         [BZ #17787]
14743         * manual/macros.texi: Add twoexp macro.
14744         * manual/filesys.texi: Fix exponents.
14745         * manual/llio.texi: Likewise.
14746         * manual/stdio.texi: Likewise.
14748 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14750         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14751         incorrect use.
14753 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14755         [BZ #18370]
14756         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14757         whose real or imaginary part has small absolute value.
14758         * math/s_csqrtf.c (__csqrtf): Likewise.
14759         * math/s_csqrtl.c (__csqrtl): Likewise.
14760         * math/auto-libm-test-in: Add more tests of csqrt.
14761         * math/auto-libm-test-out: Regenerated.
14762         * sysdeps/i386/fpu/libm-test-ulps: Update.
14764 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14766         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14767         __ppc_set_ppr_very_low): New functions.
14768         * manual/platform.texi: Add documentation about
14769         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14771 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14773         * string/stpncpy.c (stpncpy): Improve performance using
14774         __strnlen/memcpy/memset.
14776 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14778         [BZ #18796]
14779         * scripts/test-installation.pl: Don't add -lmvec to build options if
14780         libmvec wasn't built.
14782 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14784         [BZ #14341]
14785         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14786         case when there is a gap between DT_REL and DT_JMPREL sections.
14787         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14788         (LDFLAGS-tst-split-dynreloc): New.
14789         (tst-split-dynreloc-ENV): Likewise.
14790         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14791         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14793 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14795         [BZ #18822]
14796         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14797         attribute_hidden.
14798         (__xstat64_conv): Likewise.
14799         (__xstat32_conv): Likewise.
14801 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14803         [BZ #18822]
14804         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14805         Don't load %ebx when calling __setcontext.  Call __setcontext
14806         with HIDDEN_JUMPTARGET.
14807         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14808         libc_hidden_def.
14810 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14812         * sysdeps/i386/i686/Makefile
14813         [$(subdir) == string] (sysdep_routines): Moved to ...
14814         * sysdeps/i386/Makefile: Here.
14815         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14816         * sysdeps/i386/cacheinfo.c: Here.
14817         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14818         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14819         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14820         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14822 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14824         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14825         __i586__ is defined.
14826         (HAS_I686): Defined to 1 if __i686__ is defined.
14828 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14830         * elf/Makefile [$(have-z-execstack) = yes]
14831         (CPPFLAGS-tst-execstack.c): New variable.
14833         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14834         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14835         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14836         UTMPX || _HAVE_UT_TV].
14837         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14838         UTMPX || _HAVE_UT_TV - 0].
14840 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14842         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14843         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14844         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14846 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14848         * sysdeps/powerpc/dl-procinfo.c:
14849         (_dl_powerpc_cap_flags): Added missing strings for some
14850         hwcap features.
14851         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14853 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14855         Port the 0x7efe...feff pattern to GCC 6.
14856         See Steve Ellcey's bug report in:
14857         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14858         * string/memrchr.c (MEMRCHR):
14859         * string/rawmemchr.c (RAWMEMCHR):
14860         * string/strchr.c (strchr):
14861         * string/strchrnul.c (STRCHRNUL):
14862         Rewrite code to avoid issues with signed shift overflow.
14864 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14866         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14867         whether cpuid is available only if HAS_CPUID is 0.
14868         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14869         (HAS_I586): Likewise.
14870         (HAS_I686): Likewise.
14872 2015-08-18  Zack Weinberg  <zackw@panix.com>
14874         * misc/Versions (libc): Add GLIBC_2.23.
14876 2015-08-18  Alan Modra  <amodra@gmail.com>
14878         [BZ #18421]
14879         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14880         .Lp__global.
14881         (_start): Load %dp via .Lp__global.
14882         [!SHARED]: Use .section .rodata.
14884 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14886         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14887         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14889 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14891         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14892         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14894 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14896         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14897         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14899 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14901         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14902         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14904 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14906         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14907         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14909 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14911         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14912         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14914 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14916         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14918 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14920         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14921         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14922         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14923         (__ASSUME_LWS_CAS): Delete.
14925 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14927         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14928         * sysdeps/hppa/configure: Regenerated.
14929         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14930         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14931         * sysdeps/hppa/nptl/tls.h: Likewise.
14933 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14935         [BZ #18823]
14936         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14937         for scaling up small arguments.
14938         * math/s_csqrtf.c (__csqrtf): Likewise.
14939         * math/s_csqrtl.c (__csqrtl): Likewise.
14940         * math/auto-libm-test-in: Add more tests of csqrt.
14941         * math/auto-libm-test-out: Regenerated.
14943 2015-08-17  Andreas Schwab  <schwab@suse.de>
14945         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14946         version set GLIBC_2.19.
14948 2015-08-16  Zack Weinberg  <zackw@panix.com>
14950         [BZ #18681]
14951         * misc/regexp.h: This interface is no longer supported.
14952         Remove all contents, leaving only an #error directive.
14953         * misc/regexp.c (loc1, loc2, locs, step, advance):
14954         Demote to compatibility symbols.
14956 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14958         [BZ #18084]
14959         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14960         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14961         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14962         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14963         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14964         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14965         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14966         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14967         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14969 2015-08-15  Zack Weinberg  <zackw@panix.com>
14971         [BZ #18795]
14972         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14973         buffer length is known to be too large, not if it's known to be
14974         small enough.
14975         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14976         overflow at runtime, involving a length parameter, twice: once
14977         with a compile-time constant length parameter, once without.
14979 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14981         [BZ #18824]
14982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14983         scaling x * y up instead of down.
14984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14985         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14986         * math/auto-libm-test-in: Add more tests of fma.
14987         * math/auto-libm-test-out: Regenerated.
14989 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14991         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14993 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14995         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14996         unnecessary movq.
14997         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14998         Likewise.
15000 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15002         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15003         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15004         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15005         and tgamma.
15006         * math/auto-libm-test-out: Regenerated.
15007         * sysdeps/i386/fpu/libm-test-ulps: Update.
15008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15010         [BZ #16520]
15011         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15012         (__tanh): Force underflow exception for arguments with small
15013         absolute value.
15014         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15015         (__tanhf): Force underflow exception for arguments with small
15016         absolute value.
15017         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15018         (__tanhl): Force underflow exception for arguments with small
15019         absolute value.
15020         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15021         (__tanhl): Force underflow exception for arguments with small
15022         absolute value.
15023         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15024         (__tanhl): Force underflow exception for arguments with small
15025         absolute value.
15026         * math/auto-libm-test-in: Add more tests of tanh.
15027         * math/auto-libm-test-out: Regenerated.
15028         * sysdeps/i386/fpu/libm-test-ulps: Update.
15030 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15032         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15033         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15035 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15037         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15038         <cpuid.h>.
15040 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15042         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15043         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15045 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15047         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15048         Remove $(objpfx)init-arch.o.
15049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15050         init-arch.
15051         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15052         (INIT_ARCH_EXT): Defined as empty.
15053         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15054         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15055         __init_cpu_features call.  Replace HAS_XXX with
15056         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15057         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15058         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15059         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15060         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15061         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15062         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15063         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15069         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15070         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15072         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15073         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15075         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15077         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15078         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15079         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15080         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15081         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15083         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15084         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15085         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15093 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15095         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15096         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15097         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15098         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15099         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15100         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15101         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15102         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15103         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15104         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15105         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15106         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15107         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15108         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15109         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15110         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15111         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15112         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15113         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15114         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15115         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15116         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15117         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15118         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15119         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15120         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15121         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15122         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15123         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15124         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15125         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15126         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15127         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15128         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15129         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15130         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15131         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15132         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15133         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15134         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15135         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15136         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15137         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15139 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15142         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15143         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15144         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15145         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15146         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15147         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15148         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15149         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15150         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15151         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15152         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15153         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15154         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15155         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15156         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15157         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15158         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15159         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15160         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15162         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15163         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15164         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15165         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15166         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15167         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15168         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15169         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15170         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15171         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15172         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15173         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15174         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15175         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15176         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15177         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15179         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15180         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15181         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15182         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15183         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15185 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15187         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15188         (dl_platform_init): Call init_cpu_features.
15189         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15190         * sysdeps/i386/i686/cacheinfo.c
15191         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15192         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15193         * sysdeps/i386/i686/multiarch/Versions: Removed.
15194         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15195         Removed.
15196         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15197         * sysdeps/unix/sysv/linux/x86/Makefile
15198         (libpthread-sysdep_routines): Remove init-arch.
15199         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15200         <sysdeps/x86_64/dl-procinfo.c> instead of
15201         sysdeps/generic/dl-procinfo.c>.
15202         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15203         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15204         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15205         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15206         [$(subdir) == elf] (tests-static): Add
15207         tst-get-cpu-features-static.
15208         * sysdeps/x86/Versions: New file.
15209         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15210         * sysdeps/x86/cpu-features.c: Likewise.
15211         * sysdeps/x86/cpu-features.h: Likewise.
15212         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15213         * sysdeps/x86/libc-start.c: Likewise.
15214         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15215         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15216         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15217         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15218         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15219         Assume USE_MULTIARCH is defined and don't check it.
15220         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15221         (is_amd): Likewise.
15222         (max_cpuid): Likewise.
15223         (intel_check_word): Likewise.
15224         (__cache_sysconf): Don't call __init_cpu_features.
15225         (__x86_preferred_memory_instruction): Removed.
15226         (init_cacheinfo): Don't call __init_cpu_features. Replace
15227         __cpu_features with GLRO(dl_x86_cpu_features).
15228         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15229         (dl_platform_init): Call init_cpu_features.
15230         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15231         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15232         * sysdeps/x86_64/multiarch/Versions: Removed.
15233         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15234         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15235         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15236         Removed.
15237         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15239 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15241         [BZ #18820]
15242         * libio/Makefile (test-fmemopen-mem): New test.
15243         * libio/test-fmemopen.c (do_bz18820): New test.
15244         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15245         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15247 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15249         [BZ #16734]
15250         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15251         (FREE_BUF): Delete.
15252         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15253         * libio/genops.c (_IO_setb): Use malloc and free directly.
15254         (_IO_default_doallocate, _IO_default_finish): Likewise.
15255         ( _IO_unbuffer_all): Likewise.
15256         ( libc_freeres_fn): Likewise.
15257         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15258         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15259         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15260         (_IO_wdefault_doallocate): Likewise.
15262 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15264         [BZ #18086]
15265         * sysdeps/posix/nice.c (nice): Restore old errno.
15266         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15268 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15272 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15274         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15275         __bcopy and add a weak_alias to bcopy.
15276         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15277         for static build.
15279         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15280         cleanup macro usage.
15281         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15282         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15283         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15284         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15285         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15286         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15287         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15288         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15289         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15290         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15292         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15294         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15296         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15297         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15298         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15299         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15301         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15302         libc_hidden_def.
15303         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15305         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15306         (sysdep_routines): Add strstr-ppc64.
15307         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15309 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15311         [BZ #18778]
15312         * elf/Makefile (tests): Add Add tst-nodelete2.
15313         (modules-names): Add tst-nodelete2mod.
15314         (tst-nodelete2mod.so-no-z-defs): New.
15315         ($(objpfx)tst-nodelete2): Likewise.
15316         ($(objpfx)tst-nodelete2.out): Likewise.
15317         (LDFLAGS-tst-nodelete2): Likewise.
15318         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15319         out of loop through all loaded libraries.
15320         * elf/tst-nodelete2.c: New file.
15321         * elf/tst-nodelete2mod.c: Likewise.
15322         * elf/tst-znodelete-zlib.cc: Delete.
15324 2015-08-11  Andreas Schwab  <schwab@suse.de>
15326         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15327         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15328         (__openat64_nocancel): Likewise.
15330 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15332         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15333         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15334         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15335         * math/auto-libm-test-out: Regenerated.
15336         * sysdeps/i386/fpu/libm-test-ulps: Update.
15337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15339 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15341         [BZ #18790]
15342         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15343         threshold for returning +/- 1.
15344         * math/auto-libm-test-in: Add more tests of tanh.
15345         * math/auto-libm-test-out: Regenerated.
15346         * sysdeps/i386/fpu/libm-test-ulps: Update.
15348 2015-08-10  Andreas Schwab  <schwab@suse.de>
15350         [BZ #18781]
15351         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15352         MORE_OFLAGS to oflag.
15353         * io/test-lfs.c (do_test): Test openat64.
15355 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15357         [BZ #18789]
15358         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15359         smaller threshold for returning the argument.
15360         * math/auto-libm-test-in: Add more tests of sinh.
15361         * math/auto-libm-test-out: Regenerated.
15362         * sysdeps/i386/fpu/libm-test-ulps: Update.
15364 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15366         [BZ #18674]
15367         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15368         break.
15370 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15372         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15373         (generated): Don't add $(addprefix z.,$(tzfiles)).
15375 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15377         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15378         * scripts/sysd-rules.awk: Likewise.
15380 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15382         * iconvdata/tst-tables.sh: Change echo -n to printf.
15383         * nss/db-Makefile: Likewise.
15384         * posix/tst-getconf.sh: Likewise.
15385         * stdio-common/tst-unbputc.sh: Likewise.
15387 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15389         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15390         MADV_*_PAGES defines behind this feature check.
15392 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15394         [BZ #18480]
15395         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15396         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15397         Define.
15398         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15399         LOAD_REGS_5, LOAD_REGS_6): Update.
15400         (INTERNAL_SYSCALL): Update using new LOAD defines.
15401         (INTERNAL_SYSCALL_NCS): Likewise.
15402         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15404 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15406         [BZ #16734]
15407         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15409 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15411         [BZ #17905]
15412         * catgets/Makefile (tst-catgets-mem): New test.
15413         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15414         * catgets/open_catalog.c (__open_catalog): Likewise.
15415         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15417 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15419         [BZ #18787]
15420         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15421         clobber registers.
15422         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15423         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15424         Cast return to __typeof (oldval).
15426 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15428         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15429         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15430         and delete sys/syscall.h include.
15432 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15434         [BZ #16517]
15435         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15436         (tan): Force underflow exception for arguments with small absolute
15437         value.
15438         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15439         (__kernel_tanf): Force underflow exception for arguments with
15440         small absolute value.
15441         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15442         (__kernel_tanl): Force underflow exception for arguments with
15443         small absolute value.
15444         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15445         (__kernel_tanl): Force underflow exception for arguments with
15446         small absolute value.
15447         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15448         (__kernel_tanl): Force underflow exception for arguments with
15449         small absolute value.
15450         * math/auto-libm-test-in: Add more tests of tan.
15451         * math/auto-libm-test-out: Regenerated.
15453 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15455         Fix sysdeps/i386/fpu/s_scalbn.S build
15457         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15459 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15461         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15463 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15465         Fix gcrt0.o compilation
15467         When static-start-installed-name is different from
15468         start-installed-name, we must not use the shared objects.
15470         * csu/Makefile
15471         (extra-objs): Add gmon-start.o when building shared library and
15472         $(static-start-installed-name) is different from
15473         $(start-installed-name).
15474         $(objpfx)g$(static-start-installed-name): When building shared
15475         library and $(static-start-installed-name) is different from
15476         $(static-start-installed-name), revert to non-shared rule,
15477         i.e. using $(objpfx)% and gmon-start.o.
15479 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15481         [BZ #16519]
15482         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15483         (__ieee754_sinh): Force underflow exception for arguments with
15484         small absolute value.
15485         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15486         (__ieee754_sinhf): Force underflow exception for arguments with
15487         small absolute value.
15488         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15489         (__ieee754_sinhl): Force underflow exception for arguments with
15490         small absolute value.
15491         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15492         (__ieee754_sinhl): Force underflow exception for arguments with
15493         small absolute value.
15494         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15495         (__ieee754_sinhl): Force underflow exception for arguments with
15496         small absolute value.
15497         * math/auto-libm-test-in: Add more tests of sinh.
15498         * math/auto-libm-test-out: Regenerated.
15499         * sysdeps/i386/fpu/libm-test-ulps: Update.
15501 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15503         * libio/oldfileops.c: Include unistd.h.
15505 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15507         * stdlib/isomac.c: Include ctype.h.
15509 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15511         * dirent/tst-seekdir.c (main): Converted to ...
15512         (do_test): ... this.
15513         (TEST_FUNCTION): New macro.
15514         Include test-skeleton.c.
15515         * elf/tst-dlmodcount.c (main): Converted to ...
15516         (do_test): ... this.
15517         (TEST_FUNCTION): New macro.
15518         Include test-skeleton.c.
15519         * elf/tst-order-main.c (main): Converted to ...
15520         (do_test): ... this.
15521         (TEST_FUNCTION): New macro.
15522         Include test-skeleton.c.
15523         * elf/tst-pie2.c (main): Converted to ...
15524         (do_test): ... this.
15525         (TEST_FUNCTION): New macro.
15526         Include test-skeleton.c.
15527         * inet/tst-ether_aton.c (main): Converted to ...
15528         (do_test): ... this.
15529         (TEST_FUNCTION): New macro.
15530         Include test-skeleton.c.
15531         * misc/tst-mntent.c (main): Converted to ...
15532         (do_test): ... this.
15533         (TEST_FUNCTION): New macro.
15534         Include test-skeleton.c.
15535         * misc/tst-tsearch.c (main): Converted to ...
15536         (do_test): ... this.
15537         (TEST_FUNCTION): New macro.
15538         Include test-skeleton.c.
15539         * posix/tst-regexloc.c (main): Converted to ...
15540         (do_test): ... this.
15541         (TEST_FUNCTION): New macro.
15542         Include test-skeleton.c.
15543         * resolv/tst-aton.c (main): Converted to ...
15544         (do_test): ... this.
15545         (TEST_FUNCTION): New macro.
15546         Include test-skeleton.c.
15547         * stdio-common/test-fwrite.c (main): Converted to ...
15548         (do_test): ... this.
15549         (TEST_FUNCTION): New macro.
15550         Include test-skeleton.c.
15551         * stdio-common/tst-ferror.c (main): Converted to ...
15552         (do_test): ... this.
15553         (TEST_FUNCTION): New macro.
15554         Include test-skeleton.c.
15555         * stdio-common/tst-printf.c (main): Converted to ...
15556         (do_test): ... this.
15557         (TEST_FUNCTION): New macro.
15558         Include test-skeleton.c.
15559         * stdio-common/tst-printfsz.c (main): Converted to ...
15560         (do_test): ... this.
15561         (TEST_FUNCTION): New macro.
15562         Include test-skeleton.c.
15563         * stdlib/tst-strtod.c (main): Converted to ...
15564         (do_test): ... this.
15565         (TEST_FUNCTION): New macro.
15566         Include test-skeleton.c.
15567         * string/tst-strlen.c (main): Converted to ...
15568         (do_test): ... this.
15569         (TEST_FUNCTION): New macro.
15570         Include test-skeleton.c.
15571         * string/tst-svc.c (main): Converted to ...
15572         (do_test): ... this.
15573         (TEST_FUNCTION): New macro.
15574         Include test-skeleton.c.
15575         * time/tst-strptime.c (main): Converted to ...
15576         (do_test): ... this.
15577         (TEST_FUNCTION): New macro.
15578         Include test-skeleton.c.
15579         * timezone/tst-timezone.c (main): Converted to ...
15580         (do_test): ... this.
15581         (TEST_FUNCTION): New macro.
15582         Include test-skeleton.c.
15584 2015-08-05  Zack Weinberg  <zackw@panix.com>
15586         * misc/regexp.h: Update comments.
15588 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15590         [BZ #18635]
15591         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15592         before return label.
15594 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15596         [BZ #18661]
15597         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15598         when calling __errno_location.
15599         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15600         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15602 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15604         [BZ #18661]
15605         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15606         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15607         __gettimeofday.
15609 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15611         [BZ #18661]
15612         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15613         (__start_context): Don't use pop to restore %rdi so that stack
15614         is aligned to 16 bytes when calling __setcontext.
15616 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15618         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15619         only for libc.
15620         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15622 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15624         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15625         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15626         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15628 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15630         * string/memccpy.c (memccpy):
15631         Improve performance by using memchr/memcpy/__mempcpy.
15633 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15635         * string/strncpy.c (strncpy):
15636         Improve performance by using __strnlen/memcpy.
15638 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15640         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15641         Optimize to avoid an unnecessary FPCR read.
15643 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15645         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15646         Optimize to reduce FPCR/FPSR accesses.
15648 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15650         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15651         dead->data[category] != NULL.
15653 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15655         [BZ #18647]
15656         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15657         and |x| close to 1, use absolute value of x when computing log.
15658         * math/auto-libm-test-in: Add more tests of pow.
15659         * math/auto-libm-test-out: Regenerated.
15661 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15663         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15664         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15665         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15667 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15669         [BZ #18525]
15670         * locales/km_KH: Remove timezone definition.
15671         * locales/lo_LA: Likewise.
15672         * locales/my_MM: Likewise.
15673         * locales/nan_TW@latin: Likewise.
15674         * locales/th_TH: Likewise.
15675         * locales/uk_UA: Likewise.
15677 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15679         [BZ #18265]
15680         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15681         (wcsncat): Likewise.
15682         (wcscmp): Likewise.
15683         (wcsncmp): Likewise.
15685 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15687         * test-skeleton.c (usage): New function.
15688         (main): Call usage when opt is '?'.
15690 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15692         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15693         before first use.
15695 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15697         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15698         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15699         in there too.
15701 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15703         * version.h (RELEASE): Set to "development".
15704         (VERSION): Set to "2.22.90"
15706         * version.h (RELEASE): Set to "stable".
15707         (VERSION): Set to "2.22"
15708         * include/features.h (__GLIBC_MINOR__): Set to 22.
15710 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15712         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15713         Restructure macro to avoid "value computed is not used" warning.
15714         (atomic_compare_and_exchange_val_acq): Likewise.
15716 2015-08-04  Andreas Schwab  <schwab@suse.de>
15718         [BZ #18635]
15719         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15720         ret.
15721         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15723 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15725         * po/pl.po: Updated translation.
15726         * po/uk.po: Likewise.
15727         * po/fi.po: Likewise.
15728         * po/ko.po: Likewise.
15729         * po/ru.po: Likewise.
15730         * po/vi.po: Likewise.
15732 2015-07-31  Zack Weinberg  <zackw@panix.com>
15734         [BZ #18681]
15735         * regexp.h: Add unconditional #warning stating that this header
15736         will be removed soon.  Revise banner comment to match.
15737         (compile): Consistently use ERROR instead of RETURN to report
15738         errors (partial fix for bz#18681).
15739         * regexp.c: Don't include regexp.h. Remove some unnecessary
15740         declarations.
15742 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15744         * po/libc.pot: Regenerated.
15746 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15748         [BZ #18740]
15749         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15750         float-vlen4-arch-ext-cflags): Removed.
15751         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15752         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15754 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15756         [BZ #14113]
15757         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15758         aligned to __aligned__.
15759         (pthread_cond_t, pthread_rwlock_t): Likewise.
15761 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15763         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15765 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15767         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15768         (struct sigaction): Change sa_flags from a long to an int, and add
15769         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15771 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15773         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15774         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15775         sysdeps/generic/sysdep.h include.
15776         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15777         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15778         sysdeps/hppa/sysdep.h.
15779         (ENTRY, PSEUDO): Undefine before defining.
15781 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15783         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15784         from scratch to use INTERNAL_SYSCALL.
15786 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15788         [BZ #18078]
15789         * scripts/check-localplt.awk: Support alternate relocations.
15790         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15791         sections.
15792         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15793         malloc entries with + REL R_386_GLOB_DAT.
15794         * sysdeps/x86_64/localplt.data: New file.
15796 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15798         [BZ #18731]
15799         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15800         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15801         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15803 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15805         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15807 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15809         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15810         directly in terms of __sync_fetch_and_add and delete (int) cast.
15812 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15814         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15815         the -D_ASM_IA64_CURRENT_H flag.
15817 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15819         [BZ #18641]
15820         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15822 2015-07-27  Andreas Schwab  <schwab@suse.de>
15824         * conform/conformtest.pl (checknamespace): Filter out string
15825         literals while tokenizing.
15827 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15829         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15830         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15831         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15833 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15835         * nptl/tst-join7mod.c: Add #include <string.h>.
15837 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15839         * sysdeps/nios2/libm-test-ulps: Update.
15841 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15843         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15844         Fix order of arguments to the rt_sigprocmask syscall.
15845         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15846         Likewise.
15848 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15850         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15852 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15854         [BZ #18457]
15855         * nptl/Makefile (tests): New test case tst-join7.
15856         (modules-names): New test case module tst-join7mod.
15857         * nptl/tst-join7.c: New file.
15858         * nptl/tst-join7mod.c: New file.
15859         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15860         all translation units in libc.so, libpthread.so and rtld.
15862 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15866 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15868         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15870         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15871         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15872         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15874         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15877         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15878         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15879         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15880         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15881         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15882         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15883         implementation.
15885 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15887         [BZ #17711]
15888         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15889         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15890         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15891         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15892         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15893         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15895 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15897         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15898         instead of just saying load lock in the comments.
15900 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15902         * sysdeps/unix/Subdirs: Moved ...
15903         * sysdeps/posix/Subdirs: ... here.
15904         * login/pty.h (struct termios, struct winsize): Add forward decls.
15905         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15906         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15907         * sysdeps/arm/nacl/libc.abilist: Updated.
15908         * sysdeps/nacl/libutil.abilist: New file.
15910         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15911         (SIGWINCH): New macro.
15913         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15914         * sysdeps/arm/nacl/libc.abilist: Add it.
15916 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15918         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15920 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15922         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15923         Swap __glibc_reserved0 and sa_flags order.
15925 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15927         [BZ #18657]
15928         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15929         are pending TLS destructor calls.
15930         * include/link.h (struct link_map): Add concurrency note for
15931         L_TLS_DTOR_COUNT.
15932         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15933         Don't touch the link map flag.  Atomically increment
15934         l_tls_dtor_count.
15935         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15936         Avoid taking the load lock and don't touch the link map flag.
15937         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15938         * stdlib/Makefile (tests): Use it.
15939         * stdlib/tst-tls-atexit.c (do_test): dlopen
15940         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15941         to allow tst-tls-atexit-nodelete test case to use it.
15943 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15945         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15946         to bits/types.h.
15947         (msgqnum_t): New typedef.
15948         (msglen_t): Likewise.
15949         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15950         and msg_qbytes type to msglen_t.
15952 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15954         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15955         pad0 to __glibc_reserved0.
15956         (struct stat64): Likewise.
15958 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15960         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15961         Change sa_flags from a long to an int and add __glibc_reserved0 before
15962         it for padding.
15964 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15966         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15967         anonymous by deleting "siginfo" name.
15969 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15971         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15972         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15973         rather than __nacl_irt_filename.
15974         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15976         * NEWS: New item for arm-nacl port.
15977         * sysdeps/arm/nacl/libc.abilist: New file.
15978         * sysdeps/nacl/ld.abilist: New file.
15979         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15980         * sysdeps/nacl/libanl.abilist: New file.
15981         * sysdeps/nacl/libcrypt.abilist: New file.
15982         * sysdeps/nacl/libdl.abilist: New file.
15983         * sysdeps/nacl/libm.abilist: New file.
15984         * sysdeps/nacl/libpthread.abilist: New file.
15985         * sysdeps/nacl/libresolv.abilist: New file.
15986         * sysdeps/nacl/librt.abilist: New file.
15988 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15990         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15991         __startcontext to initialize the new context.
15992         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15993         up CFI directive to forbid further backtracing.
15995 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15997         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15998         reference.
15999         * charmaps/ANSI_X3.4-1968: Likewise.
16000         * charmaps/BS_4730: Likewise.
16001         * charmaps/BS_VIEWDATA: Likewise.
16002         * charmaps/CP1250: Likewise.
16003         * charmaps/CP1251: Likewise.
16004         * charmaps/CP1252: Likewise.
16005         * charmaps/CP1253: Likewise.
16006         * charmaps/CP1254: Likewise.
16007         * charmaps/CP1255: Likewise.
16008         * charmaps/CP1256: Likewise.
16009         * charmaps/CSN_369103: Likewise.
16010         * charmaps/EBCDIC-DK-NO: Likewise.
16011         * charmaps/GB_1988-80: Likewise.
16012         * charmaps/GREEK-CCITT: Likewise.
16013         * charmaps/GREEK7: Likewise.
16014         * charmaps/INIS-8: Likewise.
16015         * charmaps/ISIRI-3342: Likewise.
16016         * charmaps/ISO_2033-1983: Likewise.
16017         * charmaps/ISO_5427-EXT: Likewise.
16018         * locales/POSIX: Likewise.
16019         * locales/ar_SA: Likewise.
16020         * locales/be_BY: Likewise.
16021         * locales/be_BY@latin: Likewise.
16022         * locales/ca_ES: Likewise.
16023         * locales/cs_CZ: Likewise.
16024         * locales/da_DK: Likewise.
16025         * locales/de_BE: Likewise.
16026         * locales/de_CH: Likewise.
16027         * locales/de_LU: Likewise.
16028         * locales/en_AU: Likewise.
16029         * locales/en_BW: Likewise.
16030         * locales/en_CA: Likewise.
16031         * locales/en_DK: Likewise.
16032         * locales/en_GB: Likewise.
16033         * locales/en_IE: Likewise.
16034         * locales/en_NZ: Likewise.
16035         * locales/en_ZA: Likewise.
16036         * locales/en_ZW: Likewise.
16037         * locales/es_AR: Likewise.
16038         * locales/es_BO: Likewise.
16039         * locales/es_CL: Likewise.
16040         * locales/es_CO: Likewise.
16041         * locales/es_DO: Likewise.
16042         * locales/es_EC: Likewise.
16043         * locales/es_ES: Likewise.
16044         * locales/es_HN: Likewise.
16045         * locales/es_MX: Likewise.
16046         * locales/es_PA: Likewise.
16047         * locales/es_PE: Likewise.
16048         * locales/es_PY: Likewise.
16049         * locales/es_SV: Likewise.
16050         * locales/es_US: Likewise.
16051         * locales/es_UY: Likewise.
16052         * locales/es_VE: Likewise.
16053         * locales/et_EE: Likewise.
16054         * locales/fa_IR: Likewise.
16055         * locales/fo_FO: Likewise.
16056         * locales/fr_CA: Likewise.
16057         * locales/fr_CH: Likewise.
16058         * locales/gv_GB: Likewise.
16059         * locales/he_IL: Likewise.
16060         * locales/hr_HR: Likewise.
16061         * locales/id_ID: Likewise.
16062         * locales/is_IS: Likewise.
16063         * locales/it_CH: Likewise.
16064         * locales/iw_IL: Likewise.
16065         * locales/kl_GL: Likewise.
16066         * locales/ko_KR: Likewise.
16067         * locales/kw_GB: Likewise.
16068         * locales/lg_UG: Likewise.
16069         * locales/lt_LT: Likewise.
16070         * locales/lv_LV: Likewise.
16071         * locales/mi_NZ: Likewise.
16072         * locales/nhn_MX: Likewise.
16073         * locales/nl_BE: Likewise.
16074         * locales/pl_PL: Likewise.
16075         * locales/sk_SK: Likewise.
16076         * locales/sl_SI: Likewise.
16077         * locales/sv_FI: Likewise.
16078         * locales/tl_PH: Likewise.
16079         * locales/tr_TR: Likewise.
16080         * locales/vi_VN: Likewise.
16082 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16084         [BZ #17475]
16085         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16086         of tu_IN and bh_IN.
16088 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16090         [BZ #18694]
16091         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16092         bits/wordsize.h.
16093         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16095 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16097         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16098         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16099         (spawn_thread): New function.
16100         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16101         (do_test): ... here.  Use IS_LOADED to test for its
16102         availability.
16104 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16106         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16108 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16110         [BZ #18696]
16111         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16112         si_addr_bnd.
16113         (si_lower): New.
16114         (si_upper): Likewise.
16116 2015-07-16  David S. Miller  <davem@davemloft.net>
16118         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16120 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16122         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16123         buffer.
16124         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16125         fail output information.
16127 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16130         and strstr-ppc64..
16131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16133         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16134         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16135         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16137 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16139         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16140         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16141         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16142         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16144 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16146         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16147         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16148         rtld_hidden_proto.
16149         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16151 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16153         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16154         the test can fail.
16156         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16158         [BZ #18676]
16159         * elf/tst-nodelete-opened.c: New test case.
16160         * elf/tst-nodelete-opened-lib.c: New test case module.
16161         * elf/Makefile (tests, modules-names): Use them.
16162         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16163         early.
16165 2015-07-15  David S. Miller  <davem@davemloft.net>
16167         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16168         futex-intenal.h
16169         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16170         * sysdeps/sparc/sparc64/Makefile: Likewise.
16171         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16172         Remove space from macro define.
16173         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16175 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16177         [BZ #17475]
16178         * locale/iso-639.def: Update Bhili and Tulu language codes as
16179         per iso639-3.
16181 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16183         * elf/tst-leaks1.c (main): Converted to ...
16184         (do_test): ... this.
16185         (TEST_FUNCTION): New macro.
16186         Include test-skeleton.c.
16187         * localedata/tst-langinfo.c (main): Converted to ...
16188         (do_test): ... this.
16189         (TEST_FUNCTION): New macro.
16190         Include test-skeleton.c.
16191         * math/test-fpucw.c (main): Converted to ...
16192         (do_test): ... this.
16193         (TEST_FUNCTION): New macro.
16194         Include test-skeleton.c.
16195         * math/test-tgmath.c (main): Converted to ...
16196         (do_test): ... this.
16197         (TEST_FUNCTION): New macro.
16198         Include test-skeleton.c.
16199         * math/test-tgmath2.c (main): Converted to ...
16200         (do_test): ... this.
16201         (TEST_FUNCTION): New macro.
16202         Include test-skeleton.c.
16203         * setjmp/tst-setjmp.c (main): Converted to ...
16204         (do_test): ... this.
16205         (TEST_FUNCTION): New macro.
16206         Include test-skeleton.c.
16207         * stdio-common/tst-sscanf.c (main): Converted to ...
16208         (do_test): ... this.
16209         (TEST_FUNCTION): New macro.
16210         Include test-skeleton.c.
16211         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16212         (do_test): ... this.
16213         (TEST_FUNCTION): New macro.
16214         Include test-skeleton.c.
16216         * elf/tst-audit9.c (main): Converted to ...
16217         (do_test): ... this.
16218         (TEST_FUNCTION): New macro.
16219         Include test-skeleton.c.
16221 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16223         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16225 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16227         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16228         New variable.
16230 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16232         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16234 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16236         * sysdeps/generic/dl-fileid.h: New file.
16237         * sysdeps/posix/dl-fileid.h: New file.
16238         * sysdeps/nacl/dl-fileid.h: New file.
16239         * include/link.h: Include <dl-fileid.h>.
16240         (struct link_map): Replace l_dev and l_ino with l_file_id.
16241         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16242         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16243         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16245 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16249 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16251         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16252         Add iff $CXX is set.
16253         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16254         Likewise.
16255         (tst-nodelete-zmodiff): Likewise.
16256         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16258 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16260         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16262 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16264         * sysdeps/aarch64/fpu/math_private.h
16265         (define math_opt_barrier): Add AArch64 version.
16266         (math_force_eval): Likewise.
16268 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16270         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16272 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16274         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16275         %ld with %jd and cast to intmax_t.
16276         (do_test_length_zero): Likewise.
16278 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16280         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16282 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16284         * sysdeps/tile/libm-test-ulps: Regenerated.
16286         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16287         Comment out the whole function, not just its body.
16289 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16291         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16292         locks.
16294         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16296 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16298         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16299         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16301 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16303         * sysdeps/nptl/futex-internal.h: New file.
16304         * sysdeps/nacl/futex-internal.h: New file.
16305         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16306         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16307         error checking.
16308         (setxid_unmark_thread): Likewise.
16309         (__nptl_setxid): Likewise.
16310         (__wait_lookup_done): Likewise.
16311         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16312         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16313         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16314         * nptl/pthread_once.c (clear_once_control): Likewise.
16315         (__pthread_once_slow): Likewise.
16316         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16317         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16318         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16319         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16320         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16321         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16322         Likewise.
16323         (__pthread_rwlock_rdlock): Likewise.
16324         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16325         Likewise.
16326         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16327         Likewise.
16328         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16329         Likewise.
16330         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16331         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16332         Likewise.
16333         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16334         __ASSUME_PRIVATE_FUTEX check.
16335         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16336         Check that shared futexes are supported.
16337         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16338         wrappers with error checking.
16339         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16340         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16341         * nptl/pthread_barrierattr_setpshared.c
16342         (pthread_barrierattr_setpshared): Check that shared futexes are
16343         supported.
16344         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16345         Likewise.
16346         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16347         Likewise.
16348         * nptl/sem_init.c (futex_private_if_supported): Remove.
16349         (__new_sem_init): Adapt and check that shared futexes are supported.
16350         * nptl/sem_open.c (sem_open): Likewise.
16351         * nptl/sem_post.c (futex_wake): Remove.
16352         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16353         (do_futex_wait): Use futex wrappers with error checking.
16354         * nptl/sem_wait.c: Include lowlevellock.h.
16355         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16356         Use futex_supports_pshared.
16357         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16358         Use futex wrappers with error checking.
16359         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16360         Likewise.
16361         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16362         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16363         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16364         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16365         (futex_wake): Likewise.
16366         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16367         (do_futex_wait): Use futex wrappers with error checking.
16368         (__new_sem_wait_slow): Update EINTR handling.
16369         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16371 2015-07-09  Martin Sebor  <msebor@redhat.com>
16373         [BZ #18435]
16374         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16375         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16376         * nptl/Makefile (test-xfail-tst-once5): Define.
16378 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16380         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16381         * elf/dl-minimal.c: For readability, reorder some definitions and
16382         introduce more page breaks.  Include <stdio.h>.
16383         (__libc_fatal): New function.
16385         * include/unistd.h: Add rtld_hidden_proto for _exit.
16386         * posix/_exit.c: Add rtld_hidden_def.
16387         * sysdeps/mach/hurd/_exit.c: Likewise.
16388         * sysdeps/nacl/_exit.c: Likewise.
16389         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16390         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16392 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16394         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16395         bndmov encoding with zero displacement.
16397 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16398             H.J. Lu  <hongjiu.lu@intel.com>
16400         [BZ #18134]
16401         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16402         * sysdeps/i386/configure: Regenerated.
16403         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16404         (_dl_runtime_profile): Save and restore Intel MPX return bound
16405         registers when calling _dl_call_pltexit.  Add
16406         PRESERVE_BND_REGS_PREFIX before return.
16407         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16408         (LRV_BND1_OFFSET): Likewise.
16409         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16410         lrv_bnd1.
16411         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16412         typo in bndmov encoding.
16413         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16414         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16415         branch instructions to preserve bounds.
16417 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16420         [GLIBC_2.22]: Add fmemopen.
16422 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16424         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16425         returns an error, also try to use host port from __mach_host_self for
16426         the __vm_wire call.
16427         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16429 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16431         [BZ #18400]
16432         [BZ #18648]
16433         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16434         Fix pr_uid and pr_gid members.
16435         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16436         definition to elf_greg_t.
16438 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16440         [BZ #18383]
16441         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16442         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16443         * sysdeps/arm/configure: Regenerated.
16444         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16445         (test-xfail-tst-tlsalign-static): Variable removed.
16447         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16448         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16449         rather than explicit 'ln -s'.
16451         * resolv/rpc/netdb.h: New file.
16452         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16454 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16456         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16457         length buffers.
16458         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16459         test-skeleton.c.
16461         [BZ #6544]
16462         [BZ #11216]
16463         [BZ #12836]
16464         [BZ #13151]
16465         [BZ #13152]
16466         [BZ #14292]
16467         * include/stdio.h (fmemopen): Remove hidden prototype.
16468         (__fmemopen): Add new hidden prototype.
16469         * libio/Makefile: Add oldfmemopen object.
16470         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16471         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16472         compliance.
16473         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16474         symbol compatibility.
16475         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16476         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16477         fmemopen.
16478         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16479         on append and read mode.
16480         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16481         fmemopen.
16482         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16483         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16484         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16485         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16486         Likewise.
16487         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16488         [GLIBC_2.22]: Likewise.
16489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16490         Likewise.
16491         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16492         Likewise.
16493         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16494         [GLIBC_2.22]: Likewise.
16495         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16496         [GLIBC_2.22]: Likewise.
16497         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16498         [GLIBC_2.22]: Likewise.
16499         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16500         [GLIBC_2.22]: Likewise.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16502         [GLIBC_2.22]: Likewise.
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16504         [GLIBC_2.22]: Likewise.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16506         [GLIBC_2.22]: Likewise.
16507         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16508         Likewise.
16509         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16510         Likewise.
16511         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16512         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16513         [GLIBC_2.22]: Likewise.
16514         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16515         [GLIBC_2.22]: Likewise.
16516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16517         [GLIBC_2.22]: Likewise.
16518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16519         [GLIBC_2.22]: Likewise.
16520         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16521         Likewise.
16522         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16523         Likewise.
16524         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16525         Likewise.
16526         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16527         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16529 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16531         [BZ #18643]
16532         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16533         IPV6_PATHMTU, and IPV6_DONTFRAG.
16535 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16537         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16538         and _IO_UNBUFFERED.
16539         * libio/oldfileops.c: Likewise.
16540         * libio/wfileops.c: Likewise.
16542 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16544         * nscd/selinux.c: Delete selinux/flask.h include.
16546 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16548         [BZ #18641]
16549         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16550         (putpwent): Likewise.
16551         (getpwnam): Likewise.
16552         (getpwent_r): Likewise.
16553         (getpwuid_r): Likewise.
16554         (getpwnam_r): Likewise.
16555         (fgetpwent_r): Likewise.
16557 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16559         [BZ #18557]
16560         * inet/rcmd.c (__validuser2_sa): Check user first to
16561         short-circuit host check.
16563 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16564             Mikhail Ilin  <m.ilin@samsung.com>
16566         [BZ #17833]
16567         * elf/Makefile (tests): Add tst-nodelete.
16568         (modules-names): Add tst-nodelete-uniquemod.
16569         (tst-nodelete-uniquemod.so-no-z-defs): New.
16570         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16571         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16572         ($(objpfx)tst-nodelete): Likewise.
16573         ($(objpfx)tst-nodelete.out): Likewise.
16574         (LDFLAGS-tst-nodelete): Likewise.
16575         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16576         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16577         implement forced object deletion.
16578         (_dl_close): Pass false to _dl_close_worker.
16579         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16580         * elf/tst-nodelete.cc: New file.
16581         * elf/tst-nodeletelib.cc: Likewise.
16582         * elf/tst-znodeletelib.cc: Likewise.
16583         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16585 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16587         [BZ #18508]
16588         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16589         Depend on $(libdl).
16590         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16591         is not called infinitely times.
16592         (backtrace_helper): New function.
16593         (trace_arg): New struct.
16594         (st1): Enlarge stack size.
16595         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16596         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16597         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16598         Likewise.
16600 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16602         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16604 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16606         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16607         Include sys/types.h instead of bits/types.h.
16608         Remove inclusion of bits/wordsize.h.
16610 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16612         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16613         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16614         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16615         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16616         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16617         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16619 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16621         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16622         link-defines.sym.
16623         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16624         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16625         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16626         and LR_SIZE.
16627         * sysdeps/i386/link-defines.sym: New file.
16629 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16631         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16632         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16633         ($(objpfx)tst-audit3): New rule.
16634         ($(objpfx)tst-audit3.out): Likewise.
16635         * sysdeps/i386/tst-audit3.c: New file.
16636         * sysdeps/i386/tst-audit3.h: Likewise.
16637         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16638         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16640 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16642         [BZ #18633]
16643         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16644         pointer in C code.
16645         (__strcat_c): Likewise.
16646         (__strcat_g): Likewise.
16648 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16650         [BZ #18592]
16651         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16653 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16655         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16656         New function.  (__ieee754_sqrtf): New function.
16657         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16658         New function.
16659         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16660         New function.
16662 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16664         * sysdeps/ieee754/support.c: Remove unused file.
16666 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16668         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16669         registers instead of d ones so the layout is kernel abi compatible.
16670         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16671         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16672         Likewise.
16674 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16676         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16678 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16680         [BZ #18619]
16681         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16682         and return argument in case of subnormal argument.
16684 2015-07-01  Martin Sebor  <msebor@redhat.com>
16686         [BZ #18435]
16687         * nptl/Makefile: Add tst-once5.cc.
16688         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16689         Remove macro redefinitions.
16690         * nptl/tst-once5.cc: New test.
16692 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16694         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16696         * sysdeps/arm/libm-test-ulps: Regenerated.
16698         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16699         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16701 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16703         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16704         lll_lock_wait_private and lll_futex_wake probes.
16706         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16707         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16708         Likewise.
16709         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16710         atomic_spin_nop.
16711         * sysdeps/x86_64/bits/atomic.h: Likewise.
16712         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16713         to atomic_spin_nop and move ...
16714         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16715         ... here and ...
16716         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16717         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16718         atomic_spin_nop instead of BUSY_WAIT_NOP.
16719         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16720         Likewise.
16721         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16722         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16723         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16724         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16725         instead of atomic_delay.
16727 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16729         [BZ #18613]
16730         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16731         X_ADJ not X when adjusting exponent.
16732         (__ieee754_gamma_r): Do intermediate computations in
16733         round-to-nearest then adjust overflowing and underflowing results
16734         as needed.
16735         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16736         of X_ADJ not X when adjusting exponent.
16737         (__ieee754_gammaf_r): Do intermediate computations in
16738         round-to-nearest then adjust overflowing and underflowing results
16739         as needed.
16740         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16741         log of X_ADJ not X when adjusting exponent.
16742         (__ieee754_gammal_r): Do intermediate computations in
16743         round-to-nearest then adjust overflowing and underflowing results
16744         as needed.  Use 1.0L not 1.0f as numerator of division.
16745         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16746         log of X_ADJ not X when adjusting exponent.
16747         (__ieee754_gammal_r): Do intermediate computations in
16748         round-to-nearest then adjust overflowing and underflowing results
16749         as needed.  Use 1.0L not 1.0f as numerator of division.
16750         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16751         of X_ADJ not X when adjusting exponent.
16752         (__ieee754_gammal_r): Do intermediate computations in
16753         round-to-nearest then adjust overflowing and underflowing results
16754         as needed.  Use 1.0L not 1.0f as numerator of division.
16755         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16756         to auto-libm-test-in.
16757         (tgamma_test): Use ALL_RM_TEST.
16758         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16759         tests of tgamma with spurious-overflow.
16760         * math/auto-libm-test-out: Regenerated.
16761         * math/gen-libm-have-vector-test.sh: Do not check for START.
16762         * sysdeps/i386/fpu/libm-test-ulps: Update.
16763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16765         [BZ #18612]
16766         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16767         arguments, just return 0.5 times the argument, with underflow
16768         forced as needed.
16769         * math/auto-libm-test-in: Add more tests of j1.
16770         * math/auto-libm-test-out: Regenerated.
16772         [BZ #16559]
16773         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16774         (__ieee754_j1): Force underflow exception for small results.
16775         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16776         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16777         (__ieee754_j1f): Force underflow exception for small results.
16778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16779         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16782         (__ieee754_j1l): Force underflow exception for small results.
16783         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16784         * math/auto-libm-test-in: Add more tests of j1 and jn.
16785         * math/auto-libm-test-out: Regenerated.
16787         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16788         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16789         (PF_MPLS): Likewise.
16790         (AF_IB): Likewise.
16791         (AF_MPLS): Likewise.
16792         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16793         value and macro.
16794         (MS_RMT_MASK): Include MS_LAZYTIME.
16796 2015-06-26  Mel Gorman  <mgorman@suse.de>
16798         [BZ #18502]
16799         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16800         already minimal.
16802 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16804         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16805         (DT_MIPS_NUM): Update.
16806         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16807         DT_MIPS_RLD_MAP_REL.
16809 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16811         [BZ #16559]
16812         [BZ #18602]
16813         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16814         round-to-nearest internally then recompute results that
16815         underflowed to zero in the original rounding mode.
16816         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16817         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16819         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16820         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16821         * sysdeps/i386/fpu/libm-test-ulps: Update.
16822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16824 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16826         * NEWS: Fixed description of link with vector math library.
16828 2015-06-25  Andreas Schwab  <schwab@suse.de>
16830         [BZ #18549]
16831         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16832         * libio/test-fmemopen.c (do_test): Add test for it.
16834 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16836         [BZ #17841]
16837         * Makeconfig (no-pie-ldflag): New.
16838         (+link): Set to $(+link-pie) if default to PIE.
16839         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16840         * config.make.in (build-pie-default): New.
16841         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16842         is default.  AC_SUBST.
16843         * configure: Regenerated.
16844         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16846 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16848         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16849         to 'unsigned int'.
16851         * resolv/gai_misc.h (struct waitlist): Change type of field
16852         counterp to 'volatile unsigned int *'.
16853         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16854         FUTEXADDR and OLDVAL.
16855         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16856         Give local variable TOTAL type 'volatile unsigned int'.
16857         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16858         * resolv/gai_suspend.c (gai_suspend):
16859         Give local variable CNTR type 'unsigned int'.
16861         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16862         counterp to 'volatile unsigned int *'.
16863         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16864         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16865         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16866         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16867         Give local variable TOTAL type 'volatile unsigned int'.
16868         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16870 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16872         [BZ #18383]
16873         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16874         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16875         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16876         comment for i386/x86-64.
16877         (test-xfail-tst-tlsalign-extern-static): Removed.
16879 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16881         * math/test-double.h: New file.
16882         * math/test-float.h: Likewise.
16883         * math/test-ldouble.h: Likewise.
16884         * math/test-math-inline.h: Likewise.
16885         * math/test-math-no-inline.h: Likewise.
16886         * math/test-math-scalar.h: Likewise.
16887         * math/test-math-vector.h: Likewise.
16888         * math/test-vec-loop.h: Remove file.  Contents moved into
16889         test-math-vector.h.
16890         * math/libm-test.inc (MATHCONST): Do not document macro.
16891         * math/test-double.c: Include test-double.h, test-math-no-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         (__NO_MATH_INLINES): Likewise.
16903         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16904         and test-math-scalar.h.
16905         (FUNC): Remove macro.
16906         (FUNC_TEST): Likewise.
16907         (FLOAT): Likewise.
16908         (MATHCONST): Likewise.
16909         (PRINTF_EXPR): Likewise.
16910         (PRINTF_XEXPR): Likewise.
16911         (PRINTF_NEXPR): Likewise.
16912         (TEST_FLOAT): Likewise.
16913         (TEST_MATHVEC): Likewise.
16914         (__NO_MATH_INLINES): Likewise.
16915         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16916         and test-math-scalar.h.
16917         (FUNC): Remove macro.
16918         (FUNC_TEST): Likewise.
16919         (FLOAT): Likewise.
16920         (MATHCONST): Likewise.
16921         (PRINTF_EXPR): Likewise.
16922         (PRINTF_XEXPR): Likewise.
16923         (PRINTF_NEXPR): Likewise.
16924         (TEST_DOUBLE): Likewise.
16925         (TEST_MATHVEC): Likewise.
16926         (TEST_INLINE): Likewise.
16927         (__NO_MATH_INLINES): Likewise.
16928         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16929         test-math-scalar.h.
16930         (FUNC): Remove macro.
16931         (FUNC_TEST): Likewise.
16932         (FLOAT): Likewise.
16933         (MATHCONST): Likewise.
16934         (PRINTF_EXPR): Likewise.
16935         (PRINTF_XEXPR): Likewise.
16936         (PRINTF_NEXPR): Likewise.
16937         (TEST_FLOAT): Likewise.
16938         (TEST_MATHVEC): Likewise.
16939         (TEST_INLINE): Likewise.
16940         (__NO_MATH_INLINES): Likewise.
16941         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16942         and test-math-scalar.h.
16943         (FUNC): Remove macro.
16944         (FUNC_TEST): Likewise.
16945         (FLOAT): Likewise.
16946         (MATHCONST): Likewise.
16947         (PRINTF_EXPR): Likewise.
16948         (PRINTF_XEXPR): Likewise.
16949         (PRINTF_NEXPR): Likewise.
16950         (TEST_LDOUBLE): Likewise.
16951         (TEST_MATHVEC): Likewise.
16952         (TEST_INLINE): Likewise.
16953         (__NO_MATH_INLINES): Likewise.
16954         * math/test-ldouble.c: Include test-ldouble.h,
16955         test-math-no-inline.h and test-math-scalar.h.
16956         (FUNC): Remove macro.
16957         (FUNC_TEST): Likewise.
16958         (FLOAT): Likewise.
16959         (MATHCONST): Likewise.
16960         (PRINTF_EXPR): Likewise.
16961         (PRINTF_XEXPR): Likewise.
16962         (PRINTF_NEXPR): Likewise.
16963         (TEST_LDOUBLE): Likewise.
16964         (TEST_MATHVEC): Likewise.
16965         (__NO_MATH_INLINES): Likewise.
16966         * math/test-double-vlen2.h: Include test-double.h,
16967         test-math-no-inline.h and test-math-vector.h.
16968         (FLOAT): Remove macro.
16969         (FUNC): Likewise.
16970         (MATHCONST): Likewise.
16971         (PRINTF_EXPR): Likewise.
16972         (PRINTF_XEXPR): Likewise.
16973         (PRINTF_NEXPR): Likewise.
16974         (TEST_DOUBLE): Likewise.
16975         (TEST_MATHVEC): Likewise.
16976         (__NO_MATH_INLINES): Likewise.
16977         (CNCT): Likewise.
16978         (CONCAT): Likewise.
16979         (WRAPPER_NAME): Likewise.
16980         (WRAPPER_DECL): Likewise.
16981         (WRAPPER_DECL_ff): Likewise.
16982         (WRAPPER_DECL_fFF): Likewise.
16983         (VECTOR_WRAPPER): Likewise.
16984         (VECTOR_WRAPPER_ff): Likewise.
16985         (VECTOR_WRAPPER_fFF): Likewise.
16986         (VEC_LEN): New macro.
16987         * math/test-double-vlen4.h: Include test-double.h,
16988         test-math-no-inline.h and test-math-vector.h.
16989         (FLOAT): Remove macro.
16990         (FUNC): Likewise.
16991         (MATHCONST): Likewise.
16992         (PRINTF_EXPR): Likewise.
16993         (PRINTF_XEXPR): Likewise.
16994         (PRINTF_NEXPR): Likewise.
16995         (TEST_DOUBLE): Likewise.
16996         (TEST_MATHVEC): Likewise.
16997         (__NO_MATH_INLINES): Likewise.
16998         (CNCT): Likewise.
16999         (CONCAT): Likewise.
17000         (WRAPPER_NAME): Likewise.
17001         (WRAPPER_DECL): Likewise.
17002         (WRAPPER_DECL_ff): Likewise.
17003         (WRAPPER_DECL_fFF): Likewise.
17004         (VECTOR_WRAPPER): Likewise.
17005         (VECTOR_WRAPPER_ff): Likewise.
17006         (VECTOR_WRAPPER_fFF): Likewise.
17007         (VEC_LEN): New macro.
17008         * math/test-double-vlen8.h: Include test-double.h,
17009         test-math-no-inline.h and test-math-vector.h.
17010         (FLOAT): Remove macro.
17011         (FUNC): Likewise.
17012         (MATHCONST): Likewise.
17013         (PRINTF_EXPR): Likewise.
17014         (PRINTF_XEXPR): Likewise.
17015         (PRINTF_NEXPR): Likewise.
17016         (TEST_DOUBLE): Likewise.
17017         (TEST_MATHVEC): Likewise.
17018         (__NO_MATH_INLINES): Likewise.
17019         (CNCT): Likewise.
17020         (CONCAT): Likewise.
17021         (WRAPPER_NAME): Likewise.
17022         (WRAPPER_DECL): Likewise.
17023         (WRAPPER_DECL_ff): Likewise.
17024         (WRAPPER_DECL_fFF): Likewise.
17025         (VECTOR_WRAPPER): Likewise.
17026         (VECTOR_WRAPPER_ff): Likewise.
17027         (VECTOR_WRAPPER_fFF): Likewise.
17028         (VEC_LEN): New macro.
17029         * math/test-float-vlen4.h: Include test-float.h,
17030         test-math-no-inline.h and test-math-vector.h.
17031         (FLOAT): Remove macro.
17032         (FUNC): Likewise.
17033         (MATHCONST): Likewise.
17034         (PRINTF_EXPR): Likewise.
17035         (PRINTF_XEXPR): Likewise.
17036         (PRINTF_NEXPR): Likewise.
17037         (TEST_FLOAT): Likewise.
17038         (TEST_MATHVEC): Likewise.
17039         (__NO_MATH_INLINES): Likewise.
17040         (CNCT): Likewise.
17041         (CONCAT): Likewise.
17042         (WRAPPER_NAME): Likewise.
17043         (WRAPPER_DECL): Likewise.
17044         (WRAPPER_DECL_ff): Likewise.
17045         (WRAPPER_DECL_fFF): Likewise.
17046         (VECTOR_WRAPPER): Likewise.
17047         (VECTOR_WRAPPER_ff): Likewise.
17048         (VECTOR_WRAPPER_fFF): Likewise.
17049         (VEC_LEN): New macro.
17050         * math/test-float-vlen8.h: Include test-float.h,
17051         test-math-no-inline.h and test-math-vector.h.
17052         (FLOAT): Remove macro.
17053         (FUNC): Likewise.
17054         (MATHCONST): Likewise.
17055         (PRINTF_EXPR): Likewise.
17056         (PRINTF_XEXPR): Likewise.
17057         (PRINTF_NEXPR): Likewise.
17058         (TEST_FLOAT): Likewise.
17059         (TEST_MATHVEC): Likewise.
17060         (__NO_MATH_INLINES): Likewise.
17061         (CNCT): Likewise.
17062         (CONCAT): Likewise.
17063         (WRAPPER_NAME): Likewise.
17064         (WRAPPER_DECL): Likewise.
17065         (WRAPPER_DECL_ff): Likewise.
17066         (WRAPPER_DECL_fFF): Likewise.
17067         (VECTOR_WRAPPER): Likewise.
17068         (VECTOR_WRAPPER_ff): Likewise.
17069         (VECTOR_WRAPPER_fFF): Likewise.
17070         (VEC_LEN): New macro.
17071         * math/test-float-vlen16.h: Include test-float.h,
17072         test-math-no-inline.h and test-math-vector.h.
17073         (FLOAT): Remove macro.
17074         (FUNC): Likewise.
17075         (MATHCONST): Likewise.
17076         (PRINTF_EXPR): Likewise.
17077         (PRINTF_XEXPR): Likewise.
17078         (PRINTF_NEXPR): Likewise.
17079         (TEST_FLOAT): Likewise.
17080         (TEST_MATHVEC): Likewise.
17081         (__NO_MATH_INLINES): Likewise.
17082         (CNCT): Likewise.
17083         (CONCAT): Likewise.
17084         (WRAPPER_NAME): Likewise.
17085         (WRAPPER_DECL): Likewise.
17086         (WRAPPER_DECL_ff): Likewise.
17087         (WRAPPER_DECL_fFF): Likewise.
17088         (VECTOR_WRAPPER): Likewise.
17089         (VECTOR_WRAPPER_ff): Likewise.
17090         (VECTOR_WRAPPER_fFF): Likewise.
17091         (VEC_LEN): New macro.
17092         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17093         test-vec-loop.h.
17094         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17096         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17097         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17098         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17100         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17102 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17104         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17105         (__getlogin_r): ... this.
17107 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17109         [BZ #18594]
17110         * math/s_ccosh.c (__ccosh): Compare with least normal value
17111         instead of comparing class with FP_SUBNORMAL.
17112         * math/s_ccoshf.c (__ccoshf): Likewise.
17113         * math/s_ccoshl.c (__ccoshl): Likewise.
17114         * math/s_cexp.c (__cexp): Likewise.
17115         * math/s_cexpf.c (__cexpf): Likewise.
17116         * math/s_cexpl.c (__cexpl): Likewise.
17117         * math/s_csin.c (__csin): Likewise.
17118         * math/s_csinf.c (__csinf): Likewise.
17119         * math/s_csinh.c (__csinh): Likewise.
17120         * math/s_csinhf.c (__csinhf): Likewise.
17121         * math/s_csinhl.c (__csinhl): Likewise.
17122         * math/s_csinl.c (__csinl): Likewise.
17123         * math/s_ctan.c (__ctan): Likewise.
17124         * math/s_ctanf.c (__ctanf): Likewise.
17125         * math/s_ctanh.c (__ctanh): Likewise.
17126         * math/s_ctanhf.c (__ctanhf): Likewise.
17127         * math/s_ctanhl.c (__ctanhl): Likewise.
17128         * math/s_ctanl.c (__ctanl): Likewise.
17129         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17130         csin, csinh, ctan and ctanh.
17131         * math/auto-libm-test-out: Regenerated.
17132         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17133         * sysdeps/i386/fpu/libm-test-ulps: Update.
17134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17136 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17138         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17139         return value is wrong, print the expected value too.
17141 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17143         [BZ #18585]
17144         * elf/readlib.c (is_gdb_python_file): New.
17145         (process_file): Don't issue errors on filenames with -gdb.py
17146         suffix.
17148 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17150         * math/auto-libm-test-in: Add more tests of csin and csinh.
17151         * math/auto-libm-test-out: Regenerated.
17152         * math/libm-test.inc (csin_test_data): Remove tests moved to
17153         auto-libm-test-in.
17154         (csinh_test_data): Likewise.
17156         [BZ #18593]
17157         * math/s_csin.c (__csin): Negate before rather than after possibly
17158         overflowing multiplication.
17159         * math/s_csinf.c (__csinf): Likewise.
17160         * math/s_csinh.c (__csinh): Likewise.
17161         * math/s_csinhf.c (__csinhf): Likewise.
17162         * math/s_csinhl.c (__csinhl): Likewise.
17163         * math/s_csinl.c (__csinl): Likewise.
17164         * math/auto-libm-test-in: Add some tests of csin and csinh.
17165         * math/auto-libm-test-out: Regenerated.
17166         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17167         (csinh_test_data): Likewise.
17168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17170         [BZ #18586]
17171         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17172         underflow exception for small results.
17174 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17178         variable and included header.
17179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17181         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17185         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17187         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17188         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17189         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17190         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17191         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17192         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17193         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17194         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17196 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17198         [BZ #16526]
17199         [BZ #16538]
17200         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17201         (__sin): Force underflow exception for arguments with small
17202         absolute value.
17203         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17204         (__kernel_sinf): Force underflow exception for arguments with
17205         small absolute value.
17206         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17207         (__kernel_sincosl): Force underflow exception for arguments with
17208         small absolute value.
17209         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17210         (__kernel_sinl): Force underflow exception for arguments with
17211         small absolute value.
17212         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17213         (__kernel_sincosl): Force underflow exception for arguments with
17214         small absolute value.
17215         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17216         (__kernel_sinl): Force underflow exception for arguments with
17217         small absolute value.
17218         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17219         (__kernel_sinl): Force underflow exception for arguments with
17220         small absolute value.
17221         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17222         (__kernel_sinf): Force underflow exception for arguments with
17223         small absolute value.
17224         * math/auto-libm-test-in: Add more tests of sin and sincos.
17225         * math/auto-libm-test-out: Regenerated.
17227         [BZ #18245]
17228         [BZ #18583]
17229         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17230         (__kernel_standard_l): Use feholdexcept and fesetenv around
17231         conversion to double instead of special-casing overflow and
17232         underflow.
17233         * math/libm-test.inc (fmod_test_data): Add more tests.
17234         (remainder_test_data): Likewise.
17235         (sqrt_test_data): Likewise.
17237 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17239         [BZ #17403]
17240         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17241         atomic_read_barrier, atomic_write_barrier): Define.
17242         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17243         atomic_read_barrier, atomic_write_barrier): Define.
17245 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17247         * math/Makefile [$(PERL) != no]
17248         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17249         dependency on libm-test.stmp below the inclusion of Rules.
17251 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17253         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17255         and included header.
17256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17257         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17259         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17264         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17265         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17266         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17267         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17268         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17269         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17270         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17271         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17272         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17273         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17274         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17276 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17278         [BZ #18371]
17279         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17280         intermediate but not final result might underflow.
17281         * math/s_csqrtf.c (__csqrtf): Likewise.
17282         * math/s_csqrtl.c (__csqrtl): Likewise.
17283         * math/auto-libm-test-in: Add more tests of csqrt.
17284         * math/auto-libm-test-out: Regenerated.
17285         * sysdeps/i386/fpu/libm-test-ulps: Update.
17287         [BZ #18219]
17288         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17289         threshold on absolute value of exponent for which scaling is used.
17290         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17291         * math/auto-libm-test-in: Add more tests of exp2.
17292         * math/auto-libm-test-out: Regenerated.
17294 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17296         [BZ #17977]
17297         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17298         when initializing interface list, based on the bug analysis
17299         and the patch proposed by Eric Newton.
17300         * resolv/tst-res_hconf_reorder.c: New test.
17301         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17302         tst-res_hconf_reorder.
17303         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17304         and $(shared-thread-library).
17305         (tst-res_hconf_reorder-ENV): New variable.
17307         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17308         in comment.
17310 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17312         [BZ #16353]
17313         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17314         (__expm1): Force underflow exception for arguments with small
17315         absolute value.
17316         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17317         (__expm1f): Force underflow exception for arguments with small
17318         absolute value.
17319         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17320         (__expm1): Force underflow exception for arguments with small
17321         absolute value.
17322         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17323         (__expm1f): Force underflow exception for arguments with small
17324         absolute value.
17325         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17326         Check for small arguments before calling __expm1.
17327         * math/auto-libm-test-in: Do not mark underflow exceptions as
17328         possibly missing for bug 16353.
17329         * math/auto-libm-test-out: Regenerated.
17331 2015-06-22  Andreas Schwab  <schwab@suse.de>
17333         [BZ #18513]
17334         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17335         PTR queries.
17337 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17339         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17341         * string/strcoll_l.c: Remove unused struct element idxnow.
17343 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17345         [BZ #18569]
17346         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17347         underflow and return argument in case of subnormal argument.
17348         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17349         Likewise.
17350         * math/auto-libm-test-in: Add more tests of expm1.
17351         * math/auto-libm-test-out: Regenerated.
17353         [BZ #16361]
17354         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17355         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17356         tiny results.
17357         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17358         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17359         tiny results.
17360         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17361         mark underflow exceptions as possibly missing for bug 16361.
17362         * math/auto-libm-test-out: Regenerated.
17364 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17366         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17367         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17368         Remove variable.
17369         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17370         (test-xfail-XOPEN2K8/utmpx.h/conform).
17372         * conform/conformtest.pl ($xerrors): New variable.
17373         (note_error): New function.
17374         (compiletest): New argument $xfail.  Use not_error.
17375         (runtest): Likewise.
17376         (top level): Handle xfail- lines.  Update calls to compiletest and
17377         runtest.  Handle xfail- and optional- in headers listed with
17378         allow-header.
17379         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17380         (O_EXEC): Likewise.
17381         (O_SEARCH): Likewise.
17382         * conform/data/stropts.h-data (ioctl): Likewise.
17383         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17384         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17385         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17386         (msghdr.msg_controllen): Likewise.
17387         (cmsghdr.cmsg_len): Likewise.
17388         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17389         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17390         variable.
17391         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17392         (test-xfail-XPG4/stropts.h/conform): Likewise.
17393         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17394         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17395         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17396         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17397         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17398         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17399         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17400         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17401         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17402         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17403         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17404         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17405         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17406         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17407         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17408         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17409         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17410         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17411         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17413 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17415         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17416         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17417         definitions for proper unfolding of __MATHDECL_VEC.
17419 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17421         * benchtests/bench-strcoll.c:
17422         Include string.h.
17423         (main): Remove unused variable res.
17425 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17427         * timezone/Makefile (%/UTC %/Universal):
17428         Generate test-result files for UTC and Universal.
17430 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17432         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17434 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17436         [BZ #16350]
17437         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17438         for arguments with small absolute value.
17439         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17440         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17441         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17442         (__asinh): Force underflow exception for arguments with small
17443         absolute value.
17444         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17445         (__asinhf): Force underflow exception for arguments with small
17446         absolute value.
17447         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17448         (__asinhl): Force underflow exception for arguments with small
17449         absolute value.
17450         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17451         (__asinhl): Force underflow exception for arguments with small
17452         absolute value.
17453         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17454         (__asinhl): Force underflow exception for arguments with small
17455         absolute value.
17456         * math/auto-libm-test-in: Do not mark underflow exceptions as
17457         possibly missing for bug 16350.
17458         * math/auto-libm-test-out: Regenerated.
17460         * include/bits/ipc.h: Remove file.
17461         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17462         variable.
17463         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17464         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17465         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17466         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17467         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17468         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17469         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17470         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17471         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17473         * math/auto-libm-test-in: Remove spurious underflow allowance for
17474         tests of cexp.
17475         * math/auto-libm-test-out: Regenerated.
17477         [BZ #18558]
17478         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17479         unconditional definition.
17480         (MCAST_BLOCK_SOURCE): Likewise.
17481         (MCAST_UNBLOCK_SOURCE): Likewise.
17482         (MCAST_LEAVE_GROUP): Likewise.
17483         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17484         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17485         (MCAST_MSFILTER): Likewise.
17486         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17487         Remove variable.
17488         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17489         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17490         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17491         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17492         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17494 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17496         * NEWS: Mention addition of x86_64 vector sincosf.
17497         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17498         * math/test-float-vlen4.h: Likewise.
17499         * math/test-float-vlen8.h: Likewise.
17500         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17501         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17502         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17503         * sysdeps/x86_64/fpu/Versions: New versions added.
17504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17505         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17506         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17507         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17508         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17513         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17514         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17515         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17516         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17517         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17518         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17519         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17520         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17521         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17522         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17523         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17524         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17526         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17527         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17529         * NEWS: Mention addition of x86_64 vector sincos.
17530         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17531         * math/math.h (__MATHDECL_VEC): New macro.
17532         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17533         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17534         declaration under condition.
17535         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17536         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17537         TEST_VEC_LOOP change.
17538         * math/test-double-vlen4.h: Likewise.
17539         * math/test-double-vlen8.h: Likewise.
17540         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17541         * math/test-float-vlen4.h: Likewise.
17542         * math/test-float-vlen8.h: Likewise.
17543         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17544         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17545         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17546         * sysdeps/x86_64/fpu/Versions: New versions added.
17547         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17548         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17549         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17550         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17551         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17556         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17557         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17558         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17559         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17560         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17561         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17562         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17563         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17564         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17565         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17566         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17567         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17568         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17569         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17570         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17572         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17573         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17574         redirections for powf.
17575         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17576         * sysdeps/x86_64/fpu/Versions: New versions added.
17577         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17578         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17579         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17580         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17581         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17584         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17587         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17588         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17589         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17590         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17591         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17592         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17593         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17594         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17595         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17596         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17597         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17598         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17599         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17600         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17601         * math/test-float-vlen16.h: Fixed 2 argument macro.
17602         * math/test-float-vlen4.h: Likewise.
17603         * math/test-float-vlen8.h: Likewise.
17604         * NEWS: Mention addition of x86_64 vector powf.
17606 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17608         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17609         and redefine.
17610         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17611         and redefine.
17612         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17613         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17616         [BZ #18553]
17617         * resource/getpriority.c (getpriority): Rename to __getpriority
17618         and define as weak alias of __getpriority.
17619         * resource/setpriority.c (setpriority): Rename to __setpriority
17620         and define as weak alias of __setpriority.
17621         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17622         __getpriority and define as weak alias of __getpriority.
17623         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17624         __setpriority and define as weak alias of __setpriority.
17625         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17626         strong name.
17627         (setpriority): Use __setpriority as strong name.
17628         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17629         __getpriority and define as weak alias of __getpriority.
17630         * include/sys/resource.h (__getpriority): Declare.  Use
17631         libc_hidden_proto.
17632         (__setpriority): Likewise.
17633         (getpriority): Don't use libc_hidden_proto.
17634         (setpriority): Likewise.
17635         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17636         getpriority.  Call __setpriority instead of setpriority.
17637         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17638         Remove variable.
17640         [BZ #18547]
17641         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17642         as weak alias of __getttynam.  Use prototype function definition.
17643         Call __setttyent, __getttyent and __endttyent instead of
17644         setttyent, getttyent and endttyent.
17645         (getttyent): Rename to __getttyent and define as weak alias of
17646         __getttyent.  Call __setttyent instead of setttyent.  Call
17647         __fgets_unlocked instead of fgets_unlocked.
17648         (setttyent): Rename to __setttyent and define as weak alias of
17649         __setttyent.
17650         (endttyent): Rename to __endttyent and define as weak alias of
17651         __endttyent.
17652         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17653         (__setttyent): Likewise.
17654         (__endttyent): Likewise.
17655         (getttyent): Don't use libc_hidden_proto.
17656         (setttyent): Likewise.
17657         (endttyent): Likewise.
17658         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17659         __endttyent instead of setttyent, getttyent and endttyent.
17660         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17661         Remove variable.
17663         [BZ #18546]
17664         * socket/recv.c (__recv): Use libc_hidden_def.
17665         * socket/socket.c (__socket): Likewise.
17666         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17667         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17668         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17669         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17670         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17671         libc_hidden_def.
17672         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17673         libc_hidden_weak.
17674         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17675         Use libc_hidden_proto.
17676         (__recv): Likewise.
17677         * socket/Versions (libc): Export __recv and __socket at version
17678         GLIBC_PRIVATE.
17679         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17680         instead of recv.
17681         (init_mq_netlink): Call __socket instead of socket.
17682         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17683         Remove variable.
17685         [BZ #18545]
17686         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17687         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17688         hidden_weak.
17689         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17690         define as alias of __mq_timedsend.  Use hidden_weak.
17691         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17692         __mq_timedsend as strong name.
17693         (mq_timedreceive): Use __mq_timedreceive as strong name.
17694         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17695         (__mq_timedreceive): Likewise.
17696         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17697         __mq_timedreceive instead of mq_timedreceive.
17698         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17699         instead of mq_timedsend.
17700         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17701         Remove variable.
17703         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17704         hidden_def and hidden_weak instead of libc_hidden_def and
17705         libc_hidden_weak.
17706         (top level): Refer to hidden_def in comment.
17707         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17708         macro.  Use it instead of libc_hidden_def.
17709         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17710         specify __GI_* name explicitly.
17711         (mq_timedreceive): Likewise.
17712         (mq_setattr): Likewise.
17714         [BZ #18544]
17715         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17716         __pthread_barrier_init and define as weak alias of
17717         __pthread_barrier_init.
17718         * sysdeps/sparc/nptl/pthread_barrier_init.c
17719         (pthread_barrier_init): Likewise.
17720         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17721         __pthread_barrier_wait and define as weak alias of
17722         __pthread_barrier_wait.
17723         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17724         (pthread_barrier_wait): Likewise.
17725         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17726         (pthread_barrier_wait): Likewise.
17727         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17728         (pthread_barrier_wait): Likewise.
17729         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17730         (pthread_barrier_wait): Likewise.
17731         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17732         __pthread_barrier_wait at version GLIBC_PRIVATE.
17733         * include/pthread.h (__pthread_barrier_init): Declare.
17734         (__pthread_barrier_wait): Likewise.
17735         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17736         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17737         (helper_thread): Likewise.
17738         (init_mq_netlink): Call __pthread_barrier_init instead of
17739         pthread_barrier_init.
17741         [BZ #18542]
17742         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17743         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17744         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17745         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17746         vswscanf.
17747         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17748         Remove variable.
17750         [BZ #18540]
17751         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17752         strong alias of _IO_fflush.  Use libc_hidden_def.
17753         * libio/iofflush_u.c (fflush_unlocked): Rename to
17754         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17755         Use libc_hidden_weak.
17756         * include/stdio.h (__fflush_unlocked): Declare.  Use
17757         libc_hidden_proto.
17758         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17759         fflush_unlocked.
17760         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17761         Remove variable.
17763         [BZ #18539]
17764         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17765         define as weak alias of __addseverity.
17766         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17767         Remove variable.
17768         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17769         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17770         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17772         [BZ #18536]
17773         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17774         (__tfind): Likewise.
17775         (__tdelete): Likewise.
17776         (__twalk): Likewise.
17777         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17778         __twalk to GLIBC_PRIVATE.
17779         * include/search.h (__tsearch): Use libc_hidden_proto.
17780         (__tfind): Likewise.
17781         (__tdelete): Likewise.
17782         (__twalk): Likewise.
17783         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17784         Call __tdelete instead of tdelete.
17785         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17786         tfind.  Call __tsearch instead of tsearch.
17787         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17788         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17789         Remove variable.
17790         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17792         [BZ #18534]
17793         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17794         (dprintf): Define as a weak alias of __dprintf, not a strong
17795         alias.
17796         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17797         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17798         dprintf.
17799         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17800         Remove variable.
17801         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17802         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17804         [BZ #18533]
17805         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17806         not a strong alias.
17807         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17808         Remove variable.
17810         [BZ #18532]
17811         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17812         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17813         (in6addr_loopback): Rename to __in6addr_loopback and define as
17814         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17815         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17816         libc_hidden_proto.
17817         (__in6addr_any): Likewise.
17818         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17819         in6addr_any.
17820         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17821         variable.
17822         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17824 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17826         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17827         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17828         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17829         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17830         redirections for pow.
17831         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17832         * sysdeps/x86_64/fpu/Versions: New versions added.
17833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17834         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17835         build of SSE, AVX2 and AVX512 IFUNC versions.
17836         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17837         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17838         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17843         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17844         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17845         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17846         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17847         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17848         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17849         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17850         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17851         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17852         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17853         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17854         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17855         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17856         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17857         * NEWS: Mention addition of x86_64 vector pow.
17859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17860         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17861         redirections for expf.
17862         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17863         * sysdeps/x86_64/fpu/Versions: New versions added.
17864         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17866         build of SSE, AVX2 and AVX512 IFUNC versions.
17867         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17873         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17874         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17875         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17876         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17877         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17878         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17879         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17880         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17881         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17882         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17883         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17884         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17885         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17886         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17887         * NEWS: Mention addition of x86_64 vector expf.
17889         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17890         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17891         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17892         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17893         redirections for exp.
17894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17895         * sysdeps/x86_64/fpu/Versions: New versions added.
17896         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17897         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17898         build of SSE, AVX2 and AVX512 IFUNC versions.
17899         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17900         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17905         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17906         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17907         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17908         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17909         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17910         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17912         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17914         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17915         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17916         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17917         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17918         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17919         * NEWS: Mention addition of x86_64 vector exp.
17921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17922         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17923         redirections for logf.
17924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17925         * sysdeps/x86_64/fpu/Versions: New versions added.
17926         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17927         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17928         build of SSE, AVX2 and AVX512 IFUNC versions.
17929         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17930         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17931         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17934         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17935         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17936         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17937         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17938         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17939         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17940         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17941         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17942         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17943         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17944         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17945         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17946         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17947         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17948         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17949         * NEWS: Mention addition of x86_64 vector logf.
17951         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17952         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17953         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17954         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17955         redirections for log.
17956         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17957         * sysdeps/x86_64/fpu/Versions: New versions added.
17958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17959         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17960         build of SSE, AVX2 and AVX512 IFUNC versions.
17961         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17962         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17963         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17964         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17965         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17966         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17967         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17968         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17969         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17970         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17971         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17972         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17973         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17974         test.
17975         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17976         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17977         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17978         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17979         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17980         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17981         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17982         * NEWS: Mention addition of x86_64 vector log.
17984 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17986         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17987         cfi_adjust_cfa_offset argument.
17988         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17989         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17991         [BZ #18034]
17992         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17993         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17994         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17995         ordering using ldar.
17996         (_dl_tlsdesc_dynamic): Likewise.
17997         (_dl_tlsdesc_return_lazy): Likewise.
17998         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17999         relaxed atomics instead of volatile and synchronize with release store.
18000         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18001         volatile.
18002         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18004 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18006         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18007         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18008         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18009         * sysdeps/x86_64/fpu/Versions: New versions added.
18010         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18011         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18012         build of SSE, AVX2 and AVX512 IFUNC versions.
18013         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18014         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18015         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18016         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18019         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18020         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18021         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18022         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18023         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18024         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18025         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18026         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18027         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18028         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18029         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18030         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18031         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18032         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18033         * NEWS: Mention addition of x86_64 vector sinf.
18035 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18037         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18038         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18039         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18040         Remove variable.
18041         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18042         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18044 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #18530]
18047         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18048         strong alias of _IO_fputs.  Use libc_hidden_def.
18049         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18050         and define as weak alias of __fputs_unlocked.  Use
18051         libc_hidden_weak.
18052         * include/stdio.h (__fputs_unlocked): Declare.  Use
18053         libc_hidden_proto.
18054         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18055         fputs_unlocked.
18057         [BZ #18529]
18058         * resolv/netdb.h [__USE_POSIX]: Change condition to
18059         [__USE_XOPEN2K].
18060         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18061         not expect.
18062         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18063         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18064         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18065         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18066         [XPG4 || UNIX98] (AI_ALL): Likewise.
18067         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18068         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18069         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18070         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18071         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18072         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18073         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18074         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18075         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18076         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18077         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18078         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18079         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18080         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18081         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18082         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18083         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18084         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18085         [XPG4 || UNIX98] (gai_strerror): Likewise.
18086         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18087         [XPG4 || UNIX98] (getnameinfo): Likewise.
18089         [BZ #18528]
18090         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18091         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18092         __USE_XOPEN2K8].
18093         (getgrent): Likewise.
18094         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18095         expect.
18096         [XPG3 || POSIX2008] (endgrent): Likewise.
18097         [XPG3] (setgrent): Likewise.
18098         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18099         variable.
18100         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18102         [BZ #18527]
18103         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18104         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18105         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18106         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18107         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18108         * include/unistd.h (__getlogin_r): Declare.  Use
18109         libc_hidden_proto.
18110         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18111         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18112         variable.
18113         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18114         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18115         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18117 2015-06-12  Martin Sebor  <msebor@redhat.com>
18119         [BZ #18512]
18120         * Makerules (check-install-supported): New target.
18121         (install): Add check-install-supported as a dependency.
18122         * manual/install.texi (Installing the C Library): Document
18123         that overriding prefix and exec_prefix is not supported.
18124         Mention DESTDIR.
18125         * INSTALL: Regenerate from the above.
18127 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #18519]
18130         * posix/Versions (libc): Export __libc_pread at version
18131         GLIBC_PRIVATE.
18132         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18133         instead of pread.
18134         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18135         variable.
18137         [BZ #18522]
18138         * misc/efgcvt_r.c
18139         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18140         (cvt_symbol): Use weak_alias instead of strong_alias.
18141         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18142         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18143         Remove variable.
18144         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18145         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18147         [BZ #18520]
18148         * inet/herrno.c (h_errno): Rename to __h_errno.
18149         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18150         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18151         to __h_errno instead of h_errno.
18152         * nptl/herrno.c (h_errno): Rename to __h_errno.
18153         (__h_errno_location): Refer to __h_errno not h_errno.
18154         * resolv/Versions (h_errno): Rename to __h_errno.
18155         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18156         Remove variable.
18157         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18159 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18161         * configure.ac: More strict check for AVX512 assembler support.
18162         * configure: Regenerated.
18164         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18165         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18166         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18167         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18168         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18169         * sysdeps/x86_64/fpu/Versions: New versions added.
18170         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18171         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18172         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18173         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18174         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18176         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18179         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18180         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18181         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18182         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18183         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18184         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18186         test.
18187         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18189         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18190         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18191         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18193         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18194         * NEWS: Mention addition of x86_64 vector sin.
18196 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18198         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18199         comment.
18201 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18203         [BZ #18479]
18204         * nptl/pt-interp.c: New file.
18205         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18206         Add pt-interp.
18207         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18208         $(common-objpfx)runtime-linker.h.
18210 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18212         * Makeconfig (+interp): Remove unused variable.
18213         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18214         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18215         $(elf-objpfx)runtime-linker.h.
18216         ($(elf-objpfx)runtime-linker.h): Rename to
18217         $(common-objpfx)runtime-linker.h and move ...
18218         * Makerules [$(build-shared) = yes]: ... here.
18219         * elf/interp.c: Include <runtime-linker.h> instead of
18220         <elf/runtime-linker.h>.
18222 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18224         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18225         (__gettimeofday_syscall): Remove vsyscall fallback.
18226         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18227         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18228         Add syscall fallback function.
18229         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18230         if vDSO is not present.
18231         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18232         fallback function.
18233         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18234         present.
18235         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18236         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18238 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18240         [BZ #18497]
18241         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18242         of wcscmp.
18243         (wcscmp): Define as weak alias of WCSCMP.
18244         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18245         wcscoll.
18246         (USE_HIDDEN_DEF): Define.
18247         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18248         __wcscoll.  Don't use libc_hidden_weak.
18249         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18250         wcscmp.
18251         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18252         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18253         __GI_wcscmp.
18254         (weak_alias): Undefine and redefine.
18255         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18256         __wcscmp and define as weak alias of __wcscmp.
18257         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18258         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18259         (__wcscoll): Likewise.
18260         (wcscmp): Don't use libc_hidden_proto.
18261         (wcscoll): Likewise.
18262         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18263         wcscoll.
18264         * posix/regexec.c (check_node_accept_bytes): Likewise.
18265         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18266         variable.
18267         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18268         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18270         [BZ #18507]
18271         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18272         __fstatvfs and define as weak alias of __fstatvfs.  Use
18273         libc_hidden_weak.
18274         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18275         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18276         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18277         Define as alias of __fstatvfs, not fstatvfs.
18278         (fstatvfs64): Likewise.
18279         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18280         Define as alias of __statvfs, not statvfs.
18281         (statvfs64): Likewise.
18282         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18283         Remove variable.
18285 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18288         (HAVE_GETCPU_VSYSCALL): Define.
18289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18290         (HAVE_GETCPU_VSYSCALL): Likewise.
18291         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18292         * sysdeps/unix/sysv/linux/sched_getcpu.c
18293         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18294         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18295         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18296         prototype.
18297         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18298         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18299         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18301         Define.
18302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18303         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18304         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18305         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18307 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18309         * sysdeps/x86_64/fpu/Makefile: New file.
18310         * sysdeps/x86_64/fpu/Versions: New file.
18311         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18312         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18313         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18314         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18315         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18316         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18317         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18324         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18325         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18326         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18327         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18328         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18329         * sysdeps/x86_64/configure: Regenerated.
18330         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18331         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18332         * manual/install.texi (Configuring and compiling): Document
18333         --disable-mathvec.
18334         * INSTALL: Regenerated.
18335         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18337         * math/Makefile: Added rules for vector tests.
18338         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18339         declaration under condition.
18340         * math/test-double-vlen2.h: New file.
18341         * math/test-double-vlen4.h: New file.
18342         * math/test-double-vlen8.h: New file.
18343         * math/test-vec-loop.h: Added initialization macro.
18344         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18345         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18346         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18347         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18348         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18349         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18350         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18351         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18352         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18353         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18354         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18356         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18357         * sysdeps/x86_64/fpu/Versions: New versions added.
18358         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18359         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18361         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18362         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18365         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18368         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18369         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18370         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18371         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18372         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18373         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18374         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18375         * NEWS: Mention addition of x86_64 vector cosf.
18377         * math/Makefile: Added CFLAGS for new tests.
18378         * math/test-float-vlen16.h: New file.
18379         * math/test-float-vlen4.h: New file.
18380         * math/test-float-vlen8.h: New file.
18381         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18382         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18383         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18384         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18385         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18386         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18387         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18388         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18389         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18390         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18391         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18393 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18395         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18396         * locale/programs/ld-ctype.c: Likewise.
18398 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18400         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18401         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18402         bit_ZMM16_31_state): New macro.
18403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18404         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18406 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18408         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18410 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18412         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18414 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #18498]
18417         * libio/memstream.c (open_memstream): Rename to __open_memstream
18418         and define as weak alias of __open_memstream.
18419         * include/stdio.h (__open_memstream): Declare.  Use
18420         libc_hidden_proto.
18421         (open_memstream): Don't use libc_hidden_proto.
18422         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18423         open_memstream.
18424         * posix/getopt.c (_getopt_internal_r): Likewise.
18425         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18426         variable.
18427         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18428         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18429         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18431         [BZ #18496]
18432         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18433         instead of wcrtomb.
18435         [BZ #18483]
18436         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18437         [__USE_XOPEN2K8].  Remove redundant #endif.
18438         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18439         Remove redundant #if.
18440         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18441         Remove variable.
18442         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18443         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18445         [BZ #18495]
18446         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18447         (__iswlower): Likewise.
18448         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18449         (__iswlower): Likewise.
18450         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18451         instead of towlower.
18452         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18453         instead of iswlower.  Call __towupper instead of towupper.
18454         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18455         instead of iswalnum.
18457 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18459         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18460         errors to stderr.
18462 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18464         [BZ #15661]
18465         [BZ #17322]
18466         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18467         Check for overflow properly.  Check for O_APPEND.  Ignore large
18468         file system block sizes.  Add comments about problems.
18469         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18470         * manual/filesys.texi (Storage Allocation): New node.
18472 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18474         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18475         cancellable syscalls.
18476         (SYS_ify): Add guard to no redefine it.
18477         (INLINE_SYSCALL): Likewise.
18478         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18479         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18480         SYSCALL_CANCEL instead.
18481         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18482         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18483         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18484         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18485         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18486         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18487         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18488         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18489         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18490         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18491         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18492         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18493         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18494         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18495         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18496         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18497         Likewise.
18498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18499         (__libc_pread64): Likewise.
18500         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18501         (__libc_preadv): Likewise.
18502         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18503         (__libc_readv64): Likewise.
18504         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18505         (__libc_pwrite): Likewise.
18506         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18507         (__libc_pwrite64): Likewise.
18508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18509         (__libc_pwritev): Likewise.
18510         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18511         (__libc_pwritev64): Likewise.
18512         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18513         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18514         (sync_file_range): Likewise.
18515         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18516         Likewise.
18517         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18518         Likewise.
18519         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18520         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18521         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18522         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18523         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18524         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18525         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18526         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18528         Likewise.
18529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18530         (__libc_read64): Likewise.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18532         Likewise.
18533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18534         Likewise.
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18536         Likewise.
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18538         Likewise.
18539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18540         (__libc_pread64): Likewise.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18542         Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18544         (__libc_pwrite64): Likewise.
18545         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18546         (sync_file_range): Likewise.
18547         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18548         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18549         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18550         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18551         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18552         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18553         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18554         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18555         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18556         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18557         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18558         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18559         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18560         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18561         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18562         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18563         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18564         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18565         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18566         Likewise.
18567         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18568         Likewise.
18569         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18570         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18571         Likewise.
18572         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18573         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18574         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18575         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18576         Likewise.
18577         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18578         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18579         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18580         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18581         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18583 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18585         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18586         Include dl-vdso.
18587         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18588         Use VDSO routines for gettimeofday, clock_gettime if
18589         available.
18590         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18591         Declare VDSO symbols.
18592         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18593         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18594         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18595         * sysdeps/unix/sysv/linux/arm/Versions: Add
18596         __vdso_clock_gettime.
18598 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18600         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18601         be an inline implementation regardless of library is built within.
18602         (open_not_cancel_2): Likewise.
18603         (__read_nocancel): Likewise.
18604         (__write_nocancel): Likewise.
18605         (openat_not_cancel): Likewise.
18606         (openat_not_cancel_3): Likewise.
18607         (openat64_not_cancel): Likewise.
18608         (openat64_not_cancel_3): Likewise.
18609         (__close_nocancel): Likewise.
18610         (pause_not_cancel): Likewise.
18611         (nanosleep_not_cancel): Likewise.
18612         (sigsuspend_not_cancel): Likewise.
18614 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18616         [BZ #14958]
18617         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18618         wake-up.
18619         (__pthread_rwlock_rdlock_slow): Likewise.
18620         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18621         Likewise.
18622         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18623         Likewise.
18624         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18625         * nptl/tst-rwlock16.c: New file.
18626         * nptl/Makefile (tests): Add new test.
18628 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18630         [BZ #18324]
18631         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18632         missing wake-up of readers.
18633         * nptl/tst-rwlock15.c: New file.
18634         * nptl/Makefile (tests): Add new test.
18636 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18638         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18639         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18640         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18641         and __nacl_supply_interface_rtld.
18642         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18643         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18644         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18645         Add __nacl_supply_interface_rtld.
18646         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18648 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18650         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18651         isfinite.
18652         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18653         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18655 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18657         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18658         __signbit* with standard C99 macros.
18659         * math/e_exp10l.c: Likewise.
18660         * math/e_exp2l.c: Likewise.
18661         * math/e_scalb.c: Likewise.
18662         * math/e_scalbf.c: Likewise.
18663         * math/e_scalbl.c: Likewise.
18664         * math/s_ldexp.c: Likewise.
18665         * math/s_ldexpf.c: Likewise.
18666         * math/s_ldexpl.c: Likewise.
18667         * math/w_atan2.c: Likewise.
18668         * math/w_atan2f.c: Likewise.
18669         * math/w_atan2l.c: Likewise.
18670         * math/w_cosh.c: Likewise.
18671         * math/w_coshf.c: Likewise.
18672         * math/w_coshl.c: Likewise.
18673         * math/w_exp10.c: Likewise.
18674         * math/w_exp10f.c: Likewise.
18675         * math/w_exp10l.c: Likewise.
18676         * math/w_exp2.c: Likewise.
18677         * math/w_exp2f.c: Likewise.
18678         * math/w_exp2l.c: Likewise.
18679         * math/w_fmod.c: Likewise.
18680         * math/w_fmodf.c: Likewise.
18681         * math/w_fmodl.c: Likewise.
18682         * math/w_hypot.c: Likewise.
18683         * math/w_hypotf.c: Likewise.
18684         * math/w_hypotl.c: Likewise.
18685         * math/w_jnl.c: Likewise.
18686         * math/w_lgamma.c: Likewise.
18687         * math/w_lgamma_r.c: Likewise.
18688         * math/w_lgammaf.c: Likewise.
18689         * math/w_lgammaf_r.c: Likewise.
18690         * math/w_lgammal.c: Likewise.
18691         * math/w_lgammal_r.c: Likewise.
18692         * math/w_pow.c: Likewise.
18693         * math/w_powf.c: Likewise.
18694         * math/w_powl.c: Likewise.
18695         * math/w_remainder.c: Likewise.
18696         * math/w_remainderf.c: Likewise.
18697         * math/w_remainderl.c: Likewise.
18698         * math/w_scalb.c: Likewise.
18699         * math/w_scalbf.c: Likewise.
18700         * math/w_scalbl.c: Likewise.
18701         * math/w_scalbln.c: Likewise.
18702         * math/w_scalblnf.c: Likewise.
18703         * math/w_scalblnl.c: Likewise.
18704         * math/w_sinh.c: Likewise.
18705         * math/w_sinhf.c: Likewise.
18706         * math/w_sinhl.c: Likewise.
18707         * math/w_tgamma.c: Likewise.
18708         * math/w_tgammaf.c: Likewise.
18709         * math/w_tgammal.c: Likewise.
18710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18711         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18712         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18713         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18718         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18719         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18720         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18723         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18724         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18738         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18739         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18740         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18741         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18742         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18743         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18744         * stdio-common/printf_fp.c: Likewise.
18745         * stdio-common/printf_fphex.c: Likewise.
18746         * stdio-common/printf_size.c: Likewise.
18748 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18750         [BZ #18470]
18751         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18752         strnlen.
18753         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18754         Remove variable.
18755         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18756         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18757         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18758         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18759         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18760         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18761         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18762         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18763         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18764         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18766         [BZ #18468]
18767         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18768         weak alias of __wmemchr.  Use libc_hidden_weak.
18769         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18770         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18771         instead of wmemchr.
18773 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18775         [BZ #18383]
18776         * elf/tst-tlsalign-extern.c: New file.
18777         * elf/tst-tlsalign-extern-static.c: New file.
18778         * elf/tst-tlsalign-vars.c: New file.
18779         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18780         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18781         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18782         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18783         (test-xfail-tst-tlsalign-extern-static): New variable.
18785 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18787         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18788         Use variable name _sc_err instead of err.
18789         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18790         instead of ret.
18791         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18792         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18793         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18794         (INLINE_SYSCALL): Likewise.
18796         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18797         * include/string.h (__strnlen): Use libc_hidden_proto.
18798         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18799         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18800         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18801         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18802         (libc_hidden_def): Undefine and redefine.
18803         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18804         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18805         __GI_strnlen.
18806         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18807         libc_hidden_def.
18808         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18810         [BZ #18469]
18811         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18812         weak alias of __towlower.  Use libc_hidden_weak.
18813         (towupper): Rename to __towupper and define as weak alias of
18814         __towupper.  Use libc_hidden_weak.
18815         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18816         (__towupper): Likewise.
18817         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18818         __towlower instead of towlower.
18820 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18822         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18823         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18825 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18827         * sysdeps/aarch64/libm-test-ulps: Update.
18829 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18831         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18832         Define.
18833         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18835         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18836         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18837         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18838         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18839         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18841 2015-06-01  Martin Sebor  <msebor@redhat.com>
18843         [BZ #18116]
18844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18845         (__setcontext): Use extended four-operand version of mtsf whenever
18846         possible.
18847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18848         (__novec_swapcontext): Likewise.
18850 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18852         * benchtests/scripts/compare_bench.py: New file.
18853         * benchtests/scripts/import_bench.py (mean): New function.
18854         (split_list): Likewise.
18855         (do_for_all_timings): Likewise.
18856         (compress_timings): Likewise.
18858         * benchtests/scripts/import_bench.py: New file.
18859         * benchtests/scripts/validate_benchout.py: Import import_bench
18860         instead of jsonschema.
18861         (validate_bench): Remove function.
18862         (main): Use import_bench.
18864 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18866         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18867         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18869 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18873 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18875         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18876         set THREAD_SELF->tid to a magic value and futex-wake it.
18877         Pass its address to the thread_exit system call.
18878         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18879         bit is clear.
18880         * sysdeps/nacl/lowlevellock.h: New file.
18881         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18883         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18884         Add TIMEOUT to current time, don't subtract it.
18886 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18888         [BZ #2981]
18889         [BZ #18422]
18890         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18891         ($(objpfx)tst-audit2.out): Also depend on
18892         $(objpfx)tst-auditmod9b.so.
18893         * elf/tst-audit2.c: Include <dlfcn.h>.
18894         (calloc_called): New.
18895         (calloc): Allow to be called more than once.
18896         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18898 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18900         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18901         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18903 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18905         * stdlib/monetary.h: Fix comment.
18907 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18909         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18910         Avoid using variables in #defines that might cause shadowing.
18911         (INTERNAL_VSYSCALL_CALL): Likewise.
18913 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18915         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18917         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18918         * nptl/lll_timedlock_wait.c: ... to this new file.
18919         * nptl/Makefile (libpthread-routines): Add it.
18920         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18921         * nptl/lll_timedwait_tid.c: ... to this new file.
18922         * nptl/Makefile (libpthread-routines): Add it.
18923         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18924         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18925         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18926         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18927         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18928         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18929         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18930         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18931         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18932         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18934 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18936         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18937         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18938         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18940         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18942         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18944         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18945         * sysdeps/unix/sysv/linux/tile/sysdep.h
18946         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18947         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18948         using vDSO syscall macro.
18950 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18952         [BZ #17293]
18953         * uk_UA: Fix sorting order for Ukrainian locale
18955 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18957         * stdlib/monetary.h: Fix comment.
18959 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18961         [BZ #18234]
18962         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18963         st_mtim and st_ctim members.
18964         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18965         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18966         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18967         (struct stat64): Likewise.
18968         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18969         (struct stat64): Likewise.
18970         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18971         (struct stat64): Likewise.
18973 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18975         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18976         Define and include sysdep-vdso.h.
18977         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18978         Likewise.
18979         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18980         Likewise.
18981         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18982         Define with VDSO_SYMBOL and use PTR_MANGLE.
18983         (__vdso_clock_gettime): Likewise.
18984         (__vdso_clock_getres): Likewise.
18985         (_libc_vdso_platform_setup): Likewise.
18986         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18987         Likewise.
18988         (_libc_vdso_platform_setup): Likewise.
18989         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18990         Likewise.
18991         (__vdso_clock_gettime): Likewise.
18992         (__vdso_clock_getres): Likewise.
18993         (__vdso_get_tbfreq): Likewise.
18994         (__vdso_getcpu): Likewise.
18995         (__vdso_time): Likewise.
18996         (__vdso_sigtramp_rt64): Likewise.
18997         (__vdso_signtramp32): Likewise.
18998         (__vdso_sigtramp_rt32): Likewise.
18999         (_libc_vdso_platform_setup): Likewise.
19000         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19001         Likewise.
19002         (__vdso_clock_gettime): Likewise.
19003         (__vdso_clock_getres): Likewise.
19004         (_libc_vdso_platform_setup): Likewise.
19005         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19006         Likewise.
19007         (__vdso_clock_gettime): Likewise.
19008         (_libc_vdso_platform_setup): Likewise.
19009         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19010         Likewise.
19011         (__vdso_getcpu): Likewise.
19012         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19013         Use VDSO_SYMBOL macro to define.
19014         (__vdso_clock_gettime): Likewise.
19015         (__vdso_clock_getres): Likewise.
19016         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19017         Likewise.
19018         (__vdso_clock_gettime): Likewise.
19019         (__vdso_clock_getres): Likewise.
19020         (__vdso_get_tbfreq): Likewise.
19021         (__vdso_getcpu): Likewise.
19022         (__vdso_time): Likewise.
19023         (__vdso_sigtramp_rt64): Likewise.
19024         (__vdso_signtramp32): Likewise.
19025         (__vdso_sigtramp_rt32): Likewise.
19026         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19027         Likewise.
19028         (__vdso_clock_gettime): Likewise.
19029         (__vdso_clock_getres): Likewise.
19030         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19031         Likewise.
19032         (__vdso_clock_gettime): Likewise.
19033         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19034         Likewise.
19035         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19036         macro.
19037         (INTERNAL_VSYSCALL): Likewise.
19038         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19039         Remove macro.
19040         (INTERNAL_VSYSCALL): Likewise.
19041         (INTERNAL_VSYSCALL_NCS): Likewise.
19042         (INTERNAL_VSYSCALL_CALL): New macro.
19043         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19045         Likewise.
19046         (INTERNAL_VSYSCALL): Likewise.
19047         (INTERNAL_VSYSCALL_NCS): Likewise.
19048         (INTERNAL_VSYSCALL_CALL): New macro.
19049         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19051         (INLINE_VSYSCALL): Remove macro.
19052         (INTERNAL_VSYSCALL): Remove macro.
19053         (INTERNAL_VSYSCALL_NCS): Remove macro.
19054         (INTERNAL_VSYSCALL_CALL): New macro.
19055         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19056         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19057         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19058         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19059         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19061         (INLINE_VSYSCALL): Remove macro.
19062         (INTERNAL_VSYSCALL): Likewise.
19063         (INTERNAL_VSYSCALL_NCS): Likewise.
19064         (INTERNAL_VSYSCALL_CALL): New macro.
19065         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19066         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19067         PTR_DEMANGLE on vDSO pointer.
19068         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19069         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19070         macro.
19071         (INTERNAL_SYSCALL): Likewise.
19072         (INTERNAL_VSYSCALL_NCS): Remove macro.
19073         (INTERNAL_VSYSCALL_CALL): New macro.
19074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19075         Remove macro.
19076         (INTERNAL_VSYSCALL): Likewise.
19077         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19078         sysdep-vdso.h instead of libc-vdso.h.
19079         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19080         definition.
19081         (INLINE_VSYSCALL): Likewise.
19082         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19083         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19084         definition.
19085         (INLINE_VSYSCALL): Likewise.
19086         (INTERNAL_VSYSCALL): Likewise.
19087         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19088         * sysdeps/unix/sysv/linux/timespec_get.c
19089         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19090         (timespec_get): Use ANSI prototype.
19091         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19092         and definition for Linux.
19094 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19096         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19097         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19099 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19101         [BZ #2981]
19102         [BZ #18410]
19103         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19104         for missing DT_PLTRELSZ.
19106 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19108         Remove obsolete aliases that broke 'locale -a'
19109         [BZ #18412]
19110         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19111         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19112         breaking some applications that use 'locale -a' output.
19113         Change the encoding of this file from Latin-1 to ASCII to avoid
19114         other potential problems with people grepping this file.
19116 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19118         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19119         -fasynchronous-unwind-tables.
19120         (CFLAGS-sendto.c): Likewise.
19121         (CFLAGS-sendmsg.c): Likewise.
19122         (CFLAGS-connect.c): Likewise.
19123         (CFLAGS-recvmsg.c): Likewise.
19124         (CFLAGS-recvfrom.c): Likewise.
19125         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19126         (SOCKETCALL): New macro: non-cancellable socketcall.
19127         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19128         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19129         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19130         * sysdeps/unix/sysv/linux/accept.c: New file.
19131         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19132         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19133         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19134         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19135         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19136         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19137         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19138         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19139         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19140         * sysdeps/unix/sysv/linux/send.c: Likewise.
19141         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19142         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19143         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19144         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19145         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19146         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19147         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19148         prototype.
19149         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19150         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19151         instead of __internal_xxx function.
19152         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19153         prototype.
19154         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19155         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19156         instead of __internal_xxx function.
19157         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19158         prototype.
19159         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19160         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19161         instead of __internal_xxx function.
19162         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19163         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19164         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19165         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19166         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19167         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19168         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19169         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19170         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19171         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19172         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19173         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19174         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19175         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19176         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19177         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19178         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19179         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19180         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19181         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19184         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19185         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19186         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19187         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19188         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19189         * sysdeps/unix/sysv/linux/send.S: Likewise.
19190         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19191         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19192         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19193         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19194         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19195         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19196         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19197         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19198         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19199         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19200         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19201         socketcall is implemented in GLIBC.
19203 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19205         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19206         (__fma): Ignore uninitialized warnings around packing.
19207         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19208         (__fmaf): Ignore uninitialized warnings around packing.
19209         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19210         (__fmal): Ignore uninitialized warnings around packing.
19212         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19213         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19214         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19215         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19217         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19218         switch statement into default case.
19219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19221         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19222         a conditional in forcing "inexact".
19223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19224         Likewise.
19226 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19228         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19229         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19230         for each INTERNAL_SYSCALL use.
19232 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19234         [BZ #438]
19235         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19236         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19237         variable.
19239         [BZ #18444]
19240         * string/basename.c (basename): Rename to __basename and define as
19241         weak alias of __basename.  Use libc_hidden_weak.
19242         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19243         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19244         __basename instead of basename.
19245         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19246         Remove variable.
19247         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19249 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19251         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19252         (_IO_JUMPS_FILE_plus): New.
19253         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19254         _IO_CAST_FIELD_ACCESS.
19255         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19256         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19257         * libio/freopen.c (freopen): Likewise.
19258         * libio/freopen64.c (freopen64): Likewise.
19259         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19260         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19261         * libio/iofwide.c (_IO_fwide): Likewise.
19262         * libio/memstream.c (open_memstream): Likewise.
19263         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19264         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19265         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19267 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19269         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19270         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19271         NADJ.
19272         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19273         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19274         NADJ.
19275         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19276         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19277         NADJ.
19279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19280         (p == 4) case.
19282         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19283         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19284         Remove variable.
19285         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19286         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19287         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19289 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19291         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19292         Adjust jump table label generation macros.
19294 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19296         * stdio-common/vfprintf.c (vfprintf): Move local variables
19297         args_malloced, specs, specs_malloced, and the code after
19298         do_positional to the printf_positional function.
19299         (printf_positional): New function.
19301 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19303         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19304         function.
19305         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19306         STEP4_TABLE, process_arg): Move macro definitions
19307         out of the vfprintf function.  (Cosmetic change only.)
19309 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19311         * benchtests/Makefile (stdio-common-bench): Define.
19312         (benchset): Add stdio-common-bench.
19313         * sprintf-inputs: New file.
19314         * sprintf-source.c: New file.
19316 2015-05-21  Andreas Schwab  <schwab@suse.de>
19318         [BZ #13028]
19319         [BZ #17053]
19320         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19321         of struct __res_state.
19322         * resolv/res_send.c (__libc_res_nsend): Likewise.
19323         (get_nsaddr): New function.
19324         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19325         statp directly.
19327 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19329         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19330         -D_POSIX_C_SOURCE=199506L.
19332         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19334         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19335         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19336         Do not mention otherwise.
19337         [POSIX] (_XOPEN_VERSION): Do not expect.
19338         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19339         [POSIX] (_POSIX2_C_BIND): Likewise.
19340         [POSIX] (_POSIX2_VERSION): Likewise.
19341         [POSIX] (_XOPEN_XPG2): Likewise.
19342         [POSIX] (_XOPEN_XPG3): Likewise.
19343         [POSIX] (_XOPEN_XPG4): Likewise.
19344         [POSIX] (_XOPEN_UNIX): Likewise.
19345         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19346         [POSIX] (_POSIX_BARRIERS): Likewise.
19347         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19348         [POSIX] (_POSIX_CPUTIME): Likewise.
19349         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19350         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19351         [POSIX] (_POSIX_SHELL): Likewise.
19352         [POSIX] (_POSIX_SPAWN): Likewise.
19353         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19354         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19355         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19356         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19357         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19358         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19359         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19360         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19361         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19362         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19363         [POSIX] (_POSIX2_PBS): Likewise.
19364         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19365         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19366         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19367         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19368         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19369         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19370         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19371         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19372         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19373         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19374         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19375         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19376         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19377         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19378         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19379         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19380         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19381         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19382         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19383         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19384         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19385         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19386         [POSIX] (_SC_2_C_BIND): Likewise.
19387         [POSIX] (_SC_2_C_VERSION): Likewise.
19388         [POSIX] (_SC_2_PBS): Likewise.
19389         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19390         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19391         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19392         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19393         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19394         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19395         [POSIX] (_SC_BARRIERS): Likewise.
19396         [POSIX] (_SC_BASE): Likewise.
19397         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19398         [POSIX] (_SC_DEVICE_IO): Likewise.
19399         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19400         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19401         [POSIX] (_SC_FD_MGMT): Likewise.
19402         [POSIX] (_SC_FIFO): Likewise.
19403         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19404         [POSIX] (_SC_FILE_LOCKING): Likewise.
19405         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19406         [POSIX] (_SC_IOV_MAX): Likewise.
19407         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19408         [POSIX] (_SC_NETWORKING): Likewise.
19409         [POSIX] (_SC_PAGE_SIZE): Likewise.
19410         [POSIX] (_SC_PASS_MAX): Likewise.
19411         [POSIX] (_SC_PIPE): Likewise.
19412         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19413         [POSIX] (_SC_REGEXP): Likewise.
19414         [POSIX] (_SC_SHELL): Likewise.
19415         [POSIX] (_SC_SIGNALS): Likewise.
19416         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19417         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19418         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19419         [POSIX] (_SC_USER_GROUPS): Likewise.
19420         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19421         [POSIX] (_SC_STREAMS): Likewise.
19422         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19423         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19424         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19425         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19426         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19427         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19428         [POSIX] (_PC_FILESIZEBITS): Likewise.
19429         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19430         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19431         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19432         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19433         [POSIX] (uid_t): Likewise.
19434         [POSIX] (gid_t): Likewise.
19435         [POSIX] (off_t): Likewise.
19436         [POSIX] (pid_t): Likewise.
19437         [POSIX] (cuserid): Allow.
19438         (_SC_2_CHAR_TERM): Require constant.
19439         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19440         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19441         variable.
19443 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19445         * sysdeps/nacl/pthread-pids.h: New file.
19446         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19447         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19449         * nptl/pthread-pids.h: New file.
19450         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19451         * nptl/nptl-init.c: Include <pthread-pids.h>.
19452         (__pthread_initialize_minimal_internal):
19453         Call __pthread_initialize_pids instead of set_tid_address syscall.
19455         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19456         * sysdeps/posix/usleep.c: ... here.
19458 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19460         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19461         call_pselect6 object.
19462         [$(subdir) = io]: Remove call_sync_file_range object.
19463         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19464         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19465         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19466         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19468 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19470         * math/s_cproj.c: Add include "math_private.h".
19471         * math/s_cprojf.c: Likewise.
19472         * math/s_cprojl.c: Likewise.
19474 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19476         [BZ #18244]
19477         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19478         high mantissa bit when testing whether P is a NaN.
19479         * math/libm-test.inc (remainder_test_data): Add more tests.
19480         (remquo_test_data): Likewise.
19482         [BZ #18049]
19483         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19484         below -32, return the argument, with underflow if subnormal.
19485         * math/auto-libm-test-in: Add more tests of atanh.
19486         * math/auto-libm-test-out: Regenerated.
19488 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19490         [BZ #18434]
19491         * nptl/tst-sem15.c: New file.
19492         * nptl/Makefile (tests): Add it.
19493         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19494         s/<</>>/ to fix typo in EOVERFLOW check.
19495         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19497 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19499         * manual/strings.texi (envz_remove): Fix typo in safety
19500         annotations.
19502 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19503             Steve Ellcey  <sellcey@imgtec.com>
19505         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19506         in order to avoid strict alias warnings.
19507         (iruserok_af): Ditto for ra.
19509 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19511         [BZ #17581]
19512         * malloc/hooks.c
19513         (magicbyte): Convert to a function and avoid returning 0x01.
19514         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19515         (mem2chunk_check): Fix unsigned comparisons to zero.
19516         Hoist defs of sz and magic.
19518 2015-05-19  Richard Henderson  <rth@redhat.com>
19520         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19522         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19524 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19526         [BZ #16159]
19527         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19528         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19529         (reused_arena): Find a non-corrupt arena.
19530         (heap_trim): Pass arena to unlink.
19531         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19532         malloc_printerr.
19533         (top_check): Likewise.
19534         (free_check): Likewise.
19535         (realloc_check): Likewise.
19536         * malloc/malloc.c (malloc_printerr): Add arena argument.
19537         (unlink): Likewise.
19538         (munmap_chunk): Adjust.
19539         (ARENA_CORRUPTION_BIT): New macro.
19540         (arena_is_corrupt): Likewise.
19541         (set_arena_corrupt): Likewise.
19542         (sysmalloc): Use mmap if there are no usable arenas.
19543         (_int_malloc): Likewise.
19544         (__libc_malloc): Don't fail if arena_get returns NULL.
19545         (_mid_memalign): Likewise.
19546         (__libc_calloc): Likewise.
19547         (__libc_realloc): Adjust for additional argument to
19548         malloc_printerr.
19549         (_int_free): Likewise.
19550         (malloc_consolidate): Likewise.
19551         (_int_realloc): Likewise.
19552         (_int_memalign): Don't touch corrupt arenas.
19553         * malloc/tst-malloc-backtrace.c: New test case.
19555         * Makefile (summarize-tests): Fix return value on success.
19557         * manual/string.texi (Envz Functions): Add envz_remove.
19559 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19561         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19562         (invalid_name): New function, broken out of ...
19563         (__opendirat): ... here.  Call it.
19564         (need_isdir_precheck): New function, broken out of ...
19565         (__opendirat): ... here.  Call it.
19566         Use __fxstatat64, not __xstatat64.
19567         (opendir_oflags): New function, broken out of ...
19568         (__opendirat): ... here.  Call it.
19569         (opendir_tail): New function, broken out of ...
19570         (__opendirat): ... here.  Call it.
19571         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19572         opendir_tail, rather than punting to __opendirat.
19573         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19575 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19577         * .gitignore: Ignore generated *.pyc.
19579 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19581         * include/stdio.h: Define __need_wint_t.
19582         * test-skeleton.c: Avoid `for' loop initial declaration.
19583         * nptl/tst-initializers1.c: Use test-skeleton.c.
19585 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19587         [BZ #18418]
19588         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19590 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19592         [BZ #16352]
19593         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19594         (__ieee754_atanh): Force underflow exception for results with
19595         small absolute value.
19596         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19597         (__ieee754_atanhf): Force underflow exception for results with
19598         small absolute value.
19599         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19600         (__ieee754_atanh): Force underflow exception for results with
19601         small absolute value.
19602         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19603         (__ieee754_atanhf): Force underflow exception for results with
19604         small absolute value.
19605         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19606         (__ieee754_atanhl): Force underflow exception for results with
19607         small absolute value.
19608         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19609         (__ieee754_atanhl): Force underflow exception for results with
19610         small absolute value.
19611         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19612         (__ieee754_atanhl): Force underflow exception for results with
19613         small absolute value.
19614         * math/auto-libm-test-in: Do not allow missing underflow
19615         exceptions from atanh.
19616         * math/auto-libm-test-out: Regenerated.
19618         [BZ #18221]
19619         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19620         2**-28 as threshold for returning x or +/- 1/x.
19621         * math/auto-libm-test-in: Add more tests of tan.
19622         * math/auto-libm-test-out: Regenerated.
19624         [BZ #18220]
19625         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19626         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19627         * math/auto-libm-test-in: Add another test of lgamma.
19628         * math/auto-libm-test-out: Regenerated.
19630 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19632         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19633         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19634         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19635         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19636         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19637         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19638         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19639         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19640         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19641         (log1): Use fabs.  (my_log2): Use fabs.
19642         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19643         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19645         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19647         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19648         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19649         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19650         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19651         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19652         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19654 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19656         [BZ #18217]
19657         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19658         as threshold for returning 1 - x.
19659         * math/auto-libm-test-in: Add more tests of erfc.
19660         * math/auto-libm-test-out: Regenerated.
19662 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19664         [BZ #18196]
19665         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19666         threshold for large arguments.
19667         * math/auto-libm-test-in: Add another test of atan.
19668         * math/auto-libm-test-out: Regenerated.
19670         [BZ #16339]
19671         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19672         (__log1p): Force underflow exception for results with small
19673         absolute value.
19674         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19675         (__log1pf): Force underflow exception for results with small
19676         absolute value.
19677         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19678         (__log1p): Force underflow exception for results with small
19679         absolute value.
19680         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19681         (__log1pf): Force underflow exception for results with small
19682         absolute value.
19683         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19684         (__log1pl): Force underflow exception for results with small
19685         absolute value.
19686         * math/auto-libm-test-in: Do not allow missing underflow
19687         exceptions from log1p.
19688         * math/auto-libm-test-out: Regenerated.
19690 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19691             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19693         [BZ #16704]
19694         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19696 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19698         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19699         (libmvec): New variable.
19700         * configure.ac: Added option for mathvec build.
19701         * configure: Regenerated.
19702         * mathvec/Depend: New file.
19703         * mathvec/Makefile: New file.
19704         * shlib-versions: Added libmvec.
19705         * math/Makefile: Added rule for libm.so installation.
19707         * bits/math-vector.h: New file.
19708         * bits/libm-simd-decl-stubs.h: New header.
19709         * math/Makefile (headers): Added new header
19710         libm-simd-decl-stubs.h.
19711         * math/math.h (__MATHCALL_VEC): New macro.
19713         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19714         for conditions in testing functions.
19715         * math/Makefile: Added call of libm-have-vector-test.sh.
19716         * math/libm-test.inc (HAVE_VECTOR): New macros.
19718         * math/libm-test.inc: START refactored.
19719         * math/test-double.c (TEST_MATHVEC): Add define.
19720         * math/test-float.c: Likewise.
19721         * math/test-idouble.c: Likewise.
19722         * math/test-ifloat.c: Likewise.
19723         * math/test-ildoubl.c: Likewise.
19724         * math/test-ldouble.c: Likewise.
19725         * sysdeps/generic/math-tests-arch.h
19726         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19727         architecture check.
19729         * math/test-double.c (FUNC_TEST): New macro.
19730         * math/test-float.c: Likewise.
19731         * math/test-idouble.c: Likewise.
19732         * math/test-ifloat.c: Likewise.
19733         * math/test-ildoubl.c: Likewise.
19734         * math/test-ldouble.c: Likewise.
19735         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19737 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/nacl/fdopendir.c: New file.
19741         * dirent/scandir-tail.c: New file.
19742         * dirent/scandir64-tail.c: New file.
19743         * dirent/Makefile (routines): Add them.
19744         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19745         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19746         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19747         [!SCANDIR] (SCANDIR_TAIL): New macro.
19748         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19749         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19750         (SCANDIRAT): Macro removed.
19751         (SCANDIR_TAIL): New macro.
19752         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19753         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19754         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19755         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19756         (READDIR): Macro removed.
19757         (SCANDIR_TAIL): New macro.
19758         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19759         (SCANDIR_TAIL): New macro.
19761         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19762         * dirent/scandir-cancel.c: ... to this new file.
19763         * dirent/Makefile (routines): Add it.
19764         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19765         * sysdeps/unix/sysv/linux/i386/scandir64.c
19766         (SKIP_SCANDIR_CANCEL): Macro removed.
19767         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19769         * dirent/tst-scandir.c: New file.
19770         * dirent/tst-scandir64.c: New file.
19771         * dirent/Makefile (tests): Add them.
19773 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19775         [BZ #18409]
19776         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19778 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19780         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19781         list.
19783 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19785         * benchtests/bench-strcoll.c: New benchmark.
19786         * benchtests/Makefile: Generate locales and run benchmark.
19787         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19788         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19789         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19790         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19791         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19792         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19793         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19794         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19795         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19796         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19797         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19798         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19799         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19800         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19801         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19802         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19803         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19804         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19805         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19806         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19807         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19808         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19809         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19810         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19812 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19814         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19815         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19817 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19819         * posix/uname-values.h: New file.
19820         * posix/uname.c: Include that instead of <config-name.h>.
19821         * sysdeps/nacl/uname-values.h: New file.
19822         * sysdeps/arm/nacl/uname-values.h: New file.
19824 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19826         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19827         splitting into fields.
19829 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19831         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19832         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19833         * locale/localeinfo.h: Add enum collation_encoding_type.
19834         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19835         * programs/ld-collate.c (collate_output): Add encoding type info.
19836         * string/strcoll_l.c (STRDIFF): New function.
19837         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19838         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19840 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19842         [BZ #18397]
19843         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19844         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19845         <fpu_control.h> instead of <math/fpu_control.c>.
19846         * sysdeps/mips/mips32/fpu/Makefile: New file.
19848 2015-05-11  Andreas Schwab  <schwab@suse.de>
19850         [BZ #18007]
19851         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19852         nss_endgrent.
19853         (_nss_compat_endgrent): Call nss_endgrent.
19854         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19855         nss_endpwent.
19856         (_nss_compat_endpwent): Call nss_endpwent.
19857         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19858         needent, call nss_setspent only if non-zero.
19859         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19860         (internal_endspent): Don't call nss_endspent.
19861         (_nss_compat_endspent): Call nss_endspent.
19862         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19863         Remove.  All uses removed.
19864         (internal_setent): Remove parameter stayopen, add parameter
19865         stream.  Use it instead of global variable.
19866         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19867         (internal_endent, internal_getent): Add parameter stream.  Use it
19868         instead of global variable.
19869         (CONCAT(_nss_files_end,ENTNAME))
19870         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19871         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19872         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19873         uses removed.
19874         (internal_setent, internal_endent): Add parameter stream.  Use it
19875         instead of global variable.
19876         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19877         stream.
19878         (get_next_alias): Add parameter stream.
19879         (_nss_files_getaliasent_r): Pass global stream.
19880         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19881         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19882         (_nss_files_gethostbyname4_r): Pass local stream to
19883         internal_setent, internal_getent and internal_endent.  Remove
19884         locking.
19886 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19888         * tst-strfmon1.c (tests): Update expected currency symbol.
19890 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19892         * sysdeps/nacl/gethostname.c: New file.
19894 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19896         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19897         and sinh.
19898         * math/auto-libm-test-out: Regenerated.
19899         * sysdeps/i386/fpu/libm-test-ulps: Update.
19900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19904         [BZ #18125]
19905         * stdlib/tst-setcontext3.c: New file.
19906         * stdlib/tst-setcontext3.sh: New file.
19907         * stdlib/Makefile (tests): Add tst-setcontext3.
19908         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19909         to verify test program created output file.
19910         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19911         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19912         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19913         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19915 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19917         [BZ #18383]
19918         * elf/tst-tlsalign.c: New file.
19919         * elf/tst-tlsalign-static.c: New file.
19920         * elf/tst-tlsalign-lib.c: New file.
19921         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19922         (tests-static): Add tst-tlsalign-static.
19923         (modules-names): Add tst-tlsalign-lib.
19924         (test-xfail-tst-tlsalign): New variable.
19925         (test-xfail-tst-tlsalign-static): New variable.
19927         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19928         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19930 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19932         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19933         csqrt, erfc, sin and sincos.
19934         * math/auto-libm-test-out: Regenerated.
19935         * sysdeps/i386/fpu/libm-test-ulps: Update.
19936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19938 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19940         * sysdeps/aarch64/libm-test-ulps: Update.
19942 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19944         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19945         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19946         * math/auto-libm-test-out: Regenerated.
19947         * sysdeps/i386/fpu/libm-test-ulps: Update.
19948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19950 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19952         [BZ #18265]
19953         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19954         (wcsncpy): Likewise.
19956 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19958         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19959         Assume __ASSUME_FALLOCATE is always true.
19960         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19961         (__posix_fallocate64_l64): Likweise.
19962         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19963         (posix_fallocate): Likewise.
19964         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19965         (__posix_fallocate64_l64): Likewise.
19966         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19967         [!__ASSUME_FALLOCATE]: Add comment.
19969 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19971         * sysdeps/unix/sysv/linux/i386/Makefile
19972         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19973         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19974         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19975         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19976         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19977         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19978         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19980 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19982         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19983         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19984         tgamma.
19985         * math/auto-libm-test-out: Regenerated.
19986         * sysdeps/i386/fpu/libm-test-ulps: Update.
19987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19991         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
19997         * math/auto-libm-test-out: Regenerated.
19998         * sysdeps/i386/fpu/libm-test-ulps: Update.
19999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20001         * math/auto-libm-test-in: Add more tests of tan.
20002         * math/auto-libm-test-out: Regenerated.
20003         * sysdeps/i386/fpu/libm-test-ulps: Update.
20004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20007         * math/auto-libm-test-out: Regenerated.
20008         * sysdeps/i386/fpu/libm-test-ulps: Update.
20009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20011         * math/auto-libm-test-in: Add another test of pow.
20012         * math/auto-libm-test-out: Regenerated.
20013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20015         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20021         log1p.
20022         * math/auto-libm-test-out: Regenerated.
20023         * sysdeps/i386/fpu/libm-test-ulps: Update.
20024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20026 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20028         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20029         Elf64_Chdr structs and ELFCOMPRESS constants.
20031 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20033         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20034         expm1.
20035         * math/auto-libm-test-out: Regenerated.
20036         * sysdeps/i386/fpu/libm-test-ulps: Update.
20037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20039         * math/auto-libm-test-in: Add more tests of erf and erfc.
20040         * math/auto-libm-test-out: Regenerated.
20041         * sysdeps/i386/fpu/libm-test-ulps: Update.
20042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20044 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20046         * config.h.in (HAVE_AARCH64_BE): Add.
20048 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20050         * math/auto-libm-test-in: Add more tests of csqrt.
20051         * math/auto-libm-test-out: Regenerated.
20052         * sysdeps/i386/fpu/libm-test-ulps: Update.
20053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20055         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20056         * math/auto-libm-test-out: Regenerated.
20057         * sysdeps/i386/fpu/libm-test-ulps: Update.
20058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20060         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20062 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20064         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20065         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20067         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20068         (euidaccess, eaccess): Define as weak aliases.
20070         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20071         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20072         but __suseconds_t is often 'long int' so some sources assume that
20073         type is being used (e.g. they use %ld to print tv_usec).
20075 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20077         [BZ #18007]
20078         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20079         (CVE-2014-8121)
20080         * nss/tst-nss-getpwent.c: New file.
20081         * nss/Makefile (tests): Add new test.
20083 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20085         [BZ #18346]
20086         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20087         exponents less than 48 as cases where high part of mantissa needs
20088         examining to determine whether argument is integral.
20089         * math/libm-test.inc (round_test_data): Add more tests.
20091 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20093         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20095 2015-04-27  David S. Miller  <davem@davemloft.net>
20097         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20098         __tls_get_addr.
20099         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20101 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20103         [BZ#18333]
20104         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20106 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20108         [BZ#18333]
20109         * time/tzset.c (parse_tzname): Return error on memory allocation
20110         failure.
20111         * test-skeleton.c (struct temp_name_list): Change type of name
20112         member to non-const.
20113         (add_temp_file): Create a copy of the file name.
20114         (delete_temp_files): Deallocate memory.
20115         (create_temp_file): Add comment.
20117 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20119         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20120         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20122 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20124         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20125         * sysdeps/arm/configure: Regenerated.
20127 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20129         [BZ #17715]
20130         * time/tzfile.c (__tzfile_read): Check for large values of
20131         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20132         * time/tzset.c (__tzstring_len): New function, based on the old
20133         __tzstring function.
20134         (__tzstring): Call __tzstring_len.
20135         (parse_tzname): New helper function extracted from
20136         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20137         the input string.
20138         (parse_offset): New helper function extracted from
20139         __tzset_parse_tz.  Replace switch with fallthrough with
20140         initialization before sscanf.
20141         (parse_rule): Likewise.
20142         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20143         new-style function definition.
20144         * timezone/Makefile (tests): Add tst-tzset.
20145         (tst-tzset.out): Dependencies on time zone files.
20146         (tst-tzset-ENV): Set TZDIR.
20147         (testdata/XT%): Copy crafted time zone files.
20148         * timezone/README: Mention crafted time zone files.
20149         * timezone/testdata/XT1, timezone/testdata/XT2,
20150         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20151         files.
20152         * timezone/tst-tzset.c: New test.
20154 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20156         * Makeconfig (+gccwarn): Remove -Winline.
20158 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20160         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20162 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20164         * NEWS: Mention sysconf() cache information support for s390.
20165         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20167 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20169         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20170         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20171         (__nearbyint): Likewise.
20172         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20173         (copysignl): Likewise.
20175 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20177         [BZ #18287]
20178         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20179         based on padding.  (CVE-2015-1781)
20181 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20183         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20184         libc-vdso.h.
20185         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20186         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20187         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20188         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20189         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20190         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20192         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20193         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20194         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20196         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20197         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20198         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20199         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20200         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20201         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20203         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20204         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20205         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20206         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20207         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20209 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20211         * stdlib/setenv.c (__add_to_environ):
20212         Dump core quickly if setenv (..., NULL, ...) is called.
20213         This time, do it the right way, and pacify GCC with a pragma.
20215 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20217         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20218         IMAP->l_prev cannot be null, and #if out the code for the contrary
20219         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20220         believe that NS (&_dl_ns[NSID]) could point outside the array.
20222         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20223         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20224         before using NSID as an index.
20226 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20228         [BZ #17825]
20229         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20230         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20231         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20233 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20235         Add preliminary port to Google Native Client on ARM.
20236         * abi-tags (.*-.*-nacl.*): New entry.
20237         * sysdeps/arm/nacl: New directory.
20238         * sysdeps/nacl: New directory.
20240 2015-04-16  David S. Miller  <davem@davemloft.net>
20242         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20243         lowlevellock-futex.h
20245 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20247         * sysdeps/tile/configure.ac: New file.
20248         * sysdeps/tile/configure: Regenerated.
20250 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20252         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20253         conditionals for weak_alias and libc_hidden_weak.
20254         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20255         libc_hidden_weak and weak_alias.
20256         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20257         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20258         and weak_alias for static one.
20260 2015-04-15  David S. Miller  <davem@davemloft.net>
20262         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20264 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20266         [BZ #18206]
20267         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20268           Use signed comparision instead of substraction to avoid
20269           overflow bug.
20270         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20271           Take the sign of ret.
20272         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20273           Do not expect precise return values. Only the sign matters.
20274         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20275         * wcsmbs/test-wcsncmp.c: New File.
20276         * string/test-strncmp.c: Add wcsncmp support.
20278 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20280         [BZ #6792]
20281         * math/w_log1p.c: New file.
20282         * math/w_log1pf.c: Likewise.
20283         * math/w_log1pl.c: Likewise.
20284         * math/Makefile (libm-calls): Add w_log1p.
20285         * math/s_log1pl.c (log1pl): Remove weak_alias.
20286         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20287         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20288         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20289         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20290         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20291         [NO_LONG_DOUBLE] (log1pl): Likewise.
20292         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20293         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20294         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20295         (log1p): Remove long_double_symbol.
20296         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20297         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20298         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20299         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20300         remove weak_alias for corresponding log1p function.
20301         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20302         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20303         * sysdeps/ia64/fpu/w_log1p.c: New file.
20304         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20305         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20306         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20308 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20310         [BZ #18247]
20311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20312         decimal exponent by 1.
20313         * stdlib/tst-strtod-round-data: Add more tests.
20314         * stdlib/tst-strtod-round.c (tests): Regenerated.
20316 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20318         * math/auto-libm-test-in: Add more tests of clog and clog10.
20319         * math/auto-libm-test-out: Regenerated.
20320         * sysdeps/i386/fpu/libm-test-ulps: Update.
20321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20323 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20325         * Makeconfig (module-cppflags): Exclude all .v.i files.
20326         (skip-module-cppflags): Variable removed.
20328         * configure.ac (libc_config_ok): Initialize before reading
20329         preconfigure scripts, not after.
20330         * configure: Regenerated.
20332         * test-skeleton.c (TIMEOUT): Move #define to top level.
20333         (main): Grok environment variable TEST_DIRECT.  If set, print
20334         test expectation details into that file and then behave as if
20335         given --direct.
20337 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20339         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20340         warning on 32-bit.
20342 2015-04-08  David S. Miller  <davem@davemloft.net>
20344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20346 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20348         * math/auto-libm-test-in: Add more tests of atanh.
20349         * math/auto-libm-test-out: Regenerated.
20350         * sysdeps/i386/fpu/libm-test-ulps: Update.
20351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20353         * math/auto-libm-test-in: Add more tests of atan.
20354         * math/auto-libm-test-out: Regenerated.
20355         * sysdeps/i386/fpu/libm-test-ulps: Update.
20356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20358 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20360         * elf/pldd.c (main): Rewrite to use struct
20361         scratch_buffer instead of extend_alloca.
20362         * elf/pldd-xx.c (find_maps): Likewise.
20363         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20364         <alloca.h>.
20365         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20366         scratch_buffer instead of extend_alloca.
20367         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20368         grp/compat-initgroups.c.
20369         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20370         Rewrite to use struct scratch_buffer instead of extend_alloca.
20371         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20372         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20374 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20376         * math/auto-libm-test-in: Add more tests of cbrt.
20377         * math/auto-libm-test-out: Regenerated.
20378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20380         * math/auto-libm-test-in: Add more tests of cabs.
20381         * math/auto-libm-test-out: Regenerated.
20382         * sysdeps/i386/fpu/libm-test-ulps: Update.
20383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20385         [BZ #18210]
20386         [BZ #18211]
20387         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20388         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20389         computations.
20390         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20391         clog10.
20392         * math/auto-libm-test-out: Regenerated.
20393         * sysdeps/i386/fpu/libm-test-ulps: Update.
20394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20396         [BZ #18197]
20397         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20398         (atan): Set FE_TONEAREST mode for internal computations.
20399         * math/auto-libm-test-in: Add more tests of atan.
20400         * math/auto-libm-test-out: Regenerated.
20402 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20404         [BZ #17930]
20405         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20407 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20409         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20411 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20413         * include/scratch_buffer.h: New file.
20414         * malloc/scratch_buffer_grow.c: Likewise.
20415         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20416         * malloc/scratch_buffer_set_array_size.c: Likewise.
20417         * malloc/tst-scratch_buffer.c: Likewise.
20418         * malloc/Makefile (routines): Add scratch_buffer_grow.
20419         (tests): Add test case.
20420         * malloc/Versions (GLIBC_PRIVATE): Export
20421         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20422         __libc_scratch_buffer_set_array_size.
20424 2015-04-06  Richard Henderson  <rth@redhat.com>
20426         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20427         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20429         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20430         unsigned int before printing.
20432 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20434         [BZ #17596]
20435         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20436         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20438 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20440         * include/libc-internal.h (libc_max_align_t): Define.
20442 2015-04-02  Andreas Schwab  <schwab@suse.de>
20444         [BZ #16850]
20445         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20447 2015-04-02  Mel Gorman  <mgorman@suse.de>
20449         [BZ #17195]
20450         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20451         as well as the main arena.
20453 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20455         [BZ #18185]
20456         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20457         sharing L2 cache to 2 for Silvermont/Knights Landing.
20459 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20461         [BZ #17711]
20462         * config.make.in (have-protected-data): New.
20463         * configure.ac: Check linker support for protected data symbol.
20464         * configure: Regenerated.
20465         * elf/Makefile (modules-names): Add tst-protected1moda and
20466         tst-protected1modb if $(have-protected-data) is yes.
20467         (tests): Add tst-protected1a and tst-protected1b if
20468         $(have-protected-data) is yes.
20469         ($(objpfx)tst-protected1a): New.
20470         ($(objpfx)tst-protected1b): Likewise.
20471         (tst-protected1modb.so-no-z-defs): Likewise.
20472         * elf/tst-protected1a.c: New file.
20473         * elf/tst-protected1b.c: Likewise.
20474         * elf/tst-protected1mod.h: Likewise.
20475         * elf/tst-protected1moda.c: Likewise.
20476         * elf/tst-protected1modb.c: Likewise.
20478 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20480         [BZ #17711]
20481         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20482         indicates it is called from do_lookup_x on relocation against
20483         protected data, skip the data definion in the executable from
20484         copy reloc.
20485         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20486         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20487         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20488         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20489         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20490         otherwise to 0.
20491         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20492         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20493         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20494         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20495         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20496         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20498 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20500         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20501         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20503 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20505         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20506         THREAD_SETMEM_NC.
20507         * sysdeps/x86_64/nptl/tls.h: Ditto.
20509 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20511         * dlfcn/tststatic.c (main): Converted to ...
20512         (do_test): ... this.
20513         (TEST_FUNCTION): New macro.
20514         Include test-skeleton.c.
20516 2015-03-26  Alan Modra  <amodra@gmail.com>
20518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20519         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20520         zero for undefined weak.
20521         (elf_machine_plt_conflict): Similarly.
20523 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20525         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20526         atanh.
20527         * math/auto-libm-test-out: Regenerated.
20528         * sysdeps/i386/fpu/libm-test-ulps: Update.
20529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20531         * math/auto-libm-test-in: Add another test of asin.
20532         * math/auto-libm-test-out: Regenerated.
20533         * sysdeps/i386/fpu/libm-test-ulps: Update.
20534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20537         Remove macro.
20538         (LLL_EBX_REG): Likewise.
20539         (LLL_ENTER_KERNEL): Likewise.
20541         * math/auto-libm-test-in: Add more tests of asin.
20542         * math/auto-libm-test-out: Regenerated.
20543         * sysdeps/i386/fpu/libm-test-ulps: Update.
20544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20546         [BZ #18138]
20547         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20548         libc_do_syscall_args): New structure.
20549         (INTERNAL_SYSCALL_MAIN_0): New macro.
20550         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20551         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20552         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20553         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20554         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20555         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20556         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20557         Replace conditional definitions by conditional definitions of ....
20558         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20559         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20560         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20561         (libpthread-sysdep_routines): Add libc-do-syscall.
20562         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20563         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20564         to __NR_futex not 240.
20566 2015-03-25  Alan Modra  <amodra@gmail.com>
20568         * NEWS: Advertise TLS optimization.
20569         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20570         (DT_PPC_NUM): Increment.
20571         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20572         (CHECK_STATIC_TLS): Use here.
20573         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20574         TLS descriptors.
20575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20576         * sysdeps/powerpc/dl-tls.c: New file.
20577         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20578         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20579         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20580         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20585 2015-03-25  Alan Modra  <amodra@gmail.com>
20587         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20588         for overlapping .opd entries" to "support...".
20589         * sysdeps/powerpc/powerpc64/configure: Regenerate
20591 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20593         * math/auto-libm-test-in: Add more tests of acos.
20594         * math/auto-libm-test-out: Regenerated.
20595         * sysdeps/i386/fpu/libm-test-ulps: Update.
20596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20598         * math/auto-libm-test-in: Add more tests of expm1.
20599         * math/auto-libm-test-out: Regenerated.
20600         * sysdeps/i386/fpu/libm-test-ulps: Update.
20601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20603 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20605         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20606         * math/auto-libm-test-out: Regenerated.
20607         * sysdeps/i386/fpu/libm-test-ulps: Update.
20608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20610         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613         * math/auto-libm-test-in: Add more tests of log2.
20614         * math/auto-libm-test-out: Regenerated.
20615         * sysdeps/i386/fpu/libm-test-ulps: Update.
20616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20620         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20621         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20622         _IO_IS_APPENDING bit in READ_WRITE instead.
20624 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20626         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20627         (__determine_cpumask_size): Replace extend_alloca with a
20628         variable-length array.  Do not treat res == 0 as an error.
20630 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20632         [BZ #18100]
20633         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20634         and integer overflow.
20635         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20636         (main): Add integer overflow tests.
20637         * manual/pattern.texi (Calling Wordexp): Document additional use
20638         for WRDE_SYNTAX.
20640 2015-03-23  Alan Modra  <amodra@gmail.com>
20642         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20643         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20644         and false branch of conditional.
20645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20646         Likewise.
20648 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20650         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20651         libc-modules.h
20652         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20653         unused declaration of _hurd_intr_rpc_msg_in_trap.
20654         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20655         defined instead of whether it is non-zero.
20656         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20657         input constraint instead of both input and output constraint.  Use ecx
20658         clobber instead of %ecx.
20659         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20660         mutex_unlock): Use a statement expression instead of an expression list.
20661         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20662         type to vm_size_t instead of vm_address_t.
20663         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20664         defined instead of whether it is non-zero.
20665         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20666         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20667         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20668         comparisons with mapaddr.
20669         * nscd/nscd-client.h: Include <time.h>.
20670         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20671         9th parameter to __vm_region instead of int.
20672         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20673         * scripts/check-local-headers.sh (exclude): Add device/,
20674         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20675         cthreads.h.
20677 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20679         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20680         to account for alignment padding.
20681         * sysdeps/arm/memmove.S: Likewise.
20683 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20685         * sysdeps/unix/sysv/linux/generic/README: New file.
20687 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #18138]
20690         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20691         (futex_abstimed_wait)
20692         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20693         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20694         of lll_futex_timed_wait.
20696 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20698         [BZ #17542]
20699         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20701 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20703         [BZ #17090]
20704         [BZ #17620]
20705         [BZ #17621]
20706         [BZ #17628]
20707         * NEWS: Update.
20708         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20709         entries with Static TLS too.  Skip entries past the end of the
20710         allocated DTV, from Alan Modra.
20711         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20712         Static TLS DTV entry set up from...
20713         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20714         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20715         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20716         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20717         for Static TLS.
20718         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20719         that the slot we find is associated with the given map before
20720         using its generation count.
20721         * nptl_db/db_info.c: Include ldsodefs.h.
20722         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20723         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20724         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20725         (link_map::l_tls_offset): New struct field.
20726         (dtv_t::counter): Likewise.
20727         (rtld_global): New struct.
20728         (_rtld_global): New rtld variable.
20729         (dl_tls_dtv_slotinfo_list): New rtld global field.
20730         (dtv_slotinfo_list): New struct.
20731         (dtv_slotinfo): Likewise.
20732         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20733         (td_lookup): Rename to...
20734         (td_mod_lookup): ... this.  Use new mod parameter instead of
20735         LIBPTHREAD_SO.
20736         * nptl_db/td_thr_tlsbase.c: Include link.h.
20737         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20738         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20739         addresses even if the DTV is out of date or missing them.
20740         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20741         index zero-length arrays.
20742         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20743         (td_lookup): Make it a macro implemented in terms of...
20744         (td_mod_lookup): ... this declaration.
20745         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20746         (DB_MAIN_VARIABLE): Likewise.
20748 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20750         [BZ #18134]
20751         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20753 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20755         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20757 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20759         [BZ #18128]
20760         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20761         (atomic_add, atomic_increment_and_test)
20762         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20764 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20766         * stdlib/setenv.c (__add_to_environ):
20767         Dump core quickly if setenv (..., NULL, ...) is called.
20769 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20771         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20772         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20773         all the necessary asm magic in one place.
20774         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20775         using those.
20777 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20779         [BZ #14906]
20780         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20781         traced file mtime. Use consistent log message.
20782         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20783         (register_traced_file): Call install_watches. Always set mtime.
20784         (invalidate_cache): Iterate over all trace files. Call install_watches.
20785         (inotify_check_files): Don't inline. Handle watching parent
20786         directories and configuration file movement in and out.
20787         (handle_inotify_events): New function.
20788         (main_loop_poll): Call handle_inotify_events.
20789         (main_loop_epoll): Likewise.
20790         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20791         (struct traced_file): Use array of inotify fds. Add parent directory,
20792         and basename.
20793         (struct database_dyn): Remove unused file_mtime.
20794         (init_traced_file): New inline function.
20795         (define_traced_file): New macro.
20796         * nss/nss_db/db-init.c: Use define_traced_file.
20797         (_nss_db_init): Use init_traced_file.
20798         * nss/nss_files/files-init.c: Use define_traced_file.
20799         (_nss_files_init): Use init_traced_file.
20801 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20803         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20804         [_LIBC]: Do not include <stdlib.h>.
20805         [!_LIBC] (abort): Remove declaration.
20806         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20807         _FP_STATIC_ASSERT instead of conditionally calling abort.
20808         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20809         (_FP_EXTEND_CNAN): Likewise.
20810         (FP_TRUNC): Likewise.
20811         (__FP_CLZ): Likewise.
20812         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20814 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20816         * manual/string.texi (XPG basename): Fix prototype.
20818 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20820         [BZ #18080]
20821         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20822         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20823         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20824         (__setcontext): Likewise.
20825         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20826         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20827         Call rt_sigprocmask syscall one time to set new signal mask
20828         and retrieve the current signal mask instead of two calls.
20829         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20830         (__swapcontext): Likewise.
20831         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20832         * stdlib/tst-setcontext2.c: New file.
20834 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20836         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20838 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20840         [BZ #18093]
20841         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20842         the wrong size.
20844 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20846         [BZ #18043]
20847         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20849 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20851         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20852         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20853         Remove define.
20854         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20855         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20856         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20857         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20858         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20859         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20860         define.
20861         * nptl_db/td_symbol_list.c (td_lookup): Remove
20862         HAVE_ASM_GLOBAL_DOT_NAME code.
20863         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20864         HAVE_ASM_GLOBAL_DOT_NAME check.
20865         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20866         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20867         (DOT_LABEL): Remove define.
20868         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20869         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20870         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20871         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20872         (__TLS_GET_ADDR): Likewise.
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20874         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20876 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20878         [BZ #18111]
20879         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20880         (_FPU_SETCW): Initialize cw from fpsr before storing.
20881         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20882         (fesetexceptflag): Rewrite using fpu_control.h.
20883         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20885 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20887         [BZ #18110]
20888         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20889         asms.
20890         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20892 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20894         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20895         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20896         abort.
20897         (_FP_FMA): Likewise.
20898         (_FP_DIV): Likewise.
20900 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20902         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20903         with 0 in that case.
20904         * Makefile (summarize-tests): New canned sequence, factored out of
20905         commands for targets tests and xtests.  Display summary lines that
20906         don't start with PASS: or XFAIL: rather than ones that do start with
20907         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20908         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20909         do start with ERROR: or FAIL:.
20910         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20911         (except for [$(build-shared) = yes]).
20912         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20913         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20914         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20915         * nptl/Makefile: Revert 2015-03-04 changes.
20916         [$(CXX) empty] (tests-unsupported): New variable.
20917         * debug/Makefile: Likewise.
20919         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20920         gnulib file.  Replace __attribute with __attribute__ throughout.
20922 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20924         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20926 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20928         [BZ #18104]
20929         * math/auto-libm-test-in: Add another test of pow.
20930         * math/auto-libm-test-out: Regenerated.
20932 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20934         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20935         $(config-cflags-nofma).
20937 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20939         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20940         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20941         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20942         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20943         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20944         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20945         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20946         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20947         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20948         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20949         Add comment on closing #endif.
20951 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20953         * posix/wordexp.c (CHAR_IN_SET): New macro.
20954         (parse_param): Use it.
20956 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20958         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20960 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20962         [BZ #18043]
20963         * posix/wordexp.c (parse_param): Fix buffer overflow.
20964         * posix/wordexp-test.c (test_case): Add test case.
20966 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20968         [BZ #18042]
20969         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20970         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20972 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20974         [BZ #18043]
20975         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20976         (do_bz18043): Delete.
20977         (at_page_end): New.
20978         (testit): Refactor to have words at the edge of unreadable page.
20980 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20982         [BZ #16734]
20983         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20984         Cleanup read-only streams as well.
20985         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20987 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20989         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20990         <bits/libc-lockP.h>
20992 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20994         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20995         on [__KERNEL__].
20996         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20997         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20998         * soft-fp/op-common.h (_FP_DECL): Likewise.
21000 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21002         * elf/ifuncdep2.c (global): Replace
21003         __attribute__((visibility("protected"))) with
21004         asm (".protected global").
21005         * elf/ifuncmod1.c (global): Likewise.
21006         * elf/ifuncmod5.c (global): Likewise.
21008 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21010         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21011         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21013 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21015         * manual/install.texi (Configuring and compiling):
21016         Document test-wrapper-env-only.
21017         * INSTALL: Regenerated.
21019 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21021         [BZ #18043]
21022         * posix/wordexp.c (parse_param): Fix buffer overflow.
21023         * posix/wordexp-test.c (do_bz18043): Add test case.
21025 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21027         * time/tst-strptime2.c (do_test): Ensure failing tests are
21028         reported correctly.
21029         * time/tst-strptime3.c (do_test): Likewise.
21031 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21033         Fix aio_error thread-safety.
21034         * sysdeps/pthread/aio_error.c: New file
21035         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21036         synchronization.
21038 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21040         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21041         (group_number, vfprintf): Use it.
21042         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21043         (JUMP, REF): Use it.
21044         (WORK_BUFFER_SIZE): New enum constant.
21045         (process_arg, vfprintf): Use it.
21047 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21049         * manual/errno.texi (Error Messages): Complete example function
21050         by adding missing #define.
21051         (program_invocation_name): Add statement indicating GNU
21052         extension and reference which header file declares the variable.
21053         (program_invocation_short_name): Likewise.
21055 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21057         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21058         compatibility note.
21060 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21062         * Makeconfig (test-wrapper-env-only): New variable.
21063         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21064         then use that with $(test-wrapper-env-only) rather than using
21065         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21067 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21069         [BZ #18082]
21070         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21071         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21072         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21073         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21074         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21075         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21076         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21077         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21078         Likewise.
21079         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21080         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21081         Likewise.
21082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21083         Likewise.
21084         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21085         Likewise.
21086         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21087         Likewise.
21088         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21089         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21090         Likewise.
21091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21092         Likewise.
21093         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21094         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21096 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21098         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21099         (ETH_ALEN): New macro.
21100         (struct ether_addr): Use it for length of ether_addr_octet.
21102         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21103         (setdb): Don't call __nss_configure_lookup for "rpc".
21104         (do_test): Don't call test_rpc.
21105         (output_rpcent, test_rpc): Functions moved ...
21106         * sunrpc/test-rpcent.c: ... to this new file.
21107         * sunrpc/Makefile (tests): Add it.
21109         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21110         __xpg_sigpause.
21111         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21112         * nptl/tst-signal6.c: Likewise.
21113         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21114         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21116         * configure.ac (libc_cv_cxx_link_ok): New check.
21117         Reset CXX to empty if it fails to link.
21118         * configure: Regenerated.
21119         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21120         bug-atexit3-lib only if $(CXX) is nonempty.
21121         * nptl/Makefile (tests): Likewise for tst-cancel24.
21122         (tests, tests-static): Likewise for tst-cancel24-static.
21123         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21124         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21125         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21126         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21128 2015-03-04  Andreas Schwab  <schwab@suse.de>
21130         [BZ #17631]
21131         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21132         for non-GCC compilers.
21133         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21134         Likewise.
21136 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21138         [BZ #17776]
21139         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21140         integer before bitwise and assembly operations.
21141         (feclearexcept): Likewise.
21142         * math/test-fenvinline.c: New file.
21143         * math/Makefile: Add test-fenvinline test.
21145 2015-03-03  Alan Modra  <amodra@gmail.com>
21147         [BZ #16512]
21148         * scripts/localplt.awk: Strip off symbol version.
21149         * NEWS: Mention bug fix.
21151 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21153         * sysdeps/pthread/timer_routines.c
21154         (timer_free_list, thread_free_list, thread_active_list): Make static.
21156 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21158         [BZ #17779]
21159         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21160         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21161         Undefine.
21162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21163         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21164         Likewise.
21165         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21166         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21167         Likewise.
21169 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21171         [BZ #18036]
21172         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21173         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21175 2015-03-02  Andreas Schwab  <schwab@suse.de>
21177         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21178         variable name.
21180 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21182         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21183         Return error status.
21185 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21187         [BZ #15969]
21188         * locale/findlocale.c (_nl_find_locale): Introduce const
21189         version of loc_name and drop unsafe type casts.
21191 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21193         * dlfcn/tststatic2.c (main): Converted to ...
21194         (do_test): ... this.
21195         (TEST_FUNCTION): New macro.
21196         Include test-skeleton.c.
21198 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21200         [BZ #17711]
21201         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21202         (tests-pie): Add vismain.
21203         (CFLAGS-vismain.c): New.
21204         * elf/vismain.c: Add comments for PIE requirement.
21206 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21208         [BZ #18046]
21209         [BZ #18047]
21210         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21211         0x1p-56L as threshold for just returning the argument.
21212         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21213         0x1p-32L as threshold for just returning the argument.
21214         * math/auto-libm-test-in: Add more tests of atanh.
21215         * math/auto-libm-test-out: Regenerated.
21216         * sysdeps/i386/fpu/libm-test-ulps: Update.
21217         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21219 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21221         * string/bcopy.c (bcopy): Call memmove for performance.
21223 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21225         * string/bzero.c (__bzero): Call memset for performance.
21227 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21229         [BZ #18068]
21230         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21231         to 00100000.
21233 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21235         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21237 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21239         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21240         (__kernel_standard): Use CSTR macro when setting exc.name.
21241         * sysdeps/ieee754/Makefile [$(subdir) = math]
21242         (CFLAGS-k_standard.c): Remove variable.
21244         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21245         setting p and q from "else if" to "else".
21246         (qzero): Likewise.
21247         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21248         (qone): Likewise.
21249         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21250         (qzerof): Likewise.
21251         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21252         (qonef): Likewise.
21253         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21254         (qzero): Likewise.
21255         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21256         (qone): Likewise.
21258         [BZ #18038]
21259         [BZ #18039]
21260         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21261         return pi/2 for arguments below 0x1p-113L.
21262         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21263         return pi/2 for arguments below 0x1p-106L.
21264         * math/auto-libm-test-in: Add more tests of acos.
21265         * math/auto-libm-test-out: Regenerated.
21267         [BZ #16351]
21268         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21269         (MO): New macro.
21270         (__ieee754_asin): Force underflow exception for results with small
21271         absolute value.
21272         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21273         (MO): New macro.
21274         (__ieee754_asinf): Force underflow exception for results with
21275         small absolute value.
21276         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21277         (__ieee754_asin): Force underflow exception for results with small
21278         absolute value.
21279         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21280         (__ieee754_asinf): Force underflow exception for results with
21281         small absolute value.
21282         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21283         (__ieee754_asinl): Force underflow exception for results with
21284         small absolute value.
21285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21286         (__ieee754_asinl): Force underflow exception for results with
21287         small absolute value.
21288         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21289         (__ieee754_asinl): Force underflow exception for results with
21290         small absolute value.
21291         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21292         Include <math.h>.
21293         * math/auto-libm-test-in: Do not mark underflow exceptions as
21294         possibly missing for bug 16351.
21295         * math/auto-libm-test-out: Regenerated.
21297         [BZ #18030]
21298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21299         of power of 2 down when low part has opposite sign.
21300         * math/libm-test.inc (logb_test_data): Add more tests.
21302 2015-02-26  Andreas Schwab  <schwab@suse.de>
21304         [BZ #18032]
21305         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21306         over collating symbol inside a bracket expression.  Minor cleanup.
21307         * posix/tst-fnmatch3.c (do_test): Add test case.
21309 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21311         [BZ #18029]
21312         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21313         Adjust exponent of power of 2 down when low part has opposite
21314         sign.
21315         * math/libm-test.inc (ilogb_test_data): Add more tests.
21317 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21319         [BZ #15969]
21320         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21321         the previous change.
21323         [BZ #15969]
21324         * locale/findlocale.c (_nl_find_locale): Retry archive search
21325         after alias expansion.
21327 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21329         * iconv/tst-iconv3.c (main): Converted to ...
21330         (do_test): ... this.
21331         (TEST_FUNCTION): New macro.
21332         Include test-skeleton.c.
21334         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21335         (convert): Make function static.
21336         (test_unalign): Likewise.  Add const to argument pointee types.
21337         (main): Replace with static function do_test.
21338         Print "Succeeded." only if RET is zero.
21339         (TEST_FUNCTION): New macro.
21340         Include test-skeleton.c.
21342         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21343         returns a null pointer.
21345 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21347         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21348         to __memcpy_ppc only for static builds.
21350 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21352         [BZ #18020]
21353         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21354         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21355         * math/auto-libm-test-in: Add more tests of asinh.
21356         * math/auto-libm-test-out: Regenerated.
21357         * sysdeps/i386/fpu/libm-test-ulps: Update.
21358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21360 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21362         [BZ #15850]
21363         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21364         and ip6_mtuinfo definitions here.
21365         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21366         in this define too.  Update comment.
21368 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21370         * elf/sprof.c (load_shobj): Tweak error message to match others.
21372 2015-02-24  Kevin Easton  <kevin@guarana.org>
21374         [BZ #16145] (partial fix)
21375         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21376         to reduce lock contention.
21378 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21380         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21381         (struct timex): Update time comment.
21382         (ADJ_SETOFFSET): Define.
21384 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21386         [BZ #18019]
21387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21388         2**56 not 2**28 as threshold for log (2x) formula.
21389         * math/auto-libm-test-in: Add more tests of acosh.
21390         * math/auto-libm-test-out: Regenerated.
21391         * sysdeps/i386/fpu/libm-test-ulps: Update.
21392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21394 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21396         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21397         parenthesis around the buf assignment.
21398         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21400 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21402         [BZ #16783]
21403         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21404         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21405         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21406         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21407         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21408         * math/libm-test.inc (scalb_test_data): Add more tests.
21410 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21412         [BZ #17916]
21413         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21414         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21416 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21418         [BZ #17523]
21419         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21420         * io/bits/fcntl2.h (open): Use it.
21421         (openat): Likewise.
21422         * io/open.c (__libc_open): Likewise.
21423         * io/open64.c (__libc_open64): Likewise.
21424         * io/open64_2.c (__open64_2): Likewise.
21425         * io/open_2.c (__open_2): Likewise.
21426         * io/openat.c (__openat): Likewise.
21427         * io/openat64.c (__openat64): Likewise.
21428         * io/openat64_2.c (__openat64_2): Likewise.
21429         * io/openat_2.c (__openat_2): Likewise.
21430         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21431         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21432         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21433         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21434         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21435         (__open_nocancel): Likewise.
21436         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21437         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21438         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21440 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442         [BZ #14841]
21443         * resolv/gethnamaddr.c (getanswer): Skip logging if
21444         RES_USE_DNSSEC is set.
21445         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21447 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21449         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21451 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21453         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21454         201304L, for Unicode 7.
21456 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21458         [BZ #17836]
21459         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21460         shared library.  Add gmon-start.os otherwise.
21461         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21462         $(objpfx)gmon-start.os if builing shared library.
21463         ($(objpfx)g$(static-start-installed-name)): Likewise.
21465 2015-02-23  Andreas Schwab  <schwab@suse.de>
21467         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21469 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21471         [BZ #17269]
21472         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21473         (enlarge_userbuf): Likewise.
21475 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21477         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21478         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21479         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21480         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21482 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21484         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21485         expression inside statement expression.
21487 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21489         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21490         <sysdeps/nptl/lowlevellock.h> and remove macros and
21491         functions that are now defined there.
21492         (SYS_futex): Remove.
21493         (lll_compare_and_swap): Remove.
21494         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21496 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21498         [BZ #17999]
21499         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21500         instead of scandirat.
21501         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21502         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21503         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21504         __scandirat.
21505         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21506         (__scandirat): Declare.  Use libc_hidden_proto.
21507         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21508         Remove variable.
21509         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21511 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21513         [BZ #15319]
21514         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21515         (MO): New macro.
21516         (__ieee754_atan2): For results with small absolute value, force
21517         underflow exception and remove excess range and precision from
21518         return value.
21519         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21520         (MO): New macro.
21521         (__ieee754_atan2f): For results with small absolute value, force
21522         underflow exception and remove excess range and precision from
21523         return value.
21524         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21525         (MO): New macro.
21526         (__atan): For results with small absolute value, force underflow
21527         exception and remove excess range and precision from return value.
21528         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21529         (MO): New macro.
21530         (__atanf): For results with small absolute value, force underflow
21531         exception and remove excess range and precision from return value.
21532         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21533         <math.h>.
21534         (__ieee754_atan2): Force underflow exception for results with
21535         small absolute value.
21536         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21537         <math_private.h>.
21538         (atan): Force underflow exception for results with small absolute
21539         value.
21540         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21541         (__atanf): Force underflow exception for results with small
21542         absolute value.
21543         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21544         <math.h>.
21545         (__atanl): Force underflow exception for results with small
21546         absolute value.
21547         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21548         (__atanl): Force underflow exception for results with small
21549         absolute value.
21550         * sysdeps/x86/fpu/bits/mathinline.h
21551         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21552         (__ieee754_atan2): Only define inline for long double.
21553         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21554         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21555         * math/auto-libm-test-in: Do not mark underflow exceptions as
21556         possibly missing for bug 15319.  Add more tests of atan2.
21557         * math/auto-libm-test-out: Regenerated.
21558         * math/libm-test.inc (casin_test_data): Do not mark underflow
21559         exceptions as possibly missing for bug 15319.
21560         (casinh_test_data): Likewise.
21561         * sysdeps/i386/fpu/libm-test-ulps: Update.
21563 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21565         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21566         * sysdeps/mips/bits/endian.h: Fix comments.
21568 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21570         [BZ #17996]
21571         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21572         (hdestroy_r): Likewise.
21573         (hsearch_r): Likewise.
21574         (__hcreate_r): Declare and use libc_hidden_proto.
21575         (__hdestroy_r): Likewise.
21576         (__hsearch_r): Likewise.
21577         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21578         (hcreate): Call __hcreate_r instead of hcreate_r.
21579         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21580         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21581         as weak alias of __hcreate_r.
21582         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21583         __hdestroy_r.
21584         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21585         __hsearch_r.
21586         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21587         Remove variable.
21588         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21589         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21590         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21591         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21593 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21595         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21596         arena_lock into a single arena_get.
21598 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21600         * dl-reloc.c: Inlucde libc-internal.h.
21601         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21602         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21603         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21604         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21605         (grow_heap): Likewise.
21606         * malloc/malloc.c: Include libc-internal.h.
21607         (do_check_malloc): Call powerof2.
21608         (sysmalloc): Use pagesize. Call ALIGN_UP.
21609         (systrim): Use pagesize.
21610         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21611         (__libc_valloc): Use pagesize.
21612         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21614 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21616         [BZ #17991]
21617         * include/sys/resource.h (__getrlimit64): Declare.  Use
21618         libc_hidden_proto.
21619         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21620         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21621         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21622         getrlimit64.
21623         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21624         __getrlimit64.
21625         [!getrlimit64] (getrlimit64): Define as weak alias of
21626         __getrlimit64.  Use libc_hidden_weak.
21627         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21628         using __getrlimit64 not __new_getrlimit64.
21629         (__GI_getrlimit64): Likewise.
21630         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21631         Likewise.
21632         (__GI_getrlimit64): Likewise.
21633         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21635         (getrlimit): Add __getrlimit64 alias.
21636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21637         Likewise.
21638         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21639         Remove variable.
21640         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21641         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21643 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21645         * libio/fileops.c: Add missing sys/mman.h
21646         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21648 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21650         * manual/math.texi (Errors in Math Functions): Clarify goals
21651         regarding inexact and underflow exceptions.
21653 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21655         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21656         * sysdeps/mips/memset.S: Ditto.
21658 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21660         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21662 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21664         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21665         (__v1longjmp): Remove versioned symbol.
21666         (__v1siglongjmp): Remove alias and versioned symbol.
21667         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21668         (__v2siglongjmp): Likewise.
21670 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21672         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21674 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21676         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21678 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21680         [BZ #17987]
21681         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21682         zero result does not depend on the sign resulting from
21683         subtraction.
21684         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21685         Likewise.
21686         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21687         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21688         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21689         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21690         * math/libm-test.inc (remquo_test_data): Add more tests.
21692 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21694         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21695         Problem reported by J William Piggott.
21697 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21699         [BZ #17978]
21700         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21701         products 4 * y and 2 * y where those would overflow.
21702         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21703         Likewise.
21704         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21705         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21706         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21707         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21708         * math/libm-test.inc (remquo_test_data): Add more tests.
21710         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21712         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21713         [defined _COMPILING_NEWLIB].
21714         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21715         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21717         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21718         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21720 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21722         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21723         acquired.
21725 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21727         [BZ #17792]
21728         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21729         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21730         HOST_STACK_END_ADDR): Likewise.
21732 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21734         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21735         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21736         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21738 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21740         * sysdeps/generic/c++-types.data: New file.
21741         * sysdeps/generic/ld.abilist: New file.
21742         * sysdeps/generic/libBrokenLocale.abilist: New file.
21743         * sysdeps/generic/libanl.abilist: New file.
21744         * sysdeps/generic/libc.abilist: New file.
21745         * sysdeps/generic/libcrypt.abilist: New file.
21746         * sysdeps/generic/libdl.abilist: New file.
21747         * sysdeps/generic/libm.abilist: New file.
21748         * sysdeps/generic/libpthread.abilist: New file.
21749         * sysdeps/generic/libresolv.abilist: New file.
21750         * sysdeps/generic/librt.abilist: New file.
21752 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21754         [BZ #17569]
21755         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21756         Compute absolute value of x as modified by fmod, not original
21757         value of x.
21758         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21759         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21760         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21761         RUN_TEST_ffI_f1_mod8.
21762         (remquo_test_data): Add more tests.
21764 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21766         * sysdeps/init_array/pt-crti.S: New file.
21768 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21770         [BZ #17967]
21771         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21772         __builtin_fmaf instead of relying on contraction of a * b + c.
21774 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21776         [BZ #17969]
21777         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21778         node.
21780 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21782         [BZ #17964]
21783         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21784         __builtin_fma instead of relying on contraction of a * b + c.
21786 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21788         * Makeconfig (ASFLAGS): Add -Werror=undef.
21789         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21790         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21791         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21793         * Makeconfig (after-link): New variable.
21794         (+link-pie, +link-pie-tests): Use it.
21795         (+link-static, +link-static-tests): Likewise.
21796         (+link, +link-tests): Likewise.
21797         * Makerules (build-module, build-module-asneeded): Likewise.
21798         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21799         Likewise.
21800         * elf/Makefile ($(objpfx)ld.so): Likewise.
21802 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21804         [BZ #17965]
21805         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21806         both struct timeval and struct timespec.
21808 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21810         [BZ #16560]
21811         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21812         and redefine.
21813         (__ieee754_exp2l): Do not multiply small fractional parts by
21814         M_LN2l.
21815         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21816         small argument.
21817         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21818         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21819         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21820         * math/auto-libm-test-in: Add more tests of exp2.
21821         * math/auto-libm-test-out: Regenerated.
21823 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21825         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21826         unaligned path.
21828 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21830         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21831         little endian.
21833 2015-02-12  Andreas Schwab  <schwab@suse.de>
21835         [BZ #15790]
21836         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21837         Filter out elision flags from value returned in kind.
21838         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21839         * nptl/tst-pthread-mutexattr.c: New file.
21841 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21843         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21844         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21845         into gnu-gnu, and update comment to refer to abi-tags.
21847 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21849         [BZ #15467]
21850         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21851         (__sincos): Set errno to EDOM for infinite argument.
21852         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21853         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21854         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21855         (__sincosl): Set errno to EDOM for infinite argument.
21856         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21857         (__sincosl): Set errno to EDOM for infinite argument.
21858         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21859         (__sincosl): Set errno to EDOM for infinite argument.
21860         * math/libm-test.inc (sincos_test_data): Test errno setting.
21862 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21864         * string/strxfrm_l.c: Remove #define STRCMP.
21865         * string/strcoll_l.c: Remove #define STRLEN.
21866         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21867         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21869 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21871         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21872         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21873         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21874         * sysdeps/mips/mips64/Makefile: ... here.
21875         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21876         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21877         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21878         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21879         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21880         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21881         * sysdeps/mips/mips64/n64/Implies: Likewise.
21883 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21885         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21886         <sys/time.h>, <string.h>, and <errno.h>.
21887         (dest_offset, dest_address, value, zero): Remove unused variables.
21888         (ldouble): Remove typedef.
21889         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21890         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21891         1).  Fix code style.
21892         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21893         (check): Function removed.
21894         (CHECK): New macro.
21895         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21896         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21897         Don't call set_sigaction_FP and remove_sigaction_FP here.
21898         (ldouble_test): Just use 'long double' as macro argument, no need for
21899         the 'ldouble' typedef.
21900         (do_test): Set up SIGFPE handler at start, using plain signal rather
21901         than sigaction.  Fix code style.
21903 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21905         [BZ #17949]
21906         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21907         jump label.
21909 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21911         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21912         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21914         * sysdeps/powerpc/configure.ac: Remove file.
21915         * sysdeps/powerpc/configure: Likewise.
21917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21918         [sysdep_routines]: Remove wordcopy-power6 object.
21919         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21920         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21921         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21922         (__memmove_ppc32): Likewise.
21923         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21924         file.
21925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21926         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21927         Remove preprocessor.
21929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21930         [sysdep_routines]: Remove wide chars objects.
21931         [wcsmbs]: New rule for wide char objects.
21933         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21934         Remove wordcopy-power6 obejct.
21935         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21936         Use local call for wordcopy and memcpy symbols.
21937         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21939         implementation for loader.
21940         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21942         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21943         Remove wordcopy-power7 object.
21944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21945         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21946         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21947         (_wordcopy_fwd_dest_aligned): Likewise.
21948         (_wordcopy_bwd_aligned): Likewise.
21949         (_wordcopy_bwd_dest_aligned): Likewise.
21951         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21952         Rewrite to call __memmove_ppc instead of include default
21953         implementation.
21955         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21956         Remove wide chars objects.
21957         [wcsmbs]: New rule for wide char objects.
21959 2015-02-09  Andreas Schwab  <schwab@suse.de>
21961         [BZ #17912]
21962         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21963         in terms of __O_DIRECTORY.
21965 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21967         * time/getdate.c: Include <stdbool.h>.
21968         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21969         call PTR_MANGLE.
21970         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21971         PTR_DEMANGLE.
21973 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21975         Add ersatz _Static_assert on older C hosts
21976         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21977         pre-C11 C platform that is not known to support _Static_assert.
21979 2015-02-07  Richard Braun  <rbraun@sceen.net>
21981         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21982         sigstate.
21983         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21985 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21987         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21988         priority against unexistent AIO_PRIO_DELTA_MAX.
21989         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21990         instead of int.
21991         * misc/fchflags.c (fchflags): Likewise.
21992         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21993         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21994         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21995         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21996         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21997         Declare macros.
21998         [__USE_MISC] (chflags, fchflags): Declare functions.
21999         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22000         EINVAL when nfds is greater than FD_SETSIZE.
22001         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22002         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22003         45.
22004         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22005         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22006         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22007         MACH_RCV_TIMED_OUT.
22008         * hurd/hurd/signal.h (_hurd_self_sigstate,
22009         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22010         Explicit casts from void *.
22011         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22012         * abi-tags: Rename gnu-gnu os into gnu.
22014         [BZ #4719]
22015         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22016         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22017         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22018         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22019         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22020         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22022         [BZ #17944]
22023         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22024         duplicates ADDR->sun_path with sockaddr LEN limitation.
22025         * sysdeps/mach/hurd/connect.c: Include <string.h>
22026         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22027         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22028         * sysdeps/mach/hurd/sendto.c: Likewise.
22029         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22030         implementing it by hand.
22032 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22034         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22035         Use sfi_breg on ldr.
22036         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22037         Likewise.
22039         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22040         it's defined.
22041         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22042         Test SIGSETXID only if it's defined.
22044         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22046         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22047         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22049         * nptl/tst-align2.c: Moved ...
22050         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22051         * nptl/Makefile (tests): Remove tst-align2.
22052         * sysdeps/unix/sysv/linux/Makefile
22053         [$(subdir) = nptl] (tests): Add tst-align-clone.
22054         * nptl/tst-getpid1.c: Moved ...
22055         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22056         * nptl/tst-getpid2.c: Moved ...
22057         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22058         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22059         * sysdeps/unix/sysv/linux/Makefile
22060         [$(subdir) = nptl] (tests): ... here.
22061         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22062         * sysdeps/unix/sysv/linux/Makefile
22063         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22065         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22066         Drop trailing \n from perror argument.  Use return rather than exit.
22068         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22069         on [SA_SIGINFO].
22070         * nptl/tst-cancel21.c (do_test): Likewise.
22071         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22072         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22073         [!SA_SIGINFO]: Make it a stub test.
22075         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22076         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22078         * posix/tst-getlogin.c: Move to ...
22079         * login/tst-getlogin.c: ... here.
22080         * posix/Makefile (tests): Move tst-getlogin to ...
22081         * login/Makefile (tests): ... here.
22083         * libio/tst-atime.c (do_test): Move local variables SV and E
22084         inside [ST_NOATIME] conditional.
22086         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22088         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22090         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22091         (wait_code): New function replaces macro.
22092         Call nanosleep rather than syscall.
22094         * nptl/pt-system.c: Rewritten.  Put everything under
22095         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22096         Use IFUNC to redirect when possible.
22098         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22099         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22100         Use IFUNC to redirect when possible.
22102         * nptl/pt-fork.c: Rewritten.  Put everything under
22103         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22104         Use IFUNC to redirect when possible.
22105         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22107         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22108         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22109         unconditionally nowadays.  This included the only reference to
22110         __vdso_clock_gettime that appears outside libc proper.
22111         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22112         Remove version set (containing only __vdso_clock_gettime).
22113         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22114         Add attribute_hidden.
22115         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22116         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22117         libc_hidden_data_def.
22118         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22119         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22121         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22122         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22123         setrpcent, and getrpcport to ...
22124         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22125         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22126         getrpcbynumber_r, and getrpcent_r to ...
22127         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22128         * inet/getrpcbyname.c: Moved ...
22129         * sunrpc/getrpcbyname.c: ... here.
22130         * inet/getrpcbyname_r.c: Moved ...
22131         * sunrpc/getrpcbyname_r.c: ... here.
22132         * inet/getrpcbynumber.c: Moved ...
22133         * sunrpc/getrpcbynumber.c: ... here.
22134         * inet/getrpcbynumber_r.c: Moved ...
22135         * sunrpc/getrpcbynumber_r.c: ... here.
22136         * inet/getrpcent.c: Moved ...
22137         * sunrpc/getrpcent.c: ... here.
22138         * inet/getrpcent_r.c: Moved ...
22139         * sunrpc/getrpcent_r.c: ... here.
22140         * inet/Makefile (routines): Move those to ...
22141         * sunrpc/Makefile (routines): ... here.
22142         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22143         the $(subdirs) list.
22144         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22145         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22146         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22147         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22149         * elf/Makefile (routines): Include $(all-dl-routines), not just
22150         $(dl-routines).
22151         (rtld-routines): Likewise.  Use = rather than :=.
22152         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22153         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22154         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22155         * sysdeps/arm/Makefile: Likewise.
22156         * sysdeps/i386/Makefile: Likewise.
22157         * sysdeps/x86_64/Makefile: Likewise.
22158         * sysdeps/hppa/Makefile [$(subdir) = elf]
22159         (sysdep_routines, sysdep-rtld-routines): Don't add
22160         $(sysdep-dl-routines) to these.
22161         * sysdeps/ia64/Makefile: Likewise.
22162         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22163         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22164         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22165         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22166         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22167         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22168         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22169         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22170         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22171         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22172         these; sysdep-dl-routines alone is enough.
22174 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22176         [BZ #17932]
22177         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22178         where multiplication results in zero and third argument is finite
22179         and nonzero.
22180         * math/auto-libm-test-in: Add more tests of fma.
22181         * math/auto-libm-test-out: Regenerated.
22183         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22184         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22185         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22186         (_FP_CMP_EQ): Likewise.
22187         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22189         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22190         extra argument CHECK_NAN.  Redefine as wrapper around
22191         _FP_EXTEND_CNAN.
22193 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22195         * version.h (RELEASE): Set to "stable".
22196         (VERSION): Set to "2.21"
22197         * include/features.h (__GLIBC_MINOR__): Set to 21.
22199         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22201 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22202             Paul Eggert  <eggert@cs.ucla.edu>
22204         [BZ #16618]
22205         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22206         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22207         size in bytes. Store needed elements in wpmax. Use needed size
22208         in bytes for extend_alloca.
22210 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22212         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22213         binutls 2.25, and texinfo 5.2.
22214         * INSTALL: Regenerate.
22215         * sysdeps/nios2/configure: Regenerate.
22216         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22217         * manual/contrib.texi: Update.
22218         * po/be.po: Update.
22219         * po/bg.po: Update.
22220         * po/ca.po: Update.
22221         * po/cs.po: Update.
22222         * po/da.po: Update.
22223         * po/de.po: Update.
22224         * po/el.po: Update.
22225         * po/eo.po: Update.
22226         * po/es.po: Update.
22227         * po/fi.po: Update.
22228         * po/fr.po: Update.
22229         * po/gl.po: Update.
22230         * po/hr.po: Update.
22231         * po/hu.po: Update.
22232         * po/ia.po: Update.
22233         * po/id.po: Update.
22234         * po/it.po: Update.
22235         * po/ja.po: Update.
22236         * po/ko.po: Update.
22237         * po/lt.po: Update.
22238         * po/nb.po: Update.
22239         * po/nl.po: Update.
22240         * po/pl.po: Update.
22241         * po/pt_BR.po: Update.
22242         * po/ru.po: Update.
22243         * po/rw.po: Update.
22244         * po/sk.po: Update.
22245         * po/sl.po: Update.
22246         * po/sv.po: Update.
22247         * po/tr.po: Update.
22248         * po/uk.po: Update.
22249         * po/vi.po: Update.
22250         * po/zh_CN.po: Update.
22251         * po/zh_TW.po: Update.
22253         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22254         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22255         * sysdeps/hppa/dl-irel.h: Remove #warning.
22256         * sysdeps/hppa/entry.h: Provide prototype for
22257         __canonicalize_funcptr_for_compare and cast argument.
22258         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22259         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22260         * sysdeps/hppa/sotruss-lib.c: New file.
22261         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22262         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22263         (atomic_compare_and_exchange_bool_acq): Likewise.
22264         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22265         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22267         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22268         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22269         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22271 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22273         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22274         called function in non-PIC case.
22276 2015-01-31  David S. Miller  <davem@davemloft.net>
22278         * sysdeps/sparc/sparc32/bits/atomic.h
22279         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22280         unlock not after it.
22281         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22282         volatile register usage warnings from the compiler.
22284         * sysdeps/sparc/nptl/sem_init.c: Delete.
22285         * sysdeps/sparc/nptl/sem_post.c: Delete.
22286         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22287         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22288         * sysdeps/sparc/sparc32/sem_init.c: New file.
22289         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22290         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22291         padding explicitly initialized.
22292         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22293         padding for in-semaphore spinlock.
22294         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22295         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22296         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22297         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22298         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22299         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22300         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22301         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22302         version.
22303         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22304         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22306 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22308         [BZ #17801]
22309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22310         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22311         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22312         New.
22313         (index_AVX_Fast_Unaligned_Load): Likewise.
22314         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22315         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22316         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22317         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22318         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22319         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22320         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22321         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22322         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22324 2015-01-29  Andreas Schwab  <schwab@suse.de>
22326         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22328 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22330         [BZ #17892]
22331         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22333 2015-01-28  Martin Sebor  <msebor@redhat.com>
22335         * math/README.libm-test: Clarify. Add "How to read the test output."
22337 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22339         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22340         Define to 0.
22342 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22344         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22345         (__HAVE_64B_ATOMICS): Define to 0.
22347 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22349         [BZ #17885]
22350         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22351         value to set as new flag.
22353         [BZ #16576]
22354         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22355         and use _ARCH_PPCSQ instead.
22356         (__ieee754_sqrt): Likewise.
22357         (__ieee754_sqrtf): Likewise.
22358         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22359         _ARCH_PPCSQ is defined.
22360         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22361         fsqrt instruction.
22362         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22363         _ARCH_PPCSQ is defined.
22364         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22365         fsqrts instruction.
22366         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22368 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22370         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22371         bug (GCC BZ #64739).
22373 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22375         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22376         Mark _retval as used.
22377         (lll_futex_wake_unlock): Likewise.
22378         (lll_futex_timed_wait_requeue_pi): Likewise.
22380         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22381         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22382         register variables.
22384         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22385         libm_hidden_def.
22387         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22388         (__bswap_64): Mark as __always_inline.
22390 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22392         [BZ #15378]
22393         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22394         when none of the search directories exist.
22396 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22398         [BZ #17869]
22399         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22400         power8 in .machine directive.
22402         [BZ #17868]
22403         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22404         set dependency from opd value.
22406 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22409         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22410         architecture.
22412 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22414         [BZ #17870]
22415         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22416         with uint64_t.
22417         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22418         (uint64_t) 1.
22419         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22420         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22421         Replace 1UL with (uint64_t) 1.
22422         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22423         int with uint64_t.
22425 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22427         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22428         (if_freenameindex): Likewise.
22430         * resource/getrlimit64.c: Add missing libc_hidden_def.
22432 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22434         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22435         __label__.
22436         (_FP_FMA): Likewise.
22437         (_FP_TO_INT_ROUND): Likewise.
22438         (_FP_FROM_INT): Likewise.
22440 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22442         [BZ #16418]
22443         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22444         Make code racy and cancel safe.
22446 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22448         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22449         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22450         attribution.
22452         * pwd/tst-getpw.c: Rewrite.
22454         [BZ #17702]
22455         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22456         (modules-names): Add moddummy1 and moddummy2.
22457         ($(objpfx)tst-rec-dlopen): Define.
22458         * dlfcn/moddummy1.c: New file.
22459         * dlfcn/moddummy2.c: New file.
22460         * dlfcn/tst-rec-dlopen.c: New file.
22461         * elf/dl-cache.c (_dl_load_cache_lookup):
22462         Return char*. Copy result with alloca/strcpy/strdup.
22463         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22464         returns char*. Free cached. If not saving realname
22465         free cached.
22466         * elf/dl-open.c (dl_open_worker): Do not assert that
22467         _r_debug->r_state is RT_CONSISTENT.
22468         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22469         returns char*.
22471 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22472             Carlos O'Donell  <carlos@redhat.com>
22474         [BZ #12674]
22475         * nptl/sem_waitcommon.c: New file.
22476         * nptl/sem_wait.c: Include sem_waitcommon.c.
22477         (__sem_wait_cleanup, do_futex_wait): Remove.
22478         (__new_sem_wait): Adapt.
22479         (__new_sem_trywait): New function.
22480         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22481         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22482         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22483         (sem_timedwait): Adapt.
22484         * nptl/sem_post.c (__new_sem_post): Adapt.
22485         (futex_wake): New function.
22486         (__old_sem_post): Add release MO fence.
22487         * nptl/sem_open.c (sem_open): Adapt.
22488         * nptl/sem_init.c (__new_sem_init): Adapt.
22489         (futex_private_if_supported): New function.
22490         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22491         (__old_sem_getvalue): Add using previous code.
22492         * sysdeps/nptl/internaltypes.h: Adapt.
22493         * nptl/tst-sem13.c (do_test): Adapt.
22494         * nptl/tst-sem11.c (main): Adapt.
22495         * nptl/sem_trywait.c: Remove.
22496         * nptl/DESIGN-sem.txt: Remove.
22497         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22498         (gen-as-const-headers): Remove structsem.sym.
22499         * nptl/structsem.sym: Remove.
22500         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22501         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22502         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22503         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22504         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22505         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22506         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22507         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22508         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22509         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22510         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22511         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22512         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22513         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22514         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22515         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22516         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22517         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22518         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22519         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22520         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22521         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22523 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22525         * INSTALL: Regenerated.
22527         * po/libc.pot: Regenerated.
22529 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22530             Sandra Loosemore  <sandra@codesourcery.com>
22531             Andrew Jenner  <andrew@codesourcery.com>
22532             Joseph Myers  <joseph@codesourcery.com>
22533             Nathan Sidwell  <nathan@codesourcery.com>
22535         * NEWS: Mention new Nios II port.
22536         * sysdeps/nios2/Implies: New file.
22537         * sysdeps/nios2/Makefile: New file.
22538         * sysdeps/nios2/Subdirs: New file.
22539         * sysdeps/nios2/Versions: New file.
22540         * sysdeps/nios2/__longjmp.S: New file.
22541         * sysdeps/nios2/abort-instr.h: New file.
22542         * sysdeps/nios2/backtrace.c: New file.
22543         * sysdeps/nios2/bits/endian.h: New file.
22544         * sysdeps/nios2/bits/fenv.h: New file.
22545         * sysdeps/nios2/bits/link.h: New file.
22546         * sysdeps/nios2/bits/setjmp.h: New file.
22547         * sysdeps/nios2/bsd-_setjmp.S: New file.
22548         * sysdeps/nios2/bsd-setjmp.S: New file.
22549         * sysdeps/nios2/configure: New generated file.
22550         * sysdeps/nios2/configure.ac: New file.
22551         * sysdeps/nios2/crti.S: New file.
22552         * sysdeps/nios2/crtn.S: New file.
22553         * sysdeps/nios2/dl-init.c: New file.
22554         * sysdeps/nios2/dl-machine.h: New file.
22555         * sysdeps/nios2/dl-sysdep.h: New file.
22556         * sysdeps/nios2/dl-tls.h: New file.
22557         * sysdeps/nios2/dl-trampoline.S: New file.
22558         * sysdeps/nios2/gccframe.h: New file.
22559         * sysdeps/nios2/gmp-mparam.h: New file.
22560         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22561         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22562         * sysdeps/nios2/ldsodefs.h: New file.
22563         * sysdeps/nios2/libc-tls.c: New file.
22564         * sysdeps/nios2/libm-test-ulps: New file.
22565         * sysdeps/nios2/machine-gmon.h: New file.
22566         * sysdeps/nios2/math-tests.h: New file.
22567         * sysdeps/nios2/math_private.h: New file.
22568         * sysdeps/nios2/memusage.h: New file.
22569         * sysdeps/nios2/nptl/Makefile: New file.
22570         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22571         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22572         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22573         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22574         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22575         * sysdeps/nios2/nptl/tls.h: New file.
22576         * sysdeps/nios2/preconfigure: New file.
22577         * sysdeps/nios2/s_fma.c: New file.
22578         * sysdeps/nios2/s_fmaf.c: New file.
22579         * sysdeps/nios2/setjmp.S: New file.
22580         * sysdeps/nios2/sfp-machine.h: New file.
22581         * sysdeps/nios2/sotruss-lib.c: New file.
22582         * sysdeps/nios2/stackguard-macros.h: New file.
22583         * sysdeps/nios2/stackinfo.h: New file.
22584         * sysdeps/nios2/start.S: New file.
22585         * sysdeps/nios2/sysdep.h: New file.
22586         * sysdeps/nios2/tls-macros.h: New file.
22587         * sysdeps/nios2/tst-audit.h: New file.
22588         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22589         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22590         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22591         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22592         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22593         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22594         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22595         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22596         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22597         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22598         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22599         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22600         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22601         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22602         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22603         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22604         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22605         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22606         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22607         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22608         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22609         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22610         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22611         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22612         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22613         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22614         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22615         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22616         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22617         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22618         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22619         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22620         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22621         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22622         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22623         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22624         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22625         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22626         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22627         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22628         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22629         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22630         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22631         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22633 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22635         [BZ #17844]
22636         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22637         (getutent): Use weak_alias in non SHARED case
22638         and default_symbol_version in SHARED case.
22639         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22640         (getutent_r, pututline): Likewise.
22641         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22642         (getutid): Likewise.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22644         (getutid_r): Likewise.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22646         (getutline): Likewise.
22647         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22648         (getutline_r): Likewise.
22649         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22650         (updwtmp): Likewise.
22652 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22654         [BZ #17848]
22655         * sysdeps/s390/s390-32/memcmp.S
22656         (memcmp_g5): Rename to __memcmp_g5.
22657         * sysdeps/s390/s390-32/memcpy.S
22658         (memcpy_g5): Rename to __memcpy_g5.
22659         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22660         (memcpy_mvcle) Rename to __memcpy_mvcle.
22661         * sysdeps/s390/s390-32/memset.S
22662         (memset_g5): Rename to __memset_g5.
22663         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22664         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22665         and use prefixed functions.
22666         * sysdeps/s390/s390-32/multiarch/memcmp.S
22667         (memcmp_z196): Rename to __memcmp_z196.
22668         (memcmp_z10): Rename to __memcmp_z10.
22669         (memcmp): Set alias to __memcmp_g5.
22670         (bcmp): Set alias to __memcmp_g5.
22671         * sysdeps/s390/s390-32/multiarch/memcpy.S
22672         (memcpy_z196): Rename to __memcpy_z196.
22673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22674         (memcpy_z10): Rename to __memcpy_z10.
22675         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22676         (memcpy): Set alias to __memcpy_g5.
22677         * sysdeps/s390/s390-32/multiarch/memset.S
22678         (memset_z196): Rename to __memset_z196.
22679         Jump to __memset_mvcle instead of memset_mvcle.
22680         (memset_z10): Rename to __memset_z10.
22681         Jump to __memset_mvcle instead of memset_mvcle.
22682         (memset_mvcle) Rename to __memset_mvcle.
22683         (memset): Set alias to __memset_g5.
22684         * sysdeps/s390/s390-64/memcmp.S
22685         (memcmp_z900): Rename to __memcmp_z900.
22686         * sysdeps/s390/s390-64/memcpy.S
22687         (memcpy_z900): Rename to __memcpy_z900.
22688         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22689         (memcpy_mvcle) Rename to __memcpy_mvcle.
22690         * sysdeps/s390/s390-64/memset.S
22691         (memset_z900): Rename to __memset_z900.
22692         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22693         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22694         and use prefixed functions.
22695         * sysdeps/s390/s390-64/multiarch/memcmp.S
22696         (memcmp_z196): Rename to __memcmp_z196.
22697         (memcmp_z10): Rename to __memcmp_z10.
22698         (memcmp): Set alias to __memcmp_z900.
22699         (bcmp): Set alias to __memcmp_z900.
22700         * sysdeps/s390/s390-64/multiarch/memcpy.S
22701         (memcpy_z196): Rename to __memcpy_z196.
22702         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22703         (memcpy_z10): Rename to __memcpy_z10.
22704         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22705         (memcpy): Set alias to __memcpy_z900.
22706         * sysdeps/s390/s390-64/multiarch/memset.S
22707         (memset_z196): Rename to __memset_z196.
22708         Jump to __memset_mvcle instead of memset_mvcle.
22709         (memset_z10): Rename to __memset_z10.
22710         Jump to __memset_mvcle instead of memset_mvcle.
22711         (memset_mvcle) Rename to __memset_mvcle.
22712         (memset): Set alias to __memset_z900.
22714 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22716         [BZ #17748]
22717         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22718         __fesetenv instead of fesetenv.
22720 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22722         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22723         macro.
22725 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22727         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22728         regression on LE.
22730         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22731         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22733         strncmp-power8 object.
22734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22735         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22736         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22737         * NEWS: Update.
22739 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22740             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22742         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22743         trailing byte check.
22745 2015-01-13  David S. Miller  <davem@davemloft.net>
22747         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22749 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22751         * login/logout.c (logout): Use memset rather than bzero.
22752         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22753         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22754         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22755         (_gethtbyaddr): Likewise.
22756         * locale/programs/simple-hash.c (bcopy): Macro removed.
22758 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22761         Add strcmp-power8 object.
22762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22763         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22764         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22765         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22766         __strcmp_power8 implementation.
22767         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22768         * NEWS: Update.
22770         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22771         Add strncpy-power8 and stpncpy-power8 objects.
22772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22773         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22774         implementations.
22775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22776         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22777         __stpncpy_power8 implementation.
22778         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22779         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22780         __strncpy_power8 implementation.
22781         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22782         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22783         * NEWS: Update.
22785         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22786         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22787         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22789         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22790         strncat-power8 object.
22791         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22792         __strcat_power8 implementation.
22793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22794         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22795         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22796         optimized strcat for power8.
22798         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22799         strcpy-power8 and stpcpy-power8 objects.
22800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22801         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22802         implementations.
22803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22804         multiarch stpcpy implementation for POWER8.
22805         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22806         multiarch strcpy implementation for POWER8.
22807         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22808         __strcpy_power8 function.
22809         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22810         stpcpy for POWER8.
22811         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22812         strcpy for POWER8.
22813         * NEWS: Update.
22815 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22817         [BZ #16009]
22818         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22819         weights and rules. Use do_xfrm_cached if data fits in cache,
22820         do_xfrm otherwise.  Moved former main loop to...
22821         * (do_xfrm_cached): New function.
22822         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22823         find_idx, find_position and stack_push.
22824         * (find_idx): New function.
22825         * (find_position): Likewise.
22826         * localedata/sort-test.sh: Added test run for do_xfrm.
22827         * localedata/xfrm-test.c (main): Added command line option
22828         -nocache to run the test with strings that are too large for
22829         the STRXFRM cache.
22831 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22833         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22834         variable to lll_futex_wake call, not the value itself.
22836 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #17803]
22839         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22840         twom64.  Adjust value to 0x1p-64L.
22841         (__scalblnl): Only return standard underflowing result for K <=
22842         -64 not K <= -63; adjust exponent for underflowing result by 64
22843         not 63.
22844         * math/libm-test.inc (scalbn_test_data): Add more tests.
22845         (scalbln_test_data): Likewise.
22847         [BZ #17834]
22848         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22849         0x1p63L.
22850         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22851         not HX.
22852         * math/libm-test.inc (scalbn_test_data): Add more tests.
22853         (scalbln_test_data): Likewise.
22855 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22856             Stefani Seibold  <stefani@seibold.net>
22858         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22859         (sysdep_routines): Add dl-vdso here, ...
22860         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22861         (sysdep_routines): ... not here.
22862         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22863         fallback when vDSO is not presented.
22864         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22865         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22866         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22867         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22868         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22869         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22870         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22871         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22872         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22873         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22874         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22875         fallback configurable symbol when vDSO is not available.
22876         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22877         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22878         be able to redefine fallback symbol when vDSO is not available.
22879         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22880         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22882 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22884         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22885         (TLS_INIT_TP): Add tm_capable initialization.
22886         (TLS_DEFINE_INIT_TP): Likewise.
22887         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22888         TCB.
22889         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22890         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22891         calculation.
22892         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22893         transactoion is lock elision is built and TCB tm_capable is set.
22894         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22896         (INTERNAL_SYSCALL_NCS): Likewise.
22897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22898         (INTERNAL_SYSCALL_NCS): Likewise.
22899         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22901         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22902         for powerpc.
22903         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22904         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22905         and remove it for 32 bits case.
22906         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22908         initialization.
22909         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22910         Disable lock elision with rdlocks if elision is not available.
22912         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22913         (sysdep_routines): Add lock elision objects.
22914         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22915         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22916         [pthread_mutex_t] (__elision): Add field.
22917         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22918         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22919         elision definitions for powerpc.
22920         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22921         implementation of lock elision for powerpc.
22922         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22923         implementation of timed lock elision for powerpc.
22924         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22925         implementation of trylock with lock elision for powerpc.
22926         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22927         implementaion of unlock for lock elision for powerpc.
22928         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22929         automatic enable lock elision for mutexes.
22930         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22931         transaction execution definitions for powerpc.
22932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22933         definitions.
22934         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22935         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22936         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22938         * NEWS: Update.
22940 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22942         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22943         for #include of <shm-directory.h>.
22945 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22947         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22948         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22950 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22952         [BZ #17791]
22953         * NEWS: Mention bug fix.
22954         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22955         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22956         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22958 2015-01-09  Torvald Riegel <triegel@redhat.com>
22960         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22962 2015-01-09  Torvald Riegel <triegel@redhat.com>
22964         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22966 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22968         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22969         pointer and cast to uintptr_t.
22971 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22973         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22974         removed.
22975         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22977 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22979         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22980         of 0.
22982 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22984         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22985         <nptl/pthreadP.h> instead.
22986         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22988         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22989         already defined.
22990         [__SIGRTMIN] (init): Function removed.
22991         [__SIGRTMIN] (initialized): Variable removed.
22992         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22993         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22994         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22995         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22996         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22997         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22998         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22999         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23000         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23001         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23002         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23003         * sysdeps/nptl/allocrtsig.c: New file.
23004         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23005         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23006         * sysdeps/generic/testrtsig.h: File removed.
23008         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23009         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23011         * nptl/nptl-init.c (pthread_functions): Conditionalize
23012         .ptr__nptl_setxid initialization on [SIGSETXID].
23014         * sysdeps/nptl/sys/procfs.h: New file.
23015         * nptl_db/Makefile (headers): Add it.
23016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23018         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23019         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23020         * nptl/pthread_attr_setaffinity.c: Include it.
23021         * nptl/pthread_setattr_default_np.c: Likewise.
23022         * nptl/check-cpuset.h: New file.
23024 2015-01-08  Richard Henderson  <rth@redhat.com>
23026         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23027         (CFLAGS-tst-execstack-prog.c): Likewise.
23028         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23030 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23031             Sandra Loosemore  <sandra@codesourcery.com>
23032             Andrew Jenner  <andrew@codesourcery.com>
23033             Joseph Myers  <joseph@codesourcery.com>
23034             Nathan Sidwell  <nathan@codesourcery.com>
23036         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23037         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23038         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23039         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23040         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23041         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23042         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23043         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23044         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23045         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23046         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23047         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23048         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23049         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23050         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23051         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23052         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23054 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23056         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23057         timespec struct member in syscall macro.
23058         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23059         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23060         first timeval struct member in syscall macro.
23061         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23063 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23065         [BZ #17748]
23066         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23067         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23068         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23069         __feupdateenv and define as weak alias of __feupdateenv.  Use
23070         libm_hidden_weak.
23071         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23072         libm_hidden_def.
23073         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23074         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23075         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23076         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23077         libm_hidden_def.
23078         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23079         __feupdateenv and define as weak alias of __feupdateenv.  Use
23080         libm_hidden_weak.
23081         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23082         libm_hidden_def.
23083         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23084         __feupdateenv and define as weak alias of __feupdateenv.  Use
23085         libm_hidden_weak.
23086         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23087         libm_hidden_def.
23088         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23089         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23090         (__feupdateenv): Likewise.
23091         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23092         __feupdateenv and define as weak alias of __feupdateenv.  Use
23093         libm_hidden_weak.
23094         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23095         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23096         libm_hidden_def.
23097         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23098         function.
23099         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23100         libm_hidden_def.
23101         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23102         __feupdateenv instead of feupdateenv.
23103         (default_libc_feupdateenv_test): Likewise.
23104         (libc_feresetround_ctx): Likewise.
23106 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23108         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23109         prototype.
23111 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23113         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23114         COLL_SYM in a couple of places to avoid uninitialized variable
23115         wanings on tilegx gcc 4.8.2.
23117 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23119         * sysdeps/aarch64/strcpy.S: New file.
23120         * sysdeps/aarch64/stpcpy.S: New file.
23121         * NEWS: Updated.
23123 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23125         * sysdeps/aarch64/strrchr.S: New file.
23126         * NEWS: Updated.
23128 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23130         [BZ #17658]
23131         * stdlib/setenv.c: Fix memory leak when setting large,
23132         duplicate string.
23134 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23136         [BZ #17273]
23137         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23138         and tabs from buffer before parsing fstab entry.
23139         * misc/tst-mntent.c (main): Add test for mount entry with
23140         trailing spaces and tabs.
23142 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23144         [BZ #17748]
23145         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23146         * math/fesetround.c (fesetround): Rename to __fesetround and
23147         define as weak alias of __fesetround.  Use libm_hidden_weak.
23148         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23149         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23150         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23151         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23152         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23153         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23154         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23155         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23156         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23157         __fesetround_inline.
23158         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23159         __fesetround_inline instead of __fesetround.
23160         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23161         __fesetround and define as weak alias of __fesetround.  Use
23162         libm_hidden_weak.  Call __fesetround_inline instead of
23163         __fesetround.
23164         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23165         __fesetround and define as weak alias of __fesetround.  Use
23166         libm_hidden_weak.
23167         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23168         Likewise.
23169         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23170         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23171         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23172         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23173         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23174         __fesetround and define as weak alias of __fesetround.  Use
23175         libm_hidden_weak.
23176         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23177         __fesetround instead of fesetround.
23178         (default_libc_feholdexcept_setround): Likewise.
23179         (libc_feholdsetround_ctx): Likewise.
23180         (libc_feholdsetround_noex_ctx): Likewise.
23182         [BZ #17748]
23183         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23184         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23185         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23186         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23187         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23188         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23189         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23190         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23191         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23192         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23193         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23194         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23195         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23196         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23197         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23198         libm_hidden_def.
23199         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23200         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23201         Likewise.
23202         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23203         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23204         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23205         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23206         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23207         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23208         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23209         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23210         __fesetenv instead of fesetenv.
23211         (libc_feresetround_noex_ctx): Likewise.
23212         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23213         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23214         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23215         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23216         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23217         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23218         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23219         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23220         (__feupdateenv): Likewise.
23221         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23222         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23223         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23224         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23226 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23228         [BZ #17806]
23229         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23230         addresses have been freed.
23232 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23234         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23235         and nservall.
23237 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23239         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23240         Clean up check_pf allocation pattern. addresses
23242 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23244         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23245         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23246         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23247         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23248         * nptl/pthread_join.c (pthread_join): Likewise.
23249         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23250         * sysdeps/posix/waitid.c (__waitid): Likewise.
23251         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23252         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23253         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23254         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23256         Likewise.
23257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23258         (__libc_pread64): Likewise.
23259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23260         (__libc_pwrite): Likewise.
23261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23262         (__libc_pwrite64): Likewsie.
23263         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23264         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23265         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23266         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23267         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23268         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23269         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23273         (__libc_pread64): Likewise.
23274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23275         Likewise.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23277         (__libc_pwrite64): Likewise.
23278         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23279         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23280         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23281         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23282         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23283         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23284         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23285         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23286         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23287         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23288         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23289         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23290         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23291         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23292         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23293         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23294         Likewise.
23296 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23298         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23299         (CFLAGS-test-double.c): Likewise.
23300         (CFLAGS-test-ldouble.c): Likewise.
23301         (CPPFLAGS-test-ifloat.c): Likewise.
23302         (CPPFLAGS-test-idouble.c): Likewise.
23303         (CPPFLAGS-test-ildoubl.c): Likewise.
23304         (CFLAGS-test-test-fenv.c): Remove variable.
23305         (CFLAGS-test-misc.c): Likewise.
23307 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23309         [BZ #17797]
23310         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23311         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23312         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23313         CLOCKS_PER_SEC == 1000000.
23314         * time/clocktest.c (main): Replace %ld with %jd and cast to
23315         intmax_t.
23317 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23319         * sysdeps/generic/unwind-resume.h: New file.
23320         * sysdeps/gnu/unwind-resume.c: Include it.
23321         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23322         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23323         argument list.
23324         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23325         global rather than static.
23326         (_Unwind_Resume): Update user.
23327         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23328         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23329         rather than static.  Add __attribute__ ((cold)).
23330         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23331         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23332         * sysdeps/arm/arm-unwind-resume.S: New file.
23333         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23334         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23335         * sysdeps/arm/Makefile [$(subdir) = csu]
23336         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23337         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23338         Add rt-arm-unwind-resume.
23339         [$(subdir) = nptl]
23340         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23341         Add pt-arm-unwind-resume.
23342         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23343         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23345 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23347         [BZ #17748]
23348         * include/fenv.h (__feholdexcept): Declare.  Use
23349         libm_hidden_proto.
23350         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23351         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23352         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23353         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23354         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23355         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23356         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23357         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23358         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23359         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23360         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23361         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23362         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23363         (feholdexcept): Likewise.
23364         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23365         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23366         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23367         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23368         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23369         __feholdexcept instead of feholdexcept.
23370         (default_libc_feholdexcept_setround): Likewise.
23372 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23374         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23375         to avoid using stl/str to align destination.
23377 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23379         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23381 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23383         [BZ #17796]
23384         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23385         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23386         Define as weak alias not strong alias.
23388 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23390         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23391         bltzal with addiupc.
23392         (RTLD_START): Ditto.
23394 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23396         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23397         for __vdso_* functions in declarations.
23398         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23399         definitions.
23400         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23401         INTERNAL_VSYSCALL): Use struct return types to check for error.
23403         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23404         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23405         function with cast from llround().
23406         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23407         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23408         Define.
23410 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23412         [BZ #17793]
23413         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23414         Define as weak alias not strong alias.
23416         [BZ #17635]
23417         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23418         ...
23419         * ctype/ctype-extn.c: ... here.
23420         (__isblank_l): Move to ...
23421         * ctype/ctype-c99_l.c: ... here.  New file.
23422         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23423         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23424         Remove variable.
23425         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23426         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23427         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23428         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23429         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23431         [BZ #17777]
23432         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23433         (posix_fadvise64): Define as weak alias not strong alias.
23434         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23435         (posix_fallocate64): Likewise.
23436         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23437         Remove variable.
23438         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23439         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23440         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23441         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23442         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23444 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23446         [BZ #16191]
23447         * NEWS: Mention bug fix.
23448         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23449         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23450         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23451         (HOST_STACK_END_ADDR): Likewise.
23453 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23455         [BZ #17748]
23456         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23457         * math/fegetround.c (fegetround): Rename to __fegetround and
23458         define as weak alias of __fegetround.  Use libm_hidden_weak.
23459         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23460         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23461         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23462         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23463         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23464         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23465         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23466         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23467         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23468         Undefine after rather than before function definition; use
23469         parentheses around function name in definition.
23470         (__fegetround): Also undefine macro after function definition.
23471         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23472         __fegetround and define as weak alias of __fegetround.  Use
23473         libm_hidden_weak.  Do not undefine as macro.
23474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23475         Likewise.
23476         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23477         __fegetround and define as weak alias of __fegetround.  Use
23478         libm_hidden_weak.
23479         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23480         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23481         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23482         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23483         __fegetround and define as weak alias of __fegetround.  Use
23484         libm_hidden_weak.
23485         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23486         __fegetround instead of fegetround.
23488         [BZ #17782]
23489         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23490         Condition macro definition on [__USE_MISC].
23492         [BZ #17781]
23493         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23494         (struct sigaction): Change type of sa_flags field to int.
23496         [BZ #17780]
23497         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23498         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23499         __glibc_reserved0.
23501         * nptl/version.c (banner): Use single year in copyright notice.
23503         * NEWS: Update copyright dates.
23504         * catgets/gencat.c (print_version): Likewise.
23505         * csu/version.c (banner): Likewise.
23506         * debug/catchsegv.sh: Likewise.
23507         * debug/pcprofiledump.c (print_version): Likewise.
23508         * debug/xtrace.sh (do_version): Likewise.
23509         * elf/ldconfig.c (print_version): Likewise.
23510         * elf/ldd.bash.in: Likewise.
23511         * elf/pldd.c (print_version): Likewise.
23512         * elf/sotruss.sh: Likewise.
23513         * elf/sprof.c (print_version): Likewise.
23514         * iconv/iconv_prog.c (print_version): Likewise.
23515         * iconv/iconvconfig.c (print_version): Likewise.
23516         * locale/programs/locale.c (print_version): Likewise.
23517         * locale/programs/localedef.c (print_version): Likewise.
23518         * login/programs/pt_chown.c (print_version): Likewise.
23519         * malloc/memusage.sh (do_version): Likewise.
23520         * malloc/memusagestat.c (print_version): Likewise.
23521         * malloc/mtrace.pl: Likewise.
23522         * manual/libc.texinfo: Likewise.
23523         * nptl/version.c (banner): Likewise.
23524         * nscd/nscd.c (print_version): Likewise.
23525         * nss/getent.c (print_version): Likewise.
23526         * nss/makedb.c (print_version): Likewise.
23527         * posix/getconf.c (main): Likewise.
23528         * scripts/test-installation.pl: Likewise.
23529         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23531 2015-01-02  Will Newton  <will.newton@linaro.org>
23533         * sysdeps/arm/armv7/configure: Removed.
23534         * sysdeps/arm/armv7/configure.ac: Likewise.
23536 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23538         * All files with FSF copyright notices: Update copyright dates
23539         using scripts/update-copyrights.
23540         * intl/plural.c: Regenerated.
23541         * locale/programs/charmap-kw.h: Likewise.
23542         * locale/programs/locfile-kw.h: Likewise.
23544 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23548 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23550         [BZ #17748]
23551         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23552         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23553         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23554         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23555         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23556         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23557         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23558         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23559         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23560         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23561         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23562         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23563         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23564         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23565         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23566         libm_hidden_def.
23567         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23568         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23569         Likewise.
23570         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23571         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23572         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23573         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23574         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23575         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23576         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23577         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23578         __fegetenv instead of fegetenv.
23579         (libc_feholdsetround_noex_ctx): Likewise.
23581 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23583         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23584         (Elf_MIPS_ABIFlags_v0): New structure.
23585         (EF_MIPS_FP64): Define.
23586         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23587         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23588         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23589         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23590         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23591         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23592         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23593         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23594         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23595         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23596         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23597         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23598         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23599         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23600         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23601         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23602         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23603         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23604         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23605         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23606         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23607         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23608         field.
23609         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23610         EF_MIPS_FP64.
23611         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23612         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23613         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23614         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23615         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23616         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23617         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23618         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23619         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23620         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23621         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23622         record the current FP ABI extension.
23623         (mips-mode-switch): Define to show if kernel headers support mode
23624         switching.
23625         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23626         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23627         supported SYSV ABI version to 3.
23628         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23629         feature.
23631 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23632             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23634         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23635         path.
23636         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23638 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23640         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23641         __fegetround and redefine to call __fegetround.  Remove condition
23642         on [!__NO_MATH_INLINES].
23643         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23644         function.
23645         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23646         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23647         Remove macro.
23648         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23649         instead of <fenv_libc.h>.
23650         (__llrintl): Call fegetround instead of __fegetround.
23651         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23652         instead of <fenv_libc.h>.
23653         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23654         (__lrintl): Call fegetround instead of __fegetround.
23655         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23656         instead of <fenv_libc.h>.
23657         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23658         (__rintl): Call fegetround instead of __fegetround.
23660 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23662         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23663         arrays.
23665 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23667         [BZ #17775]
23668         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23669         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23670         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23672 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23674         * sysdeps/i386/tls-macros.h: Include <features.h>.
23675         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23676         (TLS_IE): Likewise.
23677         (TLS_LD): Likewise.
23678         (TLS_GD): Likewise.
23679         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23680         define for GCC >= 5.0.
23682 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23684         * math/test-fenv.c (test_single_exception, set_single_exc,
23685         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23686         feexcp_mask_test, feenable_test, fe_single_test): Add
23687         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23688         case where they are not used.
23689         * math/libm-test.inc: Likewise.
23690         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23691         unused in the absence of FP rounding/exception support.
23692         * stdio-common/tst-printf-round.c: Likewise.
23693         * stdlib/tst-strtod-round.c: Likewise.
23694         * stdlib/tst-strtod-underflow.c: Likewise.
23696 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23698         [BZ #17723]
23699         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23700         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23701         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23702         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23703         libm_hidden_weak.
23704         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23705         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23706         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23707         libm_hidden_def.
23708         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23709         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23710         libm_hidden_weak.
23711         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23712         Likewise.
23713         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23714         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23715         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23716         libm_hidden_weak.
23717         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23718         libm_hidden_def.
23719         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23720         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23721         (__feraiseexcept): Likewise.
23722         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23723         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23724         libm_hidden_weak.
23725         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23726         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23727         libm_hidden_def.
23728         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23729         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23730         Use libm_hidden_def.
23731         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23732         libm_hidden_def.
23733         (feraiseexcept): Define as weak not strong alias.  Use
23734         libm_hidden_weak.
23735         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23736         New inline function.  Factored out of ...
23737         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23738         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23739         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23740         feraiseexcept.
23741         * math/w_acos.c (__acos): Likewise.
23742         * math/w_asin.c (__asin): Likewise.
23743         * math/w_ilogb.c (__ilogb): Likewise.
23744         * math/w_j0.c (y0): Likewise.
23745         * math/w_j1.c (y1): Likewise.
23746         * math/w_jn.c (yn): Likewise.
23747         * math/w_log.c (__log): Likewise.
23748         * math/w_log10.c (__log10): Likewise.
23749         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23750         * sysdeps/aarch64/fpu/math_private.h
23751         (libc_feupdateenv_test_aarch64): Likewise.
23752         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23753         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23754         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23755         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23756         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23757         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23758         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23759         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23760         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23761         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23763 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23765         [BZ #17732]
23766         * io/test-utime.c (main): Replace %ld with %jd and cast to
23767         intmax_t.
23768         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23769         * nptl/tst-mutex5.c: Include <stdint.h>.
23770         (do_test): Replace %ld with %jd and cast to intmax_t.
23771         * posix/tst-regex.c (run_test): Likewise.
23772         (run_test_backwards): Likewise.
23773         * rt/tst-clock.c: Include <stdint.h>.
23774         (clock_test): Replace %ld with %jd and cast to intmax_t.
23775         * rt/tst-cpuclock1.c: Include <stdint.h>.
23776         (do_test): Replace %lu with %ju and cast to uintmax_t.
23777         * rt/tst-cpuclock2.c: Include <stdint.h>.
23778         (do_test): Replace %lu with %ju and cast to uintmax_t.
23779         * rt/tst-mqueue1.c: Include <stdint.h>.
23780         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23781         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23782         intmax_t.
23783         * rt/tst-mqueue4.c (do_test): Likewise.
23784         * rt/tst-timer4.c: Include <stdint.h>.
23785         (check_ts): Replace %ld with %jd and cast to intmax_t.
23786         (do_test): Likewise.
23787         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23788         and cast to intmax_t.
23789         * sysdeps/pthread/tst-timer.c (main): Likewise.
23790         * time/clocktest.c (main): Likewise.
23791         * time/tst-posixtz.c (do_test): Likewise.
23792         * timezone/tst-timezone.c (main): Likewise.
23794 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23795             H.J. Lu  <hongjiu.lu@intel.com>
23797         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23798         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23799         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23800         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23801         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23802         version if bit_Fast_Unaligned_Load is set.
23803         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23804         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23805         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23806         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23807         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23808         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23809         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23810         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23811         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23812         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23813         to 4.
23814         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23815         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23816         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23817         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23819 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23821         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23822         instead of #if to avoid a Wundef warning.
23823         * stdlib/tst-limits.c (do_test): Likewise.
23825         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23826         parallel other exception macros.
23827         (fegetenv): Convert from macro to extern inline so that it applies
23828         retroactively to inline functions already seen by the compiler.
23829         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23831         * posix/Makefile (before-compile): Use $(objpfx) for
23832         posix-conf-vars-def.h.
23834 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23836         * posix/getconf.c (main): Use size_t for type of I.
23837         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23838         NSPEC.
23840         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23841         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23842         * posix/posix-envs.def: Likewise.
23843         * sysdeps/posix/sysconf.c: Likewise.
23844         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23845         (specs): Remove array.
23846         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23847         array.
23849         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23850         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23851         (__sysconf): Use CONF_IS_* macros.
23853         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23854         ($(objpfx)posix-conf-vars-def.h): New target.
23855         * posix/posix-conf-vars.list: New file.
23856         * posix/posix-conf-vars.h: New file.
23857         * posix/confstr.c: Include posix-conf-vars.h.
23858         (confstr): Use CONF_IS_* macros.
23859         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23860         CONF_IS_* macros.
23861         * scripts/gen-posix-conf-vars.awk: New file.
23863 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23865         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23866         fegetround): Add no-op macros to avoid linknamespace issues.
23868         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23869         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23871         * sysdeps/unix/sysv/linux/tile/sysdep.h
23872         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23873         assembly-specific section to avoid a redefinition warning.
23875         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23876         long before casting to pointer to avoid a cast warning.
23878 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23880         * sysdeps/tile/tilegx/Implies: New file.
23882 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23884         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23886 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23888         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23890 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23892         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23893         not define.
23894         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23895         <kernel-features.h>.
23896         (__utimes) [__NR_utimes]: Make code unconditional.
23897         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23898         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23899         (__ASSUME_UTIMES): Do not undefine.
23900         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23901         (__ASSUME_UTIMES): Likewise.
23902         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23903         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23904         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23905         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23907 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23909         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23911 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23913         [BZ #17747]
23914         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23915         alias to weak alias for j0l, y0l.
23916         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23917         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23919         [BZ #17746]
23920         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23921         conversion.
23923 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23925         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23926         to zero if not already defined.
23928 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #17724]
23931         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23932         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23933         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23934         (char *) casts added.
23935         * sysdeps/ieee754/k_standardf.c: New file.
23936         * sysdeps/ieee754/k_standardl.c: Likewise.
23937         * math/Makefile (libm-support): Remove k_standard.
23938         (libm-calls): Add k_standard.
23940 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23942         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23943         Optimize to avoid an unnecessary FPCR read.
23945 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23947         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23948         Optimize to reduce FPCR/FPSR accesses.
23950 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23952         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23953         Call libc_fetestexcept_aarch64.
23955 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23957         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23958         Call libc_fesetround_aarch64.
23960 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23962         [BZ #17733]
23963         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23964         (__bind): Do not define as weak alias.
23965         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23966         define.
23967         (__getsockname): Do not define as weak alias.
23969 2014-12-22  Will Newton  <will.newton@linaro.org>
23971         * manual/install.texi: Document that we require bison 2.7
23972         or above.
23973         * INSTALL: Regenerate.
23974         * configure.ac: Use AC_CHECK_PROG_VER instead of
23975         AC_PATH_PROG when checking for bison and check for
23976         version 2.7 or above.
23977         * configure: Regenerate.
23979 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23981         [BZ #17745]
23982         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23983         * sysdeps/tile/ffsll.c (ffsll): To here.
23985         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23987 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23989         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23990         if not defined.
23991         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23992         definition.
23993         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23994         hidden ___tls_get_addr.
23995         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23996         hidden __tls_get_addr.
23997         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23998         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23999         Likewise.
24001 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24003         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24004         _dl_init call.
24006 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24008         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24009         from "call _dl_init@PLT".
24010         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24012 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24014         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24015         guarantees.
24017 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24019         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24021 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24023         [BZ #17744]
24024         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24025         strnlen.
24027 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24029         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24030         of multu on MIPSr6.
24031         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24032         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24033         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24034         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24035         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24037 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24039         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24040         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24041         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24042         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24043         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24044         mips32r6/mips64r6.
24045         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24047 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24049         * string/strncat.c (STRNCAT): Simplify implementation.
24051 2014-12-19  David S. Miller  <davem@davemloft.net>
24053         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24054         access the quad as both a long double and as a series of 4 words.
24056         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24057         link_map->l_info array access.
24059 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24061         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24063         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24064         * math/atest-exp2.c (TIMEOUT): Likewise.
24065         * math/atest-sincos.c (TIMEOUT): Likewise.
24067 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24069         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24070         -Wno-error with -fno-builtin-lround.
24072 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24074         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24075         Contains futex constants and functions moved over from ...
24076         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24077         <lowlevellock-futex.h>.
24078         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24079         (lll_timedwait_tid): Add comments and parentheses around macro
24080         arguments.
24082 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24084         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24085         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24086         (__lll_private_flag): Remove.
24087         (lll_futex_wait): Likewise.
24088         (lll_futex_timed_wait): Likewise.
24089         (lll_futex_wake): Likewise.
24090         (lll_futex_requeue): Likewise.
24091         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24092         (__lll_timedwait_tid): Spell out argument names.
24093         (lll_timedwait_tid): Add comments and parentheses around macro
24094         arguments.
24095         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24096         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24098 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24100         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24101         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24103         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24104         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24105         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24106         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24107         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24108         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24110         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24114         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24115         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24116         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24117         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24118         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24120 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24122         * sysdeps/x86_64/x32/Makefile: New file.
24124 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24126         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24127         1L with (mp_limb_t) 1.
24129 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24131         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24132         * nptl/libc_pthread_init.c: ... here.
24133         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24134         * nptl/register-atfork.c: ... here.
24136         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24137         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24138         Use assert_perror to check its return value.
24139         (__gai_create_helper_thread): Likewise.
24141         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24143         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24145 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24147         [BZ #17725]
24148         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24149         __profil_counter.
24150         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24151         Likewise.
24152         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24153         Likewise.
24154         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24157         (profil_counter): Likewise.
24158         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24159         (profil_counter): Likewise.
24160         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24161         Likewise.
24162         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24163         Likewise.
24164         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24165         (profil_counter): Likewise.
24166         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24167         Likewise.
24168         [!__profil_counter] (profil_counter): Define as weak alias of
24169         __profil_counter.
24170         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24171         (profil_counter): Rename to __profil_counter.
24172         [!__profil_counter] (profil_counter): Define as weak alias of
24173         __profil_counter.
24174         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24175         (profil_counter): Rename to __profil_counter.
24176         [!__profil_counter] (profil_counter): Define as weak alias of
24177         __profil_counter.
24178         * sysdeps/posix/profil.c: Update comment referring to
24179         profil_counter.
24180         (__profil): Use __profil_counter instead of profil_counter.
24181         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24182         __profil_counter.  Use __profil_counter_ushort and
24183         __profil_counter_uint in definitions.
24184         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24185         instead of profil_counter_uint and profil_counter_ushort.
24187         [BZ #17722]
24188         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24189         define as weak alias of __inet_makeaddr.
24190         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24191         as weak alias of __inet_addr.
24192         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24193         as weak alias of __inet_pton.  Use libc_hidden_weak.
24194         * include/arpa/inet.h (__inet_pton): Declare.  Use
24195         libc_hidden_proto.
24196         (inet_makeaddr): Don't use libc_hidden_proto.
24197         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24198         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24199         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24200         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24201         Remove variable.
24202         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24203         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24205 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24207         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24209 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24211         * stdio-common/bug-vfprintf-nargs.c (do_test):
24212         Cast value to intptr_t to avoid format warning
24213         for usage with PRIdPTR printing macro.
24215 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24217         * libio/tst-widetext.c (do_test):
24218         Use format type %td instead of %Zd for ptrdiff_t
24219         in order to avoid format warning.
24221 2014-12-17  Andreas Schwab  <schwab@suse.de>
24223         * nscd/mem.c (gc): Add size_t cast to match printf format.
24225 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24227         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24228         (init): Apply PTR_MANGLE to pointers before storing them.
24229         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24230         before using them.
24232 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24234         [BZ #17719]
24235         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24236         define as weak alias of __memrchr.
24237         (__memrchr): Do not define as strong alias of memrchr.
24238         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24239         Remove variable.
24240         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24241         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24242         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24244         [BZ #17717]
24245         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24246         define as weak alias of __if_nametoindex.  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         (if_freenameindex): Rename to __if_freenameindex and define as
24250         weak alias of __if_freenameindex.
24251         (if_nameindex): Rename to __if_nameindex and define as weak alias
24252         of __if_nameindex.
24253         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24254         __if_nametoindex and define as weak alias of __if_nametoindex.
24255         Use libc_hidden_weak.
24256         (if_freenameindex): Rename to __if_freenameindex and define as
24257         weak alias of __if_freenameindex.
24258         (if_nameindex): Rename to __if_nameindex and define as weak alias
24259         of __if_nameindex.
24260         (if_indextoname): Rename to __if_indextoname and define as weak
24261         alias of __if_indextoname.  Use libc_hidden_weak.
24262         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24263         __if_nametoindex and define as weak alias of __if_nametoindex.
24264         Use libc_hidden_weak.
24265         (if_freenameindex): Rename to __if_freenameindex and define as
24266         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24267         (if_nameindex_netlink): Use __if_freenameindex instead of
24268         if_freenameindex.
24269         (if_nameindex): Rename to __if_nameindex and define as weak alias
24270         of __if_nameindex.  Use libc_hidden_weak.
24271         (if_indextoname): Rename to __if_indextoname and define as weak
24272         alias of __if_indextoname.  Use libc_hidden_weak.
24273         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24274         libc_hidden_proto.
24275         [!_ISOMAC] (__if_freenameindex): Likewise.
24276         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24277         if_nametoindex.
24278         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24279         variable.
24280         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24281         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24282         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24283         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24284         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24285         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24286         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24288         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24289         Remove variable.
24290         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24291         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24293 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24295         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24296         subscript above bounds'
24298         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24299         bounds.
24301 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24303         * libio/tst-fopenloc.c: Use test-skeleton.c.
24305         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24306         (entry): Rename to ITEM.
24307         (do_test, comp): Adjust.
24309         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24311 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24313         * string/tester.c: Include <libc-internal.h>.
24314         (test_memset): Ignore -Wmemset-transposed-args.
24316 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24318         * misc/tst-mntent2.c (do_test): Fix warning.
24320 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24322         * elf/tst-unique4lib.cc(a): Mark as used.
24324 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24326         [BZ #17630]
24327         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24328         names.
24330 2014-12-16  Allan McRae  <allan@archlinux.org>
24332         * stdio-common/Makefile (tests): Re-add bug26.
24334 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24336         [BZ #17657]
24337         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24338         static array.
24340 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24342         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24343         (__lll_lock_wait): Likewise.
24344         (__lll_timedlock_wait): Likewise.
24345         (__lll_timedwait_tid): Likewise.
24346         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24347         (__lll_robust_timedlock_wait): Likewise.
24348         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24349         (lll_cond_trylock): Likewise.
24350         (__lll_lock): Likewise.
24351         (__lll_robust_lock): Likewise.
24352         (__lll_cond_lock): Likewise.
24353         (lll_robust_cond_lock): Likewise.
24354         (__lll_timedlock): Likewise.
24355         (__lll_robust_timedlock): Likewise.
24356         (__lll_unlock): Likewise.
24357         (__lll_robust_unlock): Likewise.
24358         (lll_wait_tid): Likewise.
24359         (lll_timedwait_tid): Likewise.
24361 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24363         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24365 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24367         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24369 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24371         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24372         * stdio-common/tst-sprintf.c: Likewise.
24374 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24376         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24378 2014-12-15  Jeff Law  <law@redhat.com>
24380         [BZ #16617]
24381         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24382         on the heap.  (CVE-2012-3406)
24383         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24384         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24385         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24387 2014-12-15  Will Newton  <will.newton@linaro.org>
24389         * manual/install.texi: Bump required version of texinfo
24390         to 4.7 from 4.5.
24391         * INSTALL: Regenerated.
24392         * configure.ac: Check for makeinfo version 4.7 and above.
24393         * configure: Regenerated.
24395 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24397         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24398         PREFIX, string constant to insert between directory and name.
24399         * sysdeps/posix/shm_open.c: Update caller.
24400         * sysdeps/posix/shm_unlink.c: Likewise.
24401         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24402         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24403         (SEM_SHM_PREFIX): New macro.
24404         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24405         [$(have-thread-library) = no].
24406         * nptl/Makefile (libpthread-routines): Add shm-directory.
24407         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24408         * sysdeps/nptl/shm-directory.h: New file.
24409         * sysdeps/posix/shm-directory.c
24410         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24411         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24412         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24413         INTERNAL_SYSCALL.
24414         (__where_is_shmfs): Function removed.
24415         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24416         Variables removed.
24417         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24418         Use SHM_GET_NAME.
24419         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24421         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24422         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24423         unconditional for use inside libpthread.
24424         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24426 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24428         * nptl/pthread_getaffinity.c: New file.
24429         * nptl/pthread_setaffinity.c: New file.
24430         * nptl/pthread_getname.c: New file.
24431         * nptl/pthread_setname.c: New file.
24433         * nptl/pthread_create.c (START_THREAD_DEFN)
24434         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24436 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24439         * resolv/res_send.c (send_vc): Disable warning resplen may
24440         be used uninitialized.
24442 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24444         * nptl/tst-mutex6.c
24445         (ATTR_NULL): New define checks ATTR against NULL.
24446         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24447         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24449 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24451         [BZ #17581]
24452         * malloc/hooks.c
24453         (mem2mem_check): Revert my previous change.
24454         (malloc_check_get_size): Revert my previous change.
24455         (mem2chunk_check): Revert my previous change.
24457 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24459         * sysdeps/posix/shm-directory.c: New file.
24460         * sysdeps/posix/shm-directory.h: New file.
24461         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24462         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24463         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24464         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24465         Transmute EPERM to EACCES.
24466         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24467         from ...
24468         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24469         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24471 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24473         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24474         pointer and cast to uintptr_t.
24475         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24476         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24477         Add cast to avoid warning.
24478         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24480 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24482         * nptl/semaphore.h: Move to ...
24483         * sysdeps/pthread/semaphore.h: ... here.
24484         * Makefile (installed-headers): Change nptl/semaphore.h to
24485         sysdeps/pthread/semaphore.h.
24487 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24489         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24490         generated error format strings.
24492         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24493         -Wformat-extra-args warnings for scanf formats.
24494         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24495         test of zero-length format (duh).
24496         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24497         corner-case scanf format test.
24498         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24499         generated fprintf format string.
24500         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24501         corner-case sprintf format tests.
24502         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24503         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24504         -Wformat-extra-args warnings throughout.
24505         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24506         (CFLAGS-scanf4.c): Likewise.
24507         (CFLAGS-scanf7.c): Likewise.
24508         (CFLAGS-tst-sprintf.c): Likewise.
24509         (CFLAGS-tst-printf.c): Likewise.
24510         (CFLAGS-tst-printfsz.c): Likewise.
24512 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24514         * include/cpio.h: New file.
24515         * include/fmtmsg.h: Likewise.
24517         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24518         corresponding format argument to size_t.
24519         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24520         arguments.
24521         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24522         corresponding format argument to size_t.
24523         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24524         arguments.
24525         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24526         corresponding format argument to size_t.
24527         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24528         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24529         (CFLAGS-tst-mbswcs2.c): Likewise.
24530         (CFLAGS-tst-mbswcs3.c): Likewise.
24531         (CFLAGS-tst-mbswcs4.c): Likewise.
24532         (CFLAGS-tst-mbswcs5.c): Likewise.
24533         (CFLAGS-tst-trans.c): Likewise.
24535 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24537         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24538         rather than assuming they won't contain any '%'s.
24540 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24542         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24543         inhibit_loop_to_libcall to avoid recursive calls.
24544         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24545         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24547 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24549         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24550         prototype.
24552 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24554         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24555         integer value instead of boolean.
24557 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24559         * malloc/malloc.c: Fix powerof2 check.
24561 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24563         * locale/programs/locfile.h (maybe_swap_uint32):
24564         Remove inline and add unused attribute.
24566 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24569         Truncating assembler expression to a .long expression.
24571 2014-12-11  Andreas Schwab  <schwab@suse.de>
24573         * elf/rtld.c (struct map_args): Constify str member.
24574         (do_preload): Constify fname argument.
24576 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24579         constants definition.
24581 2014-12-11  Andreas Schwab  <schwab@suse.de>
24583         [BZ #16657]
24584         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24585         FORCE_ELISION instead of DO_ELISION.
24586         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24587         Remove.
24588         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24589         Likewise.
24591         * iconvdata/gconv-modules: Remove duplicate entry.
24593 2014-12-11  Will Newton  <will.newton@linaro.org>
24595         Merge gettext 0.19.3 into intl/.
24597         This involves a number of cosmetic changes to comments
24598         and ANSI function definitions and prototypes throughout
24599         all the files. The gettext copyright header is used but
24600         with the date ranges taken from the glibc copy.
24602         * NEWS: Add gettext merge to 2.21.
24603         * intl/bindtextdom.c: Switch to gettext copyright.
24604         Use ANSI definitions and prototypes.
24605         Use gl_* locking primitives rather than __libc_* ones.
24606         Use __builtin_expect rather than __glibc_likely/unlikely.
24607         * intl/dcgettext.c: Switch to gettext copyright.
24608         Use ANSI definitions and prototypes.
24609         * intl/dcigettext.c: Switch to gettext copyright.
24610         Use ANSI definitions and prototypes.
24611         (INTDIV0_RAISES_SIGFPE): New define.
24612         Use gl_* locking primitives rather than __libc_* ones.
24613         Include eval-plural.h instead of plural-eval.c.
24614         Use __builtin_expect rather than __glibc_likely/unlikely.
24615         * intl/dcngettext.c: Switch to gettext copyright.
24616         Use ANSI definitions and prototypes.
24617         * intl/dgettext.c: Likewise.
24618         * intl/dngettext.c: Likewise.
24619         * intl/plural-eval.c: Renamed to...
24620         * intl/eval-plural.h: ...this.
24621         * intl/explodename.c: Switch to gettext copyright.
24622         Use ANSI definitions and prototypes.
24623         (_nl_explode_name): Use strchr instead of __rawmemchr.
24624         * intl/finddomain.c: Switch to gettext copyright.
24625         Use ANSI definitions and prototypes.
24626         Use gl_* locking primitives rather than __libc_* ones.
24627         (_nl_find_domain): Use malloc rather than alloca for
24628         allocation of temporary locale name.
24629         * intl/gettext.c: Switch to gettext copyright.
24630         Use ANSI definitions and prototypes.
24631         * intl/gettextP.h: Switch to gettext copyright.
24632         Use ANSI definitions and prototypes.
24633         Use gl_* locking primitives rather than __libc_* ones.
24634         * intl/gmo.h: Switch to gettext copyright.
24635         (struct sysdep_string): Move struct segment_pair outside of
24636         struct definition.
24637         * intl/hash-string.c: Use ANSI definitions and prototypes.
24638         * intl/hash-string.h: Switch to gettext copyright.
24639         Use ANSI definitions and prototypes.
24640         * intl/l10nflist.c: Switch to gettext copyright.
24641         Use ANSI definitions and prototypes.
24642         (_nl_normalize_codeset): Avoid integer overflow.
24643         * intl/loadinfo.h: Switch to gettext copyright.
24644         Use ANSI definitions and prototypes.
24645         (LIBINTL_DLL_EXPORTED): New define.
24646         (PATH_SEPARATOR): New define.
24647         * intl/loadmsgcat.c: Switch to gettext copyright.
24648         * intl/localealias.c: Switch to gettext copyright.
24649         Use ANSI definitions and prototypes.
24650         (_nl_expand_alias): Use PATH_SEPARATOR.
24651         * intl/ngettext.c: Switch to gettext copyright.
24652         Use ANSI definitions and prototypes.
24653         * intl/plural-exp.c: Likewise.
24654         * intl/plural-exp.h: Switch to gettext copyright.
24655         Use ANSI definitions and prototypes.
24656         (struct expression): Move definition of enum operator outside
24657         of struct definition.
24658         * intl/plural.c: Regenerate.
24659         * intl/plural.y: Switch to gettext copyright.
24660         Use ANSI definitions and prototypes.
24661         Port to bison 3.0.
24662         * intl/textdomain.c: Switch to gettext copyright.
24663         Use ANSI definitions and prototypes.
24664         Use gl_* locking primitives rather than __libc_* ones.
24666 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24668         * debug/warning-nop.c: Add used atrribute.
24670 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24672         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24674         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24675         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24676         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24678 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24679             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24681         [BZ #17634]
24682         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24683         Undefine after defining function.  Define as weak alias of
24684         __wcschr.  Use libc_hidden_weak.
24685         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24686         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24687         (libc_hidden_def): Also define __GI___wcschr alias.
24688         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24689         __wcschr and define as weak alias of __wcschr.
24690         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24691         __wcschr.
24692         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24693         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24694         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24695         libc_hidden_weak.  Do not use libc_hidden_def.
24696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24697         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24698         __GI___wcschr alias.
24699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24700         [IS_IN (libc)] (wcschr): Define as macro expanding to
24701         __redirect_wcschr.
24702         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24703         [IS_IN (libc)] (__wcschr_power6): Likewise.
24704         [IS_IN (libc)] (__wcschr_power7): Likewise.
24705         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24706         instead of wcschr.
24707         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24708         __libc_wcschr.
24709         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24710         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24711         __wcschr and define as weak alias of __wcschr.  Use
24712         libc_hidden_builtin_def.
24713         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24714         as weak alias of __wcschr.  Use libc_hidden_weak.
24715         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24716         wcschr.
24717         * time/era.c (_nl_init_era_entries): Likewise.
24718         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24719         variable.
24720         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24721         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24723 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24725         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24726         format for long int variable.
24728 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24730         [BZ #10672]
24731         * manual/search.texi: (Array Sort Function): Remove claim how to make
24732         qsort stable.
24734 2014-12-10  Andreas Schwab  <schwab@suse.de>
24736         [BZ #12847]
24737         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24738         user-controlled locks.
24740 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24742         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24743         register.
24745 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24747         * configure.ac (--disable-werror): New configure option.
24748         (enable_werror): New AC_SUBST.
24749         * configure: Regenerated.
24750         * config.make.in (enable-werror): New variable.
24751         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24752         -Wno-error=undef.
24753         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24754         * manual/install.texi (Configuring and compiling): Document
24755         --disable-werror.
24756         * INSTALL: Regenerated.
24757         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24758         (CFLAGS-tst-chk2.c): Likewise.
24759         (CFLAGS-tst-chk3.c): Likewise.
24760         (CFLAGS-tst-chk4.cc): Likewise.
24761         (CFLAGS-tst-chk5.cc): Likewise.
24762         (CFLAGS-tst-chk6.cc): Likewise.
24763         (CFLAGS-tst-lfschk1.c): Likewise.
24764         (CFLAGS-tst-lfschk2.c): Likewise.
24765         (CFLAGS-tst-lfschk3.c): Likewise.
24766         (CFLAGS-tst-lfschk4.cc): Likewise.
24767         (CFLAGS-tst-lfschk5.cc): Likewise.
24768         (CFLAGS-tst-lfschk6.cc): Likewise.
24770         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24771         (main): Disable -Wdeprecated-declarations around calls to
24772         register_printf_function.
24774         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24775         (do_test): Disable -Wdiv-by-zero around some calls to
24776         fwrite_unlocked and fread_unlocked.
24778         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24779         (DIAG_POP_NEEDS_COMMENT): Likewise.
24780         (_DIAG_STR1): Likewise.
24781         (_DIAG_STR): Likewise.
24782         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24783         * stdio-common/bug21.c: Include <libc-internal.h>.
24784         (do_test): Disable -Wformat around call to sscanf.
24785         * stdio-common/scanf14.c: Include <libc-internal.h>.
24786         (main): Disable -Wformat around some calls to scanf functions.
24788 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24790         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24792 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24794         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24795         stack variable alignment.
24797 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #17682]
24800         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24801         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24802         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24803         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24804         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24805         __getrlimit instead of getrlimit.
24806         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24807         __gettimeofday instead of gettimeofday.
24808         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24809         Likewise.
24810         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24811         Likewise.
24812         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24813         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24814         Remove variable.
24815         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24816         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24818 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24820         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24821         for wide-character tests.
24823 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24825         * io/openat64.c: #include <libc-internal.h>
24826         (__openat64): Prototypify.  Use ignore_value on MODE.
24827         * io/openat.c: Likewise.
24828         * misc/reboot.c: #include <libc-internal.h>
24829         (reboot): Prototypify.  Use ignore_value on HOWTO.
24830         * misc/ptrace.c: #include <libc-internal.h>
24831         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24833 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24835         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24836         XPG4, UNIX98 and XOPEN2K.
24837         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24838         Remove variable.
24839         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24841 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24843         * libio/fileops.c: Use ISO C style for function definitions.
24844         * libio/iofopen.c: Likewise.
24845         * libio/wfileops.c: Likewise.
24847         [BZ #17653]
24848         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24849         offset on EOF.
24850         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24851         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24852         (fgets_func): Function pointer to fgets and fgetws.
24853         (do_ftell_test): Add test to verify ftell value after read
24854         EOF.
24855         (do_test): Set fgets_func.
24857         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24858         O_TRUNC flag for w and w+ modes.
24859         (do_rewind_test): Likewise.
24860         (do_ftell_test): Likewise.
24861         (do_write_test): Likewise.
24863         [BZ #17647]
24864         * libio/fileops.c (do_ftell): Seek only when there are
24865         unflushed writes.
24866         * libio/wfileops.c (do_ftell_wide): Likewise.
24867         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24868         test case.
24869         (do_one_test): Call it.
24871 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24873         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24874         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24875         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24876         Remove variable.
24877         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24878         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24879         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24881 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24883         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24884         Remove variable.
24885         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24887         [BZ #17668]
24888         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24889         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24890         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24891         __freeifaddrs.  Use libc_hidden_weak.
24892         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24893         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24894         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24895         __freeifaddrs.  Use libc_hidden_weak.
24896         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24897         __getifaddrs and define as weak alias of __getifaddrs.  Use
24898         libc_hidden_weak.
24899         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24900         __freeifaddrs.  Use libc_hidden_weak.
24901         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24902         Remove variable.
24903         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24904         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24906 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24908         [BZ #17601]
24909         * sysdeps/mips/start.S (__start): Use indirect jump to call
24910         __libc_start_main.
24912 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24914         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24916         * nptl/tst-mutex1.c: Include <stdbool.h>.
24917         [!ATTR] (ATTR_NULL): New macro.
24918         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24919         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24920         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24922         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24923         to char *.
24925         [BZ #17665]
24926         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24927         Change conditional to [__USE_MISC].
24929         [BZ #17664]
24930         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24931         fgets_unlocked.
24932         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24933         __fgets_unlocked.
24934         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24935         fgets_unlocked.
24936         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24937         Remove variable.
24938         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24939         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24940         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24941         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24942         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24943         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24944         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24945         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24946         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24948         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24950 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24952         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24953         Remove strpbrk objects.
24954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24955         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24956         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24957         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24958         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24959         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24962         Remove strcspn objects.
24963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24964         (__libc_ifunc_impl_list): Remove strcspn implementation.
24965         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24966         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24967         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24968         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24970         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24971         Remove strspn objetcs.
24972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24973         (__libc_ifunc_impl_list): Remove strspn implementation.
24974         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24975         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24976         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24977         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24979 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24981         [BZ #17581]
24982         * malloc/hooks.c
24983         (mem2mem_check): Add a terminator to the chain of checking blocks.
24984         (malloc_check_get_size): Use it here.
24985         (mem2chunk_check): Ditto.
24987 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24989         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24990         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24992 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24994         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24996         * nptl/nptl-init.c: Include libc-internal.h.
24997         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24999         * elf/ldconfig.c (search_dir): Expand comment.
25001 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25003         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25004         variable.
25005         (linknamespace-symlist-stdlibs-tests): Likewise.
25006         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25007         instead of $(objpfx)symlist-stdlibs.
25008         (linknamespace-libs-isoc): New variable.
25009         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25010         (linknamespace-libs-ISO): New variable.
25011         (linknamespace-libs-ISO99): Likewise.
25012         (linknamespace-libs-ISO11): Likewise.
25013         (linknamespace-libs-XPG3): Likewise.
25014         (linknamespace-libs-XPG4): Likewise.
25015         (linknamespace-libs-POSIX): Likewise.
25016         (linknamespace-libs-UNIX98): Likewise.
25017         (linknamespace-libs-XOPEN2K): Likewise.
25018         (linknamespace-libs-POSIX2008): Likewise.
25019         (linknamespace-libs-XOPEN2K8): Likewise.
25020         ($(objpfx)symlist-stdlibs): Replace by
25021         $(linknamespace-symlist-stdlibs-tests).  Use
25022         $(linknamespace-libs-$*) as set of libraries.
25023         ($(linknamespace-header-tests)): Update dependencies.  Use
25024         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25025         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25026         * conform/linknamespace.pl: Remove comment about considering
25027         definitions of symbols from irrelevant libraries.
25029 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25031         [BZ #13862]
25032         * elf/dl-tls.c: Include <atomic.h>.
25033         (oom): Remove #ifdef SHARED/#endif.
25034         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25035         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25036         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25037         big enough.
25038         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25039         * nptl/Makefile (tests): Add tst-stack4.
25040         (modules-names): Add tst-stack4mod.
25041         ($(objpfx)tst-stack4): New.
25042         (tst-stack4mod.sos): Likewise.
25043         ($(objpfx)tst-stack4.out): Likewise.
25044         ($(tst-stack4mod.sos)): Likewise.
25045         (clean): Likewise.
25046         * nptl/tst-stack4.c: New file.
25047         * nptl/tst-stack4mod.c: Likewise.
25049 2014-11-27  J. Brown  <jb999@gmx.de>
25051         * sysdeps/x86/bits/string.h: Add recent CPUs.
25053 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25055         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25056         sigblock.
25058         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25059         feof.
25061         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25062         variable.
25064 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25066         * nscd/connections.c: Include libc-internal.h because of macro
25067         usage ignore_value.
25069 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25071         * string/bits/string3.h (__warn_memset_zero_len): Don't
25072         declare for gcc newer than 5.0.
25073         (memset): Don't test for zero-length __LEN for gcc newer than
25074         5.0.
25076 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25078         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25079         size_t for %zu format.
25081         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25082         difference, not %ju.
25084 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25086         * include/libc-internal.h (ignore_value): New macro.
25087         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25088         with ignore_value.
25090         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25091         definition.
25093         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25094         pthread_cleanup_push to void *.
25096         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25097         Undefine.
25099         [BZ #16619]
25100         [BZ #16740]
25101         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25102         instead of 1L << 52.
25104         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25105         * libio/bug-rewind2.c (do_test): Likewise.
25107         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25108         * debug/test-strcpy_chk-ifunc.c: Likewise.
25109         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25110         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25111         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25112         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25113         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25114         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25115         * Rules [$(multi-arch) = no] (tests): Do not filter out
25116         $(tests-ifunc).
25117         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25118         * debug/Makefile (tests-ifunc): Remove variable.
25119         (tests): Do not add $(tests-ifunc).
25120         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25121         (tests): Do not add $(tests-ifunc).
25122         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25123         [TEST_IFUNC]: Remove conditionals.
25124         * string/test-string.h (TEST_IFUNC): Remove macro.
25125         [TEST_IFUNC]: Remove conditionals.
25127         * string/test-strchr.c [!WIDE] (L): New macro.
25128         [WIDE] (L): Likewise.
25129         (check1): Use CHAR instead of char.  Use L on string and character
25130         constants.
25132 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25134         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25135         tests.
25136         * sysdeps/powerpc/bits/atomic.h
25137         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25138         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25139         (atomic_exchange_and_add_acq): Likewise.
25140         (atomic_exchange_and_add_rel): Likewise.
25141         * sysdeps/powerpc/powerpc32/bits/atomic.h
25142         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25143         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25144         * sysdeps/powerpc/powerpc64/bits/atomic.h
25145         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25146         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25148 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25150         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25151         Change synchronization of __sched_fifo_min_prio and
25152         __sched_fifo_max_prio.
25153         * nptl/pthread_mutexattr_getprioceiling.c
25154         (pthread_mutexattr_getprioceiling): Likewise.
25155         * nptl/pthread_mutexattr_setprioceiling.c
25156         (pthread_mutexattr_setprioceiling): Likewise.
25157         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25158         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25159         Likewise.
25161 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25163         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25164         void.
25166 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25168         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25169         third argument const.
25171 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25173         fnmatch: work around GCC compiler warning bug with uninit var
25174         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25175         This works around a bug with x86-64 GCC 4.9.2 and earlier
25176         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25177         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25178         used uninitialized in this function [-Wmaybe-uninitialized]".
25180 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25182         * posix/bug-regex31.c (main): Return RES not 0.
25184 2014-11-25  Anton Blanchard <anton@samba.org>
25186         * sysdeps/powerpc/bits/atomic.h
25187         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25189 2014-11-24  Sterling Augustine  <saugustine@google.com>
25191         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25193 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25195         [BZ #17608]
25196         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25198 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25200         [BZ #17633]
25201         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25202         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25203         variable.
25204         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25205         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25207 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25209         * string/strncpy.c (strncpy): Improve performance by using memset.
25211 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25213         * string/strcpy.c (strcpy):
25214         Improve performance by using strlen and memcpy.
25216 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25218         * string/strcoll_l.c (get_next_seq): __always_inline.
25219         * string/strcoll_l.c (do_compare): __always_inline.
25221 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25223         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25224         defined.
25225         * include/mqueue.h: Likewise.
25226         * include/stdlib.h: Likewise.
25228         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25229         (get_null_defines): Adjust.
25230         * sunrpc/Makefile: Adjust comment.
25231         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25232         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25233         (CFLAGS-interp.c): Likewise.
25234         (CFLAGS-ldconfig.c): Likewise.
25235         (CPPFLAGS-.os): Likewise.
25236         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25237         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25238         * extra-modules.mk (extra-modules.mk): Likewise.
25239         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25240         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25241         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25242         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25243         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25244         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25245         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25246         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25247         * iconvdata/Makefile (CPPFLAGS): Likewise.
25248         (cpp-srcs-left): Add libof for all iconvdata routines.
25249         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25250         * include/assert.h: Likewise.
25251         * include/ctype.h: Likewise.
25252         * include/errno.h: Likewise.
25253         * include/libc-symbols.h: Likewise.
25254         * include/math.h: Likewise.
25255         * include/netdb.h: Likewise.
25256         * include/resolv.h: Likewise.
25257         * include/stdio.h: Likewise.
25258         * include/stdlib.h: Likewise.
25259         * include/string.h: Likewise.
25260         * include/sys/stat.h: Likewise.
25261         * include/wctype.h: Likewise.
25262         * intl/l10nflist.c: Likewise.
25263         * libidn/idn-stub.c: Likewise.
25264         * libio/libioP.h: Likewise.
25265         * nptl/libc_multiple_threads.c: Likewise.
25266         * nptl/pthreadP.h: Likewise.
25267         * posix/regex_internal.h: Likewise.
25268         * resolv/res_hconf.c: Likewise.
25269         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25270         * sysdeps/arm/memmove.S: Likewise.
25271         * sysdeps/arm/sysdep.h: Likewise.
25272         * sysdeps/generic/_itoa.h: Likewise.
25273         * sysdeps/generic/symbol-hacks.h: Likewise.
25274         * sysdeps/gnu/errlist.awk: Likewise.
25275         * sysdeps/gnu/errlist.c: Likewise.
25276         * sysdeps/i386/i586/memcpy.S: Likewise.
25277         * sysdeps/i386/i586/memset.S: Likewise.
25278         * sysdeps/i386/i686/memcpy.S: Likewise.
25279         * sysdeps/i386/i686/memmove.S: Likewise.
25280         * sysdeps/i386/i686/mempcpy.S: Likewise.
25281         * sysdeps/i386/i686/memset.S: Likewise.
25282         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25284         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25285         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25286         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25287         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25288         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25290         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25292         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25293         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25294         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25295         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25296         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25297         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25298         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25299         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25300         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25301         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25302         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25303         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25304         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25305         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25306         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25308         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25309         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25310         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25311         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25312         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25313         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25314         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25316         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25317         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25320         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25321         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25322         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25324         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25325         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25326         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25327         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25328         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25329         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25330         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25331         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25332         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25333         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25334         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25335         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25336         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25337         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25338         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25339         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25340         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25341         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25342         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25343         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25344         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25345         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25346         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25347         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25348         * sysdeps/posix/closedir.c: Likewise.
25349         * sysdeps/posix/opendir.c: Likewise.
25350         * sysdeps/posix/readdir.c: Likewise.
25351         * sysdeps/posix/rewinddir.c: Likewise.
25352         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25353         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25354         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25355         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25357         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25363         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25364         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25365         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25366         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25367         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25368         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25369         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25370         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25371         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25375         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25377         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25380         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25387         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25388         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25389         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25390         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25391         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25392         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25393         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25394         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25397         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25398         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25400         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25401         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25402         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25403         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25404         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25405         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25406         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25407         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25408         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25409         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25410         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25411         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25412         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25413         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25414         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25415         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25416         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25417         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25418         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25419         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25420         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25421         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25422         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25423         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25424         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25425         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25426         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25428         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25429         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25430         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25431         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25432         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25433         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25434         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25436         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25437         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25438         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25439         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25440         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25441         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25442         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25443         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25444         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25445         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25448         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25450         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25451         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25453         * sysdeps/unix/alpha/sysdep.S: Likewise.
25454         * sysdeps/unix/alpha/sysdep.h: Likewise.
25455         * sysdeps/unix/make-syscalls.sh: Likewise.
25456         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25457         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25458         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25459         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25460         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25461         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25462         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25463         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25464         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25465         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25466         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25467         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25469         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25471         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25472         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25473         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25474         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25475         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25476         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25477         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25478         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25479         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25480         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25481         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25485         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25486         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25490         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25492         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25494         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25495         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25496         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25497         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25498         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25499         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25500         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25502         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25503         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25506         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25507         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25508         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25509         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25511         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25512         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25514         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25515         * sysdeps/x86_64/memcpy.S: Likewise.
25516         * sysdeps/x86_64/memmove.c: Likewise.
25517         * sysdeps/x86_64/memset.S: Likewise.
25518         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25519         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25520         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25521         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25522         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25525         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25526         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25527         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25528         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25529         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25530         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25531         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25532         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25533         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25534         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25535         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25536         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25537         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25538         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25539         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25540         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25541         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25542         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25543         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25544         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25545         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25546         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25547         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25548         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25549         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25550         * sysdeps/x86_64/strcmp.S: Likewise.
25552         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25554         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25555         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25556         * elf/rtld-Rules: Likewise.
25557         * elf/setup-vdso.h: Likewise.
25558         * include/assert.h: Likewise.
25559         * include/bits/stdlib-float.h: Likewise.
25560         * include/errno.h: Likewise.
25561         * include/sys/stat.h: Likewise.
25562         * include/unistd.h: Likewise.
25563         * sysdeps/aarch64/setjmp.S: Likewise.
25564         * sysdeps/alpha/setjmp.S: Likewise.
25565         * sysdeps/arm/__longjmp.S: Likewise.
25566         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25567         * sysdeps/arm/setjmp.S: Likewise.
25568         * sysdeps/arm/sysdep.h: Likewise.
25569         * sysdeps/generic/_itoa.h: Likewise.
25570         * sysdeps/generic/dl-sysdep.h: Likewise.
25571         * sysdeps/generic/ldsodefs.h: Likewise.
25572         * sysdeps/i386/dl-tls.h: Likewise.
25573         * sysdeps/i386/setjmp.S: Likewise.
25574         * sysdeps/m68k/setjmp.c: Likewise.
25575         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25576         * sysdeps/mach/hurd/opendir.c: Likewise.
25577         * sysdeps/posix/getcwd.c: Likewise.
25578         * sysdeps/posix/opendir.c: Likewise.
25579         * sysdeps/posix/profil.c: Likewise.
25580         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25581         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25582         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25583         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25584         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25585         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25587         * sysdeps/s390/dl-tls.h: Likewise.
25588         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25589         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25590         * sysdeps/sh/sh3/setjmp.S: Likewise.
25591         * sysdeps/sh/sh4/setjmp.S: Likewise.
25592         * sysdeps/unix/alpha/sysdep.h: Likewise.
25593         * sysdeps/unix/arm/sysdep.S: Likewise.
25594         * sysdeps/unix/i386/sysdep.S: Likewise.
25595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25596         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25597         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25598         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25600         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25601         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25602         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25603         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25604         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25605         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25606         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25611         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25613         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25614         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25615         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25617         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25618         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25619         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25620         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25622         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25623         * sysdeps/x86_64/setjmp.S: Likewise.
25625         * include/math.h: Use IS_IN instead of IS_IN_libm.
25626         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25627         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25628         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25629         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25630         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25631         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25633         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25634         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25635         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25636         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25637         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25638         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25639         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25642         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25643         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25644         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25645         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25646         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25647         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25648         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25649         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25650         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25651         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25652         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25653         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25654         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25655         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25656         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25657         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25658         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25660         Likewise.
25661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25662         Likewise.
25663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25664         Likewise.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25666         Likewise.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25668         Likewise.
25669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25670         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25671         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25672         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25673         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25674         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25680         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25681         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25682         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25683         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25685         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25686         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25688         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25689         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25690         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25691         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25693         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25695         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25697         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25698         * nptl/pthreadP.h: Likewise.
25699         * nptl_db/structs.def: Likewise.
25700         * sysdeps/arm/sysdep.h: Likewise.
25701         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25702         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25703         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25704         * sysdeps/unix/alpha/sysdep.h: Likewise.
25705         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25707         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25708         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25709         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25710         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25712         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25713         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25714         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25715         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25716         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25717         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25718         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25723         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25726         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25727         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25728         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25729         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25730         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25732         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25733         * nptl/pthreadP.h: Likewise.
25734         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25735         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25736         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25737         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25738         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25740         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25741         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25742         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25743         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25744         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25745         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25747         Likewise.
25748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25749         Likewise.
25750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25752         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25753         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25754         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25755         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25756         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25757         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25759         * dlfcn/dladdr.c: Use IS_IN.
25760         * dlfcn/dladdr1.c: Likewise.
25761         * dlfcn/dlclose.c: Likewise.
25762         * dlfcn/dlerror.c: Likewise.
25763         * dlfcn/dlinfo.c: Likewise.
25764         * dlfcn/dlmopen.c: Likewise.
25765         * dlfcn/dlopen.c: Likewise.
25766         * dlfcn/dlsym.c: Likewise.
25767         * dlfcn/dlvsym.c: Likewise.
25769         * include/ifaddrs.h: Use IS_IN.
25770         * inet/check_pf.c: Likewise.
25771         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25772         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25774         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25775         IS_IN_ldconfig.
25776         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25777         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25779         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25780         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25781         IS_IN (libc).
25783         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25785         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25786         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25787         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25788         * include/libc-symbols.h (IS_IN_LIB): New macro.
25789         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25790         * include/netdb.h: Likewise.
25791         * include/stap-probe.h: Remove all uses of IN_LIB.
25793         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25794         instead of IN_MODULE.
25795         * include/libc-symbols.h (IN_MODULE): Define using
25796         MODULE_NAME.
25797         (PASTE_NAME, PASTE_NAME1): New macros.
25798         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25799         of IN_LIB.
25800         (STAP_PROBE_ASM): Likewise.
25802 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25804         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25805         __mach_init in dlopened libc.
25807 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25809         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25810         * sysdeps/arm/preconfigure: Regenerate.
25812 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25814         * nptl/pthread_create.c (__pthread_create_2_1): Set
25815         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25816         when copying values from IATTR into PD.
25818 2014-11-21  Will Newton  <will.newton@linaro.org>
25819             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25821         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25822         Refactor inline-asm.  Also add comment.
25824         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25825         ElfW macro instead of hardcoded Elf64 types.
25826         (la_aarch64_gnu_pltenter): Likewise.
25827         * sysdeps/aarch64/dl-machine.h
25828         (elf_machine_runtime_setup): Use ElfW(Addr).
25830         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25831         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25832         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25833         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25834         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25835         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25836         (R_AARCH64_TLS_DTPMOD): This.
25837         (R_AARCH64_TLS_DTPREL64): Rename to ...
25838         (R_AARCH64_TLS_DTPREL): This.
25839         (R_AARCH64_TLS_TPREL64): Rename to ...
25840         (R_AARCH64_TLS_TPREL): This.
25841         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25842         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25843         R_AARCH64_TLS_TPREL64.
25844         (elf_machine_rela): Likewise.
25846 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25848         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25849         by setting it to 0.  64b atomics are not supported currently.
25851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25853         [BZ #16469]
25854         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25855         search domain names.
25857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25859         [BZ #16469]
25860         * NEWS: Update.
25861         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25862         trailing dot.
25863         * posix/tst-getaddrinfo5.c: New.
25864         * posix/Makefile (tests): Add it.
25866 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25868         [BZ #14498]
25869         * NEWS: Fixed.
25870         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25871         after parsing line but before break_if_match.
25872         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25873         if there is a protocol mismatch.
25875 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25877         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25878         because the potential race is on the user-supplied stream.
25880 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25882         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25883         string literal if not passed a buffer.
25884         * manual/job.texi (ctermid): Update reasoning, note deviation
25885         from posix, suggest mtasurace when not passed a buffer, for
25886         future non-preliminary safety notes.
25888 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25890         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25891         of not passing it a buffer.
25892         Reported by Peng Haitao.
25894 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25896         * manual/Makefile ($(objpfx)stamp-summary): Require
25897         check-safety.sh to pass.
25898         * manual/check-safety.sh: Wish for verification that every
25899         @deftypefn and @deftypefun is followed by a @safety remark.
25901 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25903         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25905         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25906         PTHREAD_CANCEL_ASYNCHRONOUS.
25907         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25908         send SIGCANCEL.
25910         * nptl/default-sched.h: New file.
25911         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25912         * nptl/pthread_create.c: Include it.
25913         (__pthread_create_2_1): Use collect_default_sched instead of making
25914         Linux syscalls here directly.
25916 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25918         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25919         __pthread_once): Use C11 atomics.
25921 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25923         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25925 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25927         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25928         atomic_thread_fence_acquire, atomic_thread_fence_release,
25929         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25930         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25931         atomic_compare_exchange_weak_relaxed,
25932         atomic_compare_exchange_weak_acquire,
25933         atomic_compare_exchange_weak_release,
25934         atomic_exchange_acquire, atomic_exchange_release,
25935         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25936         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25937         atomic_fetch_and_acquire,
25938         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25940 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25942         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25943         USE_ATOMIC_COMPILER_BUILTINS): Define.
25944         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25946         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25948         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25950         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25952         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25954         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25956         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25958         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25960         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25962         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25964         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25966         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25968         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25970         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25972         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25974         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25976         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25978         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25979         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25980         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25982         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25985 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25987         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25988         the sched_priority value here.  It was already checked when the user
25989         called pthread_attr_setschedparam.
25991         * nptl/tst-bad-schedattr.c: New file.
25992         * nptl/Makefile (tests): Add it.
25994 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25995             Florian Weimer  <fweimer@redhat.com>
25996             Joseph Myers  <joseph@codesourcery.com>
25997             Adam Conrad  <adconrad@0c3.net>
25998             Andreas Schwab  <schwab@suse.de>
25999             Brooks  <bmoses@google.com>
26001         [BZ #17625]
26002         * wordexp-test.c (__dso_handle): Add prototype.
26003         (__register_atfork): Likewise.
26004         (__app_register_atfork): New function.
26005         (registered_forks): New global.
26006         (register_fork): New function.
26007         (test_case): Add 3 new tests for WRDE_CMDSUB.
26008         (main): Call __app_register_atfork.
26009         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26010         fork count is non-zero fail the test.
26011         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26012         is set.
26013         (parse_dollars): Remove check for WRDE_NOCMD.
26014         (parse_dquote): Likewise.
26016 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26018         * Makeconfig (built-modules): List non-library modules to be
26019         built.
26020         (module-cppflags): Include libc-modules.h for
26021         everything except shlib-versions.v.i.
26022         (CPPFLAGS): Use it.
26023         (before-compile): Add libc-modules.h.
26024         ($(common-objpfx)libc-modules.h,
26025         $(common-objpfx)libc-modules.stmp): New targets.
26026         (common-generated): Add libc-modules.h and libc-modules.stmp.
26027         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26028         * include/libc-symbols.h: Don't include libc-modules.h.
26029         * include/libc-modules.h: Remove file.
26030         * scripts/gen-libc-modules.awk: New script to generate
26031         libc-modules.h.
26032         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26033         Depend on libc-modules.stmp.
26035         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26037         * Makeconfig (in-module): Get value of libof set for the
26038         translation unit.
26039         (CPPFLAGS): Use $(in-module).
26040         * Makerules: Don't suffix routine names for nonlib.
26041         * include/libc-modules.h: New file.
26042         * include/libc-symbols.h: Include libc-modules.h
26043         (IS_IN): New macro to replace IS_IN_* macros.
26044         * elf/Makefile: Set libof-* for each routine.
26045         * elf/rtld-Rules: Likewise.
26046         * extra-modules.mk: Likewise.
26047         * iconv/Makefile: Likewise.
26048         * iconvdata/Makefile: Likewise.
26049         * locale/Makefile: Likewise.
26050         * malloc/Makefile: Likewise.
26051         * nss/Makefile: Likewise.
26052         * sysdeps/gnu/Makefile: Likewise.
26053         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26054         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26055         * sysdeps/s390/s390-64/Makefile: Likewise.
26056         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26057         CPPFLAGS for nscd instead of nonlib.
26059 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26061         * nptl/createthread.c: New file.
26063         * nptl/createthread.c: Moved ...
26064         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26066         * nptl/createthread.c: Add proper top-line comment.
26067         (do_clone): Folded into ...
26068         (create_thread): ... here.  Take new arguments STOPPED_START and
26069         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26070         increment __nptl_threads, do event-reporting logic, do
26071         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26072         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26073         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26074         just send SIGCANCEL.
26075         * nptl/pthread_create.c: Forward-declare create_thread before
26076         including createthread.c.
26077         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26078         declaration, and new macro START_THREAD_SELF to replace argument.
26079         Remove return statement.
26080         (report_thread_creation): New function.
26081         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26082         synchronization logic, and __nptl_nthreads increment here, around
26083         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26084         PD->parent_cancelhandling here, before create_thread.  When
26085         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26086         __deallocate_stack, and ENOMEM translation here.
26088 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26090         [BZ #17616]
26091         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26092         (mptwo): Rename to __mptwo.
26093         (__inv): Use __mptwo instead of mptwo.
26094         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26095         (mptwo): Rename to __mptwo.
26096         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26097         of mpone and __mptwo instead of mptwo.
26098         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26099         instead of mpone.
26100         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26101         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26102         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26103         of mpone and __mptwo instead of mptwo.
26104         (__mpranred): Use __mpone instead of mpone.
26105         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26106         variable.
26107         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26108         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26109         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26110         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26111         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26112         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26113         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26114         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26115         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26116         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26117         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26118         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26119         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26120         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26121         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26122         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26123         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26124         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26125         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26127 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26129         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26130         replace BSD Handler xref with BSD Signal Handling.
26132 2014-11-17  Richard Henderson  <rth@redhat.com>
26134         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26135         (_FP_PACK_RAW_2): Remove.
26136         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26137         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26138         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26139         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26140         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26141         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26142         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26143         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26144         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26145         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26146         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26147         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26148         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26149         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26150         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26151         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26153 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26155         * signal/signal.h [__USE_MISC]
26156         (struct sigvec): Remove type.
26157         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26158         (sigvec): Remove declaration.
26159         * sysdeps/posix/sigvec.c: Moved ...
26160         * signal/sigvec.c: ... here, replacing old file.
26161         (struct sigvec): New type, copied from old signal.h definition.
26162         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26163         (__sigvec): Convert definition to prototype.
26164         (sigvec): Replace weak_alias with compat_symbol.
26165         * signal/Versions (libc: GLIBC_2.21): New version set.
26166         * include/signal.h: Remove __sigvec declaration.
26167         * sysdeps/unix/bsd/sigvec.c: Remove file.
26168         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26169         * manual/signal.texi (BSD Handler): Remove subsection.
26170         Move siginterrupt up to ...
26171         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26172         (Blocking in BSD): Fold subsection into its parent.
26173         * NEWS: Mention sigvec removal.
26175 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26177         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26178         (DLA_FMS): Make definition conditional only on [__FMA4__].
26179         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26180         definition.
26182         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26183         Make definition conditional only on [PROF].
26184         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26185         definition.
26186         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26187         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26189         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26190         !__GNUC__].
26191         * include/signal.h (__sigpause): Move declaration above call to
26192         libc_hidden_proto.
26193         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26194         variable.
26195         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26196         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26198 2014-11-14  David S. Miller  <davem@davemloft.net>
26200         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26201         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26203 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26205         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26206         * configure: Regenerated.
26207         * manual/install.texi (Tools for Compilation): Document a
26208         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26209         compiler verified to work.
26210         * INSTALL: Regenerated.
26212         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26213         redeclare with asm name.
26214         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26215         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26216         including <string.h>.
26217         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26219         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26220         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26221         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26223         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26225 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26227         * stdlib/strtol.c (__strtol): Use prototype definition.
26229         [BZ #17594]
26230         * stdlib/strtol.c (SYM__): New macro.
26231         (SYM__1): Likewise.
26232         (__strtol): Likewise.
26233         (strtol): Rename to __strtol and define as weak alias of
26234         __strtol.  Use libc_hidden_weak.
26236 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26238         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26239         Use numbered labels in inline assembly.
26241 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26243         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26244         Add setjmp LIBC_PROBE.
26245         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26246         Likewise.
26247         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26248         Add longjmp, longjmp_target LIBC_PROBE.
26249         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26250         Likewise.
26252 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26254         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26255         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26256         to get rid of unused variable warning.
26258 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26260         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26261         Check for unwind_backtrace ==  NULL only in SHARED case.
26262         (__backchain_backtrace): Compile only in SHARED case.
26263         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26264         Likewise.
26265         (__backchain_backtrace): Declare as static.
26267 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26269         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26270         (__libc_multiple_threads_ptr): Variable moved ...
26271         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26273 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26275         * conform/GlibcConform.pm: New file.
26276         * conform/conformtest.pl: Use GlibcConform module.
26277         * conform/linknamespace.pl: New file.
26278         * conform/list-header-symbols.pl: Likewise.
26279         * conform/Makefile (linknamespace-symlists-base): New variable.
26280         (linknamespace-symlists-tests): Likewise.
26281         (linknamespace-header-base): Likewise.
26282         (linknamespace-header-tests): Likewise.
26283         (tests-special): Add new tests.
26284         ($(linknamespace-symlists-tests)): New rule.
26285         (linknamespace-libs): New variable.
26286         ($(objpfx)symlist-stdlibs): New rule.
26287         ($(linknamespace-header-tests)): Likewise.
26288         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26289         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26290         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26291         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26292         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26293         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26294         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26295         (test-xfail-ISO/math.h/linknamespace): Likewise.
26296         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26297         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26298         (test-xfail-ISO/time.h/linknamespace): Likewise.
26299         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26300         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26301         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26302         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26303         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26304         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26305         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26306         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26307         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26308         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26309         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26310         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26311         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26312         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26313         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26314         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26315         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26316         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26317         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26318         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26319         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26320         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26321         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26322         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26323         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26324         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26325         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26326         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26327         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26328         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26329         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26330         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26331         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26332         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26333         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26334         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26335         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26336         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26337         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26338         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26339         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26340         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26341         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26342         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26343         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26344         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26345         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26346         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26347         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26348         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26349         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26350         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26351         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26352         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26353         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26354         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26355         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26356         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26357         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26358         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26359         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26360         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26361         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26362         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26363         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26364         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26365         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26366         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26367         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26368         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26369         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26370         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26371         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26372         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26373         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26374         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26375         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26376         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26377         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26378         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26379         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26380         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26381         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26382         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26383         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26384         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26385         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26386         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26387         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26388         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26389         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26390         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26391         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26392         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26393         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26394         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26395         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26396         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26397         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26398         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26399         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26400         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26401         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26402         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26403         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26404         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26405         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26406         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26407         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26408         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26409         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26410         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26411         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26412         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26413         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26414         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26415         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26416         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26417         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26418         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26419         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26420         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26421         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26422         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26423         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26424         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26425         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26426         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26427         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26428         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26429         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26430         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26431         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26432         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26433         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26434         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26435         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26436         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26437         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26438         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26439         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26440         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26441         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26442         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26443         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26444         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26445         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26446         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26447         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26448         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26450         [BZ #17589]
26451         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26452         of fgets_unlocked.
26454         [BZ #17585]
26455         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26456         (memmem): Rename to __memmem and define as weak alias of
26457         __memmem.  Use libc_hidden_weak.
26458         (__memmem): Use libc_hidden_def.
26459         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26460         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26461         memmem.
26463         [BZ #17582]
26464         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26465         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26466         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26467         and define as weak alias of __fgets_unlocked.  Use
26468         libc_hidden_weak.
26469         (__fgets_unlocked): Use libc_hidden_def.
26470         * include/stdio.h (__fgets_unlocked): Declare.  Use
26471         libc_hidden_proto.
26472         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26473         __fgets_unlocked instead of fgets_unlocked.
26474         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26475         (GET_NPROCS_CONF_PARSER): Likewise.
26476         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26477         (GET_NPROCS_CONF_PARSER): Likewise.
26479         [BZ #17574]
26480         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26481         weak alias of __wmemset.  Use libc_hidden_weak.
26482         (__wmemset): Use libc_hidden_def.
26483         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26484         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26485         of wmemset.
26487         [BZ #17573]
26488         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26489         with asm name __mempcpy.
26490         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26492         [BZ #17572]
26493         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26494         and define as weak alias of __rawmemchr.
26495         (__rawmemchr): Do not define as strong alias of rawmemchr.
26497         [BZ #17571]
26498         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26499         alias of __qsort_r.
26500         (qsort): Call __qsort_r instead of qsort_r.
26501         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26502         (__qsort_r): Declare.  Call libc_hidden_proto.
26503         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26504         instead of qsort_r.
26505         * nscd/gai.c (__qsort_r): Define to qsort_r.
26506         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26507         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26508         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26510         [BZ #17570]
26511         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26512         define as weak alias of __malloc_info.
26514         [BZ #17584]
26515         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26516         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26517         (__rewinddir): Use libc_hidden_def.
26518         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26519         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26520         (__rewinddir): Use libc_hidden_def.
26521         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26522         weak alias of __rewinddir.  Don't use libc_hidden_def.
26523         (__rewinddir): Use libc_hidden_def.
26524         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26525         (__rewinddir): Use libc_hidden_proto.
26526         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26527         rewinddir.
26528         (__getcwd): Use __rewinddir instead of rewinddir.
26530         [BZ #17583]
26531         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26532         alias of __fileno.  Use libc_hidden_weak.
26533         (__fileno): Use libc_hidden_def.
26534         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26535         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26536         alias of __ftello.
26537         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26538         __ftello.
26539         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26540         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26541         libc_hidden_def.
26542         (fread_unlocked): Don't use libc_hidden_ver.
26543         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26544         and define as weak alias of __fread_unlocked.  Don't use
26545         libc_hidden_def.
26546         (__fread_unlocked): Use libc_hidden_def.
26547         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26548         (ftello): Don't use libc_hidden_proto.
26549         (__ftello): Declare.  Use libc_hidden_proto.
26550         (fread_unlocked): Don't use libc_hidden_proto.
26551         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26552         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26553         and __ftello instead of fileno, fread_unlocked and ftello.
26555 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26557         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26558         GOT12.
26559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26560         Likewise.
26561         (_dl_start_user): Likewise.
26562         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26564 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26565             Siddhesh Poyarekar  <siddhesh@redhat.com>
26567         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26568         Move argv and envp down instead of moving argc up.
26569         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26571 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26573         [BZ #17506]
26574         * test-skeleton.c (main): Return successful if one of
26575         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26576         * string/tst-strcoll-overflow.c: Define expected status.
26578 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26580         [BZ #17475]
26581         * locale/iso-639.def: Define Bhili and Tulu language codes.
26583 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26585         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26587 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26589         [BZ #17555]
26590         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26592 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26594         * configure.ac: Updated check of minimal required version to
26595         2.22.
26596         * manual/install.texi (Tools for Compilation): Updated version
26597         number.
26598         * configure: Regenerated.
26599         * INSTALL: Likewise.
26601 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26603         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26604         __tls_get_addr.
26606 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26608         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26609         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26610         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26611         libc_hidden_weak.
26612         (waitpid): Define as alias of __waitpid.
26613         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26614         __waitpid.
26615         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26616         libc_hidden_weak.
26617         (waitpid): Define as alias of __waitpid.
26618         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26619         __libc_waitpid alias.
26620         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26621         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26622         Likewise.
26623         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26624         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26625         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26626         alias.
26627         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26628         __waitpid.
26629         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26630         libc_hidden_weak.
26631         (waitpid): Define as alias of __waitpid.
26633 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26635         * manual/llio.texi: Add comment that write safety has been
26636         fixed in Linux.
26638         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26639         (localplt-build-dso): Add elf/ld.so.
26640         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26641         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26642         and free for ld.so.
26643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26644         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26646         Likewise.
26647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26648         Likewise.
26649         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26650         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26651         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26652         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26653         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26654         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26655         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26656         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26657         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26659         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26661 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26663         [BZ #14132]
26664         * include/libc-symbols.h (INTUSE): Remove macro.
26665         (INTDEF): Likewise.
26666         (INTVARDEF): Likewise.
26667         (_INTVARDEF): Likewise.
26668         (INTDEF2): Likewise.
26669         (INTVARDEF2): Likewise.
26670         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26671         rtld_hidden_def instead of INTVARDEF.
26672         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26673         (_dl_starting_up_internal): Remove declaration.
26674         (_dl_starting_up): Use rtld_hidden_proto.
26675         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26676         declaration.
26677         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26678         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26679         _dl_starting_up.
26680         * elf/dl-writev.h (_dl_writev): Likewise.
26681         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26682         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26683         _dl_starting_up_internal.
26685 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26687         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26688         test-skeleton.c.
26690 2014-11-05  Will Newton  <will.newton@linaro.org>
26692         * benchtests/Makefile: (bench-malloc): Add malloc thread
26693         scalability benchmark.
26694         * benchtests/bench-malloc-threads.c: New file.
26696 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26698         * sysdeps/aarch64/strchrnul.S: New file.
26700 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26702         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26703         definition.
26704         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26705         Likwise.
26706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26707         Likewise.
26708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26709         Likewise.
26710         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26711         Likewise.
26712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26713         Likewise.
26715 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26717         * catgets/test-gencat.c: Use test-skeleton.c.
26718         * catgets/tst-catgets.c: Likewise.
26719         * csu/tst-empty.c: Likewise.
26720         * elf/tst-audit2.c: Likewise.
26721         * elf/tst-global1.c: Likewise.
26722         * elf/tst-pathopt.c: Likewise.
26723         * elf/tst-piemod1.c: Likewise.
26724         * elf/tst-tls10.c: Likewise.
26725         * elf/tst-tls11.c: Likewise.
26726         * elf/tst-tls12.c: Likewise.
26727         * gnulib/tst-gcc.c: Likewise.
26728         * iconvdata/tst-e2big.c: Likewise.
26729         * iconvdata/tst-loading.c: Likewise.
26730         * iconv/tst-iconv1.c: Likewise.
26731         * iconv/tst-iconv2.c: Likewise.
26732         * inet/test-inet6_opt.c: Likewise.
26733         * inet/tst-gethnm.c: Likewise.
26734         * inet/tst-network.c: Likewise.
26735         * inet/tst-ntoa.c: Likewise.
26736         * intl/tst-codeset.c: Likewise.
26737         * intl/tst-gettext2.c: Likewise.
26738         * intl/tst-gettext3.c: Likewise.
26739         * intl/tst-ngettext.c: Likewise.
26740         * intl/tst-translit.c: Likewise.
26741         * io/test-stat.c: Likewise.
26742         * libio/test-fmemopen.c: Likewise.
26743         * libio/tst-freopen.c: Likewise.
26744         * libio/tst-sscanf.c: Likewise.
26745         * libio/tst-ungetwc1.c: Likewise.
26746         * libio/tst-ungetwc2.c: Likewise.
26747         * libio/tst-widetext.c: Likewise.
26748         * localedata/tst-ctype.c: Likewise.
26749         * localedata/tst-digits.c: Likewise.
26750         * localedata/tst-leaks.c: Likewise.
26751         * localedata/tst-mbswcs1.c: Likewise.
26752         * localedata/tst-mbswcs2.c: Likewise.
26753         * localedata/tst-mbswcs3.c: Likewise.
26754         * localedata/tst-mbswcs4.c: Likewise.
26755         * localedata/tst-mbswcs5.c: Likewise.
26756         * localedata/tst-setlocale.c: Likewise.
26757         * localedata/tst-trans.c: Likewise.
26758         * localedata/tst-wctype.c: Likewise.
26759         * localedata/tst-xlocale1.c: Likewise.
26760         * login/tst-grantpt.c: Likewise.
26761         * malloc/tst-calloc.c: Likewise.
26762         * malloc/tst-malloc.c: Likewise.
26763         * malloc/tst-mallocstate.c: Likewise.
26764         * malloc/tst-mcheck.c: Likewise.
26765         * malloc/tst-mtrace.c: Likewise.
26766         * malloc/tst-obstack.c: Likewise.
26767         * math/atest-exp2.c: Likewise.
26768         * math/atest-exp.c: Likewise.
26769         * math/atest-sincos.c: Likewise.
26770         * math/test-matherr.c: Likewise.
26771         * math/test-misc.c: Likewise.
26772         * math/test-powl.c: Likewise.
26773         * math/tst-definitions.c: Likewise.
26774         * misc/tst-dirname.c: Likewise.
26775         * misc/tst-efgcvt.c: Likewise.
26776         * misc/tst-fdset.c: Likewise.
26777         * misc/tst-hsearch.c: Likewise.
26778         * misc/tst-mntent2.c: Likewise.
26779         * nptl/tst-sem7.c: Likewise.
26780         * nptl/tst-sem8.c: Likewise.
26781         * nptl/tst-sem9.c: Likewise.
26782         * nss/test-netdb.c: Likewise.
26783         * posix/tst-fnmatch.c: Likewise.
26784         * posix/tst-getlogin.c: Likewise.
26785         * posix/tst-gnuglob.c: Likewise.
26786         * posix/tst-mmap.c: Likewise.
26787         * pwd/tst-getpw.c: Likewise.
26788         * resolv/tst-inet_ntop.c: Likewise.
26789         * rt/tst-timer.c: Likewise.
26790         * stdio-common/test-fseek.c: Likewise.
26791         * stdio-common/test-popen.c: Likewise.
26792         * stdio-common/test-vfprintf.c: Likewise.
26793         * stdio-common/tst-cookie.c: Likewise.
26794         * stdio-common/tst-fileno.c: Likewise.
26795         * stdio-common/tst-gets.c: Likewise.
26796         * stdio-common/tst-obprintf.c: Likewise.
26797         * stdio-common/tst-perror.c: Likewise.
26798         * stdio-common/tst-sprintf2.c: Likewise.
26799         * stdio-common/tst-sprintf3.c: Likewise.
26800         * stdio-common/tst-sprintf.c: Likewise.
26801         * stdio-common/tst-swprintf.c: Likewise.
26802         * stdio-common/tst-tmpnam.c: Likewise.
26803         * stdio-common/tst-unbputc.c: Likewise.
26804         * stdio-common/tst-wc-printf.c: Likewise.
26805         * stdlib/tst-environ.c: Likewise.
26806         * stdlib/tst-fmtmsg.c: Likewise.
26807         * stdlib/tst-limits.c: Likewise.
26808         * stdlib/tst-rand48-2.c: Likewise.
26809         * stdlib/tst-rand48.c: Likewise.
26810         * stdlib/tst-random2.c: Likewise.
26811         * stdlib/tst-random.c: Likewise.
26812         * stdlib/tst-strtol.c: Likewise.
26813         * stdlib/tst-strtoll.c: Likewise.
26814         * stdlib/tst-tls-atexit.c: Likewise.
26815         * stdlib/tst-xpg-basename.c: Likewise.
26816         * string/test-ffs.c: Likewise.
26817         * string/tst-bswap.c: Likewise.
26818         * string/tst-inlcall.c: Likewise.
26819         * string/tst-strtok.c: Likewise.
26820         * string/tst-strxfrm.c: Likewise.
26821         * sysdeps/x86_64/tst-audit10.c: Likewise.
26822         * sysdeps/x86_64/tst-audit3.c: Likewise.
26823         * sysdeps/x86_64/tst-audit4.c: Likewise.
26824         * sysdeps/x86_64/tst-audit5.c: Likewise.
26825         * time/tst-ftime_l.c: Likewise.
26826         * time/tst-getdate.c: Likewise.
26827         * time/tst-mktime3.c: Likewise.
26828         * time/tst-mktime.c: Likewise.
26829         * time/tst-posixtz.c: Likewise.
26830         * time/tst-strptime2.c: Likewise.
26831         * time/tst-strptime3.c: Likewise.
26832         * wcsmbs/tst-btowc.c: Likewise.
26833         * wcsmbs/tst-mbrtowc.c: Likewise.
26834         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26835         * wcsmbs/tst-wchar-h.c: Likewise.
26836         * wcsmbs/tst-wcpncpy.c: Likewise.
26837         * wcsmbs/tst-wcrtomb.c: Likewise.
26838         * wcsmbs/tst-wcsnlen.c: Likewise.
26839         * wcsmbs/tst-wcstof.c: Likewise.
26841 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26843         [BZ #14132]
26844         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26845         INTDEF.
26846         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26847         declaration.
26848         (_dl_mcount): Use rtld_hidden_proto.
26849         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26850         _dl_mcount.
26851         * elf/rtld.c (_rtld_global_ro): Likewise.
26853         [BZ #14132]
26854         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26855         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26856         of _dl_init_internal.
26857         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26858         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26859         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26860         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26861         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26862         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26863         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26864         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26865         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26866         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26867         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26868         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26869         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26870         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26871         * sysdeps/tile/dl-start.S (_start): Likewise.
26872         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26873         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26875         [BZ #14132]
26876         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26877         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26878         (rtld_progname): Make macro definition unconditional.
26879         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26880         INTDEF.
26881         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26882         (dl_main): Likewise.
26883         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26884         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26885         instead of _dl_argv_internal.
26886         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26887         __GI__dl_argv instead of INTUSE(_dl_argv).
26888         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26889         __GI__dl_argv instead of _dl_argv_internal.
26891         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26892         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26893         macro.
26894         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26895         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26896         New macro.
26897         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26898         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26899         macro.
26900         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26901         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26903 2014-11-04  Andreas Schwab  <schwab@suse.de>
26905         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26907 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26909         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26910         mtvsrd instruction in binary form.
26912 2014-11-03  Andreas Schwab  <schwab@suse.de>
26914         [BZ #17522]
26915         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26916         for less than MB_LEN_MAX use a local buffer of that size.
26917         * libio/tst-fputws.c: New file.
26918         * libio/Makefile (tests): Add tst-fputws.
26920 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26922         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26923         the size of the fpu_fr.fpu_dregs[] array.
26925 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26927         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26928         (__nanosleep): Do not define as alias.
26929         (nanosleep): Define as alias of __nanosleep.
26930         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26931         __libc_nanosleep name.
26933 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26935         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26936         install.texi in comment.
26938 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26940         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26941         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26942         ... add here and use lwsync or sync ...
26943         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26944         ... and add here using lwsync.
26946 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26948         * elf/dl-machine-reject-phdr.h: New file.
26949         * elf/dl-load.c: #include that.
26950         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26951         if that returned true.
26953 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26955         [BZ #17496]
26956         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26957         gen-as-const-headers chunk.  Add a big scare comment after the last
26958         safe place to touch before-compile.
26960 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26962         * manual/install.texi (Tools for Compilation): Update autoconf
26963         version requirements.
26964         * INSTALL: Regenerated.
26966         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26967         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26968         (__libc_pselect): Likewise.
26970         [BZ #14138]
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26976 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26978         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26979         correct barrier instruction.
26980         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26981         Likewise.
26982         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26983         Likewise.
26985 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26987         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26988         after defining inlines.  Instead, just use parens to defeat macro
26989         expansion of __isctype in its declaration.
26991 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26993         * include/sys/uio.h (__libc_readv): Remove declaration.
26994         (__libc_writev): Likewise.
26995         * misc/readv.c (__libc_readv): Rename to __readv.
26996         (__readv): Do not define as alias.
26997         (readv): Define as alias of __readv.
26998         * misc/writev.c (__libc_writev): Rename to __writev.
26999         (__writev): Do not define as alias.
27000         (writev): Define as alias of __writev.
27001         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27002         (__readv): Do not define as alias.
27003         (readv): Define unconditionally as alias of __readv.
27004         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27005         (__writev): Do not define as alias.
27006         (writev): Define unconditionally as alias of __writev.
27007         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27008         name.
27009         (writev): Do not define __libc_writev name.
27011 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27013         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27014         (convert_charseq): New function, broken out of ...
27015         (use_from_charmap): ... here.  Call it.
27016         (use_to_charmap): Use convert_charseq and free instead of duplicating
27017         its code with a variable-length stack struct.
27019 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27021         * include/fcntl.h (__libc_creat): Remove declaration.
27022         * io/creat.c (__libc_creat): Rename to creat.
27023         (creat): Do not define as alias.
27024         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27025         of creat instead of __libc_creat.
27026         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27027         to creat.
27028         (creat): Do not define as alias.
27029         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27030         __libc_creat.
27031         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27032         __libc_creat name.
27033         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27034         Likewise.
27036 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27038         * manual/llio.texi: Add comments discussing why write() may be
27039         considered MT-unsafe on Linux.
27041 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27043         * dl-load.c (local_strdup): Remove.
27044         (expand_dynamic_string_token): Use __strdup.
27045         (decompose_rpath): Likewise.
27046         (_dl_map_object): Likewise.
27048 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27050         [BZ #14132]
27051         * sysdeps/generic/unwind-dw2-fde.c
27052         (__register_frame_info_bases_internal): Do not declare.
27053         (__register_frame_info_table_bases_internal): Likewise.
27054         (__deregister_frame_info_bases_internal): Likewise.
27055         (__register_frame_info_bases): Declare and use hidden_proto before
27056         definition.  Use hidden_def instead of INTDEF.
27057         (__register_frame_info_table_bases): Likewise.
27058         (__deregister_frame_info_bases): Likewise.
27059         (__register_frame_info): Do not use INTUSE.
27060         (__register_frame): Likewise.
27061         (__register_frame_info_table): Likewise.
27062         (__register_frame_table): Likewise.
27063         (__deregister_frame_info): Likewise.
27064         (__deregister_frame): Likewise.
27066 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27069         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27070         not undefine.
27071         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27072         Likewise.
27073         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27074         Likewise.
27076 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27078         [BZ #14138]
27079         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27080         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27081         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27082         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27083         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27084         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27085         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27086         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27087         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27088         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27089         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27090         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27091         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27092         syscall.
27093         (setfsuid): Likewise.
27094         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27095         (setfsuid): Likewise.
27096         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27097         (setfsuid): Likewise.
27098         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27099         Likewise.
27100         (setfsuid): Likewise.
27101         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27102         (setfsuid): Likewise.
27103         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27104         Likewise.
27105         (setfsuid): Likewise.
27107 2014-10-27  Andreas Schwab  <schwab@suse.de>
27109         [BZ #17501]
27110         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27111         check for Slow_SSE4_2 feature bit.
27112         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27113         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27114         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27115         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27117 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27119         * configure.ac: Validate compiler version with a empirical test of
27120         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27121         $CC -v output.
27122         * configure: Regenerated.
27124         * inet/htons.c (htons): Prototypify.
27125         * inet/htonl.c (htonl): Likewise.
27127 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27129         * string/strncat.c (strncat): Improve performance by using strlen.
27131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27133         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27135 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27137         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27138         Call libc_fetestexcept_aarch64.
27140 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27142         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27143         Call libc_feholdexcept_aarch64.
27145 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27147         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27148         Call get_rounding_mode.
27150 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27152         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27153         Simplify logic.
27155 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27157         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27158         Simplify logic.
27160 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27162         [BZ #14138]
27163         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27164         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27165         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27166         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27167         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27168         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27169         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27170         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27171         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27172         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27173         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27175         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27176         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27177         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27178         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27179         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27180         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27181         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27182         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27183         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27184         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27185         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27186         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27187         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27188         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27189         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27190         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27191         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27192         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27193         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27194         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27195         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27196         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27197         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27198         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27199         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27200         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27201         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27202         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27203         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27204         syscall.
27205         (geteuid): Likewise.
27206         (getgid): Likewise.
27207         (getuid): Likewise.
27208         (getresgid): Likewise.
27209         (getresuid): Likewise.
27210         (getgroups): Likewise.
27211         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27212         (geteuid): Likewise.
27213         (getgid): Likewise.
27214         (getuid): Likewise.
27215         (getresgid): Likewise.
27216         (getresuid): Likewise.
27217         (getgroups): Likewise.
27218         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27219         (geteuid): Likewise.
27220         (getgid): Likewise.
27221         (getuid): Likewise.
27222         (getresgid): Likewise.
27223         (getresuid): Likewise.
27224         (getgroups): Likewise.
27225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27226         Likewise.
27227         (geteuid): Likewise.
27228         (getgid): Likewise.
27229         (getuid): Likewise.
27230         (getresgid): Likewise.
27231         (getresuid): Likewise.
27232         (getgroups): Likewise.
27233         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27234         (geteuid): Likewise.
27235         (getgid): Likewise.
27236         (getuid): Likewise.
27237         (getresgid): Likewise.
27238         (getresuid): Likewise.
27239         (getgroups): Likewise.
27240         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27241         Likewise.
27242         (geteuid): Likewise.
27243         (getgid): Likewise.
27244         (getuid): Likewise.
27245         (getgroups): Likewise.
27247         [BZ #14138]
27248         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27249         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27250         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27252         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27253         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27254         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27255         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27256         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27257         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27258         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27259         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27260         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27261         __chown.
27262         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27263         (lchown): Likewise.
27264         (fchown): Likewise.
27265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27266         Likewise.
27267         (lchown): Likewise.
27268         (fchown): Likewise.
27269         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27270         (lchown): Likewise.
27271         (fchown): Likewise.
27272         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27273         Likewise.
27274         (lchown): Likewise.
27275         (fchown): Likewise.
27277 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27279         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27280         Simplify logic.
27282 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27284         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27285         Cleanup logic.
27287 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27289         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27290         Remove unused include.
27292 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27294         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27295         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27296         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27297         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27299 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27300             Helge Deller <deller@gmx.de>
27302         [BZ #17508]
27303         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27304         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27305         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27307 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27309         [BZ #14132]
27310         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27311         Remove macro definition.
27312         (__ashrdi3_v_glibc20): Likewise.
27313         (__lshrdi3_v_glibc20): Likewise.
27314         (__cmpdi2_v_glibc20): Likewise.
27315         (__ucmpdi2_v_glibc20): Likewise.
27316         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27317         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27318         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27319         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27320         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27321         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27323 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27325         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27326         old GNU extension [0] syntax.
27327         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27328         alloca rather than an array member with variable length.
27329         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27330         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27331         (parse_opt): ... here.  Likewise use alloca there.
27332         Validate the -i argument before checking for rootness.
27333         (send_shutdown): New function, broken out of ...
27334         (parse_opt): ... here.
27336 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27338         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27339         macro to get at the _rt_local_ro field.
27340         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27341         ([PIC] case) or _dl_hwcap ([!PIC] case).
27342         * sysdeps/arm/setjmp.S: Likewise.
27344         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27345         * sysdeps/arm/configure.ac: New check to define it.
27346         * sysdeps/arm/configure: Regenerated.
27347         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27348         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27349         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27350         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27351         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27352         Use move/movt pair instead of a load.
27353         (LDST_GLOBAL): Macro removed.
27354         (LDR_GLOBAL): New macro replaces it.
27355         (LDR_HIDDEN): New macro.
27356         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27357         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27359         * setjmp/tst-setjmp-static.c: New file.
27360         * setjmp/Makefile (tests): Add it.
27361         (tests-static): New variable.
27363 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27365         [BZ #17485]
27366         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27368 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27370         [BZ #14132]
27371         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27373 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27375         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27377 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27379         * io/fts.c (dirent_not_directory): New function.
27380         (fts_build): Call it.
27382 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27384         * nptl/version.c (__nptl_main): Use normal __write rather than
27385         INTERNAL_SYSCALL.
27386         (banner): Update copyright years.
27388         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27389         gettimeofday.
27390         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27391         * nptl/pthread_cond_timedwait.c: Likewise.
27392         * nptl/pthread_mutex_timedlock.c: Likewise.
27393         * nptl/sem_timedwait.c: Likewise.
27395         * sysdeps/nptl/bits/libc-lock.h
27396         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27397         (__libc_lock_init_recursive): Return void, not 0.
27398         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27399         (__libc_rwlock_init): Likewise.
27400         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27402 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27404         [BZ #15215]
27405         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27406         (__pthread_once_slow): ... here.
27407         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27408         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27410 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27412         [BZ #15215]
27413         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27414         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27415         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27416         * nptl/pthread_once.c (__pthread_once): Likewise.
27417         Update comments.
27419 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27421         [BZ #14138]
27422         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27423         name.
27424         (writev): Use __libc_writev as strong name.
27425         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27426         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27428 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27430         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27432         * sysdeps/i386/nptl/tls.h
27433         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27434         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27435         New macros.
27436         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27437         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27438         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27439         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27440         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27441         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27444         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27445         on [__NR_futex].
27446         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27447         broken out of ...
27448         (__pthread_mutex_init): ... here.  Call it.
27449         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27450         Conditionalize PI cases on [__NR_futex].
27451         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27452         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27453         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27455         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27456         conditional on [SIGSETXID].
27457         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27458         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27459         is defined.  Likewise for SIGSETXID.
27460         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27461         Conditionalize definitions on [SIGSETXID].
27462         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27463         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27464         unblocking on [SIGCANCEL].
27466         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27467         [__NR_set_robust_list].
27469 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27471         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27472         (do_compare): Likewise.
27474 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27476         [BZ #15884]
27477         * string/strcoll_l.c: Don't include stdio.h.
27478         (coll_seq): Remove members idxarr and rulearr.
27479         (get_next_seq_cached): Remove function.
27480         (get_next_seq): Likewise.
27481         (get_next_seq_nocache): Rename to get_next_seq.
27482         (do_compare): Remove function.
27483         (do_compare_nocache): Rename to do_compare.
27484         (STRCOLL): Remove weight and rules cache.
27486 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27488         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27489         * sysdeps/arm/sfp-machine.h: ... to here.
27490         * sysdeps/arm/Implies: Remove arm/soft-fp.
27492 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27494         * conform/data/sys/utsname.h-data (*_t): Allow.
27495         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27496         [POSIX] (WEXITED): Do not expect constant.
27497         [POSIX] (WSTOPPED): Likewise.
27498         [POSIX] (WNOHANG): Likewise.
27499         [POSIX] (WNOWAIT): Likewise.
27500         [POSIX] (siginfo_t): Do not expect type or elements.
27501         [POSIX] (pid_t): Do not expect type.
27502         [POSIX] (signal.h): Do not allow header.
27503         [POSIX] (sys/resource.h): Likewise.
27504         [POSIX] (si_*): Do not allow pattern.
27505         [POSIX] (W*): Likewise.
27506         [POSIX] (P_*): Likewise.
27507         [POSIX] (BUS_*): Likewise.
27508         [POSIX] (CLD_*): Likewise.
27509         [POSIX] (FPE_*): Likewise.
27510         [POSIX] (ILL_*): Likewise.
27511         [POSIX] (POLL_*): Likewise.
27512         [POSIX] (SEGV_*): Likewise.
27513         [POSIX] (SI_*): Likewise.
27514         [POSIX] (TRAP_*): Likewise.
27515         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27516         variable.
27518 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27520         [BZ #12926]
27521         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27522         infinite loop when __recvmsg returns 0.
27524 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27526         * CANCEL-FCT-WAIVE: Remove file.
27527         * CANCEL-FILE-WAIVE: Likewise.
27529         [BZ #14132]
27530         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27531         instead of INTVARDEF.
27532         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27533         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27534         rtld_hidden_data_def instead of INTVARDEF.
27535         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27536         * elf/dl-deps.c (expand_dst): Likewise.
27537         * elf/dl-load.c (_dl_dst_count): Likewise.
27538         (_dl_dst_substitute): Likewise.
27539         (decompose_rpath): Likewise.
27540         (_dl_init_paths): Likewise.
27541         (open_path): Likewise.
27542         (_dl_map_object): Likewise.
27543         * elf/rtld.c (dl_main): Likewise.
27544         (process_dl_audit): Likewise.
27545         (process_envvars): Likewise.
27546         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27547         Remove declaration.
27548         (__libc_enable_secure): Use rtld_hidden_proto.
27550 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27552         * elf/dl-load.c
27553         (add_path): New function broken out of _dl_rtld_di_serinfo.
27554         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27556 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27558         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27559         parentheses around macro arguments.
27560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27571         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27573         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27575         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27576         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27589         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27591         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27593         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27594         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27595         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27596         Likewise.
27597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27604         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27607         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27608         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27609         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27611         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27615         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27618         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27619         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27620         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27622         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27623         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27624         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27625         (_FP_FRAC_SRS_1): Likewise.
27626         (_FP_FRAC_CLZ_1): Likewise.
27627         (_FP_MUL_MEAT_1_imm): Likewise.
27628         (_FP_MUL_MEAT_1_wide): Likewise.
27629         (_FP_MUL_MEAT_1_hard): Likewise.
27630         (_FP_SQRT_MEAT_1): Likewise.
27631         (_FP_FRAC_ASSEMBLE_1): Likewise.
27632         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27633         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27634         (__FP_CLZ_2): Likewise.
27635         (_FP_MUL_MEAT_2_wide): Likewise.
27636         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27637         (_FP_MUL_MEAT_2_gmp): Likewise.
27638         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27639         (_FP_SQRT_MEAT_2): Likewise.
27640         (_FP_FRAC_ASSEMBLE_2): Likewise.
27641         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27642         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27643         (_FP_FRAC_CLZ_4): Likewise.
27644         (_FP_MUL_MEAT_4_wide): Likewise.
27645         (_FP_MUL_MEAT_4_gmp): Likewise.
27646         (_FP_SQRT_MEAT_4): Likewise.
27647         (_FP_FRAC_ASSEMBLE_4): Likewise.
27648         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27649         * soft-fp/op-common.h (_FP_CMP): Likewise.
27650         (_FP_CMP_EQ): Likewise.
27651         (_FP_CMP_UNORD): Likewise.
27652         (_FP_TO_INT): Likewise.
27653         (_FP_FROM_INT): Likewise.
27654         [!__FP_CLZ] (__FP_CLZ): Likewise.
27655         (_FP_DIV_HELP_imm): Likewise.
27656         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27657         Likewise.
27658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27665         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27669         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27670         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27671         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27673         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27674         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27687         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27689         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27692         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27693         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27694         (FP_UNPACK_RAW_SP): Likewise.
27695         (FP_PACK_RAW_S): Likewise.
27696         (FP_PACK_RAW_SP): Likewise.
27697         (FP_UNPACK_S): Likewise.
27698         (FP_UNPACK_SP): Likewise.
27699         (FP_UNPACK_SEMIRAW_S): Likewise.
27700         (FP_UNPACK_SEMIRAW_SP): Likewise.
27701         (FP_PACK_S): Likewise.
27702         (FP_PACK_SP): Likewise.
27703         (FP_PACK_SEMIRAW_S): Likewise.
27704         (FP_PACK_SEMIRAW_SP): Likewise.
27705         (_FP_SQRT_MEAT_S): Likewise.
27706         (FP_CMP_S): Likewise.
27707         (FP_CMP_EQ_S): Likewise.
27708         (FP_CMP_UNORD_S): Likewise.
27709         (FP_TO_INT_S): Likewise.
27710         (FP_FROM_INT_S): Likewise.
27712         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27714         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27715         (FP_EX_INVALID_IMZ): Likewise.
27716         (FP_EX_INVALID_IMZ_FMA): Likewise.
27717         (FP_EX_INVALID_ISI): Likewise.
27718         (FP_EX_INVALID_ZDZ): Likewise.
27719         (FP_EX_INVALID_IDI): Likewise.
27720         (FP_EX_INVALID_SQRT): Likewise.
27721         (FP_EX_INVALID_CVI): Likewise.
27722         (FP_EX_INVALID_VC): Likewise.
27723         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27724         "invalid" exceptions.
27725         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27726         (_FP_ADD_INTERNAL): Likewise.
27727         (_FP_MUL): Likewise.
27728         (_FP_FMA): Likewise.
27729         (_FP_DIV): Likewise.
27730         (_FP_CMP_CHECK_NAN): Likewise.
27731         (_FP_SQRT): Likewise.
27732         (_FP_TO_INT): Likewise.
27733         (FP_EXTEND): Likewise.
27735 2014-10-09  Allan McRae  <allan@archlinux.org>
27737         * po/fr.po: Update French translation from translation project.
27739 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27741         [BZ #14132]
27742         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27743         of INTDEF.
27744         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27745         (__cxa_atexit): Use libc_hidden_proto.
27746         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27748         [BZ #14132]
27749         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27750         declaration.
27751         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27752         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27753         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27754         [!_ISOMAC] (__iswctype_internal): Likewise.
27755         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27756         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27757         alias.
27758         (fcntl): Remove __fcntl_internal alias.
27759         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27760         __connect_internal alias.
27761         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27762         Likewise.
27764         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27765         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27766         FP_DENORM_ZERO.
27767         (_FP_CHECK_FLUSH_ZERO): New macro.
27768         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27769         (_FP_CMP): Likewise.
27770         (_FP_CMP_EQ): Likewise.
27771         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27772         FP_DENORM_ZERO.
27773         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27774         (FP_TRUNC): Likewise.
27776         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27777         treated as invalid conversion, not as normal exponent.
27779         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27780         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27781         (_FP_CMP_EQ): Likewise.
27782         (_FP_CMP_UNORD): Likewise.
27783         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27784         (FP_CMP_EQ_D): Likewise.
27785         (FP_CMP_UNORD_D): Likewise.
27786         * soft-fp/extended.h (FP_CMP_E): Likewise.
27787         (FP_CMP_EQ_E): Likewise.
27788         (FP_CMP_UNORD_E): Likewise.
27789         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27790         (FP_CMP_EQ_Q): Likewise.
27791         (FP_CMP_UNORD_Q): Likewise.
27792         * soft-fp/single.h (FP_CMP_S): Likewise.
27793         (FP_CMP_EQ_S): Likewise.
27794         (FP_CMP_UNORD_S): Likewise.
27795         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27796         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27797         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27798         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27799         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27800         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27801         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27802         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27803         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27804         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27805         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27806         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27807         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27808         to FP_CMP_Q.
27809         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27810         FP_CMP_Q.
27811         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27812         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27813         FP_CMP_EQ_Q.
27814         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27815         FP_CMP_Q.
27816         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27817         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27818         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27819         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27820         FP_CMP_EQ_Q.
27821         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27822         FP_CMP_Q.
27823         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27824         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27825         FP_CMP_EQ_Q.
27826         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27827         FP_CMP_Q.
27828         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27829         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27830         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27831         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27832         FP_CMP_EQ_Q.
27834         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27835         a subnormal result, set the underflow exception if trapping on
27836         underflow is enabled.
27837         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27838         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27839         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27840         redefine to 0.
27841         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27842         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27843         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27844         * soft-fp/extendxftf2.c (__extendxftf2): Use
27845         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27847         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27848         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27849         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27850         FP_HANDLE_EXCEPTIONS.
27851         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27852         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27853         FP_HANDLE_EXCEPTIONS.
27854         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27855         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27856         FP_HANDLE_EXCEPTIONS.
27857         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27858         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27859         FP_HANDLE_EXCEPTIONS.
27861 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27863         [BZ #14132]
27864         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27865         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27866         use INTUSE.
27867         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27868         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27869         Remove alias.
27870         (__adjtimex): Define using libc_hidden_ver.
27871         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27872         Remove declaration.
27873         (ntp_gettime): Call __adjtimex directly.
27874         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27875         Remove declaration.
27876         (ntp_gettimex): Call __adjtimex directly.
27877         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27878         __adjtimex_internal alias.
27880 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27882         [BZ #17460]
27883         * nscd/nscd.c (more_help): Rewrite list of tables collection
27884         using xstrdup and asprintf.
27886         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27888 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27889             Roland McGrath  <roland@hack.frob.com>
27891         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27892         (do_lookup_unique): ... local function 'enter' here; update callers.
27894 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27896         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27897         compat_symbol calls on [SHARED].
27898         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27899         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27900         Remove.
27901         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27902         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27903         (oldsetrlimit): Remove.
27904         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27906         (lchown): New syscall entry.
27907         (oldsetrlimit): Remove.
27908         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27910         (oldsetrlimit): Remove.
27911         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27913         [BZ #14138]
27914         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27915         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27916         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27917         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27918         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27919         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27920         (fchown): Likewise.
27921         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27922         (fchown): Likewise.
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27924         Likewise.
27926 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27928         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27929         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27930         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27931         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27932         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27933         Likewise.
27934         (__old_sem_post): Likewise.
27936 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27938         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27939         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27940         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27941         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27942         Use INLINE_VSYSCALL macro.
27943         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27944         __vdso_clock_gettime.
27945         * sysdeps/unix/sysv/linux/tile/init-first.c
27946         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27947         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27948         __vdso_clock_gettime.
27950         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27951         to set up frame more cleanly.
27953         * sysdeps/tile/memcmp.c: New file.
27955         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27957         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27958         * sysdeps/tile/tilegx/strcasestr.c: New file.
27959         * sysdeps/tile/tilegx/strnlen.c: New file.
27960         * sysdeps/tile/tilegx/strstr.c: New file.
27962         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27964 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27966         * nptl/tst-setuid3.c: Write errors to stdout.
27968 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27970         * elf/dl-deps.c
27971         (preload): New functions broken out of _dl_map_object_deps.
27972         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27974 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27976         [BZ #14138]
27977         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27978         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27980 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27982         * sysdeps/mips/strcmp.S: New.
27984 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27986         [BZ #14138]
27987         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27988         (linkat): Likewise.
27989         (mkdirat): Likewise.
27990         (readlinkat): Likewise.
27991         (renameat): Likewise.
27992         (symlinkat): Likewise.
27993         (unlinkat): Likewise.
27994         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27995         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27996         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27997         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27998         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27999         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28000         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28002 2014-09-30  Will Newton  <will.newton@linaro.org>
28004         * math/math.h: Define long double math functions if
28005         _LIBC_TEST is defined.
28006         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28008         * localedata/Makefile: Move assignment to tests-special
28009         into an ifdef testing run-built-tests.
28010         * timezone/Makefile: Likewise.
28012 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28014         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28015         with $(BASH) not $(SHELL).
28017 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28018             Matthew LeGendre  <legendre1@llnl.gov>
28020         [BZ #17411]
28021         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28022         l_reloc_result.
28024 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28026         * stdio-common/printf_fp.c
28027         (hack_digit): New function, broken out of ...
28028         (__printf_fp): ... local function here.  Update call sites.
28029         hack_digit now takes an additional parameter that is a pointer
28030         to a struct of the referenced locals.  Those locals moved inside
28031         the struct and references updated.
28033 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28035         * aclocal.m4: Require autoconf 2.69.
28036         * configure: Regenerated.
28037         * sysdeps/aarch64/configure: Likewise.
28038         * sysdeps/alpha/configure: Likewise.
28039         * sysdeps/arm/armv7/configure: Likewise.
28040         * sysdeps/arm/configure: Likewise.
28041         * sysdeps/ia64/configure: Likewise.
28042         * sysdeps/mach/configure: Likewise.
28043         * sysdeps/mips/configure: Likewise.
28044         * sysdeps/s390/configure: Likewise.
28045         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28048         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28049         file.
28050         * sysdeps/ia64/configure.ac: Likewise.
28052 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28055         specify symbol version for ld.so.  Do not include entry for
28056         libpthread.
28057         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28058         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28059         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28061         [BZ #14171]
28062         * Makeconfig [$(build-shared) = yes]
28063         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28064         makefiles.
28065         [$(build-shared) = yes && $(soversions.mk-done) = t]
28066         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28067         [$(build-shared) = yes && $(soversions.mk-done) = t]
28068         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28069         to Makerules.
28070         [$(build-shared) = yes && $(soversions.mk-done) = t]
28071         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28072         here.
28073         [$(build-shared) = yes && $(soversions.mk-done) = t]
28074         (common-generated): Don't append gnu/lib-names.h and
28075         gnu/lib-names.stmp here.
28076         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28077         (lib-names-h-abi): New variable.
28078         [$(build-shared) = yes && $(soversions.mk-done) = t]
28079         (lib-names-stmp-abi): Likewise.
28080         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28081         abi-variants] (before-compile): Append
28082         $(common-objpfx)$(lib-names-h-abi).
28083         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28084         abi-variants] (common-generated): Append gnu/lib-names.h.
28085         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28086         abi-variants] (install-others-nosubdir): Depend on
28087         $(inst_includedir)/$(lib-names-h-abi).
28088         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28089         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28090         [$(build-shared) = yes && $(soversions.mk-done) = t]
28091         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28092         [$(build-shared) = yes && $(soversions.mk-done) = t]
28093         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28094         [$(build-shared) = yes && $(soversions.mk-done) = t]
28095         (common-generated): Append $(lib-names-h-abi) and
28096         $(lib-names-stmp-abi).
28097         * scripts/lib-names.awk: Do not handle multi being set.
28098         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28099         Remove variable.
28100         (abi-lp64_be-ld-soname): Likewise.
28101         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28102         Likewise.
28103         (abi-hard-ld-soname): Likewise.
28104         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28105         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28106         Remove variable.
28107         (abi-o32_hard-ld-soname): Likewise.
28108         (abi-o32_soft_2008-ld-soname): Likewise.
28109         (abi-o32_hard_2008-ld-soname): Likewise.
28110         (abi-n32_soft-ld-soname): Likewise.
28111         (abi-n32_hard-ld-soname): Likewise.
28112         (abi-n32_soft_2008-ld-soname): Likewise.
28113         (abi-n32_hard_2008-ld-soname): Likewise.
28114         (abi-n64_soft-ld-soname): Likewise.
28115         (abi-n64_hard-ld-soname): Likewise.
28116         (abi-n64_soft_2008-ld-soname): Likewise.
28117         (abi-n64_hard_2008-ld-soname): Likewise.
28118         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28119         Likewise.
28120         (abi-64-v2-ld-soname): Likewise.
28121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28122         ld.so entries.
28123         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28124         variable.
28125         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28126         entry.
28127         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28128         variable.
28129         (abi-64-ld-soname): Likewise.
28130         (abi-x32-ld-soname): Likewise.
28131         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28132         entry.
28133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28135 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28137         [BZ #14138]
28138         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28139         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28140         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28141         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28142         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28143         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28144         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28145         syscall entry for GLIBC_2.2 symbol version.
28146         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28147         Likewise.
28148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28149         (setrlimit): Likewise.
28150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28151         Likewise.
28153 2014-09-23  Will Newton  <will.newton@linaro.org>
28155         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28156         _LINUX_ARM_SYSDEP_H include guard too.
28157         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28158         define.
28160 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28162         * sysdeps/unix/sysv/linux/eventfd.c:
28163         Make first argument unsigned.
28164         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28165         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28167 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28169         [BZ #16852]
28170         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28171         * socket/sys/socket.h: Likewise.
28172         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28174 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28176         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28178 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28180         * time/tst-ftime.c: New test.
28181         * time/Makefile (tests): Add tst-ftime.
28183 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28185         * soft-fp/extended.h: Fix comment formatting.
28186         * soft-fp/op-1.h: Likewise.
28187         * soft-fp/op-2.h: Likewise.
28188         * soft-fp/op-4.h: Likewise.
28189         * soft-fp/op-8.h: Likewise.
28190         * soft-fp/op-common.h: Likewise.
28191         * soft-fp/soft-fp.h: Likewise.
28193         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28195 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28197         [BZ #6652]
28198         * Makeconfig (soversions-default-setname): Remove variable.
28199         ($(common-objpfx)soversions.i): Don't pass default_setname to
28200         soversions.awk.
28201         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28202         oldest_abi to abi-versions.awk.
28203         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28204         * config.make.in (oldest-abi): Remove variable.
28205         * configure.ac (--enable-oldest-abi): Remove configure option.
28206         * configure: Regenerated.
28207         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28208         text.
28209         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28210         * scripts/soversions.awk: Do not handle default_setname variable.
28211         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28212         variable.
28213         * sysdeps/mach/hurd/configure: Regenerated.
28214         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28215         variable.
28216         * sysdeps/unix/sysv/linux/configure: Regenerated.
28218 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28220         * elf/Makefile (CFLAGS-interp.c): Remove.
28221         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28222         path string.
28223         * elf/interp.c: Include generated runtime-linker.h
28225         * Makerules (lib%.so): Don't include $(+interp) in
28226         prerequisites.
28227         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28228         * dlfcn/eval.c: Remove file.
28230         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28231         macros.
28233         [BZ #17266]
28234         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28235         4.2 and newer.
28237         [BZ #17370]
28238         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28240 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28241             Jakub Jelinek  <jakub@redhat.com>
28243         [BZ #17266]
28244         * libio/stdio.h: Check definition of __fortify_function
28245         instead of __extern_always_inline to include bits/stdio2.h.
28246         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28247         check if __extern_always_inline is defined.
28248         [__USE_MISC || __USE_XOPEN]: Likewise.
28249         [__USE_ISOC99] Likewise.
28250         * misc/sys/cdefs.h (__fortify_function): Define only if
28251         __extern_always_inline is defined.
28252         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28253         __extern_always_inline and __extern_inline only for g++-4.3
28254         and newer or a compatible gcc.
28256 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28258         [BZ #17371]
28259         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28260         last change to handle zero prefix length.
28262 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28264         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28265         _SC_REGEX_VERSION.
28267         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28268         _POSIX_RAW_SOCKETS.
28270 2014-09-13  Allan McRae  <allan@archlinux.org>
28272         * po/ru.po: Update Russian translation from translation project.
28274 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28276         * locale/programs/locale.c (show_locale_vars): Inline local function
28277         into its sole call site.  Clean up some style nits.
28278         (print_item): New function, broken out of ...
28279         (show_info): ... local function here.  Clean up style nits.
28281         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28282         out of ...
28283         (set_class_defaults): ... local function set_default here.
28284         Define set_default as a macro locally to pass constant parameters.
28285         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28286         rather than a shared local.
28288         * stdlib/rpmatch.c (try): New function, broken out of ...
28289         (rpmatch): ... local function here.  Also, prototypify definition.
28291 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28293         * scripts/soversions.awk: Do not handle configuration names.
28294         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28295         vendor and os variables to soversions.awk.
28296         * configure.ac: Do not modify gnu-* host_os.
28297         * configure: Regenerated
28298         * shlib-versions: Remove first column with configuration names.
28299         * nptl/shlib-versions: Likewise.
28300         * nptl_db/shlib-versions: Likewise.
28301         * sysdeps/hppa/shlib-versions: Likewise.
28302         * sysdeps/m68k/shlib-versions: Likewise.
28303         * sysdeps/mach/hurd/shlib-versions: Likewise.
28304         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28305         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28306         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28307         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28308         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28309         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28310         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28311         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28313         Likewise.
28314         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28315         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28316         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28317         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28318         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28319         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28321         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28324         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28326         Regenerated.
28327         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28329         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28331         * shlib-versions: Remove OS-specific entries.  Moved to files in
28332         sysdeps.
28333         * sysdeps/mach/hurd/shlib-versions: New file.
28334         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28336         * nptl/shlib-versions: Remove architecture-specific entries.
28337         Moved to files in sysdeps.
28338         * shlib-versions: Likewise.
28339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28340         file.
28341         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28342         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28343         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28344         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28346         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28347         (UDP_NO_CHECK6_RX): Likewise.
28349 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28351         * sysdeps/posix/sysconf.c (__sysconf): Spell
28352         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28354 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28356         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28357         loading.
28358         * iconv/Versions (__gconv_transliterate): Export for use from
28359         gconv modules.
28360         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28361         (struct __gconv_trans_data, __gconv_trans_fct,
28362         __gconv_trans_context_fct, __gconv_trans_query_fct,
28363         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28364         definitions.
28365         (struct __gconv_step_data): Remove __trans member.
28366         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28367         longer hidden.  Remove unused trans_data argument.
28368         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28369         (__gconv_translit_find): Remove declaration.
28370         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28371         prototype.
28372         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28373         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28374         trans_data argument.  Add hidden definition.
28375         (__gconv_translit_find): Remove.
28376         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28377         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28378         * iconv/skeleton.c: Remove transliteration initialization.
28379         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28380         __gconv_step_data initialization.
28381         * libio/iofwide.c (__libio_translit_): Remove.
28382         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28383         * wcsmbs/btowc.c (__btowc): Likewise.
28384         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28385         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28386         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28387         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28388         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28389         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28390         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28391         * wcsmbs/wctob.c (wctob): Likewise.
28393 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28395         [BZ #16194]
28396         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28397         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28398         register usage.
28399         * sysdeps/x86/Makefile: Adjust.
28401 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28402             Roland McGrath  <roland@hack.frob.com>
28404         * locale/weight.h: Add include guard.
28405         (findidx): Make static rather than auto; take new parameters
28406         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28407         * locale/weightwc.h: Likewise.
28408         * posix/fnmatch_loop.c
28409         (FCT): Change type of EXTRA from int32_t to wint_t.
28410         Don't include either header inside the function.
28411         Call FINDIDX rather than findidx, and pass new arguments.
28412         #undef FINDIDX at the end of the file.
28413         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28414         FINDIDX before including fnmatch_loop.c for the non-wide version.
28415         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28416         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28417         for the wide version.
28418         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28419         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28420         Pass new arguments to findidx.
28421         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28422         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28423         Don't #include it inside the function.  Pass new arguments to findidx.
28424         * posix/regex_internal.h
28425         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28426         (re_string_elem_size_at): Don't #include it inside the function.
28427         Pass new arguments to findidx.
28428         * string/strcoll_l.c: #include WEIGHT_H at top level.
28429         (get_next_seq): Don't #include it inside the function.
28430         Pass new arguments to findidx.
28431         (get_next_seq_nocache): Likewise.
28432         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28433         (STRXFRM): Don't #include it inside the function.
28434         Pass new arguments to findidx.
28436 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28438         [BZ #17344]
28439         * malloc/malloc.c (unlink): Turn asserts into a call to
28440         malloc_printerr.
28442 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28444         [BZ #17370]
28445         * libio/wfileops (do_ftell_wide): Free OUT.
28447 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28449         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28451 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28453         [BZ #17363]
28454         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28455         group if the current group is empty.
28457 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28459         * benchtests/bench-memset.c (test_main): Add more test from size
28460         from 32 to 512 bytes.
28461         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28462         Add POWER8 memset object.
28463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28464         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28465         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28466         implementation.
28467         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28468         Likewise.
28469         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28470         multiarch POWER8 memset optimization.
28471         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28472         POWER8 memset optimization.
28474         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28475         Remove bzero multiarch objects.
28476         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28477         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28478         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28479         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28480         Remove define.
28481         [__bzero]: Redefine to specific name.
28482         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28483         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28484         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28485         define.
28486         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28487         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28489 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28491         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28492         warnings into errors.
28494         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28495         __cxa_thread_atexit_impl prototype.
28497 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28499         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28500         Fix capitalization of error message.
28502 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28504         * sysdeps/mips/preconfigure: Modify ABI tests.
28506 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28508         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28510 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28511             Carlos O'Donell  <carlos@systemhalted.org>
28513         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28514         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28515         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28516         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28517         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28518         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28519         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28520         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28521         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28532         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28533         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28534         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28535         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28536         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28537         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28538         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28539         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28540         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28541         Deconditionalize the code that was previously under [RESET_PID].
28542         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28543         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28544         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28545         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28546         include sysdep.h.
28548 2014-09-08  Allan McRae  <allan@archlinux.org>
28550         * version.h (RELEASE): Set to "development".
28551         (VERSION): Set to "2.20.90"
28553 2014-09-07  Allan McRae  <allan@archlinux.org
28555         * version.h (RELEASE): Set to "stable".
28556         (VERSION): Set to "2.20"
28557         * include/features.h (__GLIBC_MINOR__): Set to 20.
28559         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28560         Liebler.
28562         * po/ko.po: Update Korean translation from translation project.
28564 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28566         [BZ #17354]
28567         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28568         macro for handling signed relocations.
28570 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28572         [BZ #17325]
28573         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28574         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28575         assert.
28576         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28577         * iconvdata/ibm935.c (BODY): Likewise.
28578         * iconvdata/ibm937.c (BODY): Likewise.
28579         * iconvdata/ibm939.c (BODY): Likewise.
28580         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28581         assert.
28582         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28583         script.
28584         * iconvdata/run-iconv-test.sh: New test loop for checking for
28585         decoder crashers.
28587 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28589         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28590         libm_hidden_ver.
28592 2014-09-01  Allan McRae  <allan@archlinux.org>
28594         * po/eo.po: Update Esperanto translation from translation project.
28596         * po/ca.po: Update Catalan translation from translation project.
28598 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28600         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28601         __proc_dostop call.
28603 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28605         [BZ #17319]
28606         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28607         to call set_thread_area instead of hand written asm.
28608         (__NR_set_thread_area): Removed define.
28609         (TLS_FLAG_WRITABLE): Likewise.
28610         (__ASSUME_SET_THREAD_AREA): Remove check.
28611         (TLS_EBX_ARG): Remove define.
28612         (TLS_LOAD_EBX): Likewise.
28614 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28616         Simplify atomicity of socket creation in bind.
28618         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28619         looking up the name after linking the file.
28621 2014-08-27  Allan McRae  <allan@archlinux.org>
28623         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28625 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28627         [BZ #17187]
28628         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28629         trans_compare, open_translit, __gconv_translit_find):
28630         Remove module loading code.
28632 2014-08-26  Allan McRae  <allan@archlinux.org>
28634         * po/vi.po: Update Vietnamese translation from translation project.
28636         * po/uk.po: Update Ukrainian translation from translation project.
28638         * po/fr.po: Update French translation from translation project.
28640         * po/ru.po: Update Russian translation from translation project.
28642         * po/pl.po: Update Polish translation from translation project.
28644         * po/cs.po: Update Czech translation from translation project.
28646         * po/de.po: Update German translation from translation project.
28648         * po/bg.po: Update Bulgarian translation from translation project.
28650         * po/sv.po: Update Sweedish translation from translation project.
28652         * po/nl.po: Update Dutch translation from translation project.
28654         * po/es.po: Update Spanish translation from translation project.
28656 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28658         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28660         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28661         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28662         (CPPFLAGS-iconvconfig): Likewise.
28663         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28665         * include/libc-symbols.h: Remove unnecessary check for
28666         NOT_IN_libc.
28667         * nptl/pthreadP.h: Likewise.
28668         * sysdeps/aarch64/setjmp.S: Likewise.
28669         * sysdeps/alpha/setjmp.S: Likewise.
28670         * sysdeps/arm/sysdep.h: Likewise.
28671         * sysdeps/i386/setjmp.S: Likewise.
28672         * sysdeps/m68k/setjmp.c: Likewise.
28673         * sysdeps/posix/getcwd.c: Likewise.
28674         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28675         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28676         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28677         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28678         * sysdeps/sh/sh3/setjmp.S: Likewise.
28679         * sysdeps/sh/sh4/setjmp.S: Likewise.
28680         * sysdeps/unix/alpha/sysdep.h: Likewise.
28681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28683         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28684         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28689         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28690         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28691         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28692         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28694         * sysdeps/x86_64/setjmp.S: Likewise.
28696 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28698         [BZ #17263]
28699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28700         <stdint.h>.
28701         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28702         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28704 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28706         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28708         [BZ #17262]
28709         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28710         and __x86_64__ when disabling x87 inline functions.
28712 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28714         [BZ #17259]
28715         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28716         asm statement with __cpuid_count.
28718 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28720         * configure.ac: Change __ehdr_start code to dereference the struct.
28721         Run readelf on the output to look for relocations.
28722         * configure: Regenerated.
28724 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28726         [BZ #17261]
28727         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28728         value to 0.
28729         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28731 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28733         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28735 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28737         [BZ #16892]
28738         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28739         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28741 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28743         * malloc/malloc.c: Fix typo in comment.
28745 2014-08-09  Allan McRae  <allan@archlinux.org>
28747         * Regenerate libc.po.
28749 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28751         * intl/tst-gettext2.sh: Check every lang file for creation.
28753 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28755         * sysdeps/aarch64/fpu/math_private.h
28756         (libc_feholdsetround_noex_aarch64_ctx): New function.
28758 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28760         * sysdeps/arm/armv6/strcpy.S (strcpy):
28761         Fix performance issue in misaligned cases.
28763 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28765         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28766         Move definition from termios.h.
28767         (struct termio): Likewise.
28768         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28769         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28770         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28771         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28772         Likewise.
28773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28774         Move definition to ioctl-types.h
28775         (struct termio): Likewise.
28776         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28777         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28778         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28779         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28780         Likewise.
28782 2014-08-05  Richard Henderson  <rth@redhat.com>
28784         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28785         exceptions.
28786         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28787         Add fraiseexcpt.
28788         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28789         Use __feraiseexcept.
28790         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28791         Protect libm symbols with IS_IN_libm.
28793         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28795 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28797         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28799 2014-08-04  Will Newton  <will.newton@linaro.org>
28801         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28802         file.
28804 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28806         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28807         variants for each function.
28809 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28811         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28812         appended ...
28813         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28814         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28815         appended ...
28816         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28817         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28818         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28819         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28820         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28821         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28822         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28823         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28824         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28825         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28830         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28852         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28853         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28854         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28855         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28856         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28857         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28858         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28860         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28862         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28864         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28866         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28867         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28868         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28869         Update #include.
28870         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28871         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28873 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28876         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28878         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28879         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28880         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28882 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28884         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28885         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28886         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28887         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28889 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28891         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28892         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28893         (__libc_vfork): Define function under this name.
28894         (__vfork): Define as an alias.
28895         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28896         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28898 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28900         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28901         that was previously under [RESET_PID].
28902         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28904 2014-08-04  Andreas Schwab  <schwab@suse.de>
28906         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28908 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28910         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28911         (main): Likewise.
28913 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28915         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28917 2014-08-01  Richard Henderon  <rth@redhat.com>
28919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28920         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28921         typo in exact zero test.
28922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28923         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28924         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28926 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28928         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28929         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28930         * sysdeps/arm/sysdep.h: ... here.
28931         [!__ASSEMBLER__]: Include <stdint.h>.
28933 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28935         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28936         (HAVE_WCTYPE_H): Likewise.
28937         (HAVE_ISWCTYPE): Likewise.
28938         (ENABLE_NLS): Likewise.
28939         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28940         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28942         * posix/regex_internal.c: Check if DEBUG is defined and is
28943         set.
28945         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28946         (HAVE_MBSRTOWCS): Likewise.
28947         * posix/fnmatch.c: Include string.h unconditionally.
28949 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28951         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28952         reversal.
28954 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28956         * sysdeps/generic/safe-fatal.h: New file.
28957         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28958         * nptl/forward.c: Include it.
28959         (__pthread_unwind): Use __safe_fatal as default action, rather
28960         than a bogus use of INTERNAL_SYSCALL that could never work.
28962         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28963         * configure.ac (libc_cv_builtin_trap): New test.
28964         * configure: Regenerated.
28965         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28966         (ABORT_INSTRUCTION): Define using __builtin_trap.
28968         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28969         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28970         * sysdeps/nptl/nptl-signals.h: New file.
28971         * nptl/pthreadP.h: Include <nptl-signals.h>.
28973 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28975         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28976         (ONE_DIRECTION): Define.
28977         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28978         (ONE_DIRECTION): Define.
28979         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28980         (ONE_DIRECTION): Define.
28982 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28984         * sysdeps/s390/Makefile: Delete file.
28985         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28986         * sysdeps/s390/__longjmp.c: Delete file.
28987         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28988         Remove fields __flags and __reserved.
28989         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28990         and add versioning.
28991         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28992         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28993         * sysdeps/s390/rtld-setjmp.S: Likewise.
28994         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28995         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28996         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28997         * sysdeps/s390/s390-32/setjmp.S: ... here.
28998         Add versioning.
28999         (__sigsetjmp): Remove setting __flags field.
29000         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29001         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29002         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29003         * sysdeps/s390/s390-64/setjmp.S: ... here.
29004         Add versioning.
29005         (__sigsetjmp): Remove setting __flags field.
29006         * sysdeps/s390/setjmp.S: Delete file.
29007         * sysdeps/s390/sigjmp.c: Likewise.
29008         * sysdeps/s390/v1-longjmp.c: Likewise.
29009         * sysdeps/s390/v1-setjmp.h: Likewise.
29010         * sysdeps/s390/v1-sigjmp.c: Likewise.
29011         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29012         Remove v1-longjmp_chk.
29013         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29014         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29015         Include debug/longjmp_chk.c and add versioning.
29016         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29017         Include nptl/pt-longjmp.c and add versioning.
29018         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29019         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29020         Include __longjmp.c.
29021         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29022         Move to ...
29023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29024         (__getcontext): Remove setting __flags field.
29025         Add versioning.
29026         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29027         Don't restore upper high grps.
29028         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29029         Likewise.
29030         (__swapcontext): Remove setting uc_flags field.
29031         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29032         Delete file.
29033         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29034         Include __longjmp.c.
29035         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29036         Move to ...
29037         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29038         (__getcontext): Remove setting __flags field.
29039         Add versioning.
29040         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29041         (__swapcontext): Remove setting uc_flags field.
29042         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29043         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29044         Remove fields uc_high_gprs and __reserved.
29045         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29046         New file with reverted content.
29047         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29048         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29049         Regenerated.
29050         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29051         Regenerated.
29053 2014-07-31  Andreas Schwab  <schwab@suse.de>
29055         * config.h.in (HAVE_IFUNC): Define to 0.
29056         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29057         definedness.
29059 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29061         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29062         memmove-avx-unaligned, memcpy-avx-unaligned and
29063         mempcpy-avx-unaligned.
29064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29065         Add tests for AVX memcpy functions.
29066         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29067         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29068         memcpy_chk.
29069         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29070         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29071         memmove_chk.
29072         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29073         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29074         mempcpy_chk.
29075         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29076         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29077         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29079 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29081         [BZ #17213]
29082         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29083         powerpc64le.
29085 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29087         [BZ #16839]
29088         * manual/llio.texi: Add section about open file description locks.
29089         * manual/examples/ofdlocks.c: Example of open file description
29090         lock usage.
29091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29092         F_OFD_SETLK, and F_OFD_SETLKW.
29094 2014-07-23  Allan McRae  <allan@archlinux.org>
29096         * po/es.po: Update Spanish translation from translation project.
29098 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29100         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29102 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29104         [BZ #17078]
29105         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29106         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29107         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29109 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29111         [BZ #17088]
29112         * math/fesetenv.c (__fesetenv)
29113         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29114         * math/feupdateenv.c (__feupdateenv)
29115         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29117         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29118         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29119         (__ASSUME_SOCKETCALL): Do not define.
29121         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29122         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29123         (__ASSUME_SOCKETCALL): Do not define.
29124         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29125         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29126         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29127         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29128         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29129         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29130         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29131         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29133         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29134         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29135         (__ASSUME_SOCKETCALL): Do not define.
29136         (__ASSUME_IPC64): Define unconditionally.
29137         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29138         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29139         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29140         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29141         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29143         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29144         Likewise.
29146         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29147         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29148         (__ASSUME_SOCKETCALL): Do not define.
29149         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29150         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29151         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29152         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29153         (__ASSUME_REQUEUE_PI): Define unconditionally.
29154         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29155         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29156         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29157         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29158         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29159         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29161         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29162         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29163         (__ASSUME_SOCKETCALL): Do not define.
29164         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29165         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29166         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29167         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29169         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29171         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29172         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29173         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29174         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29175         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29176         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29178         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29179         (__ASSUME_GETCPU_SYSCALL): Likewise.
29181         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29182         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29183         cases for individual architectures.
29184         * sysdeps/gnu/configure: Regenerated.
29185         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29186         LIBC_SLIBDIR_RTLDDIR.
29187         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29188         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29189         LIBC_SLIBDIR_RTLDDIR.
29190         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29192         LIBC_SLIBDIR_RTLDDIR.
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29194         Regenerated.
29195         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29196         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29197         file.
29198         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29199         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29200         file.
29201         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29202         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29203         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29204         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29206         * sysdeps/aarch64/shlib-versions: Move to ...
29207         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29208         * sysdeps/alpha/shlib-versions: Move to ...
29209         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29210         * sysdeps/arm/shlib-versions: Move to ...
29211         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29212         * sysdeps/hppa/shlib-versions: Move all contents except for
29213         libgcc_s entry to ...
29214         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29215         entry from ...
29216         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29217         * sysdeps/ia64/shlib-versions: Move to ...
29218         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29219         entry from ...
29220         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29221         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29222         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29223         * sysdeps/microblaze/shlib-versions: Move to ...
29224         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29225         * sysdeps/mips/shlib-versions: Move to ...
29226         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29227         entry from ...
29228         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29229         * sysdeps/tile/shlib-versions: Move to ...
29230         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29231         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29232         from ...
29233         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29234         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29235         entry from ...
29236         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29238 2014-07-17  Will Newton  <will.newton@linaro.org>
29240         * sysdeps/arm/bits/atomic.h
29241         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29242         (__arch_compare_and_exchange_bool_16_int): Likewise.
29243         (__arch_compare_and_exchange_bool_64_int): Likewise.
29245         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29246         into an #else block.
29248 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29250         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29251         just Linux configurations.  Test empirically that the compiler sets
29252         __ARM_EABI__, rather than using the tuple to decide.
29253         * sysdeps/arm/preconfigure: Regenerated.
29254         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29255         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29256         contents appended ...
29257         * sysdeps/arm/configure.ac: ... here.
29258         * sysdeps/arm/configure: Regenerated.
29260 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29262         * nptl/pthread_kill.c: New file.
29263         * nptl/pthread_sigmask.c: New file.
29264         * nptl/pthread_sigqueue.c: New file.
29266         * sysdeps/nptl/lowlevellock.h: New file.
29267         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29268         * sysdeps/nptl/lowlevellock-futex.h: New file.
29270         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29271         Remove dead declarations.
29273 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29275         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29276         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29277         config-cflags-avx2.
29278         * sysdeps/x86_64/configure.ac: Likewise.
29279         * sysdeps/i386/configure: Regenerated.
29280         * sysdeps/x86_64/configure: Likewise.
29281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29282         memset-avx2 only if config-cflags-avx2 is yes.
29283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29284         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29285         defined.
29286         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29287         only if HAVE_AVX2_SUPPORT is defined.
29288         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29290 2014-07-14  Alan Modra  <amodra@gmail.com>
29292         [BZ #17153]
29293         * elf/elf.h (DT_PPC64_NUM): Correct value.
29294         * NEWS: Add to fixed bug list.
29296 2014-07-13  Jim Meyering  <meyering@fb.com>
29298         [BZ 17150]
29299         regex: don't deref NULL upon heap allocation failure
29300         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29301         failure in one more place.
29302         To trigger the segfault, configure grep -with-included-regex,
29303         build it, and run these commands:
29304         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29306 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29308         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29310 2014-07-11  Richard Henderson  <rth@redhat.com>
29312         * sysdeps/aarch64/libm-test-ulps: Update.
29314 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29316         [BZ #17135]
29317         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29318         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29319         (__nptl_setxid): Initialize error member.  Call
29320         __nptl_setxid_error.
29321         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29322         * nptl/descr.h (struct xid_command): Add error member.
29323         * nptl/tst-setuid3.c: New file.
29324         * nptl/Makefile (tests): Add it.
29326 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29329         New define.
29330         (__lll_trylock): Use __lll_base_trylock.
29331         (__lll_cond_trylock): Likewise.
29333 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29335         * nptl/pthread_create.c (start_thread): Use atomic_or and
29336         lll_futex_wake directly rather than lll_robust_dead.
29337         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29338         (lll_robust_dead): Macro removed.
29339         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29340         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29341         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29342         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29343         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29344         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29345         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29346         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29347         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29348         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29349         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29350         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29351         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29352         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29355         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29356         Use atomic_compare_and_exchange_val_acq directly rather than
29357         lll_robust_trylock.
29358         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29359         (__lll_robust_trylock, lll_robust_trylock): Removed.
29360         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29361         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29362         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29363         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29364         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29365         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29366         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29367         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29370         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29371         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29372         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29373         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29375 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29377         * manual/locale.texi (Locale Names): New section documenting
29378         locale name syntax.  Adjust menu and node chaining accordingly.
29379         (Choosing Locale): Reference Locale Names, Locale Categories.
29380         Mention setting LC_ALL=C.  Reflect that name syntax is now
29381         documented.
29382         (Locale Categories): New section title.  Reference Locale Names.
29383         LC_ALL is an environment variable, but not a category.
29384         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29385         description, now in Locale Name.  Reference that section.  Locale
29386         name syntax is now documented.
29388 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29390         [BZ #17137]
29391         * locale/findlocale.c (name_present, valid_locale_name): New
29392         functions.
29393         (_nl_find_locale): Use the loc_name variable to store name
29394         candidates.  Call name_present and valid_locale_name to check and
29395         validate locale names.  Return an error if the locale is invalid.
29397 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29399         * locale/setlocale.c (setlocale): Use strdup for allocating
29400         composite name copy.
29402 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29404         Sync up with gnulib.
29405         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29406         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29407         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29408         and _GL_ARG_NONNULL.
29409         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29410         [!_LIBC]: Include code for Windows and Cygwin.
29411         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29412         Include prototype for int strerror_r.
29413         [!_LIBC] (is_open): New function.
29414         (flush_stdout): New function.
29415         (print_errno_message): Use it.
29416         (error): Likewise.
29417         (error_at_line): Likewise.
29418         (error_tail) Add function attribute macros.  Use
29419         __builtin_expect.
29421         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29423         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29425         * io/ftw.c: Include sys/param.h unconditionally.
29427         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29429         [BZ #17125]
29430         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29431         libc_freeres_ptr.
29432         (freecache): New function to free CACHE on exit.
29434         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29435         initialization.
29437 2014-07-09  David S. Miller  <davem@davemloft.net>
29439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29441         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29442         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29443         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29444         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29445         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29446         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29447         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29448         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29449         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29450         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29451         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29452         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29453         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29455 2014-07-09  Andreas Schwab  <schwab@suse.de>
29457         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29458         output.
29459         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29460         (do_test): Likewise.
29462         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29464 2014-07-09  Will Newton  <will.newton@linaro.org>
29466         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29467         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29468         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29469         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29470         * sysdeps/hppa/start.S (_start): Likewise.
29472 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29474         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29476         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29477         defined.
29479 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29481         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29482         after checking that it is non-NULL.
29484         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29486 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29488         * sysdeps/powerpc/memmove.c: Remove file.
29489         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29490         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29491         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29492         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29493         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29494         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29495         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29496         string memmove instead of removed powerpc one.
29498         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29499         [weak_alias]: Fix compiler warning due trailing data.
29500         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29501         [weak_alias]: Likewise.
29502         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29503         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29505         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29506         (__libc_ifunc_impl_list): Add memmove functions.
29508 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29510         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29511         Remove code.
29512         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29513         Likewise.
29514         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29515         Likewise.
29516         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29517         Likewise.
29518         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29519         Likewise.
29520         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29521         Likewise.
29522         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29523         Likewise.
29524         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29525         Likewise.
29526         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29527         Likewise.
29528         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29529         Likewise.
29530         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29531         Likewise.
29532         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29533         Likewise.
29534         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29535         Likewise.
29536         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29537         Likewise.
29538         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29539         Likewise.
29540         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29541         Likewise.
29542         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29543         Likewise.
29545 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29547         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29548         to avoid alignment traps in non-cacheable memory.
29549         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29552         multiarch objects.
29553         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29554         file: multiarch power7 memmove.
29555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29556         multiarch default memmove.
29557         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29558         multiarch memove for powerpc32/power4.
29560         * string/bcopy.c: Use full path to include memmove.c.
29561         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29562         multiarch objects.
29563         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29564         bcopy for powerpc64.
29565         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29566         bcopy for powerpc64.
29567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29568         and memmove implementations.
29569         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29570         optimized multiarch memmove for POWER7/powerpc64.
29571         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29572         default multiarch memmove for powerpc64.
29573         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29574         multiarch for powerpc64.
29575         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29576         for POWER7/powerpc64.
29577         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29578         memmove for POWER7/powerpc64.
29580         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29581         glibc default one.
29583         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29584         __ELF_NATIVE_CLASS equal to 64.
29586 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29588         * sysdeps/nptl/lowlevellock.h: File removed.
29590         * NEWS: NPTL is no longer an add-on!
29591         * nptl/internaltypes.h: Moved ...
29592         * sysdeps/nptl/internaltypes.h: ... here.
29593         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29594         * sysdeps/nptl/fork.c: Likewise.
29595         * sysdeps/nptl/gai_misc.h: Likewise.
29596         * sysdeps/nptl/librt-cancellation.c: Likewise.
29597         * sysdeps/nptl/jmp-unwind.c: Likewise.
29598         * sysdeps/nptl/setxid.h: Likewise.
29599         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29600         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29601         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29602         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29603         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29604         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29605         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29606         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29607         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29608         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29609         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29610         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29611         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29612         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29613         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29614         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29615         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29616         * nptl/Makeconfig: Moved ...
29617         * sysdeps/nptl/Makeconfig: ... here.
29618         * nptl/configure: File removed.
29619         * nptl/ANNOUNCE: File removed.
29620         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29621         * sysdeps/unix/sysv/linux/configure: Regenerated.
29623         * nptl/Makefile (routines): Add libc_pthread_init,
29624         libc_multiple_threads, register-atfork and unregister-atfork.
29625         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29626         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29627         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29628         pthread-pi-defines.sym, structsem.sym.
29629         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29630         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29631         [$(subdir) = nptl] (tests): Add tst-setgetname.
29632         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29633         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29634         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29635         [!LIBC_SIGACTION]: Remove aliases.
29636         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29637         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29638         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29639         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29640         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29641         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29642         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29643         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29644         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29645         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29646         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29647         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29648         __libc_allocate_rtsig_private.
29649         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29650         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29651         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29652         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29653         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29654         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29655         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29656         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29657         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29658         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29659         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29660         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29661         * nptl/internaltypes.h: ... here.
29662         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29663         * sysdeps/nptl/jmp-unwind.c: ... here.
29664         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29665         * nptl/libc-lowlevellock.c: ... here.
29666         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29667         * nptl/libc_multiple_threads.c: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29669         * nptl/libc_pthread_init.c: ... here.
29670         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29671         * nptl/lowlevelbarrier.sym: ... here.
29672         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29673         * nptl/lowlevelcond.sym: ... here.
29674         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29675         * nptl/lowlevellock.c: ... here.
29676         * nptl/lowlevellock.h: Moved ...
29677         * sysdeps/nptl/lowlevellock.h: ... here.
29678         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29679         * nptl/lowlevelrobustlock.c: ... here.
29680         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29681         * nptl/lowlevelrobustlock.sym: ... here.
29682         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29683         * nptl/lowlevelrwlock.sym: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29685         * nptl/pt-fork.c: ... here.
29686         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29687         * nptl/pthread-pi-defines.sym: ... here.
29688         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29689         * nptl/pthread_attr_getaffinity.c: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29691         * nptl/pthread_attr_setaffinity.c: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29693         * nptl/pthread_mutex_cond_lock.c: ... here.
29694         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29695         Update #include.
29696         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29697         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29698         * nptl/pthread_once.c: ... here, replacing old file.
29699         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29700         * nptl/pthread_yield.c: ... here.
29701         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29702         * nptl/register-atfork.c: ... here.
29703         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29704         * nptl/sem_post.c: ... here.
29705         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29706         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29707         * nptl/sem_timedwait.c: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29709         * nptl/sem_trywait.c: ... here.
29710         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29711         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29712         * nptl/sem_wait.c: ... here.
29713         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29714         * nptl/structsem.sym: ... here.
29715         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29716         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29717         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29718         * nptl/unregister-atfork.c: ... here.
29719         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29720         * nptl/unwindbuf.sym: ... here.
29721         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29722         * sysdeps/nptl/fork.c: ... here.
29723         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29724         * sysdeps/nptl/fork.h: ... here.
29725         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29726         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29727         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29728         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29729         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29730         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29731         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29732         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29733         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29735         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29737         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29738         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29739         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29741         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29742         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29743         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29744         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29745         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29746         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29747         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29749         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29750         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29751         * sysdeps/unix/sysv/linux/raise.c: ... here.
29752         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29753         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29754         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29755         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29756         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29757         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29758         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29759         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29760         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29761         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29762         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29763         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29764         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29765         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29766         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29768 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29770         * sysdeps/generic/memcopy.h: Add comment for
29771         MEMCPY_OK_FOR_FWD_MEMMOVE.
29773 2014-07-04  Will Newton  <will.newton@linaro.org>
29775         * string/memchr.c: Merge from gnulib.
29776         [_LIBC]: Remove conditionals.
29777         (__ptr_t): Remove define.
29778         (LONG_MAX_32_BITS): Likewise.
29779         (LONG_MAX): Likewise.
29780         (MEMCHR): Use ANSI prototype and optimize algorithm.
29782         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29784 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29786         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29787         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29789         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29790         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29791         in a bare environment with no <stdlib.h> installed.
29792         * sysdeps/nptl/configure: Regenerated.
29794         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29796         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29797         AC_EGREP_CPP for kernel header checks, so they only succeed if
29798         including <linux/version.h> actually works right.
29799         * sysdeps/unix/sysv/linux/configure: Regenerated.
29801         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29802         value so it's not diagnosed as unused.
29804         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29805         thing) with "ifeq ($(subdir),rt)".
29807 2014-07-03  Richard Henderson  <rth@redhat.com>
29809         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29810         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29811         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29813         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29814         (math_force_eval): New.
29816         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29817         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29819         * sysdeps/alpha/fpu/s_round.c: Remove file.
29820         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29822         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29823         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29824         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29825         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29826         (_dl_start, print_statistics): Likewise.
29827         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29828         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29830         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29831         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29832         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29833         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29834         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29835         (HP_SMALL_TIMING_AVAIL): Define.
29836         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29837         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29838         (HP_SMALL_TIMING_AVAIL): Define.
29839         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29840         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29842         * sysdeps/aarch64/hp-timing.h: New file.
29844         * sysdeps/generic/hp-timing.h: Remove dead comment.
29845         * sysdeps/generic/hp-timing-common.h: New file.
29846         * sysdeps/alpha/hp-timing.h: Include it.
29847         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29848         * sysdeps/i386/i686/hp-timing.h: Likewise.
29849         * sysdeps/ia64/hp-timing.h: Likewise.
29850         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29851         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29853         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29854         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29855         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29856         (hp_timing_t): New.
29858         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29859         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29860         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29861         * elf/rtld.c (_dl_start_final): Likewise.
29862         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29863         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29864         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29865         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29866         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29867         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29868         (HP_TIMING_DIFF_INIT): Remove.
29869         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29871         (HP_TIMING_DIFF_INIT): Remove.
29872         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29873         * sysdeps/i386/i686/hp-timing.c: Remove file.
29874         * sysdeps/x86_64/hp-timing.c: Remove file.
29875         * sysdeps/ia64/hp-timing.c: Remove file.
29876         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29877         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29878         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29879         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29881         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29882         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29883         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29884         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29886         (HP_TIMING_ACCUM): Remove.
29887         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29888         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29889         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29891         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29892         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29893         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29894         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29895         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29896         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29897         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29898         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29900         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29902 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29904         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29906 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29908         Sync up with gettext.
29909         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29910         [_MSC_VER]: Include malloc.h
29911         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29912         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29913         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29914         TEMP_FAILURE_RETRY.  Cast return of alloca.
29915         [!_LIBC] Call gl_rwlock_init.
29916         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29918 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29920         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29921         before checking its value.
29923 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29925         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29927         * debug/memcpy_chk.c: Don't include pagecopy.h.
29928         * debug/mempcpy_chk.c: Likewise.
29929         * string/memcpy.c: Likewise.
29930         * string/memmove.c: Likewise.
29931         * sysdeps/powerpc/memmove.c: Likewise.
29932         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29933         definition of PAGE_COPY_FWD_MAYBE here...
29934         * sysdeps/generic/pagecopy.h: ... from here.
29935         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29937 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29938             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29940         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29942         optimizations.
29943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29944         (__libc_ifunc_impl_list): Likewise.
29945         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29946         multiarch strcat for PPC64.
29947         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29948         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29950 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29952         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29954 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29956         * intl/loadmsgcat.c: Remove declaration of
29957         get_sysdep_segment_value.
29958         (get_sysdep_segment_value): Use ISO C style.
29959         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29960         semicolon.  Fix typo and formatting in comment.
29961         (_nl_unload_domain): Use ISO C style.
29963         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29965 2014-07-02  Will Newton  <will.newton@linaro.org>
29967         * malloc/obstack.c: Merge from gnulib master.
29968         [HAVE_CONFIG_H]: Remove conditional code.
29969         [!_LIBC]: Include config.h.
29970         [!ELIDE_CODE]: Don't include inttypes.h, include
29971         stdint.h unconditionally.
29972         (print_and_abort): Mark as _Noreturn.
29973         (_obstack_allocated_p): Mark as __attribute_pure__.
29974         (obstack_free): Rename to __obstack_free.
29975         [!__attribute__]: Remove conditional code.
29976         * malloc/obstack.h: Merge from gnulib master.
29977         [__cplusplus]: Move conditional down.
29978         [!__attribute_pure__]: Define __attribute_pure__ here
29979         if it is not already defined.
29980         (_obstack_memory_used): Mark as __attribute_pure__.
29981         [!__obstack_free]: Define as obstack_free.
29982         [__GNUC__]: Remove check for ancient NeXT gcc.
29984 2014-07-02  Will Newton  <will.newton@linaro.org>
29985             Paul Eggert  <eggert@cs.ucla.edu>
29987         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29989 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29991         * resolv/gethnamaddr.c: Add comment warning that the file is
29992         not maintained.
29994 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29996         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29997         entries.
29999         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30000         entry for aio_cancel and aio_cancel64.
30001         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30002         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30003         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30004         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30005         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30006         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30007         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30008         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30009         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30010         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30011         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30012         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30013         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30015 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30017         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30018         * nptl/pthread_mutex_lock.c: Likewise.
30019         * nptl/pthread_mutex_timedlock.c: Likewise.
30020         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30022 2014-07-01  Richard henderson  <rth@redhat.com>
30024         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30025         (__isnan, __isnanl): Remove.
30026         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30028         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30030 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30032         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30034 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30036         * resolv/nss_dns/dns-host.c (getanswer_r)
30037         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30039 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30041         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30042         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30043         undefine.
30044         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30045         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30047 2014-07-01  Roland McGrath <roland@hack.frob.com>
30049         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30050         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30052         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30053         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30055         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30056         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30057         ... here.
30058         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30059         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30061         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30062         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30063         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30064         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30066         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30067         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30068         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30069         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30070         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30071         Moved ...
30072         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30073         ... here.
30074         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30075         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30076         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30077         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30078         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30079         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30080         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30081         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30082         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30083         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30084         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30085         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30086         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30087         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30088         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30089         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30090         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30091         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30092         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30093         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30094         ... here.
30095         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30096         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30097         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30098         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30099         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30100         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30101         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30102         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30104 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30106         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30107         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30108         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30109         Add sysdep.
30111 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30115 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30117         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30118         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30120         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30122         * sysdeps/arm/libm-test-ulps: Regenerated.
30124 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30125             Roland McGrath <roland@hack.frob.com>
30127         * test-skeleton.c (signal_handler): Kill the whole process group
30128         before killing the child individually.
30129         (main): Report any failure on `setpgid'.
30131 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30133         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30134         from _TLS_H to _ARM_NPTL_TLS_H.
30135         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30136         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30138 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30140         [BZ #16539]
30141         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30142         (__expm1l): Return argument unchanged when small but not
30143         subnormal.
30145         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30146         include macro name.
30147         (_FP_UNPACK_RAW_1_P): Likewise.
30148         (_FP_PACK_RAW_1): Likewise.
30149         (_FP_PACK_RAW_1_P): Likewise.
30150         (_FP_MUL_MEAT_1_wide): Likewise.
30151         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30152         (_FP_MUL_MEAT_1_hard): Likewise.
30153         (_FP_DIV_MEAT_1_imm): Likewise.
30154         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30155         (_FP_DIV_MEAT_1_udiv): Likewise.
30156         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30157         (_FP_UNPACK_RAW_2): Likewise.
30158         (_FP_UNPACK_RAW_2_P): Likewise.
30159         (_FP_PACK_RAW_2): Likewise.
30160         (_FP_PACK_RAW_2_P): Likewise.
30161         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30162         (_FP_MUL_MEAT_2_wide): Likewise.
30163         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30164         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30165         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30166         (_FP_MUL_MEAT_2_gmp): Likewise.
30167         (_FP_DIV_MEAT_2_udiv): Likewise.
30168         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30169         (_FP_FRAC_SRL_4): Likewise.
30170         (_FP_FRAC_SRST_4): Likewise.
30171         (_FP_FRAC_SRS_4): Likewise.
30172         (_FP_UNPACK_RAW_4): Likewise.
30173         (_FP_UNPACK_RAW_4_P): Likewise.
30174         (_FP_PACK_RAW_4): Likewise.
30175         (_FP_PACK_RAW_4_P): Likewise.
30176         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30177         (_FP_MUL_MEAT_4_wide): Likewise.
30178         (_FP_MUL_MEAT_4_gmp): Likewise.
30179         (umul_ppppmnnn): Likewise.
30180         (_FP_DIV_MEAT_4_udiv): Likewise.
30181         (__FP_FRAC_ADD_4): Likewise.
30182         (__FP_FRAC_SUB_3): Likewise.
30183         (__FP_FRAC_SUB_4): Likewise.
30184         (__FP_FRAC_DEC_3): Likewise.
30185         (__FP_FRAC_DEC_4): Likewise.
30186         (__FP_FRAC_ADDI_4): Likewise.
30187         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30188         (_FP_FRAC_SRL_8): Likewise.
30189         (_FP_FRAC_SRS_8): Likewise.
30191         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30192         include macro name.
30193         (FP_UNPACK_RAW_EP): Likewise.
30194         (FP_PACK_RAW_E): Likewise.
30195         (FP_PACK_RAW_EP): Likewise.
30196         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30197         (_FP_ISSIGNAN): Likewise.
30198         (_FP_ADD_INTERNAL): Likewise.
30199         (_FP_FMA): Likewise.
30200         (_FP_CMP): Likewise.
30201         (_FP_SQRT): Likewise.
30202         (_FP_TO_INT): Likewise.
30203         (_FP_FROM_INT): Likewise.
30204         (FP_EXTEND): Likewise.
30205         (_FP_DIV_MEAT_N_loop): Likewise.
30207 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30209         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30210         throughout.
30212 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30214         [BZ #17097]
30215         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30216         result with correct sign in case of exponents that produce
30217         overflow except for X very close to 1.
30219 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30221         mktime: merge #if/#ifdef usage from glibc
30222         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30223         as that works with both Glibc's and Gnulib's style.
30224         See thread starting at Siddhesh Poyarekar's bug report at:
30225         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30227 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30229         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30230         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30231         * sysdeps/tile/tilegx/memmove.c: Remove file.
30233 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30235         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30236         abi-name definition.
30237         * scripts/soversions.awk: Do not handle or generate ABI lines.
30238         * shlib-versions: Remove ABI entries.
30239         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30240         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30242 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30245         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30246         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30247         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30249         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30251         Moved ...
30252         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30253         ... here.
30254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30255         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30257         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30261         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30263         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30267         Moved ...
30268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30272         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30274         Moved ...
30275         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30277         Moved ...
30278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30280         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30282         Moved ...
30283         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30285         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30287         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30289         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30291         Moved ...
30292         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30294         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30295         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30296         Moved ...
30297         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30299         Moved ...
30300         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30302         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30304         Moved ...
30305         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30306         ... here.
30307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30308         Identical file removed.
30309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30310         Moved ...
30311         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30313         Identical file removed.
30314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30315         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30317         Moved ...
30318         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30319         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30320         Identical file removed.
30321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30322         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30324         Identical file removed.
30325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30328         Identical file removed.
30329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30332         Identical file removed.
30333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30334         Moved ...
30335         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30337         Identical file removed.
30338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30339         Moved ...
30340         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30342         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30344         Identical file removed.
30345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30346         Moved ...
30347         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30348         ... here.
30349         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30350         Identical file removed.
30351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30352         Moved ...
30353         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30355         Identical file removed.
30356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30357         Moved ...
30358         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30360         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30362         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30364         Moved ...
30365         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30366         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30367         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30369         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30370         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30371         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30372         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30373         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30375 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30377         [BZ #17092]
30378         * nscd/nscd.c (monitor_child): Return exit status of child
30379         instead of return value from wait syscall.
30381 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30383         * configure.ac (libc_commonpagesize): Remove variable.
30384         (libc_relro_required): Likewise.
30385         (libc_cv_z_relro): Remove configure test.
30386         * configure: Regenerated.
30387         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30388         variable.
30389         (libc_relro_required): Likewise.
30390         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30391         (libc_relro_required): Likewise.
30392         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30393         (libc_relro_required): Likewise.
30394         * sysdeps/arm/preconfigure: Regenerated.
30395         * sysdeps/ia64/preconfigure: Remove file.
30396         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30397         variable.
30398         (libc_relro_required): Likewise.
30400         [BZ #16561]
30401         [BZ #16562]
30402         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30403         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30404         recompute overflowing results in original rounding mode.
30405         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30406         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30407         recompute overflowing results in original rounding mode.
30408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30409         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30410         recompute overflowing results in original rounding mode.
30411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30412         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30413         recompute overflowing results in original rounding mode.
30414         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30415         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30416         recompute overflowing results in original rounding mode.
30417         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30418         (libc_feholdsetround_ctx): New macro.
30419         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30420         * sysdeps/i386/fpu/libm-test-ulps: Update.
30421         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30423 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30425         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30426         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30427         corresponding .cpsetup call.
30429 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30431         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30432         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30433         * sysdeps/arm/Makefile [$(subdir) = csu]
30434         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30435         (static-only-routines): Add aeabi_read_tp here.
30436         (shared-only-routines): Add libc-aeabi_read_tp here.
30437         (CFLAGS-libc-start.c): Add -fexceptions here.
30438         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30439         (sysdep_routines, static-only-routines, shared-only-routines):
30440         Don't add to these here.
30441         (CFLAGS-libc-start.c): Likewise.
30443         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30444         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30445         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30446         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30447         * sysdeps/arm/Makefile [$(subdir) = rt]
30448         (librt-sysdep_routines, librt-shared-only-routines):
30449         Append rt-aeabi_unwind_cpp_pr1 here.
30450         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30451         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30452         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30453         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30454         Append nptl-aeabi_unwind_cpp_pr1 here.
30455         (tests): Filter out tst-cleanupx4 here.
30456         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30457         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30458         Don't do those here.
30460 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30462         * scripts/list-sources.sh: Do not handle ports specially.
30464 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30466         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30467         * sysdeps/arm/feupdateenv.c: Likewise.
30469         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30471 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30473         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30474         trailing whitespace removed.
30475         * scripts/config.guess: Update to version 2014-03-23.
30476         * scripts/config.sub: Update to version 2014-05-01
30477         * scripts/install-sh: Update to version 2013-12-25.23.
30478         * scripts/move-if-change: Update from gnulib.
30480 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30482         * debug/memmove_chk.c: Remove pagecopy.h include.
30484 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30486         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30487         identical to gnulib mktime.
30489 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30491         * configure.ac: Do not test for machine being rs6000.  Do not test
30492         for powerpc*-*soft.
30493         * configure: Regenerated.
30495         [BZ #11505]
30496         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30497         test.
30498         * configure: Regenerated.
30499         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30500         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30501         Remove configure test.
30502         * sysdeps/arm/configure: Regenerated.
30503         * sysdeps/nptl/configure.ac: Do not check
30504         libc_cv_asm_cfi_directives.
30505         * sysdeps/nptl/configure: Regenerated.
30506         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30507         * sysdeps/x86_64/nptl/configure: Remove generated file.
30508         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30509         unconditional.
30510         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30512 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30515         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30516         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30517         it is defined.
30519         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30520         instead of whether it is defined.
30521         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30522         * sysdeps/hppa/dl-machine.h: Likewise.
30523         * sysdeps/ia64/dl-machine.h: Likewise.
30524         * sysdeps/m68k/dl-machine.h: Likewise.
30525         * sysdeps/microblaze/dl-machine.h: Likewise.
30526         * sysdeps/mips/dl-machine.: Likewise.
30527         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30528         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30529         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30530         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30531         * sysdeps/sh/dl-machine.h: Likewise.
30532         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30533         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30534         * sysdeps/tile/dl-machine.h: Likewise.
30535         * sysdeps/x86_64/dl-machine.h: Likewise.
30537         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30538         code.
30539         (verify_persistent_db): Likewise.
30541 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30544         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30546         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30548         Moved ...
30549         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30550         ... here.
30551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30552         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30554         Identical file removed.
30555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30558         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30562         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30564         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30566         Moved ...
30567         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30569         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30571         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30573         Moved ...
30574         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30576         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30578         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30580         Identical file removed.
30581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30582         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30584         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30586         Moved ...
30587         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30588         ... here.
30589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30590         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30592         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30594         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30596         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30598         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30600         Moved ...
30601         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30603         Moved ...
30604         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30606         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30608         Moved ...
30609         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30611         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30613         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30614         folded into ...
30615         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30616         * sysdeps/unix/sysv/linux/s390/Versions
30617         (libpthread: GLIBC_2.19): New version set.
30618         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30619         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30620         (librt: GLIBC_2.3.3): New version set.
30621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30622         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30623         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30625         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30627         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30629         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30631         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30633         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30635         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30636         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30637         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30639         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30640         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30641         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30643         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30644         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30649         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30651         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30657         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30659         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30665         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30667         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30668         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30669         (__libc_vfork): Define the function under this name.
30670         [!NOT_IN_libc] (__vfork): Make this an alias.
30671         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30673         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30674         (__libc_vfork): Define the function under this name.
30675         [!NOT_IN_libc] (__vfork): Make this an alias.
30676         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30677         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30678         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30681         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30683         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30684         code that was previously under [RESET_PID].
30685         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30686         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30689         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30690         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30692         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30693         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30694         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30695         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30696         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30697         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30698         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30699         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30700         Moved ...
30701         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30703         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30704         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30705         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30706         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30707         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30708         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30709         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30710         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30711         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30713         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30714         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30715         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30721         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30722         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30723         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30724         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30725         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30726         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30727         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30728         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30729         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30731 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30733         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30734         that was previously under [RESET_PID].
30735         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30737 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30739         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30740         not undefine and redefine.
30741         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30742         [O_CLOEXEC]: Make code unconditional.
30743         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30744         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30745         <kernel-features.h>.
30746         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30747         conditional variable definition.
30748         (shm_open) [O_CLOEXEC]: Make code unconditional.
30749         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30750         code.
30752         * configure.ac (USE_REGPARMS): Don't define here.
30753         * configure: Regenerated.
30754         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30755         * sysdeps/i386/configure: Regenerated.
30757         * nptl/createthread.c: Don't include kernel-features.h.
30758         * nptl/pthread_cancel.c: Likewise.
30759         * nptl/pthread_condattr_setclock.c: Likewise.
30760         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30761         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30762         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30763         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30764         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30765         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30766         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30769         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30770         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30771         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30772         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30773         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30774         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30775         * nscd/gai.c: Likewise.
30776         * nss/nss_db/db-open.c: Likewise.
30777         * sysdeps/generic/ldsodefs.h: Likewise.
30778         * sysdeps/sh/nptl/tls.h: Likewise.
30779         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30780         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30781         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30782         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30783         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30784         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30785         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30786         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30787         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30788         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30789         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30790         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30791         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30792         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30793         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30794         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30795         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30796         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30797         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30798         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30801         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30802         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30807         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30808         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30809         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30810         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30811         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30812         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30813         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30814         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30815         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30816         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30817         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30818         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30819         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30820         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30821         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30822         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30823         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30824         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30825         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30826         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30827         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30828         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30829         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30830         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30831         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30832         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30833         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30834         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30859         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30860         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30861         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30862         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30863         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30864         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30865         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30866         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30867         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30868         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30869         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30870         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30871         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30872         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30873         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30874         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30875         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30876         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30877         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30878         * sysdeps/unix/sysv/linux/system.c: Likewise.
30879         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30880         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30881         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30882         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30883         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30884         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30885         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30887         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30888         * configure: Regenerated.
30889         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30891         * configure.ac (base_machine): Do not set specially for particular
30892         machines here.
30893         * configure: Regenerated.
30894         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30895         settings from configure.ac.
30896         * sysdeps/i386/preconfigure: New file.
30897         * sysdeps/s390/preconfigure: Likewise.
30898         * sysdeps/sh/preconfigure: Likewise.
30899         * sysdeps/sparc/preconfigure: Likewise.
30901 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30903         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30904         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30905         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30906         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30907         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30908         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30909         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30910         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30911         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30912         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30913         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30914         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30915         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30916         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30917         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30920         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30921         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30923         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30924         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30925         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30926         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30927         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30928         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30929         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30930         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30931         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30932         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30933         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30934         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30935         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30936         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30937         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30938         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30939         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30940         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30941         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30942         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30944         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30946         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30948         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30953         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30954         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30956         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30958         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30959         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30960         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30963         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30965         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30967         Moved ...
30968         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30969         ... here.
30970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30971         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30973         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30975         Moved ...
30976         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30978         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30980         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30982         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30984         Moved ...
30985         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30987         Moved ...
30988         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30990         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30992         Moved ...
30993         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30995         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30999         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31001         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31003         Moved ...
31004         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31005         ... here.
31006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31007         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31009         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31011         Moved ...
31012         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31014         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31016         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31018         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31020         Moved ...
31021         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31023         Moved ...
31024         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31026         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31028         Moved ...
31029         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31031         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31033         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31035 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31037         * timezone/checktab.awk: Update from tzcode 2014e.
31038         * timezone/private.h: Likewise.
31039         * timezone/tzfile.h: Likewise.
31040         * timezone/zdump.c: Likewise.
31041         * timezone/zic.c: Likewise.
31043         * sysdeps/unix/sysv/linux/kernel-features.h
31044         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31045         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31046         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31047         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31048         Remove conditional code.
31050 2014-06-25  Will Newton  <will.newton@linaro.org>
31052         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31053         (_dl_arm_cap_flags): Add HWCAP2 values.
31054         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31055         (_DL_HWCAP_COUNT): Increase to 37.
31056         (_DL_HWCAP_LAST): New define.
31057         (_DL_HWCAP2_LAST): New define.
31058         (_dl_procinfo): Add support for printing
31059         AT_HWCAP2 entries.
31060         (_dl_string_hwcap): Use _dl_hwcap_string.
31062 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31066 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31068         * README: Do not mention ports directory.
31070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31071         Remove macro.
31072         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31073         <kernel-features.h>.
31074         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31075         conditional variable definition.
31076         (__futimes): Update comment.
31077         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31078         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31080         [BZ #16560]
31081         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31082         arguments close to 0.
31083         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31084         Likewise.
31085         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31086         Likewise.
31087         * math/auto-libm-test-in: Add more tests of exp10.
31088         * math/auto-libm-test-out: Regenerated.
31089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31091         * sysdeps/unix/sysv/linux/kernel-features.h
31092         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31093         * sysdeps/unix/sysv/linux/readv.c: Do not include
31094         <kernel-features.h>.
31095         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31096         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31097         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31098         unconditional.
31099         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31100         conditional code.
31101         * sysdeps/unix/sysv/linux/writev.c: Do not include
31102         <kernel-features.h>.
31103         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31104         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31105         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31106         unconditional.
31107         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31108         conditional code.
31110 2014-06-25  Will Newton  <will.newton@linaro.org>
31112         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31113         comment changes throughout the file.  Remove checks
31114         for HAVE_*_H definitions that are not required.
31115         (__gen_tempname): Call abort if an unknown kind value is
31116         passed.
31118 2014-06-25  Andreas Schwab  <schwab@suse.de>
31120         [BZ #17086]
31121         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31122         scalbln, scalblnf, scalblnl in libc.
31124 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31126         [BZ #17086]
31127         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31128         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31129         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31131 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31133         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31134         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31135         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31136         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31137         Update #include.
31138         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31139         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31140         Update #include.
31141         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31142         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31143         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31144         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31145         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31146         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31147         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31148         * sysdeps/x86/bits/semaphore.h: ... here.
31149         * sysdeps/x86/nptl/elide.h: Moved ...
31150         * sysdeps/x86/elide.h: ... here.
31151         * sysdeps/x86_64/nptl/Implies: File removed.
31152         * sysdeps/i386/nptl/Implies: File removed.
31154 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31156         [BZ #16539]
31157         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31158         return the argument for normal arguments with exponent below -64.
31159         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31160         Likewise.
31161         * math/auto-libm-test-in: Add another test of expm1.
31162         * math/auto-libm-test-out: Regenerated.
31164         [BZ #16287]
31165         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31166         calling __erfcl for arguments at least 16.
31167         * math/auto-libm-test-in: Add more tests of erf.
31168         * math/auto-libm-test-out: Regenerated.
31170         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31171         individual architectures.
31172         * sysdeps/unix/sysv/linux/configure: Regenerated.
31173         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31174         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31175         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31176         (ldd_rewrite_script): Define variable.
31177         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31179         file.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31181         generated file.
31182         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31183         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31184         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31185         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31186         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31187         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31188         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31189         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31191 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31193         [BZ #17084]
31194         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31195         Rename member __data.d to __data.__elision_data.
31197 2014-06-24  Wilco  <wdijkstr@arm.com>
31199         * NEWS: Add 16918 to fixed bug list.
31201 2014-06-24  Wilco  <wdijkstr@arm.com>
31203         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31205 2014-06-24  Wilco  <wdijkstr@arm.com>
31207         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31208         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31209         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31210         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31211         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31212         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31213         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31214         Use _FPU_MASK_RM.
31216 2014-06-24  Wilco  <wdijkstr@arm.com>
31218         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31220 2014-06-24  Wilco  <wdijkstr@arm.com>
31222         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31223         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31224         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31225         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31227 2014-06-24  Wilco  <wdijkstr@arm.com>
31229         [BZ #16918]
31230         * sysdeps/arm/feupdateenv.c (feupdateenv):
31231         Rewrite to reduce FPSCR accesses and fix return value.
31233 2014-06-24  Wilco  <wdijkstr@arm.com>
31235         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31236         Optimize to avoid unnecessary FPSCR writes.
31237         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31238         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31239         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31240         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31242 2014-06-24  Wilco  <wdijkstr@arm.com>
31244         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31245         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31246         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31247         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31248         Call libc_fetestexcept_vfp.
31249         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31250         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31251         __SOFTFP__ ifdef so that they can be built for softfp.
31253 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31255         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31256         argument type signed char.
31258         * Makerules (check-abi): Dump diff of symlist if the test
31259         fails.
31261 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31263         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31264         using abort.
31266         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31267         Remove unused variable ST.
31269 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31271         [BZ #16354]
31272         [BZ #17061]
31273         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31274         small arguments before calling __expm1.
31275         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31276         small arguments before calling __expm1f.
31277         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31278         small arguments before calling __expm1l.
31279         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31280         Likewise.
31281         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31282         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31283         spurious underflow for some cosh tests.
31284         * math/auto-libm-test-out: Regenerated.
31285         * sysdeps/i386/fpu/libm-test-ulps: Update.
31287         [BZ #17050]
31288         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31289         (__ieee754_y1): Set errno if return value overflows.
31290         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31291         (__ieee754_y1f): Set errno if return value overflows.
31292         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31293         (__ieee754_y1l): Set errno if return value overflows.
31294         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31295         (__ieee754_y1l): Set errno if return value overflows.
31296         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31297         * math/auto-libm-test-out: Regenerated.
31299         * math/gen-auto-libm-tests.c: Document use of
31300         ignore-zero-inf-sign.
31301         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31302         (input_flags): Add ignore-zero-inf-sign.
31303         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31304         * math/gen-libm-test.pl (generate_testfile): Handle
31305         ignore-zero-inf-sign.
31306         * math/auto-libm-test-in: Mark some cpow tests with
31307         ignore-zero-inf-sign and some with xfail-rounding.
31308         * math/auto-libm-test-out: Regenerated.
31309         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31310         * sysdeps/i386/fpu/libm-test-ulps: Update.
31311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313         [BZ #16315]
31314         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31315         overflowing or underflowing operations take place with sign of
31316         result.
31317         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31318         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31319         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31320         (__ieee754_pow): Recompute overflowing and underflowing results in
31321         original rounding mode.
31322         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31323         (__powl_helper): Allow negative argument X and scale negated value
31324         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31325         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31326         overflowing or underflowing operations take place with sign of
31327         result.
31328         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31329         Include <math.h>.
31330         * math/auto-libm-test-in: Add more tests of pow.
31331         * math/auto-libm-test-out: Regenerated.
31332         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31333         (pow_tonearest_test_data): Remove.
31334         (pow_test_tonearest): Likewise.
31335         (pow_towardzero_test_data): Likewise.
31336         (pow_test_towardzero): Likewise.
31337         (pow_downward_test_data): Likewise.
31338         (pow_test_downward): Likewise.
31339         (pow_upward_test_data): Likewise.
31340         (pow_test_upward): Likewise.
31341         (main): Don't call removed functions.
31342         * sysdeps/i386/fpu/libm-test-ulps: Update.
31343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31345 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31348         Moved ...
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31351         Moved ...
31352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31354         Moved ...
31355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31357         Moved ...
31358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31360         File removed.
31361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31362         File removed.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31364         File removed.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31366         File removed.
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31368         File removed.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31370         File removed.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31372         File removed.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31374         File removed.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31376         File removed.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31378         File removed.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31380         File removed.
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31382         File removed.
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31384         Moved ...
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31387         Moved ...
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31389         ... here.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31391         Moved ...
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31394         Moved ...
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31397         Moved ...
31398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31400         Moved ...
31401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31403         Moved ...
31404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31409         Moved ...
31410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31413         ... here.
31414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31415         Moved ...
31416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31420         ... here.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31422         Moved ...
31423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31424         ... here.
31425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31426         Moved ...
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31428         ... here.
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31433         Moved ...
31434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31438         Moved ...
31439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31440         ... here.
31441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31442         Moved ...
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31444         ... here.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31446         Moved ...
31447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31449         Moved ...
31450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31452         Moved ...
31453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31455         Moved ...
31456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31460         ... here.
31461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31462         Moved ...
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31465         Moved ...
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31468         Moved ...
31469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31471         Moved ...
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31476         Moved ...
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31479         Moved ...
31480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31482         Moved ...
31483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31484         ... here.
31485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31486         Moved ...
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31488         ... here.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31490         Moved ...
31491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31492         ... here.
31493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31494         Moved ...
31495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31497         Moved ...
31498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31500         Moved ...
31501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31503         Moved ...
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31505         ... here.
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31507         Moved ...
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31509         ... here.
31510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31511         Moved ...
31512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31513         ... here.
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31515         Moved ...
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31518         Moved ...
31519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31521 2014-06-23  Will Newton  <will.newton@linaro.org>
31522             Wilco  <wdijkstr@arm.com>
31524         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31525         implementation.  Include get-rounding-mode.h.
31526         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31527         [!libc_feholdsetround_noex_ctx]: Define
31528         libc_feholdsetround_noex_ctx.
31529         [!libc_feholdsetround_noexf_ctx]: Define
31530         libc_feholdsetround_noexf_ctx.
31531         [!libc_feholdsetround_noexl_ctx]: Define
31532         libc_feholdsetround_noexl_ctx.
31533         (libc_feholdsetround_ctx): New function.
31534         (libc_feresetround_ctx): New function.
31535         (libc_feholdsetround_noex_ctx): New function.
31536         (libc_feresetround_noex_ctx): New function.
31538 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31540         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31541         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31542         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31543         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31544         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31545         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31547         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31548         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31549         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31550         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31551         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31552         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31554         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31556         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31558         Moved ...
31559         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31560         ... here.
31561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31562         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31564         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31566         Moved ...
31567         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31575         Moved ...
31576         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31578         Moved ...
31579         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31581         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31583         Moved ...
31584         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31586         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31587         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31588         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31589         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31590         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31592         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31593         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31594         Moved ...
31595         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31596         ... here.
31597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31598         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31600         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31602         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31606         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31608         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31610         Moved ...
31611         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31613         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31615         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31617         Moved ...
31618         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31620         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31621         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31622         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31624         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31625         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31626         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31627         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31628         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31629         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31630         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31631         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31633         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31634         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31635         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31636         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31637         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31638         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31639         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31640         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31641         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31642         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31643         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31644         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31645         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31646         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31647         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31648         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31649         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31650         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31651         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31653 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31656         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31657         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31658         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31659         (IPV6_PMTUDISC_INTERFACE): Likewise.
31660         (IPV6_PMTUDISC_OMIT): Likewise.
31662 2014-06-23  Andreas Schwab  <schwab@suse.de>
31664         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31665         Remove unused errout label.
31667 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31669         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31670         macro: hardware supports Vector Crypto instructions.
31672 2014-06-23  Will Newton  <will.newton@linaro.org>
31674         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31675         rather than __builtin_expect.
31677         * elf/dl-lookup.c (undefined_msg): Remove variable.
31678         (_dl_lookup_symbol_x): Replace undefined_msg with string
31679         literal.
31681         * elf/dl-lookup.c (do_lookup_unique): New function.
31682         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31683         to a separate function.
31685 2014-06-23  Andreas Schwab  <schwab@suse.de>
31687         [BZ #17079]
31688         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31689         before reading the next line.
31691 2014-06-23  Will Newton  <will.newton@linaro.org>
31693         * test-skeleton.c (signal_handler): Use printf and %m
31694         rather than perror.  Use printf rather than fprintf to
31695         stderr.  Use puts rather than fputs to stderr.
31696         (main): Likewise.
31698 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31700         * nscd/nscd.c (thread_info_t): Remove typedef.
31701         (thread_info): Remove variable.
31703 2014-06-21  Allan McRae  <allan@archlinux.org>
31705         * NEWS: Mention CVE-2014-4043.
31707 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31709         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31710         * nptl/smp.h: ... here.
31712         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31714         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31715         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31716         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31717         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31719         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31720         * nptl/stack-aliasing.h: New file.
31721         * sysdeps/i386/i686/stack-aliasing.h: New file.
31722         * sysdeps/i386/i686/nptl/Makefile: File removed.
31723         * sysdeps/x86_64/stack-aliasing.h: New file.
31724         * sysdeps/x86_64/nptl/Makefile
31725         (CFLAGS-pthread_create.c): Variable removed.
31727         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31728         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31729         old file.
31730         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31731         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31732         old file.
31734 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31737         (__ASSUME_SIGFRAME_V2): Remove macro.
31738         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31739         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31740         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31741         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31742         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31743         Declare as function.  Remove conditional macro definitions.
31744         (__default_rt_sa_restorer): Likewise.
31745         (__default_sa_restorer_v1): Remove declaration.
31746         (__default_sa_restorer_v2): Likewise.
31747         (__default_rt_sa_restorer_v1): Likewise.
31748         (__default_rt_sa_restorer_v2): Likewise.
31749         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31750         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31751         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31753 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31755         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31756         (libpthread-routines): Add sysdep.
31757         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31758         * sysdeps/unix/sysv/linux/sparc/Versions
31759         (libpthread: GLIBC_2.3.3): New version set.
31760         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31761         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31762         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31763         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31764         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31765         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31766         Moved ...
31767         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31769         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31770         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31771         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31772         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31773         * sysdeps/sparc/nptl/sem_init.c: ... here.
31774         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31775         * sysdeps/sparc/nptl/sem_post.c: ... here.
31776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31777         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31779         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31780         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31781         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31782         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31783         (libpthread-routines): Add cpu_relax.
31784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31785         File removed.
31786         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31787         (librt: GLIBC_2.3.3): New version set.
31788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31789         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31790         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31791         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31794         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31796         Moved ...
31797         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31799         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31801         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31803         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31805         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31807         Moved ...
31808         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31809         Update #include.
31810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31811         Moved ...
31812         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31813         Update #include.
31814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31815         Moved ...
31816         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31817         Update #include.
31818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31819         Moved ...
31820         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31821         Update #include.
31822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31823         Moved ...
31824         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31825         Update #include.
31826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31827         Moved ...
31828         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31829         Update #include.
31830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31831         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31839         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31841         Moved ...
31842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31844         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31846         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31848 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31850         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31851         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31852         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31853         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31854         * nscd/nscd.c: Likewise.
31855         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31856         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31857         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31858         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31860         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31861         <kernel-features.h>.
31862         (init_mq_netlink): Remove conditional have_sock_cloexec
31863         definitions.  Remove code conditional on have_sock_cloexec < 0.
31864         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31865         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31866         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31867         <kernel-features.h>.
31868         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31869         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31871 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31874         Add tests for memset_chk and memset.
31876         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31877         with AVX2_Usable.
31879 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31881         [BZ #16046]
31882         * elf/tst-dl-iter-static.c: New file.
31883         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31885         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31886         error.
31888 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31890         * sysdeps/unix/sysv/linux/kernel-features.h
31891         (__ASSUME_F_GETOWN_EX): Remove macro.
31892         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31893         <kernel-features.h>.
31894         (miss_F_GETOWN_EX): Remove variable or macro.
31895         (do_fcntl): Do not check miss_F_GETOWN_EX.
31896         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31898         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31899         Remove macro.
31900         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31901         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31902         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31904         * sysdeps/unix/sysv/linux/kernel-features.h
31905         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31906         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31907         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31908         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31910 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31912         [BZ #17075]
31913         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31914         Fix calculation of the symbol's value.
31915         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31916         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31917         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31918         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31919         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31920         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31921         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31922         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31923         (modules-names): Add `tst-armtlsdescmod',
31924         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31925         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31926         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31927         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31928         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31929         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31930         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31931         ($(objpfx)tst-armtlsdescloc): New dependency.
31932         ($(objpfx)tst-armtlsdescextnow): Likewise.
31933         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31934         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31935         TLS scheme support.
31936         * sysdeps/arm/configure: Regenerate.
31938 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31940         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31941         (__atfct_seterrno_2): Likewise.
31942         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31943         <kernel-features.h>.
31944         (__ASSUME_ATFCTS): Do not undefine and redefine.
31945         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31946         (__have_atfcts): Remove conditional definition.
31947         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31948         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31949         unreachable if [__ASSUME_ATFCTS].
31950         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31951         not undefine and redefine.
31952         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31953         <kernel-features.h>.
31954         (faccessat) [__NR_faccessat]: Make code unconditional.
31955         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31956         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31957         <kernel-features.h>.
31958         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31959         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31960         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31961         <kernel-features.h>.
31962         (fchownat) [__NR_fchownat]: Make code unconditional.
31963         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31964         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31965         <kernel-features.h>.
31966         (futimesat) [__NR_futimesat]: Make code unconditional.
31967         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31968         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31969         <kernel-features.h>.
31970         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31971         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31972         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31973         <kernel-features.h>.
31974         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31975         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31976         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31977         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31978         <kernel-features.h>.
31979         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31980         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31981         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31982         <kernel-features.h>.
31983         (linkat) [__NR_linkat]: Make code unconditional.
31984         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31985         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31986         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31987         <kernel-features.h>.
31988         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31989         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31990         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31991         <kernel-features.h>.
31992         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31993         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31994         * sysdeps/unix/sysv/linux/openat.c: Do not include
31995         <kernel-features.h>.
31996         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31997         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31998         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31999         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32000         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32001         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32002         <kernel-features.h>.
32003         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32004         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32005         result of INLINE_SYSCALL directly, not via int variable.
32006         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32007         <kernel-features.h>.
32008         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32009         (renameat) [__NR_renameat]: Make code unconditional.
32010         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32011         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32012         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32013         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32014         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32015         (__ASSUME_ATFCTS): Do not undefine and redefine.
32016         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32017         <kernel-features.h>.
32018         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32019         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32020         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32021         <kernel-features.h>.
32022         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32023         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32024         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32025         (__ASSUME_ATFCTS): Do not undefine and redefine.
32026         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32027         <kernel-features.h>.
32028         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32029         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32030         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32031         <kernel-features.h>.
32032         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32033         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32035 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32037         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32039 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32041         [BZ #17069]
32042         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32043         constructed tree before returning error.
32044         * posix/bug-regexp36.c: Expand test case.
32046 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32048         [BZ #6803]
32049         * math/libm-test.inc (scalbln_test_date):
32050         Add errno expectations.
32051         * math/w_scalblnf.c: New File.
32052         Add wrapper which checks for setting errno to ERANGE.
32053         Add weak_alias for corresponding scalbln function.
32054         * math/w_scalbln.c: Likewise.
32055         * math/w_scalblnl.c: Likewise.
32056         * math/Makefile (libm-calls): Add w_scalbln.
32057         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32058         Remove weak_alias for corresponding scalbln function.
32059         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32060         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32063         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32064         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32065         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32066         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32067         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32068         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32069         Remove long_double_symbol for scalblnl function in libm, libc.
32070         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32071         Add wrapper which checks for setting errno to ERANGE.
32072         Add long_double_symbol for scalblnl function in libm, libc.
32073         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32074         Remove long_double_symbol for scalblnl in libm.
32075         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32076         Add wrapper which checks for setting errno to ERANGE.
32077         Add long_double_symbol for scalblnl function in libm.
32078         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32079         Do not use wrapper because of own implementation.
32081 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32083         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32084         3 bytes for __pad1 for x32.
32085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32087 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32088             H.J. Lu  <hongjiu.lu@intel.com>
32090         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32091         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32092         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32093         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32094         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32096 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32098         [BZ #17069]
32099         * posix/regcomp.c (parse_expression): Deallocate partially
32100         constructed tree before returning error.
32101         * posix/Makefile.c (tests): Add bug-regex36.
32102         (generated): Add bug-regex36.mtrace.
32103         (tests-special): Add $(objpfx)bug-regex36-mem.out
32104         (bug-regex36-ENV): New variable.
32105         ($(objpfx)bug-regex36-mem.out): New rule.
32106         * posix/bug-regex36.c: New file.
32108 2014-06-19  Will Newton  <will.newton@linaro.org>
32110         * malloc/malloc.c (systrim): If extra is zero then return
32111         early.
32113 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32115         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32117 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32119         * sysdeps/aarch64/strchr.S: New file.
32121 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32123         [BZ #17022]
32124         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32125         from arguments -2 or below.
32126         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32127         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32129 2014-06-18  Andreas Schwab  <schwab@suse.de>
32131         [BZ #17062]
32132         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32133         of a bracket expr not to run off the end of the string.
32134         * posix/Makefile (tests): Add tst-fnmatch3.
32135         * posix/tst-fnmatch3.c: New file.
32137 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32139         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32140         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32141         [$(cross-compiling) = no]: Likewise.
32142         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32143         [$(cross-compiling) = no]: Likewise.
32145 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32147         [BZ #17031]
32148         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32149         double, adjusted for any remainder from the high double.
32150         * math/libm-test.inc (nearbyint): Add tests.
32151         (rint): Likewise.
32153 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32155         * nptl/sysdeps/powerpc/Makefile: Moved ...
32156         * sysdeps/powerpc/nptl/Makefile: ... here.
32157         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32158         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32159         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32160         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32161         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32162         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32163         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32164         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32165         * nptl/sysdeps/powerpc/tls.h: Moved ...
32166         * sysdeps/powerpc/nptl/tls.h: ... here.
32168 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32170         [BZ #16681]
32171         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32172         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32173         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32174         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32175         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32176         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32177         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32178         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32179         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32181 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32183         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32185 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32187         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32188         defined operator.
32190         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32191         $TIMEOUTFACTOR.
32193 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32195         [BZ #17058]
32196         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32197         non-executed part of the test.
32199 2014-06-16  Andreas Schwab  <schwab@suse.de>
32201         * string/bits/string2.h (strdup, strndup): Update feature guard.
32203 2014-06-14  David S. Miller  <davem@davemloft.net>
32205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32207 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32209         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32210         that was previously under [RESET_PID].
32211         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32213         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32214         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32215         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32216         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32217         (__libc_vfork): New strong alias.
32218         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32220 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32222         * sysdeps/generic/elide.h: New file.
32224 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32226         * Makefile (installed-headers): Adjust path of pthread.h header.
32228 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32230         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32231         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32232         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32233         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32235         * nptl/sysdeps/s390/Makefile: Moved ...
32236         * sysdeps/s390/nptl/Makefile: ... here.
32237         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32238         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32239         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32240         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32241         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32242         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32243         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32244         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32245         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32246         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32247         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32248         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32249         * nptl/sysdeps/s390/tls.h: Moved ...
32250         * sysdeps/s390/nptl/tls.h: ... here.
32252         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32253         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32255 2014-06-13  David S. Miller  <davem@davemloft.net>
32257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32260         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32264         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32265         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32266         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32267         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32268         Remove RESET_PID cpp guards.
32269         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32270         Remove RESET_PID cpp guards.
32271         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32273 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32275         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32276         __sp to uintptr_t.
32278 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32281         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32286         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32288         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32290         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32296         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32297         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32301         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32302         (pthread_rwlock_rdlock): Add elision.
32303         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32304         (pthread_rwlock_wrlock): Add elision.
32305         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32306         (pthread_rwlock_trywrlock): Add elision.
32307         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32308         (pthread_rwlock_tryrdlock): Add elision.
32309         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32310         (pthread_rwlock_tryrdlock): Add elision unlock.
32311         * nptl/sysdeps/pthread/pthread.h:
32312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32313         (PTHREAD_RWLOCK_INITIALIZER,
32314         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32315         Handle new elision field.
32316         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32317         * sysdeps/arm/nptl/bits/pthreadtypes.h
32318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32319         * sysdeps/sh/nptl/bits/pthreadtypes.h
32320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32321         * sysdeps/tile/nptl/bits/pthreadtypes.h
32322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32323         * sysdeps/a/nptl/bits/pthreadtypes.h
32324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32325         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32327         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32329         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32331         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32333         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32335         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32337         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32339         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32341         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32342         (elision_init): Set try_xbegin to zero when no RTM.
32343         * sysdeps/x86/nptl/bits/pthreadtypes.h
32344         (pthread_rwlock_t): Change __pad1 to __rwelision.
32345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32347 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32349         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32350         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32351         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32352         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32354 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32356         [BZ #16996]
32357         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32358         that the cached result has been set before returning it.
32360 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32362         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32363         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32365         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32367         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32369         * nptl/sysdeps/sparc/Makefile: Moved ...
32370         * sysdeps/sparc/nptl/Makefile: ... here.
32371         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32372         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32373         * nptl/sysdeps/sparc/tls.h: Moved ...
32374         * sysdeps/sparc/nptl/tls.h: ... here.
32375         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32376         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32377         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32378         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32379         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32380         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32381         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32382         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32383         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32384         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32385         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32386         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32387         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32388         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32389         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32390         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32391         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32392         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32393         Update #include.
32394         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32395         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32396         Update #include.
32397         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32399         Update #include.
32400         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32402         Update #include.
32404         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32406         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32407         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32409         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32410         (struct list_links): Type removed.
32411         (struct thread_node, struct timer_node): Replace struct list_links
32412         with struct list_head.
32413         (list_unlink_ip): Likewise.
32414         * sysdeps/pthread/timer_routines.c
32415         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32416         (list_append, list_insbefore): Likewise.
32417         (list_init): Function removed.
32418         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32419         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32420         * sysdeps/pthread/Makefile: ... here, new file.
32422         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32423         * sysdeps/nptl/Implies: ... here.
32424         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32425         * nptl/sysdeps/pthread/list.h: Moved ...
32426         * include/list.h: ... here.
32427         * nptl/sysdeps/pthread/createthread.c: Moved ...
32428         * nptl/createthread.c: ... here.
32429         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32430         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32431         * nptl/pt-longjmp.c: ... here.
32432         * nptl/sysdeps/pthread/Makefile: Moved ...
32433         * sysdeps/nptl/Makefile: ... here.
32434         * nptl/sysdeps/pthread/Subdirs: Moved ...
32435         * sysdeps/nptl/Subdirs: ... here.
32436         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32437         * sysdeps/nptl/aio_misc.h: ... here.
32438         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32439         * sysdeps/nptl/bits/libc-lock.h: ... here.
32440         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32441         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32442         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32443         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32444         * nptl/sysdeps/pthread/configure: Moved ...
32445         * sysdeps/nptl/configure: ... here.
32446         * nptl/sysdeps/pthread/configure.ac: Moved ...
32447         * sysdeps/nptl/configure.ac: ... here.
32448         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32449         * sysdeps/nptl/gai_misc.h: ... here.
32450         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32451         * sysdeps/nptl/librt-cancellation.c: ... here.
32452         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32453         * sysdeps/nptl/malloc-machine.h: ... here.
32454         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32455         * sysdeps/nptl/pthread-functions.h: ... here.
32456         * nptl/sysdeps/pthread/pthread.h: Moved ...
32457         * sysdeps/nptl/pthread.h: ... here.
32458         * nptl/sysdeps/pthread/setxid.h: Moved ...
32459         * sysdeps/nptl/setxid.h: ... here.
32460         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32461         * sysdeps/nptl/sigfillset.c: ... here.
32462         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32463         * sysdeps/nptl/tcb-offsets.h: ... here.
32464         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32465         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32466         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32467         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32468         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32469         * sysdeps/pthread/allocalim.h: ... here.
32470         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32471         * sysdeps/pthread/bits/sigthread.h: ... here.
32472         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32473         * sysdeps/pthread/flockfile.c: ... here.
32474         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32475         * sysdeps/pthread/ftrylockfile.c: ... here.
32476         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32477         * sysdeps/pthread/funlockfile.c: ... here.
32478         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32479         * sysdeps/pthread/posix-timer.h: ... here.
32480         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32481         * sysdeps/pthread/timer_create.c: ... here.
32482         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32483         * sysdeps/pthread/timer_delete.c: ... here.
32484         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32485         * sysdeps/pthread/timer_getoverr.c: ... here.
32486         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32487         * sysdeps/pthread/timer_gettime.c: ... here.
32488         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32489         * sysdeps/pthread/timer_routines.c: ... here.
32490         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32491         * sysdeps/pthread/timer_settime.c: ... here.
32492         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32493         * sysdeps/pthread/tst-timer.c: ... here.
32494         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32495         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32497         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32498         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32500         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32501         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32502         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32503         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32504         Update #include target.
32505         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32506         * sysdeps/i386/i686/nptl/Makefile: ... here.
32507         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32508         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32509         Update #include target.
32510         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32511         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32512         * nptl/sysdeps/i386/Makefile: Moved ...
32513         * sysdeps/i386/nptl/Makefile: ... here.
32514         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32515         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32516         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32517         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32518         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32519         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32520         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32521         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32522         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32523         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32524         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32525         * nptl/sysdeps/i386/tls.h: Moved ...
32526         * sysdeps/i386/nptl/tls.h: ... here.
32528         * sysdeps/sh/Makefile [$(subdir) = csu]
32529         (gen-as-const-headers): Add tcb-offsets.sym.
32530         * nptl/sysdeps/sh/Makefile: File removed.
32531         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32532         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32533         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32534         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32535         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32536         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32537         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32538         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32539         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32540         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32541         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32542         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32543         * nptl/sysdeps/sh/tls.h: Moved ...
32544         * sysdeps/sh/nptl/tls.h: ... here.
32545         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32546         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32547         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32548         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32549         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32550         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32552         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32553         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32554         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32555         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32556         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32558         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32560         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32562         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32564         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32566         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32568         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32570         Moved ...
32571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32573         Moved ...
32574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32577         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32578         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32579         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32580         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32581         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32582         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32583         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32584         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32585         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32586         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32587         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32588         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32589         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32590         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32591         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32592         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32594 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32596         * posix/spawn_faction_addopen.c: Include string.h.
32598 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32600         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32601         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32602         * nptl/sysdeps/x86_64/Makefile: Moved ...
32603         * sysdeps/x86_64/nptl/Makefile: ... here.
32604         * nptl/sysdeps/x86_64/configure: Moved ...
32605         * sysdeps/x86_64/nptl/configure: ... here.
32606         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32607         * sysdeps/x86_64/nptl/configure.ac: ... here.
32608         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32609         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32610         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32611         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32612         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32613         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32614         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32615         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32616         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32617         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32618         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32619         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32620         * nptl/sysdeps/x86_64/tls.h: Moved ...
32621         * sysdeps/x86_64/nptl/tls.h: ... here.
32622         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32623         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32624         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32625         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32627         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32629 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32633 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32635         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32636         type.
32637         [POSIX] (off_t): Likewise.
32638         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32639         [POSIX] (S_ISBLK): Require macro.
32640         [POSIX] (S_ISCHR): Likewise.
32641         [POSIX] (S_ISDIR): Likewise.
32642         [POSIX] (S_ISFIFO): Likewise.
32643         [POSIX] (S_ISREG): Likewise.
32644         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32645         optional-macro.
32646         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32647         type.
32648         [POSIX] (time_t): Likewise.
32649         [POSIX] (timer_t): Likewise.
32651 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32653         [BZ #17048]
32654         * posix/spawn_int.h (struct __spawn_action): Make the path string
32655         non-const to support deallocation.
32656         * posix/spawn_faction_addopen.c
32657         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32658         * posix/spawn_faction_destroy.c
32659         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32660         path in all spawn_do_open actions.
32661         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32662         posix_spawn_file_actions_addopen.
32664 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32666         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32667         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32668         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32669         conditional code always true.
32670         (__libc_vfork): New alias.
32672 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32674         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32675         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32677         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32679         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32680         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32682         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32683         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32685         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32686         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32688 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32690         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32691         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32692         multiarch strcmp for PPC64.
32693         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32694         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32696         multiarch optimizations.
32697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32698         (__libc_ifunc_impl_list): Likewise.
32700 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32702         * benchtests/scripts/validate_benchout.py: New script.
32703         * benchtests/Makefile (bench-func): Call it.
32704         * benchtests/scripts/benchout.schema.json: New file.
32706 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32708         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32709         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32710         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32711         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32712         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32713         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32714         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32715         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32716         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32717         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32718         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32719         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32720         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32721         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32722         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32723         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32725         Moved ...
32726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32727         ... here.
32728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32729         Moved ...
32730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32732         Moved ...
32733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32734         ... here.
32735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32736         Moved ...
32737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32738         ... here.
32739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32740         Moved ...
32741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32743         Moved ...
32744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32745         ... here.
32746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32747         Moved ...
32748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32749         ... here.
32750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32751         Moved ...
32752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32754         Moved ...
32755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32756         ... here.
32757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32758         Moved ...
32759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32760         ... here.
32761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32762         Moved ...
32763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32764         ... here.
32765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32766         Moved ...
32767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32769         Moved ...
32770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32771         ... here.
32772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32773         Moved ...
32774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32775         ... here.
32776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32777         Moved ...
32778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32779         ... here.
32780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32784         Moved ...
32785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32786         ... here.
32787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32788         Moved ...
32789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32790         ... here.
32791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32792         Moved ...
32793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32795         Moved ...
32796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32797         ... here.
32798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32802         Moved ...
32803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32805         Moved ...
32806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32807         ... here.
32808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32809         Moved ...
32810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32811         ... here.
32812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32813         Moved ...
32814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32815         ... here.
32816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32817         Moved ...
32818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32820         Moved ...
32821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32822         ... here.
32823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32824         Moved ...
32825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32826         ... here.
32827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32828         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32830         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32832         Moved ...
32833         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32834         ... here.
32835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32836         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32838         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32840         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32842         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32844         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32846         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32848         Moved ...
32849         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32851         Moved ...
32852         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32854         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32856         Moved ...
32857         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32859         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32860         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32861         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32862         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32863         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32865 2014-06-10  Wilco  <wdijkstr@arm.com>
32867         * math/test-fenv-return.c: New file.
32868         * math/Makefile: Add new test test-fenv-return.
32870 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32872         [BZ #17042]
32873         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32874         when x - 1 is zero.
32875         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32876         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32877         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32878         0.0L for an argument of 1.0L.
32879         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32880         Likewise.
32881         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32882         value when x - 1 is zero.
32883         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32884         * sysdeps/i386/fpu/libm-test-ulps: Update.
32885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32887 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32889         [BZ #15119]
32890         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32892 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32894         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32895         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32897 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32899         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32900         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32902         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32903         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32905         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32906         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32908         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32909         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32911         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32912         if not already defined.
32913         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32914         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32915         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32916         (TLS_INIT_TP): Use it.
32917         (TLS_DEFINE_INIT_TP): New macro.
32918         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32920 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32922         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32923         constant.
32924         [POSIX] (IXANY): Likewise.
32925         [POSIX] (OLCUC): Likewise.
32926         [POSIX || POSIX2008] (CBAUD): Do not allow.
32927         [POSIX || POSIX2008] (DEFECHO): Likewise.
32928         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32929         [POSIX || POSIX2008] (ECHOKE): Likewise.
32930         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32931         [POSIX || POSIX2008] (EXTA): Likewise.
32932         [POSIX || POSIX2008] (EXTB): Likewise.
32933         [POSIX || POSIX2008] (FLUSHO): Likewise.
32934         [POSIX || POSIX2008] (LOBLK): Likewise.
32935         [POSIX || POSIX2008] (PENDIN): Likewise.
32936         [POSIX || POSIX2008] (SWTCH): Likewise.
32937         [POSIX || POSIX2008] (VDISCARD): Likewise.
32938         [POSIX || POSIX2008] (VDSUSP): Likewise.
32939         [POSIX || POSIX2008] (VLNEXT): Likewise.
32940         [POSIX || POSIX2008] (VREPRINT): Likewise.
32941         [POSIX || POSIX2008] (VSTATUS): Likewise.
32942         [POSIX || POSIX2008] (VWERASE): Likewise.
32943         (B*): Change to B[0123456789]*.
32944         * conform/data/time.h-data [POSIX || UNIX98]
32945         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32946         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32947         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32948         [POSIX] (tm_*): Do not allow.
32950 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32952         * Makefile (install): Don't set LANGUAGE.
32953         * Makefile.in (install): Likewise.
32954         * assert/Makefile (test-assert-ENV): Remove variable.
32955         (test-assert-perr-ENV): Likewise.
32956         * elf/Makefile (neededtest4-ENV): Likewise.
32957         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32958         [$(cross-compiling) = no]: Don't set LANGUAGE.
32959         * io/ftwtest-sh (LANG): Remove variable.
32960         * libio/Makefile (tst-widetext-ENV): Likewise.
32961         * manual/install.texi (Running make install): Don't refer to
32962         environment settings for make install.
32963         * INSTALL: Regenerated.
32964         * nptl/tst-tls6.sh: Don't set LANG.
32965         * posix/globtest.sh (LANG): Remove variable.
32966         * string/Makefile (tester-ENV): Likewise.
32967         (inl-tester-ENV): Likewise.
32968         (noinl-tester-ENV): Likewise.
32969         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32970         [$(cross-compiling) = no]: Don't set LANGUAGE.
32971         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32972         without explicit environment settings.
32974 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32976         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32977         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32978         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32979         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32981 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32983         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32984         other files in the crypt directory.
32985         * crypt/crypt.c: Remove duplicate includes.
32986         * crypt/crypt-entry.c: Likewise.
32987         * crypt/crypt_util.c: Likewise.
32989 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32991         * Makeconfig (run-program-env): New variable.
32992         (run-program-prefix-before-env): Likewise.
32993         (run-program-prefix-after-env): Likewise.
32994         (run-program-prefix): Define in terms of new variables.
32995         (built-program-cmd-before-env): New variable.
32996         (built-program-cmd-after-env): Likewise.
32997         (built-program-cmd): Define in terms of new variables.
32998         (test-program-prefix-before-env): New variable.
32999         (test-program-prefix-after-env): Likewise.
33000         (test-program-prefix): Define in terms of new variables.
33001         (test-program-cmd-before-env): New variable.
33002         (test-program-cmd-after-env): Likewise.
33003         (test-program-cmd): Define in terms of new variables.
33004         * Rules (make-test-out): Use $(run-program-env).
33005         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33006         (help): Do not mention environment variables.  Mention
33007         --timeoutfactor option.
33008         (timeoutfactor): New variable.
33009         (blacklist_exports): Remove function.
33010         (exports): Remove variable.
33011         (command): Do not include ${exports}.
33012         * manual/install.texi (Configuring and compiling): Do not mention
33013         test wrappers preserving environment variables.  Mention that last
33014         assignment to a variable must take precedence.
33015         * INSTALL: Regenerated.
33016         * benchtests/Makefile (run-bench): Use $(run-program-env).
33017         * catgets/Makefile ($(objpfx)test1.cat): Use
33018         $(built-program-cmd-before-env), $(run-program-env) and
33019         $(built-program-cmd-after-env).
33020         ($(objpfx)test2.cat): Do not specify environment variables
33021         explicitly.
33022         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33023         $(run-program-env) and $(built-program-cmd-after-env).
33024         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33025         $(run-program-env) and $(test-program-cmd-after-env).
33026         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33027         explicitly.
33028         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33029         run_program_env and test_program_cmd_after_env arguments.
33030         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33031         * elf/tst-pathopt.sh: Use run_program_env argument.
33032         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33033         $(test-wrapper-env) and $(run-program-env).
33034         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33035         run_program_env arguments.
33036         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33037         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33038         $(test-program-prefix-before-env), $(run-program-env) and
33039         $(test-program-prefix-after-env).
33040         ($(objpfx)tst-gettext2.out): Likewise.
33041         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33042         run_program_env and test_program_prefix_after_env arguments.
33043         * intl/tst-gettext2.sh: Likewise.
33044         * intl/tst-gettext4.sh: Do not set environment variables
33045         explicitly.
33046         * intl/tst-gettext6.sh: Likewise.
33047         * intl/tst-translit.sh: Likewise.
33048         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33049         $(test-program-prefix-before-env), $(run-program-env) and
33050         $(test-program-prefix-after-env).
33051         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33052         run_program_env and test_program_prefix_after_env arguments.
33053         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33054         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33055         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33056         explicitly with each use of ${test_wrapper_env}.
33057         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33058         $(test-program-prefix-before-env), $(run-program-env) and
33059         $(test-program-prefix-after-env).
33060         * posix/tst-getconf.sh: Do not set environment variables
33061         explicitly.
33062         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33063         run_program_env and test_program_prefix_after_env arguments.
33064         * stdio-common/tst-printf.sh: Do not set environment variables
33065         explicitly.
33066         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33067         $(test-program-prefix-before-env), $(run-program-env) and
33068         $(test-program-prefix-after-env).
33069         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33070         run_program_env and test_program_prefix_after_env arguments.
33071         Split $test calls into $test_pre and $test.
33072         * timezone/Makefile (build-testdata): Use
33073         $(built-program-cmd-before-env), $(run-program-env) and
33074         $(built-program-cmd-after-env).
33076 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33078         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33079         strlen for non SHARED builds.
33081 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33083         * nptl/allocatestack.c (check_list): Inlined function...
33084         (__reclaim_stacks): ... here.
33086 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33088         [BZ #15698]
33089         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33090         memory overrun.
33092 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33094         * Rules (make-test-out): Include
33095         LOCPATH=$(common-objpfx)localedata in default environment.
33096         * debug/Makefile (tst-chk1-ENV): Remove variable.
33097         (tst-chk2-ENV): Likewise.
33098         (tst-chk3-ENV): Likewise.
33099         (tst-chk4-ENV): Likewise.
33100         (tst-chk5-ENV): Likewise.
33101         (tst-chk6-ENV): Likewise.
33102         (tst-lfschk1-ENV): Likewise.
33103         (tst-lfschk2-ENV): Likewise.
33104         (tst-lfschk3-ENV): Likewise.
33105         (tst-lfschk4-ENV): Likewise.
33106         (tst-lfschk5-ENV): Likewise.
33107         (tst-lfschk6-ENV): Likewise.
33108         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33109         (tst-iconv7-ENV): Likewise.
33110         * intl/Makefile (LOCPATH-ENV): Likewise.
33111         (tst-codeset-ENV): Likewise.
33112         (tst-gettext3-ENV): Likewise.
33113         (tst-gettext5-ENV): Likewise.
33114         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33115         (tst-fopenloc-ENV): Likewise.
33116         (tst-fgetws-ENV): Remove variable.
33117         (tst-ungetwc1-ENV): Likewise.
33118         (tst-ungetwc2-ENV): Likewise.
33119         (bug-ungetwc2-ENV): Likewise.
33120         (tst-swscanf-ENV): Likewise.
33121         (bug-ftell-ENV): Likewise.
33122         (tst-fgetwc-ENV): Likewise.
33123         (tst-fseek-ENV): Likewise.
33124         (tst-ftell-partial-wide-ENV): Likewise.
33125         (tst-ftell-active-handler-ENV): Likewise.
33126         (tst-ftell-append-ENV): Likewise.
33127         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33128         (tst-regexloc-ENV): Likewise.
33129         (bug-regex1-ENV): Likewise.
33130         (tst-regex-ENV): Likewise.
33131         (tst-regex2-ENV): Likewise.
33132         (bug-regex5-ENV): Likewise.
33133         (bug-regex6-ENV): Likewise.
33134         (bug-regex17-ENV): Likewise.
33135         (bug-regex18-ENV): Likewise.
33136         (bug-regex19-ENV): Likewise.
33137         (bug-regex20-ENV): Likewise.
33138         (bug-regex22-ENV): Likewise.
33139         (bug-regex23-ENV): Likewise.
33140         (bug-regex25-ENV): Likewise.
33141         (bug-regex26-ENV): Likewise.
33142         (bug-regex30-ENV): Likewise.
33143         (bug-regex32-ENV): Likewise.
33144         (bug-regex33-ENV): Likewise.
33145         (bug-regex34-ENV): Likewise.
33146         (bug-regex35-ENV): Likewise.
33147         (tst-rxspencer-ENV): Likewise.
33148         (tst-rxspencer-no-utf8-ENV): Likewise.
33149         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33150         (tst-sscanf-ENV): Likewise.
33151         (tst-swprintf-ENV): Likewise.
33152         (tst-swscanf-ENV): Likewise.
33153         (test-vfprintf-ENV): Likewise.
33154         (scanf13-ENV): Likewise.
33155         (bug14-ENV): Likewise.
33156         (tst-grouping-ENV): Likewise.
33157         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33158         (tst-strtod3-ENV): Likewise.
33159         (tst-strtod4-ENV): Likewise.
33160         (tst-strtod5-ENV): Likewise.
33161         (testmb2-ENV): Likewise./
33162         * string/Makefile (tst-strxfrm-ENV): Likewise.
33163         (tst-strxfrm2-ENV): Likewise.
33164         (bug-strcoll1-ENV): Likewise.
33165         (test-strcasecmp-ENV): Likewise.
33166         (test-strncasecmp-ENV): Likewise.
33167         * time/Makefile (tst-strptime-ENV): Likewise.
33168         (tst-ftime_l-ENV): Likewise.
33169         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33170         (tst-mbrtowc-ENV): Likewise.
33171         (tst-wcrtomb-ENV): Likewise.
33172         (tst-mbrtowc2-ENV): Likewise.
33173         (tst-c16c32-1-ENV): Likewise.
33174         (tst-mbsnrtowcs-ENV): Likewise.
33176 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33178         * manual/resource.texi (How to get information about the memory
33179         subsystem?): Fix typo.
33180         Reported by Peon de la Parra Ivan <peon@keba.com>
33182 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33184         [BZ #16882]
33185         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33186         (pthread_spin_lock): Branch out of spin loop to proper location.
33187         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33188         (pthread_spin_lock): Likewise.
33190         * nptl/tst-spin4.c: New test.
33191         * nptl/Makefile (tests): Add tst-spin4.
33193 2014-06-03  Andreas Schwab  <schwab@suse.de>
33195         [BZ #15946]
33196         * resolv/res_send.c (send_dg): Reload file descriptor after
33197         calling reopen.
33199 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33201         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33203 2014-06-03  Richard Henderson  <rth@redhat.com>
33205         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33206         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33207         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33208         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33209         in the SAVE_PID block.
33210         (__libc_vfork): New alias.
33211         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33213         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33214         child in registers, not on the stack.  Remove RESET_PID conditionals.
33215         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33217 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33219         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33221 2014-06-03  Wilco  <wdijkstr@arm.com>
33223         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33224         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33225         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33226         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33227         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33228         Likewise.
33230 2014-06-03  Wilco  <wdijkstr@arm.com>
33232         * sysdeps/aarch64/fpu/math_private.h
33233         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33234         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33235         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33236         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33237         Fix declarations.
33239 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33241         * crypt/crypt-private.h: Include ufc-crypt.h.
33242         (__b64_from_24bit): Declare extern.
33243         * crypt/crypt_util.c(__b64_from_24bit): New function.
33244         (b64t): New static const variable.
33245         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33246         (b64t): Remove variable.
33247         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33248         * crypt/sha256-crypt.c: Include crypt-private.h.
33249         (b64t): Remove variable.
33250         (__sha256_crypt_r): Remove b64_from_24bit and replace
33251         with __b64_from_24bit.
33252         * crypt/sha512-crypt.c: Likewise.
33254 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33256         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33257         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33258         Label the code __libc_vfork rather than __vfork.
33259         [!NOT_IN_libc] (vfork): Define as weak alias.
33260         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33261         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33262         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33264 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33266         * malloc/malloc.c (malloc_info): Fix format specifier for
33267         n_mmaps.
33269 2014-06-02  Wilco  <wdijkstr@arm.com>
33271         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33272         FPCR write.
33274 2014-06-02  Wilco  <wdijkstr@arm.com>
33276         [BZ #17009]
33277         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33278         Rewrite to reduce FPCR/FPSR accesses.
33280 2014-06-01  David S. Miller  <davem@davemloft.net>
33282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33284 2014-05-31  David S. Miller  <davem@davemloft.net>
33286         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33287         to occur in round to nearest mode when |x| >= 2.0
33289 2014-05-30  Richard Henderson  <rth@twiddle.net>
33291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33292         (PSEUDO_RET_NOERRNO): Remove.
33293         (ret): Don't redefine.
33294         (ret_NOERRNO): Define in terms of ret.
33295         (ret_ERRVAL): Likewise.
33297         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33298         use of PSEUDO_RET; perform the error check directly.
33300 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33302         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33303         with __int128_t.
33305 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * malloc/malloc (malloc_info): Fix formatting.
33309 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33310             Roland McGrath  <roland@hack.frob.com>
33312         * malloc/malloc (malloc_info): Also print mmapped statistics.
33314 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33316         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33317         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33319 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33321         * malloc/malloc.c (malloc_info): Inline mi_arena.
33323 2014-05-29  Richard Henderson  <rth@twiddle.net>
33325         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33326         Remove comma before expanding ASM_ARGS_##nr.
33327         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33328         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33329         of ASM_ARGS_##nr.
33330         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33331         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33332         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33333         (ASM_ARGS_1): Add leading comma.
33335         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33336         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33337         to __errno_location.
33338         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33339         Remove the expected plt for __errno_location.
33341         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33342         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33343         call to __read_tp.
33345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33346         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33347         it and break it down.
33348         (DOCARGS_0, DOCARGS_1): Do nothing.
33349         (DOCARGS_2): Update to store into the new stack frame.
33350         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33351         (UNDOCARGS_1): Update to restore from the new stack frame.
33352         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33353         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33356         (SINGLE_THREAD_P): New parameter for result regno.
33357         (PSEUDO): Update to match; use cbz instead of beq.
33359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33360         Use ENTRY to define the _nocancel entry point.  Share the syscall
33361         and syscall error check paths with the cancel path.
33362         (PSEUDO_END): New.
33364         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33365         whitespace; tabs before and after asm mnemonics.
33367 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33369         [BZ #15132]
33370         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33371         Call fstat64 or stat64 internally, depending on arguments passed.
33372         Replace stat buffer argument with file descriptor argument.
33373         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33374         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33375         Pass fd to __internal_statvfs instead of calling fstat64.
33376         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33377         Pass fd to __internal_statvfs64 instead of calling fstat64.
33378         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33379         Pass -1 to __internal_statvfs instead of calling stat64.
33380         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33381         Pass -1 to __internal_statvfs64 instead of calling stat64.
33383 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33385         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33386         that was previously under [RESET_PID].
33387         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33389         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33390         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33392 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33394         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33396         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33397         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33399 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33401         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33403 2014-05-27  Andreas Schwab  <schwab@suse.de>
33405         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33406         TLS_INIT_TP macro.
33407         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33408         * elf/rtld.c (init_tls, dl_main): Likewise.
33409         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33410         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33411         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33412         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33413         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33414         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33415         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33416         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33417         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33418         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33419         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33420         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33421         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33422         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33423         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33424         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33425         * sysdeps/generic/tls.h: Update description.
33427 2014-05-27  Will Newton  <will.newton@linaro.org>
33429         [BZ #16990]
33430         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33431         and restore r2 rather than just restoring.
33433 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33435         [BZ #16724]
33436         * libio/tst-ftell-append.c: New test case.
33437         * libio/Makefile (tests): Add test case.
33438         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33439         append mode.
33440         * libio/wfileops.c (do_ftell_wide): Likewise.
33442 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33446         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33447         ...
33448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33450         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33451         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33452         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33453         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33454         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33455         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33457         Moved ...
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33460         Moved ...
33461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33462         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33463         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33464         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33465         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33467         ...
33468         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33469         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33470         Moved ...
33471         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33472         here.
33473         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33474         ...
33475         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33476         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33477         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33480         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33481         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33482         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33485         merge into ...
33486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33488         ...
33489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33491         ...
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33494         Moved ...
33495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33496         here.
33497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33498         Moved ...
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33501         Moved ...
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33505         conditional [RESET_PID].
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33508         removed.
33509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33510         removed.
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33513         <tcb-offsets.h>.
33514         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33515         (__libc_vfork): New strong alias.
33516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33517         removed.
33518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33519         Removed.
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33522         <tcb-offsets.h>.
33523         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33524         (__libc_vfork): New strong alias.
33525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33526         removed.
33527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33528         removed.
33530 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33532         * malloc/malloc.c (mi_arena): New function.
33533         (malloc_info): Remove nested function mi_arena. Call non-nosted
33534         function mi_arena.
33536 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33538         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33539         by insrwi.
33540         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33541         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33542         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33543         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33544         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33545         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33546         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33548 2014-05-26  Andreas Schwab  <schwab@suse.de>
33550         [BZ #16984]
33551         * locale/programs/repertoire.c (repertoire_read): Add slash
33552         between I18NPATH element and file name.
33553         * locale/programs/locfile.c (locfile_read): Likewise.
33555 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33557         * nptl/pthread_mutexattr_settype.c
33558         (__pthread_mutexattr_settype):
33559         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33561 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33563         * nptl/tst-mutex5 (do_test):
33564         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33566 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33568         * benchtests/README: Document 'init' directive.
33569         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33570         BENCH_INIT.
33571         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33572         (parse_file): Recognize 'init' directive.
33574 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33576         [BZ #16796]
33577         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33578         alignment of struct pthread.
33580 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33582         [BZ #16878]
33583         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33584         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33585         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33586         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33588 2014-05-25  Richard Henderson  <rth@twiddle.net>
33590         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33591         (SINGLE_THREAD_P_PIC): Remove.
33592         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33593         (SINGLE_THREAD_P_PIC): Remove.
33595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33596         branch to syscall error ...
33597         (PSEUDO): ... here.
33598         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33599         from __local_syscall_error to .Lsyscall_error.
33600         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33601         (SYSCALL_ERROR): Update label name.
33603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33604         Do not use DOARGS/UNDOARGS.
33605         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33606         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33607         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33608         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33609         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33612         block comment.
33614         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33615         define if !NOT_IN_libc.
33616         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33617         define with non-default symbol versions.
33619 2014-05-23  Richard Henderson  <rth@twiddle.net>
33621         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33622         (vfork, __vfork): Define via compat_symbol.
33624         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33625         [!HAVE_IFUNC] (vfork_compat): Remove.
33626         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33628 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33630         [BZ #16978]
33631         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33632         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33633         variable.
33635 2014-05-23  Richard Henderson  <rth@twiddle.net>
33637         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33638         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33639         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33640         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33642         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33643         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33644         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33645         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33647         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33648         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33649         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33650         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33651         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33652         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33653         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33654         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33655         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33656         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33657         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33658         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33659         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33661         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33662         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33663         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33664         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33665         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33666         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33667         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33668         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33669         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33673         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33674         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33675         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33676         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33677         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33678         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33679         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33681         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33682         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33683         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33684         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33685         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33686         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33687         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33689         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33691         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33693         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33695         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33697         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33699         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33700         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33701         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33702         before exiting on error.
33703         (__libc_vfork): New strong alias.
33704         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33705         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33707         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33708         that was previously under [RESET_PID].
33709         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33711         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33713 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33715         [BZ #16977]
33716         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33717         value when x - 1 is zero.
33718         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33719         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33720         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33721         0.0L for an argument of 1.0L.
33722         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33723         Likewise.
33724         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33725         value when x - 1 is zero.
33726         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33727         * sysdeps/i386/fpu/libm-test-ulps: Update.
33728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33730 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33732         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33733         alphasort and versionsort.
33735 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33737         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33738         macro.
33739         [copysignf]: Likewise.
33741 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33743         * crypt/md5-crypt.c: Fix formatting.
33745 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33747         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33748         (b64_from_24bit): New function.
33750 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33753         libc_hidden_builtin_def to ifunc.
33754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33755         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33757 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33759         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33760         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33762 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33764         * nscd/Depend (linuxthreads): Remove.
33765         (nptl): Add.
33766         * resolv/Depend (linuxthreads): Remove.
33767         * rt/Depend (linuxthreads): Remove.
33769         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33770         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33771         $(common-objpfx)elf/.
33772         (link-libc-before-gnulib): Likewise.
33773         (elfobjdir): Remove variable.
33774         * Makefile (install): Use $(elf-objpfx) instead of
33775         $(common-objpfx)elf/.
33776         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33777         $(elfobjdir)/.
33778         (link-libc-deps): Likewise.
33779         ($(common-objpfx)libc.so): Likewise.
33780         ($(common-objpfx)linkobj/libc.so): Likewise.
33781         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33782         instead of $(common-objpfx)elf/.
33783         (symbolic-link-list): Likewise.
33784         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33785         [$(cross-compiling) = no]: Likewise.
33786         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33787         $(elfobjdir)/.
33788         (static-gnulib-arch): Likewise.
33789         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33790         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33791         $(common-objpfx)elf/.
33793 2014-05-21  Richard Henderson  <rth@redhat.com>
33795         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33796         (SINGLE_THREAD_P): Use the correct width load.  Fold
33797         into the ldr offset.
33799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33800         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33802 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33804         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33805         (libgcc_s_resume): Use __attribute_used__.
33806         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33807         Likewise.
33809 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33811         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33812         optimization when used with float constants.
33814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33816 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33818         [BZ #16915]
33819         * locale/nl_langinfo_l.c: Make direct reference to every
33820         _nl_current_CATEGORY symbol.
33821         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33822         (tests-static): Add tst-langinfo-static.
33823         (tests-special): Add tst-langinfo-static.out.
33824         ($(objpfx)tst-langinfo.out): Redirect output.
33825         ($(objpfx)tst-langinfo-static.out): New.
33826         * localedata/tst-langinfo.sh: Send output to stdout.
33827         * localedata/tst-langinfo-static.c: New file.
33829         [BZ #16965]
33830         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33831         when the shift amount is modulo the limb size.
33833 2014-05-20  Richard Henderson  <rth@redhat.com>
33835         [BZ #16967]
33836         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33837         Change type of sa_flags from unsigned int to int.
33839         [BZ #16966]
33840         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33842         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33844 2014-05-20  Will Newton  <will.newton@linaro.org>
33846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33847         Test the return value of the system call in the nocancel case.
33849 2014-05-20  Will Newton  <will.newton@linaro.org>
33850             Yvan Roux  <yvan.roux@linaro.org>
33852         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33853         #include of asm/ptrace.h.
33854         (PTRACE_GET_THREAD_AREA): Remove #undef.
33855         (PTRACE_GETHBPREGS): Likewise.
33856         (PTRACE_SETHBPREGS): Likewise.
33857         (struct user_regs_struct): New structure.
33858         (struct user_fpsimd_struct): New structure.
33859         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33860         #include of asm/ptrace.h and second #include of sys/user.h.
33861         (PTRACE_GET_THREAD_AREA): Remove #undef.
33862         (PTRACE_GETHBPREGS): Likewise.
33863         (PTRACE_SETHBPREGS): Likewise.
33864         (ELF_NGREG): Use new struct user_regs_struct.
33865         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33867 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33869         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33872 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33874         [BZ #16958]
33875         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33876         membar to avoid block loads/stores to overlap previous stores.
33878 2014-05-17  Richard Henderson  <rth@redhat.com>
33880         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33881         Create the __##syscall_name##_nocancel entry point.
33882         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33883         Remove; let the sysdep-cancel.h code create it.
33885 2014-05-17  David S. Miller  <davem@davemloft.net>
33887         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33888         Protect with __USE_GNU.
33889         (TIOCSET_TEMPT): Likewise.
33890         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33891         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33892         these are already provided in bits/ioctl-types.h
33894 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33896         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33897         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33899         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33900         Use wait4 regardless of [__NR_waitpid].
33902 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33904         PR libgcc/60166
33905         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33906         (_FP_NANSIGN_Q): Set the quiet bit.
33908 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33910         * benchtests/Makefile
33911         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33912         not $(common-objpfx)math/libm.so.
33913         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33914         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33915         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33916         $(common-objpfx)dlfcn/libdl.so.
33917         ($(objpfx)tst-audit8): Depend on $(libm), not
33918         $(common-objpfx)math/libm.so.
33919         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33920         not $(common-objpfx)dlfcn/libdl.so.
33921         * math/Makefile
33922         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33923         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33924         [$(build-shared) = yes].
33925         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33926         $(common-objpfx)nptl/libpthread.so.
33927         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33928         $(common-objpfx)math/libm.so$(libm.so-version) or
33929         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33930         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33931         $(common-objpfx)dlfcn/libdl.so.
33932         * setjmp/Makefile (link-libm): Remove variable.
33933         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33934         * stdio-common/Makefile (link-libm): Remove variable.
33935         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33936         * stdlib/Makefile (link-libm): Remove variable.
33937         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33938         ($(objpfx)tst-strtod-round): Likewise.
33939         ($(objpfx)tst-tininess): Likewise.
33940         ($(objpfx)tst-strtod-underflow): Likewise.
33941         ($(objpfx)tst-strtod6): Likewise.
33942         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33943         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33944         $(common-objpfx)dlfcn/libdl.so.
33946 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33948         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33949         BSD terminal modes definitions.
33951 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33953         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33954         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33956         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33957         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33958         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33959         Don't do #include_next.
33960         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33961         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33962         Don't do #include_next.
33963         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33964         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33965         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33966         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33968 2014-05-16  Allan McRae  <allan@archlinux.org>
33970         * po/sv.po: Update Swedish translation from translation project.
33972         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33973         in sed expression.
33975 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33977         [BZ #16917]
33978         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33979         errno if the TIOCGPTN ioctl fails with an error different than
33980         EINVAL.
33981         * login/tst-ptsname.c: New file.
33982         * login/Makefile (tests): Add tst-ptsname.
33984         [BZ #16943]
33985         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33986         and prlimit64.
33988 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33990         [BZ #16849]
33991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33992         herrno to return EAI_AGAIN.
33994 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33996         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33997         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33998         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34002         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34009         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34010         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34011         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34012         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34015         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34017         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34018         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34019         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34020         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34021         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34022         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34023         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34024         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34025         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34027         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34029         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34031         Moved ...
34032         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34034         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34036         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34038         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34040         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34044         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34046         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34048         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34050         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34054         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34056         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34058         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34060         Moved ...
34061         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34063         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34065         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34067         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34069         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34071         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34073         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34075         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34077         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34079         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34081         Moved ...
34082         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34084         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34086         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34087         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34088         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34089         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34090         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34091         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34092         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34093         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34094         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34096         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34097         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34098         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34099         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34100         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34102         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34104         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34106         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34107         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34108         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34109         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34110         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34112         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34115         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34116         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34118         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34119         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34121         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34122         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34123         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34124         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34125         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34126         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34127         Moved ...
34128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34129         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34130         Moved ...
34131         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34133         Moved ...
34134         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34136         Moved ...
34137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34138         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34139         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34140         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34141         Moved ...
34142         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34143         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34144         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34145         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34146         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34148         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34150         Moved ...
34151         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34153         Moved ...
34154         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34155         ... here.
34156         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34157         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34158         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34159         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34161         Moved ...
34162         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34163         ... here.
34164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34165         Moved ...
34166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34167         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34168         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34169         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34170         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34171         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34172         Moved ...
34173         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34174         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34175         Moved ...
34176         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34178         Moved ...
34179         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34181         Moved ...
34182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34183         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34184         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34185         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34186         Moved ...
34187         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34188         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34189         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34190         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34192         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34193         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34195         Moved ...
34196         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34198         Moved ...
34199         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34200         ... here.
34201         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34202         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34203         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34204         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34208         ... here.
34209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34210         Moved ...
34211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34212         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34213         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34214         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34215         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34216         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34217         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34218         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34219         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34221         Moved ...
34222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34224         Moved ...
34225         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34227         Moved ...
34228         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34230         Moved ...
34231         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34232         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34233         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34234         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34235         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34236         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34237         Moved ...
34238         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34240         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34243         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34244         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34246         Moved ...
34247         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34248         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34249         Moved ...
34250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34251         ... here.
34252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34253         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34254         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34255         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34256         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34257         Moved ...
34258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34259         ... here.
34260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34261         Moved ...
34262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34263         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34264         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34265         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34266         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34267         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34268         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34270         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34272         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34274         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34275         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34277         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34278         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34280         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34281         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34282         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34283         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34284         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34285         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34286         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34288         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34290         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34292         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34294         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34296         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34298         Moved ...
34299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34301         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34303         Moved ...
34304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34306         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34308         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34312         Moved ...
34313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34320         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34322         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34324         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34325         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34326         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34328         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34329         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34330         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34331         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34332         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34334         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34335         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34336         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34337         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34338         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34340         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34341         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34343         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34344         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34345         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34346         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34347         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34348         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34349         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34354         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34355         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34356         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34357         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34358         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34359         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34360         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34361         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34363         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34365         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34366         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34367         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34369         Update #include.
34370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34371         Likewise.
34372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34373         Likewise.
34374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34375         Likewise.
34376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34377         Likewise.
34378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34379         Likewise.
34380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34381         Likewise.
34382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34383         Likewise.
34384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34385         Likewise.
34386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34387         Likewise.
34388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34389         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34393         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34394         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34398         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34404         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34405         that was previously under [RESET_PID].
34406         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34407         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34408         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34410         * sysdeps/i386/nptl/Implies: New file.
34411         * sysdeps/x86_64/nptl/Implies: New file.
34412         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34413         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34415         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34417         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34418         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34419         (__libc_vfork): New strong alias.
34420         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34421         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34423         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34424         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34425         (__libc_vfork): New strong alias.
34426         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34427         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34429         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34430         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34431         (__libc_vfork): New strong alias.
34432         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34433         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34434         * nptl/pt-vfork.c: New file.
34435         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34436         (libpthread: GLIBC_2.20): New version set (empty).
34438 2014-05-14  Will Newton  <will.newton@linaro.org>
34440         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34441         rather than #if.
34443 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34445         [BZ #16564]
34446         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34447         arguments with exponent 65 or above.
34448         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34449         arguments 0x1p113L or above.
34450         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34451         to arguments 0x1p107L or above.
34452         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34453         positive arguments with exponent 65 or above.
34454         * math/auto-libm-test-in: Add more tests of log1p.
34455         * math/auto-libm-test-out: Regenerated.
34457         [BZ #16928]
34458         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34459         non-finite arguments is +0.
34460         * math/s_cacosf.c (__cacosf): Likewise.
34461         * math/s_cacosl.c (__cacosl): Likewise.
34462         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34463         * sysdeps/i386/fpu/libm-test-ulps: Update.
34464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34466         [BZ #16927]
34467         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34468         value.
34469         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34470         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34471         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34472         for explicit high bit of mantissa when testing for argument equal
34473         to 1.
34474         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34475         * sysdeps/i386/fpu/libm-test-ulps: Update.
34476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34478         [BZ #16516]
34479         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34480         (__erf): Scale by 16 instead of 8 in potentially underflowing
34481         case.  Ensure exception if result actually underflows.
34482         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34483         (__erff): Scale by 16 instead of 8 in potentially underflowing
34484         case.  Ensure exception if result actually underflows.
34485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34486         (efx8): Remove variable.
34487         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34488         case.  Ensure exception if result actually underflows.
34489         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34490         (efx8): Remove variable.
34491         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34492         case.  Ensure exception if result actually underflows.
34493         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34494         (efx8): Remove variable.
34495         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34496         case.  Ensure exception if result actually underflows.
34497         * math/auto-libm-test-in: Add more tests of erf.
34498         * math/auto-libm-test-out: Regenerated.
34500 2014-05-14  Andreas Schwab  <schwab@suse.de>
34502         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34503         Remove code conditionalized on USE___THREAD.
34505         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34506         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34507         not definedness.
34509 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34511         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34512         Define unconditionally.
34513         (__ASSUME_O_CLOEXEC): Likewise.
34514         (__ASSUME_SOCK_CLOEXEC): Likewise.
34515         (__ASSUME_IN_NONBLOCK): Likewise.
34516         (__ASSUME_PIPE2): Likewise.
34517         (__ASSUME_EVENTFD2): Likewise.
34518         (__ASSUME_SIGNALFD4): Likewise.
34519         (__ASSUME_DUP3): Likewise.
34520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34521         (__ASSUME_DUP3): Do not define.
34522         (__ASSUME_EVENTFD2): Likewise.
34523         (__ASSUME_IN_NONBLOCK): Likewise.
34524         (__ASSUME_O_CLOEXEC): Likewise.
34525         (__ASSUME_PIPE2): Likewise.
34526         (__ASSUME_SIGNALFD4): Likewise.
34527         (__ASSUME_SOCK_CLOEXEC): Likewise.
34528         (__ASSUME_UTIMES): Undefine.
34529         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34530         (__ASSUME_UTIMES): Do not define.
34531         (__ASSUME_O_CLOEXEC): Likewise.
34532         (__ASSUME_SOCK_CLOEXEC): Likewise.
34533         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34534         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34535         0x020621].
34536         (__ASSUME_PIPE2): Likewise.
34537         (__ASSUME_EVENTFD2): Likewise.
34538         (__ASSUME_SIGNALFD4): Likewise.
34539         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34540         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34541         Do not define.
34542         (__ASSUME_EVENTFD2): Likewise.
34543         (__ASSUME_SIGNALFD4): Likewise.
34544         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34545         (__ASSUME_32BITUIDS): Likewise.
34546         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34547         (__ASSUME_IPC64): Likewise.
34548         (__ASSUME_ST_INO_64_BIT): Likewise.
34549         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34550         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34551         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34552         (__ASSUME_UTIMES): Do not define.
34553         (__ASSUME_PSELECT): Likewise.
34554         (__ASSUME_PPOLL): Likewise.
34555         (__ASSUME_O_CLOEXEC): Likewise.
34556         (__ASSUME_SOCK_CLOEXEC): Likewise.
34557         (__ASSUME_IN_NONBLOCK): Likewise.
34558         (__ASSUME_PIPE2): Likewise.
34559         (__ASSUME_EVENTFD2): Likewise.
34560         (__ASSUME_SIGNALFD4): Likewise.
34561         (__ASSUME_DUP3): Likewise.
34562         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34563         (__ASSUME_UTIMES): Likewise.
34564         (__ASSUME_O_CLOEXEC): Likewise.
34565         (__ASSUME_SOCK_CLOEXEC): Likewise.
34566         (__ASSUME_IN_NONBLOCK): Likewise.
34567         (__ASSUME_PIPE2): Likewise.
34568         (__ASSUME_EVENTFD2): Likewise.
34569         (__ASSUME_SIGNALFD4): Likewise.
34570         (__ASSUME_DUP3): Likewise.
34571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34572         (__ASSUME_UTIMES): Likewise.
34573         (__ASSUME_O_CLOEXEC): Likewise.
34574         (__ASSUME_SOCK_CLOEXEC): Likewise.
34575         (__ASSUME_IN_NONBLOCK): Likewise.
34576         (__ASSUME_PIPE2): Likewise.
34577         (__ASSUME_EVENTFD2): Likewise.
34578         (__ASSUME_SIGNALFD4): Likewise.
34579         (__ASSUME_DUP3): Likewise.
34580         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34581         Likewise.
34582         (__ASSUME_UTIMES): Likewise.
34583         (__ASSUME_EVENTFD2): Likewise.
34584         (__ASSUME_SIGNALFD4): Likewise.
34585         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34586         (__ASSUME_O_CLOEXEC): Likewise.
34587         (__ASSUME_SOCK_CLOEXEC): Likewise.
34588         (__ASSUME_IN_NONBLOCK): Likewise.
34589         (__ASSUME_PIPE2): Likewise.
34590         (__ASSUME_EVENTFD2): Likewise.
34591         (__ASSUME_SIGNALFD4): Likewise.
34592         (__ASSUME_DUP3): Likewise.
34593         (__ASSUME_UTIMES): Undefine.
34595         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34596         feclearexcept.  Remove symbol versioning code.
34597         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34598         symbol versioning code.
34599         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34600         symbol versioning code.
34601         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34602         feupdateenv.  Remove symbol versioning code.
34603         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34604         fegetexceptflag.  Remove symbol versioning code.
34605         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34606         fesetexceptflag.  Remove symbol versioning code.
34607         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34608         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34609         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34610         (__posix_fadvise64_l32): Remove prototype.
34611         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34612         code.
34614 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34616         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34617         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34618         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34619         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34621 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34623         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34624         current working directory
34626 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34628         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34629         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34630         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34631         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34632         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34633         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34634         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34635         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34636         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34637         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34641         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34645         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34647         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34648         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34649         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34650         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34651         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34652         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34653         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34654         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34655         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34656         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34657         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34658         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34659         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34660         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34661         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34662         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34663         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34664         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34665         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34666         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34667         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34668         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34669         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34671         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34672         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34674         * sysdeps/unix/sysv/linux/arm/Makefile
34675         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34676         Add rt-aeabi_unwind_cpp_pr1.
34677         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34678         Add nptl-aeabi_unwind_cpp_pr1.
34679         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34680         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34681         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34682         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34683         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34684         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34686         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34687         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34688         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34689         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34691         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34692         Deconditionalize the code that was previously under [RESET_PID].
34693         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34695         * sysdeps/generic/exit-thread.h: New file.
34696         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34697         * include/unistd.h (__exit_thread): Remove declaration.
34698         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34699         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34700         * csu/libc-start.c: Include <exit-thread.h>.
34701         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34702         * nptl/pthread_create.c: Include <exit-thread.h>.
34703         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34704         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34705         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34706         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34707         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34708         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34709         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34710         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34711         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34712         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34713         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34714         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34715         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34716         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34717         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34718         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34719         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34721 2014-05-13  Andreas Schwab  <schwab@suse.de>
34723         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34725 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34727         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34728         (__ASSUME_UTIMES): Do not condition on kernel version.
34729         (__ASSUME_PSELECT): Define unconditionally.
34730         (__ASSUME_PPOLL): Likewise.
34731         (__ASSUME_ATFCTS): Likewise.
34732         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34733         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34734         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34735         (__ASSUME_UTIMENSAT): Define unconditionally.
34736         (__ASSUME_PRIVATE_FUTEX): Likewise.
34737         (__ASSUME_FALLOCATE): Likewise.
34738         (__ASSUME_O_CLOEXEC): Likewise.
34739         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34740         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34741         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34742         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34743         (__ASSUME_IN_NONBLOCK): Likewise.
34744         (__ASSUME_PIPE2): Likewise.
34745         (__ASSUME_EVENTFD2): Likewise.
34746         (__ASSUME_SIGNALFD4): Likewise.
34747         (__ASSUME_DUP3): Likewise.
34748         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34749         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34750         (__ASSUME_AT_RANDOM): Likewise.
34751         (__ASSUME_PREADV): Likewise.
34752         (__ASSUME_PWRITEV): Likewise.
34753         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34754         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34755         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34756         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34757         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34758         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34759         (__ASSUME_O_CLOEXEC): Define unconditionally.
34760         (__ASSUME_PSELECT): Do not undefine conditionally.
34761         (__ASSUME_PPOLL): Likewise.
34762         (__ASSUME_ATFCTS): Likewise.
34763         (__ASSUME_SET_ROBUST_LIST): Likewise.
34764         (__ASSUME_UTIMENSAT): Likewise.
34765         (__ASSUME_FDATASYNC): Define unconditionally.
34766         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34767         (__ASSUME_SIGFRAME_V2): Likewise.
34768         )__ASSUME_EVENTFD2): Likewise.
34769         (__ASSUME_SIGNALFD4): Likewise.
34770         (__ASSUME_PSELECT): Do not undefine conditionally.
34771         (__ASSUME_PPOLL): Likewise.
34772         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34773         (__ASSUME_PSELECT): Define unconditionally.
34774         (__ASSUME_PPOLL): Likewise.
34775         (__ASSUME_O_CLOEXEC): Likewise.
34776         (__ASSUME_SOCK_CLOEXEC): Likewise.
34777         (__ASSUME_IN_NONBLOCK): Likewise.
34778         (__ASSUME_PIPE2): Likewise.
34779         (__ASSUME_EVENTFD2): Likewise.
34780         (__ASSUME_SIGNALFD4): Likewise.
34781         (__ASSUME_DUP3): Likewise.
34782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34783         (__ASSUME_O_CLOEXEC): Likewise.
34784         (__ASSUME_SOCK_CLOEXEC): Likewise.
34785         (__ASSUME_IN_NONBLOCK): Likewise.
34786         (__ASSUME_PIPE2): Likewise.
34787         (__ASSUME_EVENTFD2): Likewise.
34788         (__ASSUME_SIGNALFD4): Likewise.
34789         (__ASSUME_DUP3): Likewise.
34790         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34791         (__ASSUME_EVENTFD2): Likewise.
34792         (__ASSUME_SIGNALFD4): Likewise.
34793         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34795 2014-05-12  Andreas Schwab  <schwab@suse.de>
34797         [BZ #16932]
34798         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34799         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34800         than maximum RPC packet size.
34801         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34802         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34803         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34804         (_nss_nis_getservbyport_r): Likewise.
34806 2014-05-12  Will Newton  <will.newton@linaro.org>
34808         * malloc/Makefile (tests): Add tst-mallopt.
34809         * malloc/tst-mallopt.c: New file.
34811 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34813         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34814         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34816 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34818         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34819         (tst-tlsmod6.so): Likewise.
34821 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34823         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34825 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34827         [BZ #16064]
34828         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34829         and <dl-procinfo.h>.
34830         (__fegetenv): Save SSE state in envp->__eip if supported.
34831         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34832         envp->__eip if supported.
34833         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34834         and <dl-procinfo.h>.
34835         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34836         __data_offset and __data_selector in environment to 0.  Set SSE
34837         state if supported.
34838         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34839         test-fenv-sse.
34840         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34841         -mfpmath=sse.
34842         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34844 2014-05-09  Will Newton  <will.newton@linaro.org>
34846         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34847         and libc_relro_required for ARM.
34848         * sysdeps/arm/preconfigure: Regenerate.
34850 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34851             Stefan Liebler  <stli@linux.vnet.ibm.com>
34853         * config.make.in (enable-lock-elision): New Makefile variable.
34854         * configure.ac: Likewise.
34855         * configure: Regenerate.
34856         * sysdeps/s390/configure.ac:
34857         Add check for gcc transactions support.
34858         * sysdeps/s390/configure: Regenerate.
34859         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34860         Build elision files if enabled.
34861         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34862         Add lock elision support for s390.
34863         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34864         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34865         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34866         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34867         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34868         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34870         Likewise.
34871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34872         Likewise.
34873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34874         Likewise.
34875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34876         Likewise.
34877         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34878         (__lll_timedlock_elision, __lll_lock_elision)
34879         (__lll_unlock_elision, __lll_trylock_elision)
34880         (lll_timedlock_elision, lll_lock_elision)
34881         (lll_unlock_elision, lll_trylock_elision): Add.
34882         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34883         (pthread_mutex_t): Add lock elision support for s390.
34885 2014-05-14  Wilco  <wdijkstr@arm.com>
34887         * sysdeps/arm/fclrexcpt.c: Cleanup.
34888         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34889         * sysdeps/arm/feenablxcpt.c: Cleanup.
34890         * sysdeps/arm/fegetenv.c: Cleanup.
34891         * sysdeps/arm/fegetexcept.c: Cleanup.
34892         * sysdeps/arm/fegetround.c: Cleanup.
34893         * sysdeps/arm/feholdexcpt.c: Cleanup.
34894         * sysdeps/arm/fesetenv.c: Cleanup.
34895         * sysdeps/arm/fesetround.c: Cleanup.
34896         * sysdeps/arm/feupdateenv.c: Cleanup.
34897         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34898         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34899         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34900         * sysdeps/arm/ftestexcept.c: Cleanup.
34901         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34902         * sysdeps/arm/setfpucw.c: Cleanup.
34904 2014-05-09  Will Newton  <will.newton@linaro.org>
34906         * sysdeps/arm/armv7/strcmp.S: New file.
34907         * NEWS: Mention addition of ARMv7 optimized strcmp.
34909 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34911         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34912         look for %.ac rather than %.in.
34914         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34915         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34916         * sysdeps/mach/hurd/configure: Regenerated.
34917         * sysdeps/unix/sysv/linux/configure: Regenerated.
34919         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34921 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34923         [BZ# 16922]
34924         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34925         (LONG_SUB): Ditto.
34926         (PTR_SUB): Ditto.
34928 2014-05-07  Andreas Schwab  <schwab@suse.de>
34930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34931         when skipping over non-matching result from nscd.
34933 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34935         [BZ #16876]
34936         * nptl/sockperf.c (client): Check socket return value.
34938         [BZ #16877]
34939         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34940         nscd security class.
34942 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34944         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34945         * sysdeps/arm/unwind.h: ... here.
34947 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34949         [BZ# 16916]
34950         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34951         Define.
34953 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34955         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34956         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34957         multiarch strncpy for PPC64.
34958         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34959         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34961         multiarch optimizations.
34962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34963         (__libc_ifunc_impl_list): Likewise.
34964         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34965         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34966         multiarch stpncpy for PPC64.
34967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34968         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34970 2014-05-06  Andreas Schwab  <schwab@suse.de>
34972         [BZ #16912]
34973         * gmon/mcount.c (_MCOUNT_DECL): Use
34974         atomic_compare_and_exchange_bool_acq instead of
34975         catomic_compare_and_exchange_bool_acq.
34977 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34979         * elf/Makefile (others, install-bin): Remove pldd.
34980         (pldd-modules): Variable removed.
34981         ($(objpfx)pldd): Target removed.
34982         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34983         (others, install-bin): Append pldd here.
34984         ($(objpfx)pldd): New target.
34986         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34987         to 0, so the first #if test emitted later doesn't see it undefined.
34988         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34989         * sysdeps/gnu/errlist.c: Regenerated.
34991 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34993         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34994         [libc_hidden_builtin_def]: Define to empty value.
34995         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34996         [libc_hidden_builtin_def]: Likewise.
34997         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34998         [libc_hidden_builtin_def]: Likewise.
34999         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35000         [libc_hidden_builtin_def]: Likewise.
35001         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35002         __redirect_memcpy and define ifunc as default hidden symbol.
35003         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35004         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35006 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35008         * locale/iso-4217.def: Reintroduce XDR currency.
35010 2014-05-04  Allan McRae  <allan@archlinux.org>
35012         * po/eo.po: Update Esperanto translation from translation project.
35014 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35016         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35017         and FEATURE_INDEX_MAX to 1.
35018         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35020 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35022         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35023         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35024         * iconvdata/big5.c (ONE_DIRECTION): Define.
35025         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35026         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35027         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35028         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35029         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35030         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35031         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35032         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35033         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35034         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35035         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35036         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35037         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35038         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35039         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35040         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35041         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35042         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35043         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35044         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35045         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35046         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35047         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35048         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35049         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35050         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35051         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35052         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35053         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35054         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35055         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35056         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35057         * iconvdata/johab.c (ONE_DIRECTION): Define.
35058         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35059         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35060         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35061         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35062         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35063         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35064         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35065         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35066         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35067         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35069 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35071         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35072         (_IO_JUMPS_OFFSET): Define to 0.
35074         * nptl/sysdeps/pthread/bits/libc-lock.h
35075         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35076         (__libc_lock_define_initialized_recursive): Always define using
35077         initializer.  Modern compilers treat uninitialized (implicit zero) and
35078         explicit zero initializers the same (i.e. put the datum in bss).
35080 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35082         * nscd/nscd-client.h: Include <string.h>.
35084 2014-05-01  David S. Miller  <davem@davemloft.net>
35086         [BZ #16885]
35087         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35088         multiple zero bytes exist at the end of a string.
35089         Reported by Aurelien Jarno <aurelien@aurel32.net>
35091         * string/test-strcmp.c (check): Add explicit test for situations where
35092         there are multiple zero bytes after the first.
35094 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35096         [BZ #16890]
35097         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35098         when compiling wprintf.
35099         * stdio-common/tstdiomisc.c (t3): New function.
35100         (main): Call it.
35102 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35104         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35105         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35106         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35107         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35109 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35111         * stdlib/longlong.h: Updated from GCC.
35113 2014-05-01  Will Newton  <will.newton@linaro.org>
35114             Bernard Ogden  <bernie.ogden@linaro.org>
35116         * NEWS: Update fixed bug list.
35118         [BZ #15119]
35119         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35121 2014-04-30  David S. Miller  <davem@davemloft.net>
35123         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35124         (libc_feholdexcept_setround_sparc_ctx): New function.
35125         (libc_fesetenv_sparc_ctx): Likewise.
35126         (libc_feupdateenv_sparc_ctx): Likewise.
35127         (libc_feholdsetround_sparc_ctx): Likewise.
35128         (libc_feholdexcept_setround_ctx): Define.
35129         (libc_feholdexcept_setroundf_ctx): Likewise.
35130         (libc_feholdexcept_setroundl_ctx): Likewise.
35131         (libc_fesetenv_ctx): Likewise.
35132         (libc_fesetenvf_ctx): Likewise.
35133         (libc_fesetenvl_ctx): Likewise.
35134         (libc_feupdateenv_ctx): Likewise.
35135         (libc_feupdateenvf_ctx): Likewise.
35136         (libc_feupdateenvl_ctx): Likewise.
35137         (libc_feresetround_ctx): Likewise.
35138         (libc_feresetroundf_ctx): Likewise.
35139         (libc_feresetroundl_ctx): Likewise.
35140         (libc_feholdsetround_ctx): Likewise.
35141         (libc_feholdsetroundf_ctx): Likewise.
35142         (libc_feholdsetroundl_ctx): Likewise.
35144         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35145         with __USE_GNU instead of XOPEN cpp guards.
35147         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35148         0.
35150         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35151         with XOPEN cpp guards.
35153 2014-04-30  Julian Brown  <julian@codesourcery.com>
35155         [BZ #16888]
35156         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35157         handling.
35159 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35161         [BZ #9894]
35162         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35163         Change to 2.6.32.
35164         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35165         * sysdeps/unix/sysv/linux/configure: Regenerated.
35166         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35167         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35168         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35169         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35170         * README: Update reference to required Linux kernel version.
35171         * manual/install.texi (Linux): Update reference to required Linux
35172         kernel headers version.
35173         * INSTALL: Regenerated.
35175         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35176         header inclusion.
35177         [POSIX] (limits.h): Likewise.
35178         [POSIX] (math.h): Likewise.
35179         [POSIX] (sys/wait.h): Likewise.
35180         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35181         function.
35182         [POSIX] (stddef.h): Do not allow header inclusion.
35184 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35186         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35188 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35190         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35191         Return immediately after lll_futex_wake.
35193 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35195         [BZ #16791]
35196         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35197         structure.
35198         (datahead_init_pos): Call datahead_init_common early.
35199         (datahead_init_neg): Likewise.
35201         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35202         datahead_init_neg): New functions.
35203         * nscd/aicache.c (addhstaiX): Use them.
35204         * nscd/grpcache.c (cache_addgr): Likewise.
35205         * nscd/hstcache.c (cache_addhst): Likewise.
35206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35207         * nscd/netgroupcache.c (do_notfound): Likewise.
35208         (addgetnetgrentX): Likewise.
35209         (addinnetgrX): Likewise.
35210         * nscd/pwdcache.c (cache_addpw): Likewise.
35211         * nscd/servicescache.c (cache_addserv): Likewise.
35213 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35214             Atsushi Onoe  <atsushi@onoe.org>
35216         [BZ #14308]
35217         [BZ #12994]
35218         [BZ #13651]
35219         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35220         one response is valid.
35221         * resolv/res_send.c (send_dg): Check for validity of other
35222         response if the current response is a referral.
35224 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35226         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35228 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35230         [BZ #16823]
35231         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35232         Always divide by positive zero when computing -Inf result.
35233         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35234         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35236 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35238         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35239         FPSCR if value do not change.
35240         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35241         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35242         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35243         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35244         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35245         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35246         function.
35248 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35250         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35251         * sysdeps/unix/sysv/linux/hppa: Move directory from
35252         ports/systeps/unix/sysv/linux/hppa.
35253         * README: Update listing for hppa-*-linux-gnu.
35255 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35257         [BZ #16754]
35258         * manual/stdio.texi (Hook functions): Fix types of stream hook
35259         functions.
35260         [BZ #16854]
35261         * socket/sys/socket.h: Fix typo in comment.
35263 2014-04-28  Wilco  <wdijkstr@arm.com>
35265         * sysdeps/arm/fenv_private.h: New file.
35266         * sysdeps/arm/math_private.h: New file.
35267         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35269 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35271         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35272         with __int128_t.
35273         (La_x86_64_retval): Likewise.
35275 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35277         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35278         fpsr if value didn't change.
35279         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35280         to fpcr if value didn't change.
35281         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35282         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35283         fpsr or fpcr if value didn't change.
35284         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35285         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35286         fpcr if value didn't change.
35287         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35288         to fpsr if value didn't change.
35290 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35292         * nptl/tst-sem3.c: Use test-skeleton.c
35293         (main): Rename to do_test.  Use return instead of
35294         exit.
35295         * nptl/tst-sem4.c: Use test-skeleton.c
35296         (main): Rename to do_test.
35298 2014-04-22  David S. Miller  <davem@davemloft.net>
35300         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35301         (struct sigaction): New struct member __glibc_reserved0, change
35302         type of sa_flags to int.
35304 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35306         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35307         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35309 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35311         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35312         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35314 2014-04-22  Will Newton  <will.newton@linaro.org>
35315             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35317         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35318         (__longjmp): Add longjmp and longjmp_target SystemTap
35319         probes.
35320         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35321         (__sigsetjmp): Add setjmp SystemTap probe.
35323 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35325         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35326         match manual order.
35328 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35330         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35332         * sysdeps/powerpc/fpu/fenv_private.h
35333         (libc_feholdexcept_setroundl_ctx): Define to
35334         libc_feholdexcept_setround_ppc_ctx.
35335         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35336         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35337         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35338         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35340 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35342         * sysdeps/aarch64/math-tests.h: New file.
35344 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35346         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35347         New.
35348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35349         Check and set bit_AVX2_Usable.
35350         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35351         macro.
35352         (bit_AVX2): Likewise.
35353         (index_AVX2_Usable): Likewise.
35354         (CPUID_AVX2): Likewise.
35355         (HAS_AVX2): Likewise.
35357 2014-04-17  Will Newton  <will.newton@linaro.org>
35359         * manual/setjmp.texi (System V contexts): Add note that
35360         calling setcontext on a context created by a call to a
35361         signal handler is undefined.  Update text to note that
35362         setcontext from a signal handler is possible but not
35363         recommended.
35365         [BZ #16629]
35366         * stdlib/tst-setcontext.c: Include signal.h.
35367         (main): Check that the signal stack before and
35368         after swapcontext is the same.
35370         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35371         Re-implement to restore registers in user code and avoid
35372         rt_sigreturn system call.
35374 2014-04-17  Wilco  <wdijkstr@arm.com>
35376         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35377         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35378         * math/test-fenv.c: Skip exception trap tests on targets which only
35379         support non-stop mode.
35381 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35382             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35384         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35385         (libc_feholdsetround_aarch64_ctx)
35386         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35387         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35388         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35389         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35390         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35391         (libc_feresetround_noexl_ctx): Define.
35393 2014-04-16  Richard Henderson  <rth@redhat.com>
35395         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35397         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35398         unwind tables.
35400         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35401         const from the non-libc, non-ldso copy.
35403         * sysdeps/alpha/libm-test-ulps: Regenerate.
35405 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35406             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35408         * sysdeps/aarch64/fpu/math_private.h: New file.
35410 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35412         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35414 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35416         [BZ #16275]
35417         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35418         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35419         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35420         Intel MPX bound registers before _dl_profile_fixup.
35421         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35422         registers after _dl_profile_fixup.  Save and restore bound
35423         registers bnd0/bnd1 when calling _dl_call_pltexit.
35424         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35425         (LR_BND_OFFSET): Likewise.
35426         (LRV_BND0_OFFSET): Likewise.
35427         (LRV_BND1_OFFSET): Likewise.
35429 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35431         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35432         to...
35433         * sysdeps/mach/hurd/i386/tls.h: ... here.
35434         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35435         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35436         fields.
35438 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35440         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35442 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35444         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35446 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35448         [BZ #14770]
35449         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35450         * sysdeps/s390/configure: Regenerate.
35452         [BZ #16824]
35453         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35454         Set round-to-nearest internally to reduce error accumulation.
35456 2014-04-16  Alan Modra  <amodra@gmail.com>
35458         [BZ #16740]
35459         [BZ #16619]
35460         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35461         * math/libm-test.inc (frexp_test_data): Add tests.
35462         * NEWS: Update fixed bug list.
35464 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35466         * benchtests/Makefile: Depend on libraries in build directory.
35467         (bench-math): Separate out math tests.
35468         (bench-pthread): Separate out pthread tests.
35469         (bench): Include math and pthread tests.
35471 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35473         [BZ #16831]
35474         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35475         _dl_debug_initialize.
35477         * configure.ac: Remove SELinux header check.
35478         * configure: Regenerate.
35479         * nscd/selinux.c (perms): Array of const char* to permission names.
35480         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35481         default policy. Call string_to_security_class and string_to_av_perm to
35482         translate strings. Enforce default policy and call avs_has_perm with
35483         results of translated strings.
35485 2014-04-13  David S. Miller  <davem@davemloft.net>
35487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35489 2014-04-12  Allan McRae  <allan@archlinux.org>
35491         [BZ #16838]
35492         * manual/string.texi (Collation Functions): Fix qsort argument
35493         order in example.
35494         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35496 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35498         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35499         Make the test a no-op if there are no exceptions defined.
35501 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35503         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35504         enable-hardcoded-path-in-tests
35506 2014-04-11  Will Newton  <will.newton@linaro.org>
35508         * benchtests/Makefile (extra-objs): Add json-lib.o.
35509         (bench-func): Tidy up JSON output.
35510         * benchtests/bench-skeleton.c: Include json-lib.h.
35511         (main): Use JSON library functions to do output of
35512         benchmark results.
35513         * benchtests/bench-timing-type.c (main): Output the
35514         timing type simply, leaving formatting to the user.
35515         * benchtests/json-lib.c: New file.
35516         * benchtests/json-lib.h: Likewise.
35518 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35520         [BZ #15215]
35521         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35522         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35523         memory barriers.  Add comments.
35524         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35525         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35526         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35527         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35528         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35529         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35531 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35533         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35534         * sysdeps/s390/s390-64/configure.ac: ... this ...
35535         * sysdeps/s390/configure.ac: ... to here.
35536         * sysdeps/s390/s390-32/configure: Delete file.
35537         * sysdeps/s390/s390-64/configure: Delete file.
35538         * sysdeps/s390/configure: Regenerate.
35540 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35542         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35544 2014-04-11  Will Newton  <will.newton@linaro.org>
35546         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35547         to zero if it is not defined elsewhere.  (mtrim): Test
35548         the value of MALLOC_DEBUG with #if rather than #ifdef.
35550 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35552         * benchtests/pthread_once-inputs: New file.
35553         * benchtests/pthread_once-source.c: New file.
35554         * benchtests/README: Update documentation.
35556 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35557             H.J. Lu  <hongjiu.lu@intel.com>
35559         [BZ #16275]
35560         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35561         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35562         * sysdeps/x86_64/configure: Regenerated.
35563         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35564         macro.
35565         (REGISTER_SAVE_RAX): Likewise.
35566         (REGISTER_SAVE_RCX): Likewise.
35567         (REGISTER_SAVE_RDX): Likewise.
35568         (REGISTER_SAVE_RSI): Likewise.
35569         (REGISTER_SAVE_RDI): Likewise.
35570         (REGISTER_SAVE_R8): Likewise.
35571         (REGISTER_SAVE_R9): Likewise.
35572         (REGISTER_SAVE_BND0): Likewise.
35573         (REGISTER_SAVE_BND1): Likewise.
35574         (REGISTER_SAVE_BND2): Likewise.
35575         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35576         bound registers when calling _dl_fixup.
35578 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35580         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35581         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35582         of its definition.
35583         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35584         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35585         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35586         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35587         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35588         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35589         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35591 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35593         [BZ #15514]
35594         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35595         pathconf(_PC_NAME_MAX).
35597 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35599         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35600         Remove macro usage.
35601         (__PTHREAD_SPINS): Move definition to ...
35602         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35603         (__PTHREAD_SPINS): ... here.
35604         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35605         (__PTHREAD_SPIN): Likewise.
35606         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35607         (__PTHREAD_SPIN): Likewise.
35608         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35609         (__PTHREAD_SPIN): Likewise.
35610         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35611         (__PTHREAD_SPIN): Likewise.
35612         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35613         (__PTHREAD_SPIN): Likewise.
35614         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35615         (__PTHREAD_SPIN): Likewise.
35616         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35617         (__PTHREAD_SPIN): Likewise.
35618         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35619         (__PTHREAD_SPIN): Likewise.
35620         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35621         (__PTHREAD_SPIN): Likewise.
35622         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35623         (__PTHREAD_SPIN): Likewise.
35624         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35625         (__PTHREAD_SPIN): Likewise.
35626         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35627         (__PTHREAD_SPIN): Likewise.
35629         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35630         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35631         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35632         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35633         imply folder.
35634         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35635         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35636         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35637         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35638         correct imply path.
35639         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35640         strlen symbol for non multi-arch builds.
35641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35642         missing hidden_def and weak_alias.
35644 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35646         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35648 2014-04-07  Will Newton  <will.newton@linaro.org>
35650         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35651         and contents.  [!_LIBC] Remove #ifndef and contents.
35652         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35653         * string/memccpy.c (__memccpy): Use ANSI prototype.
35654         * string/memfrob.c (memfrob): Likewise.
35655         * string/strcoll.c (STRCOLL): Likewise.
35656         * string/strlen.c (strlen): Likewise.
35657         * string/strtok.c (STRTOK): Likewise.
35658         * string/strcat.c: Remove unused #include of memcopy.h.
35659         (strcat): Use ANSI prototype.
35660         * string/strchr.c: Remove unused #include of memcopy.h.
35661         (strchr): Use ANSI prototype.
35662         * string/strcmp.c: Remove unused #include of memcopy.h.
35663         (strcmp): Use ANSI prototype.
35664         * string/strcpy.c: Remove unused #include of memcopy.h.
35665         (strcpy): Use ANSI prototype.
35667 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35669         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35670         * config.make.in (config-extra-cppflags): Set it from
35671         libc_extra_cppflags.
35672         * configure.ac (libc_extra_cflags): Make it accumulate over
35673         configure fragments.
35674         (libc_extra_cppflags): New flag.
35675         * configure. Regenerate.
35676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35677         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35678         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35681         [BZ #16815]
35682         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35683         result for FE_DOWNWARD rounding mode.
35684         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35685         Likewise.
35686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35688 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35690         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35691         in function argument name.
35693 2014-04-03  David Svoboda  <svoboda@cert.org>
35695         [BZ #5666]
35696         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35697         explicitly.
35699 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35701         * elf/dl-unmap-segments.h: New file.
35702         * sysdeps/generic/ldsodefs.h
35703         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35704         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35705         * elf/dl-fptr.c: Likewise.
35706         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35707         * sysdeps/aarch64/tlsdesc.c: Likewise.
35708         * sysdeps/arm/tlsdesc.c: Likewise.
35709         * sysdeps/i386/tlsdesc.c: Likewise.
35710         * sysdeps/tile/dl-runtime.c: Likewise.
35711         * sysdeps/x86_64/tlsdesc.c: Likewise.
35712         * elf/dl-load.h: New file.
35713         * elf/dl-load.c: Include it.
35714         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35715         Macros moved to dl-load.h.
35716         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35717         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35718         Use _dl_unmap_segments in place of __munmap.
35719         Break out segment-mapping loop into ...
35720         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35722 2014-04-03  Will Newton  <will.newton@linaro.org>
35724         * elf/dl-lookup.c (do_lookup_x): Remove comment
35725         referring to nested function and move variable
35726         declarations down to before first use.
35728 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35730         [BZ #16799]
35731         [BZ #16800]
35732         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35733         with 0 numerator.
35734         * math/s_catanf.c (__catanf): Likewise.
35735         * math/s_catanh.c (__catanh): Likewise.
35736         * math/s_catanhf.c (__catanhf): Likewise.
35737         * math/s_catanhl.c (__catanhl): Likewise.
35738         * math/s_catanl.c (__catanl): Likewise.
35739         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35740         by positive zero when computing -Inf result.
35741         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35742         (catanh_test): Likewise.
35743         * sysdeps/i386/fpu/libm-test-ulps: Update.
35744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35746         [BZ #16789]
35747         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35748         instead of using underflowing value in computing result.
35749         * math/s_clog10.c (__clog10): Likewise.
35750         * math/s_clog10f.c (__clog10f): Likewise.
35751         * math/s_clog10l.c (__clog10l): Likewise.
35752         * math/s_clogf.c (__clogf): Likewise.
35753         * math/s_clogl.c (__clogl): Likewise.
35754         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35755         (clog10_test): Likewise.
35756         * sysdeps/i386/fpu/libm-test-ulps: Update.
35757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35759 2014-04-02  Alan Modra  <amodra@gmail.com>
35761         [BZ #16739]
35762         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35763         output when value is near a power of two.  Use int64_t for lx and
35764         remove casts.  Use decimal rather than hex exponent constants.
35765         Don't use long double multiplication when double will suffice.
35766         * math/libm-test.inc (nextafter_test_data): Add tests.
35767         * NEWS: Add 16739 and 16786 to bug list.
35769         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35771         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35773 2014-04-01  Will Newton  <will.newton@linaro.org>
35775         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35776         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35778 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35780         [BZ #13347]
35781         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35782         * nptl/tst-setuid2.c: New file.
35783         * nptl/Makefile (xtests): Add tst-setuid2.
35785 2014-04-01  Alan Modra  <amodra@gmail.com>
35787         [BZ #16786]
35788         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35790 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35792         [BZ #6803]
35793         [BZ #6804]
35794         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35795         set errno as appropriate.
35796         * math/w_scalbf.c (__scalbf): Likewise.
35797         * math/w_scalbl.c (__scalbl): Likewise.
35798         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35799         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35800         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35801         Add more NaN tests.
35803         [BZ #16349]
35804         * math/w_atan2.c: Include <errno.h>.
35805         (__atan2): Set errno for result underflowing to zero.
35806         * math/w_atan2f.c: Include <errno.h>.
35807         (__atan2f): Set errno for result underflowing to zero.
35808         * math/w_atan2l.c: Include <errno.h>.
35809         (__atan2l): Set errno for result underflowing to zero.
35810         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35811         tests.
35812         * math/auto-libm-test-out: Regenerated.
35814 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35816         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35817         Encode instruction correctly in little endian.
35818         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35819         Likewise.
35820         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35821         Likewise.
35822         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35823         Likewise.
35824         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35825         Likewise.
35827 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35829         [BZ #9894]
35830         * sysdeps/unix/sysv/linux/kernel-features.h
35831         [__sparc__ && !__arch64__ && !__sparc_v9__]
35832         (__ASSUME_SET_ROBUST_LIST): Do not define.
35833         [__sparc__ && !__arch64__ && !__sparc_v9__]
35834         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35835         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35836         Likewise.
35837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35838         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35839         (__ASSUME_REQUEUE_PI): Likewise.
35840         (__ASSUME_SET_ROBUST_LIST): Likewise.
35841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35842         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35843         Undefine.
35844         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35845         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35846         Likewise.
35847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35848         Likewise.
35849         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35850         Likewise.
35851         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35852         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35853         Undefine.
35854         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35855         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35856         Likewise.
35858         [BZ #16648]
35859         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35860         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35861         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35863 2014-03-31  Will Newton  <will.newton@linaro.org>
35865         * benchtests/Makefile (bench): Add ffs and ffsll to list
35866         of tests.
35867         * benchtests/ffs-inputs: New file.
35868         * benchtests/ffsll-inputs: Likewise.
35870 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35872         [BZ #16770]
35873         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35874         too large before casting to int.
35875         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35876         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35877         * math/libm-test.inc (scalb_test_data): Add more tests.
35879 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35881         * benchtests/Makefile (DETAILED_OPT): New make option.
35882         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35883         set.
35884         * benchtests/bench-skeleton.c: Include stdbool.h.
35885         (main): Store and print timings per input.
35886         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35887         member to each argument value.
35888         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35889         (_print_arg_data): Initialize per-input timing to 0.
35891         * benchtests/Makefile (timing-type): New binary.
35892         (bench-clean): Also remove bench-timing-type.
35893         (bench): New target for timing-type.
35894         (bench-func): Print output in JSON format.
35895         * benchtests/bench-skeleton.c (main): Print output in JSON
35896         format.
35897         * benchtests/bench-timing-type.c: New file.
35898         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35899         (TIMING_PRINT_STATS): Remove.
35900         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35901         name separately.
35903         * benchtests/bench-modf.c: Remove.
35904         * benchtests/modf-inputs: New inputs file.
35906 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35908         [BZ #16362]
35909         * math/s_clog10.c (M_PI_LOG10E): New macro.
35910         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35911         imaginary parts are 0.
35912         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35913         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35914         imaginary parts are 0.
35915         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35916         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35917         imaginary parts are 0.
35918         * math/libm-test.inc (clog10_test_data): Update expected results
35919         for when real and imaginary parts are 0.
35921 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35923         * elf/dl-load.c: Finish conversion of __builtin_expect into
35924         __glibc_{un}likely.
35926 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35928         [BZ #16348]
35929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35930         1+x for argument with exponent below -67.
35931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35932         Likewise.
35933         * math/auto-libm-test-in: Add more tests of exp.
35934         * math/auto-libm-test-out: Regenerated.
35936 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35938         [BZ #16759]
35939         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35940         (nscd_getnetgrent): Use it.
35942         [BZ #16760]
35943         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35944         of stpcpy.
35946 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35948         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35949         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35950         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35951         (lll_robust_unlock): Remove out of line section. Use cfi
35952         intrinsics.
35953         (LLL_STUB_UNWIND_INFO*): Remove.
35954         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35955         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35956         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35957         (lll_robust_unlock): Remove out of line section. Use cfi
35958         intrinsics.
35959         (LLL_STUB_UNWIND_INFO*): Remove.
35961 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35963         [BZ #16758]
35964         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35965         blank values.
35967 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35969         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35971 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35973         [BZ #16198]
35974         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35975         fnstenv.
35976         * math/test-fenv-preserve.c: New file.
35977         * math/Makefile (tests): Add test-fenv-preserve.
35979 2014-03-26  Will Newton <will.newton@linaro.org>
35981         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35983 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35985         * scripts/versionlist.awk: Partition the version sets and emit all
35986         GLIBC_* (sorted) before all others (sorted).
35988 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35990         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35991         GLIBC_2.2.5 version.
35993 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35995         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35996         calls.
35998         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35999         previous change.
36001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36003 2014-03-25  Andreas Schwab  <schwab@suse.de>
36005         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36006         label to be used after in6ailist is initialized.
36008 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36010         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36011         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36013 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36015         [BZ #16357]
36016         [BZ #16599]
36017         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36018         min_plus_half.
36019         (fp_formats): Update initializers.
36020         (init_fp_formats): Initialize new field.
36021         (output_for_one_input_case): Allow underflow for results up to
36022         min_plus_half.
36023         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36024         * math/auto-libm-test-in: Don't mark some underflows from asin and
36025         atanh as spurious.
36026         * math/auto-libm-test-out: Regenerated.
36027         * sysdeps/i386/fpu/libm-test-ulps: Update.
36028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36030 2014-03-25  Andreas Schwab  <schwab@suse.de>
36032         * libio/Makefile (tst-ftell-partial-wide-ENV)
36033         (tst-ftell-active-handler-ENV): Define.
36035 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36037         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36039 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36041         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36043 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36045         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36046         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36047         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36049 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36051         [BZ #16634]
36052         * elf/dl-load.c (open_verify): Add mode parameter.
36053         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36054         (open_path): Change from boolean 'secure' to complete flag 'mode'
36055         (_dl_map_object): Adjust.
36056         * elf/Makefile (tests): Add tst-dlopen-aout.
36057         * elf/tst-dlopen-aout.c: New test.
36059 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36061         [BZ #16714]
36062         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36063         (struct stat): Rename member pad0 to __glibc_reserved0.
36065         [BZ #16712]
36066         * sysdeps/s390/s390-32/bits/wordsize.h
36067         (__WORDSIZE32_SIZE_ULONG): New define.
36068         * sysdeps/s390/s390-64/bits/wordsize.h
36069         (__WORDSIZE32_SIZE_ULONG): Likewise.
36070         * sysdeps/generic/stdint.h (SIZE_MAX):
36071         Define as UL if __WORDSIZE32_SIZE_ULONG.
36073         [BZ #16713]
36074         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36075         (__glibc_reserved0): New variable.
36076         (sa_flags): Change type to int.
36078         * posix/Makefile (before-compile): Use += before-compile instead
36079         of a :=.
36081         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36082         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36084 2014-03-20  Andreas Schwab  <schwab@suse.de>
36086         [BZ #16743]
36087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36088         non-matching result from nscd.
36090 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36092         * scripts/bench.py: Moved to ...
36093         * benchtests/scripts/bench.py: ... here.
36094         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36096 2014-03-24  Andreas Schwab  <schwab@suse.de>
36098         [BZ #16002]
36099         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36100         alloca_account and account alloca use for struct in6ailist.
36102 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36104         [BZ #16284]
36105         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36106         rounding mode to recompute results that overflow to infinity or
36107         underflow to zero.
36108         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36109         bug 16284.
36110         * math/auto-libm-test-out: Regenerated.
36111         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36112         (ccosh_test): Likewise.
36113         (csin_test_data): Use plus_oflow.
36114         (csin_test): Use ALL_RM_TEST.
36115         (csinh_test_data): Use plus_oflow.
36116         (csinh_test): Use ALL_RM_TEST.
36117         * sysdeps/i386/fpu/libm-test-ulps: Update.
36118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36120 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36122         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36123         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36124         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36126         [BZ #16731]
36127         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36128         when x - 1 is zero.
36129         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36130         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36131         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36132         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36133         argument is 1.
36134         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36135         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36136         zero.
36137         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36138         * sysdeps/i386/fpu/libm-test-ulps: Update.
36139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36143         * scripts/bench.pl: Remove file.
36144         * scripts/bench.py: New benchmark script.
36145         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36146         * benchtests/README: Mention python dependency.
36147         * scripts/pylintrc: New file.
36148         * scripts/pylint: New file.
36150         * bits/mathdef.h: Use #ifdef instead of #if.
36151         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36152         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36153         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36154         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36155         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36156         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36158 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36159             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36161         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36163         and strpbrk-ppc64 objects.
36164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36165         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36167         multiarch strpbrk for POWER7.
36168         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36169         multiarch strpbrk for PPC64.
36170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36171         ifunc selector.
36172         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36173         strpbrk for POWER7.
36175 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36177         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36178         (atan_test): Likewise.
36179         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36180         (atanh_test): Use ALL_RM_TEST.
36181         (atan2_test_data): Likewise.
36182         (cabs_test): Likewise.
36183         (cacosh_test): Likewise.
36184         (carg_test): Likewise.
36185         (casin_test): Likewise.
36186         (casinh_test): Likewise.
36187         (cbrt_test): Likewise.
36188         (csqrt_test): Likewise.
36189         (erf_test): Likewise.
36190         (erfc_test): Likewise.
36191         (pow10_test): Likewise.
36192         (exp2_test): Likewise.
36193         (hypot_test): Likewise.
36194         (j0_test): Likewise.
36195         (j1_test): Likewise.
36196         (lgamma_test): Likewise.
36197         (gamma_test): Likewise.
36198         (sincos_test): Likewise.
36199         (tanh_test): Likewise.
36200         (y0_test): Likewise.
36201         (y1_test): Likewise.
36202         * sysdeps/i386/fpu/libm-test-ulps: Update.
36203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36205 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36207         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36209         and strcspn-ppc64 objects.
36210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36211         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36212         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36213         multiarch strcspn for POWER7.
36214         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36215         multiarch strcspn for PPC64.
36216         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36217         ifunc selector.
36218         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36219         strcspn for POWER7.
36221 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36223         * math/gen-libm-test.pl (generate_testfile): Expect only function
36224         name as argument to AUTO_TESTS_* and pass results for all rounding
36225         modes to parse_args.
36226         (parse_auto_input): Separate inputs of automatic tests from
36227         outputs before storing in %auto_tests.
36228         * math/libm-test.inc (acos_test_data): Update call to
36229         AUTO_TESTS_f_f.
36230         (acos_test): Use ALL_RM_TEST.
36231         (acos_tonearest_test_data): Remove.
36232         (acos_test_tonearest): Likewise.
36233         (acos_towardzero_test_data): Likewise.
36234         (acos_test_towardzero): Likewise.
36235         (acos_downward_test_data): Likewise.
36236         (acos_test_downward): Likewise.
36237         (acos_upward_test_data): Likewise.
36238         (acos_test_upward): Likewise.
36239         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36240         (asin_test_data): Likewise.
36241         (asin_test): Use ALL_RM_TEST.
36242         (asin_tonearest_test_data): Remove.
36243         (asin_test_tonearest): Likewise.
36244         (asin_towardzero_test_data): Likewise.
36245         (asin_test_towardzero): Likewise.
36246         (asin_downward_test_data): Likewise.
36247         (asin_test_downward): Likewise.
36248         (asin_upward_test_data): Likewise.
36249         (asin_test_upward): Likewise.
36250         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36251         (atan_test_data): Likewise.
36252         (atanh_test_data): Likewise.
36253         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36254         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36255         (carg_test_data): Likewise.
36256         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36257         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36258         (ccosh_test_data): Likewise.
36259         (cexp_test_data): Likewise.
36260         (clog_test_data): Likewise.
36261         (clog10_test_data): Likewise.
36262         (cos_test_data): Update call to AUTO_TESTS_f_f.
36263         (cos_test): Use ALL_RM_TEST.
36264         (cos_tonearest_test_data): Remove.
36265         (cos_test_tonearest): Likewise.
36266         (cos_towardzero_test_data): Likewise.
36267         (cos_test_towardzero): Likewise.
36268         (cos_downward_test_data): Likewise.
36269         (cos_test_downward): Likewise.
36270         (cos_upward_test_data): Likewise.
36271         (cos_test_upward): Likewise.
36272         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36273         (cosh_test): Use ALL_RM_TEST.
36274         (cosh_tonearest_test_data): Remove.
36275         (cosh_test_tonearest): Likewise.
36276         (cosh_towardzero_test_data): Likewise.
36277         (cosh_test_towardzero): Likewise.
36278         (cosh_downward_test_data): Likewise.
36279         (cosh_test_downward): Likewise.
36280         (cosh_upward_test_data): Likewise.
36281         (cosh_test_upward): Likewise.
36282         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36283         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36284         (ctan_test_data): Likewise.
36285         (ctan_test): Use ALL_RM_TEST.
36286         (ctan_tonearest_test_data): Remove.
36287         (ctan_test_tonearest): Likewise.
36288         (ctan_towardzero_test_data): Likewise.
36289         (ctan_test_towardzero): Likewise.
36290         (ctan_downward_test_data): Likewise.
36291         (ctan_test_downward): Likewise.
36292         (ctan_upward_test_data): Likewise.
36293         (ctan_test_upward): Likewise.
36294         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36295         (ctanh_test): Use ALL_RM_TEST.
36296         (ctanh_tonearest_test_data): Remove.
36297         (ctanh_test_tonearest): Likewise.
36298         (ctanh_towardzero_test_data): Likewise.
36299         (ctanh_test_towardzero): Likewise.
36300         (ctanh_downward_test_data): Likewise.
36301         (ctanh_test_downward): Likewise.
36302         (ctanh_upward_test_data): Likewise.
36303         (ctanh_test_upward): Likewise.
36304         (erf_test_data): Update call to AUTO_TESTS_f_f.
36305         (erfc_test_data): Likewise.
36306         (exp_test_data): Likewise.
36307         (exp_test): Use ALL_RM_TEST.
36308         (exp_tonearest_test_data): Remove.
36309         (exp_test_tonearest): Likewise.
36310         (exp_towardzero_test_data): Likewise.
36311         (exp_test_towardzero): Likewise.
36312         (exp_downward_test_data): Likewise.
36313         (exp_test_downward): Likewise.
36314         (exp_upward_test_data): Likewise.
36315         (exp_test_upward): Likewise.
36316         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36317         (exp10_test): Use ALL_RM_TEST.
36318         (exp10_tonearest_test_data): Remove.
36319         (exp10_test_tonearest): Likewise.
36320         (exp10_towardzero_test_data): Likewise.
36321         (exp10_test_towardzero): Likewise.
36322         (exp10_downward_test_data): Likewise.
36323         (exp10_test_downward): Likewise.
36324         (exp10_upward_test_data): Likewise.
36325         (exp10_test_upward): Likewise.
36326         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36327         (expm1_test_data): Likewise.
36328         (expm1_test): Use ALL_RM_TEST.
36329         (expm1_tonearest_test_data): Remove.
36330         (expm1_test_tonearest): Likewise.
36331         (expm1_towardzero_test_data): Likewise.
36332         (expm1_test_towardzero): Likewise.
36333         (expm1_downward_test_data): Likewise.
36334         (expm1_test_downward): Likewise.
36335         (expm1_upward_test_data): Likewise.
36336         (expm1_test_upward): Likewise.
36337         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36338         (fma_test): Use ALL_RM_TEST.
36339         (fma_towardzero_test_data): Remove.
36340         (fma_test_towardzero): Likewise.
36341         (fma_downward_test_data): Likewise.
36342         (fma_test_downward): Likewise.
36343         (fma_upward_test_data): Likewise.
36344         (fma_test_upward): Likewise.
36345         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36346         (j0_test_data): Update call to AUTO_TESTS_f_f.
36347         (j1_test_data): Likewise.
36348         (jn_test_data): Update call to AUTO_TESTS_if_f.
36349         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36350         (log_test_data): Update call to AUTO_TESTS_f_f.
36351         (log10_test_data): Likewise.
36352         (log1p_test_data): Likewise.
36353         (log2_test_data): Likewise.
36354         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36355         (pow_tonearest_test_data): Likewise.
36356         (sin_test_data): Update call to AUTO_TESTS_f_f.
36357         (sin_test): Use ALL_RM_TEST.
36358         (sin_tonearest_test_data): Remove.
36359         (sin_test_tonearest): Likewise.
36360         (sin_towardzero_test_data): Likewise.
36361         (sin_test_towardzero): Likewise.
36362         (sin_downward_test_data): Likewise.
36363         (sin_test_downward): Likewise.
36364         (sin_upward_test_data): Likewise.
36365         (sin_test_upward): Likewise.
36366         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36367         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36368         (sinh_test): Use ALL_RM_TEST.
36369         (sinh_tonearest_test_data): Remove.
36370         (sinh_test_tonearest): Likewise.
36371         (sinh_towardzero_test_data): Likewise.
36372         (sinh_test_towardzero): Likewise.
36373         (sinh_downward_test_data): Likewise.
36374         (sinh_test_downward): Likewise.
36375         (sinh_upward_test_data): Likewise.
36376         (sinh_test_upward): Likewise.
36377         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36378         (sqrt_test): Use ALL_RM_TEST.
36379         (sqrt_tonearest_test_data): Remove.
36380         (sqrt_test_tonearest): Likewise.
36381         (sqrt_towardzero_test_data): Likewise.
36382         (sqrt_test_towardzero): Likewise.
36383         (sqrt_downward_test_data): Likewise.
36384         (sqrt_test_downward): Likewise.
36385         (sqrt_upward_test_data): Likewise.
36386         (sqrt_test_upward): Likewise.
36387         (tan_test_data): Update call to AUTO_TESTS_f_f.
36388         (tan_test): Use ALL_RM_TEST.
36389         (tan_tonearest_test_data): Remove.
36390         (tan_test_tonearest): Likewise.
36391         (tan_towardzero_test_data): Likewise.
36392         (tan_test_towardzero): Likewise.
36393         (tan_downward_test_data): Likewise.
36394         (tan_test_downward): Likewise.
36395         (tan_upward_test_data): Likewise.
36396         (tan_test_upward): Likewise.
36397         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36398         (tgamma_test_data): Likewise.
36399         (y0_test_data): Likewise.
36400         (y1_test_data): Likewise.
36401         (yn_test_data): Update call to AUTO_TESTS_if_f.
36402         (main): Do not call removed functions.
36404 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36406         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36407         (ldexp_test_data): Remove.
36408         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36409         scalbn_test_data.
36410         (scalb_test): Use ALL_RM_TEST.
36412 2014-03-19  Andreas Schwab  <schwab@suse.de>
36414         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36416 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36418         [BZ #16649]
36419         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36420         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36421         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36423         (__ASSUME_PREADV): Undefine.
36424         (__ASSUME_PWRITEV): Likewise.
36426 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36428         * bits/mman-linux.h: Add comment about non-Linux use.
36429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36430         bits/mman-linux.h resting place.
36432         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36433         * bits/mman-linux.h: ... here.
36435 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36437         * conform/conformtest.pl: Add standard definition when calling C
36438         preprocessor on data files.
36439         (checknamespace): Remove unused variable.
36441 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36443         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36444         minus_oflow, plus_uflow and minus_uflow in expected results.
36445         * math/libm-test.inc (scalbn_test_data): Add more tests of
36446         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36447         minus_uflow.
36448         (scalbn_test): Use ALL_RM_TEST.
36449         (scalbln_test_data): Add more tests of negative arguments.  Use
36450         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36451         (scalbln_test): Use ALL_RM_TEST.
36453 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36455         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36457 2014-03-18  Will Newton  <will.newton@linaro.org>
36459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36460         inaccurate comment.
36462 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36464         * Makerules [!subdir] (check-abi): Exit with error status if a
36465         test failed.
36467 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36469         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36470         for rint.  Include results for all rounding modes.
36471         (nearbyint_test): Use ALL_RM_TEST.
36472         (rint_test_data): Include all tests used for nearbyint.
36474 2014-03-17  Will Newton  <will.newton@linaro.org>
36476         * nptl/sysdeps/pthread/pthread.h: Revert previous
36477         change.
36479         * sysdeps/generic/ldsodefs.h: Revert previous
36480         change.
36482         * libio/genops.c: Revert previous change.
36483         * libio/libioP.h: Likewise.
36484         * stdio-common/vfprintf.c: Likewise.
36486         * sysdeps/generic/math_private.h: Revert previous
36487         change.
36489         * sysdeps/generic/math_private.h: Check whether
36490         HAVE_RM_CTX is defined with #ifdef rather
36491         than #if.
36493         * argp/argp-fmtstream.h: Check whether
36494         __STRICT_ANSI__ is defined with #ifdef rather
36495         than #if.
36496         * argp/argp.h: Likewise.
36498         * libio/genops.c: Check whether
36499         _IO_JUMPS_OFFSET is defined with #ifdef rather
36500         than #if.
36501         * libio/libioP.h: Likewise.
36502         * stdio-common/vfprintf.c: Likewise.
36504         * sysdeps/generic/ldsodefs.h: Check whether
36505         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36506         than #if.
36508         * nptl/sysdeps/pthread/pthread.h: Check
36509         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36510         its value.
36512 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36514         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36515         setting O_APPEND.
36516         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36517         test case.
36519         [BZ #16680]
36520         * libio/fileops.c (_IO_file_open): Seek to end of file but
36521         don't cache the offset.
36522         (get_file_offset): Remove function.
36523         (do_ftell): Use cached offset when available.
36524         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36525         don't cache the offset.
36526         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36527         case.
36528         (do_one_test): Call it.
36529         (do_ftell_test): Fix up expected old offset for a+ mode.
36530         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36531         available.
36533         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36534         up test status with function return status.
36535         (do_write_test): Likewise.
36536         (do_append_test): Likewise.
36538         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36539         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36540         Remove.
36542 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36544         * math/gen-libm-test.pl (parse_args): Handle results specified for
36545         each rounding mode separately.
36546         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36547         tests and results from lrint_tonearest_test_data,
36548         lrint_towardzero_test_data, lrint_downward_test_data and
36549         lrint_upward_test_data.
36550         (lrint_test): Use ALL_RM_TEST.
36551         (lrint_tonearest_test_data): Remove.
36552         (lrint_test_tonearest): Likewise.
36553         (lrint_towardzero_test_data): Likewise.
36554         (lrint_test_towardzero): Likewise.
36555         (lrint_downward_test_data): Likewise.
36556         (lrint_test_downward): Likewise.
36557         (lrint_upward_test_data): Likewise.
36558         (lrint_test_upward): Likewise.
36559         (llrint_test_data): Merge in per-rounding-mode tests and results
36560         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36561         llrint_downward_test_data and llrint_upward_test_data.
36562         (llrint_test): Use ALL_RM_TEST.
36563         (llrint_tonearest_test_data): Remove.
36564         (llrint_test_tonearest): Likewise.
36565         (llrint_towardzero_test_data): Likewise.
36566         (llrint_test_towardzero): Likewise.
36567         (llrint_downward_test_data): Likewise.
36568         (llrint_test_downward): Likewise.
36569         (llrint_upward_test_data): Likewise.
36570         (llrint_test_upward): Likewise.
36571         (rint_test_data): Merge in per-rounding-mode tests and results
36572         from rint_tonearest_test_data, rint_towardzero_test_data,
36573         rint_downward_test_data and rint_upward_test_data.  Add
36574         per-rounding-mode results for tests not in those arrays.
36575         (rint_test): Use ALL_RM_TEST.
36576         (rint_tonearest_test_data): Remove.
36577         (rint_test_tonearest): Likewise.
36578         (rint_towardzero_test_data): Likewise.
36579         (rint_test_towardzero): Likewise.
36580         (rint_downward_test_data): Likewise.
36581         (rint_test_downward): Likewise.
36582         (rint_upward_test_data): Likewise.
36583         (rint_test_upward): Likewise.
36584         (main): Don't call removed functions.
36586 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36588         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36589         "Compiled on ..." crapola.  It is anti-useful.
36591 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36593         * scripts/evaluate-test.sh: Handle fourth argument to determine
36594         whether test run should stop on failure.
36595         * Makeconfig (stop-on-test-failure): New variable.
36596         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36597         $(stop-on-test-failure).
36598         * Makefile (tests): Give a summary of results from testing and
36599         exit with failure status if they include an ERROR or FAIL.
36600         (xtests): Likewise.
36601         * manual/install.texi (Configuring and compiling): Mention
36602         stop-on-test-failure=y.
36603         * INSTALL: Regenerated.
36605 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36607         * scripts/versionlist.awk: New file.
36608         * Makerules [$(build-shared) = yes]
36609         (postclean-generated): Add Versions.def, not Versions.def.v and
36610         Versions.def.v.i.
36611         ($(common-objpfx)Versions.def.v.i): Target removed.
36612         ($(common-objpfx)Versions.def): New target.
36613         ($(common-objpfx)Versions.all): Depend on that rather that
36614         $(common-objpfx)Versions.def.v.
36615         * Versions.def: File removed.
36617         * Makeconfig (+gccwarn): Add -Wundef.
36618         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36619         a dl-sysdep.h breaking its contract.
36620         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36621         * include/stackinfo.h: New file.
36622         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36623         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36624         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36625         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36626         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36627         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36628         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36629         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36630         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36631         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36632         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36633         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36634         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36635         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36636         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36638 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36640         [BZ #16707]
36641         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36642         implementation.
36643         * math/libm-test.inc (round_test_data): Add more tests.
36645         [BZ #16706]
36646         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36647         implementation.
36648         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36650         [BZ #16701]
36651         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36652         implementation.
36653         * math/libm-test.inc (ceil_test_data): Add more tests.
36655         * math/libm-test.inc (trunc_test_data): Add more tests related to
36656         BZ#16414.
36658 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36660         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36661         with #if rather than #ifdef.
36662         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36664 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36666         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36667         first.  Disable AVX-512 GCC support if assembler doesn't support
36668         it.
36669         * sysdeps/x86_64/configure: Regenerated.
36671 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36673         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36674         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36675         (__old_pthread_attr_setstack): Likewise.
36676         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36677         [!_STACK_GROWS_DOWN]: Likewise.
36679 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36681         * config.make.in (have-bash2): Delete.
36682         * configure.ac (libc_cv_have_bash2): Delete.
36683         * configure: Regenerate.
36684         * elf/Makefile (common-ldd-rewrite): Rename to ...
36685         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36686         (sh-ldd-rewrite): Delete.
36687         (bash-ldd-rewrite): Delete.
36688         (have-bash2): Delete checks.
36689         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36690         ldd-rewrite.
36692         * config.make.in (have-ksh): Delete.
36693         (KSH): Delete.
36694         * configure.ac (libc_cv_have_ksh): Delete.
36695         * configure: Regenerate.
36697         * elf/Makefile: Delete $(have-ksh) check.
36698         ($(objpfx)sotruss): Change KSH to BASH.
36699         * elf/sotruss.ksh: Rename to ...
36700         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36701         function style to match POSIX.  Drop ksh vim mode setting.
36703         * manual/time.texi (Specifying the Time Zone with TZ): Change
36704         Tuesday to Thursday.
36706         * debug/tst-longjmp_chk2.c: Update header comment.
36707         (stackoverflow_handler): Add comment.  Call assert on pass value.
36709 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36711         [BZ #16194]
36712         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36713         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36714         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36715         (La_x86_64_vector): Add zmm.
36716         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36717         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36718         ($(objpfx)tst-audit10): New target.
36719         ($(objpfx)tst-audit10.out): Likewise.
36720         (tst-audit10-ENV): New.
36721         (AVX512-CFLAGS): Likewise.
36722         (CFLAGS-tst-audit10.c): Likewise.
36723         (CFLAGS-tst-auditmod10a.c): Likewise.
36724         (CFLAGS-tst-auditmod10b.c): Likewise.
36725         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36726         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36727         * sysdeps/x86_64/configure: Regenerated.
36728         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36729         AVX-512 zmm register support.
36730         (_dl_x86_64_save_sse): Likewise.
36731         (_dl_x86_64_restore_sse): Likewise.
36732         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36733         size vector registers.
36734         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36735         (ZMM_SIZE): Likewise.
36736         * sysdeps/x86_64/tst-audit10.c: New file.
36737         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36738         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36740 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36742         * configure.ac (HAVE_EHDR_START): New check.
36743         * configure: Regenerated.
36744         * config.h.in (HAVE_EHDR_START): New #undef.
36745         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36746         assuming the lowest-addressed segment maps the start of the file.
36748 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36750         * INSTALL: Regenerated.
36752 2014-03-13  Will Newton  <will.newton@linaro.org>
36754         * manual/setjmp.texi (System V contexts): Improve
36755         clarity and grammar of documentation.
36757 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36759         [BZ #16381]
36760         * elf/Makefile (tests): Add tst-pie2.
36761         (tests-pie): Add tst-pie2.
36762         * elf/tst-pie2.c: New file.
36763         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36764         for ET_EXEC.
36765         * elf/rtld.c (map_doit): Load executable as lt_executable.
36766         (dl_main): Likewise.
36768 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36770         [BZ #16642]
36771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36772         (__ASSUME_PSELECT): Undefine.
36774 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36776         [BZ #16689]
36777         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36778         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36779         static build.
36780         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36781         selector for static builds.
36783 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         [BZ #16695]
36786         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36787         key in the buffer.
36789 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36791         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36792         IFUNC selector for static builds.
36794 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36796         * sysdeps/mips/math_private.h [__mips_hard_float]
36797         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36798         libc_feresetround_mips_ctx.
36799         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36800         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36801         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36803         [BZ #16677]
36804         * math/s_nextafter.c (__nextafter): Do not return value from
36805         overflowing computation.
36806         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36807         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36808         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36809         Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36811         Likewise.
36812         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36813         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36815 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36817         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36818         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36819         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36820         the new mov targetting sp.
36822 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36824         [BZ #16683]
36825         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36826         Define it for static builds as well.
36827         (NO_BZERO_IMPL): Likewise.
36829 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36831         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36832         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36833         multiarch strspn for PPC64.
36834         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36835         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36837         (__libc_ifunc_impl_list): Likewise.
36838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36839         multiarch optimizations
36840         * string/strspn.c (strspn): Using macro to redefine symbol name.
36842 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36843             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36845         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36846         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36847         multiarch strncat for PPC64.
36848         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36849         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36851         (__libc_ifunc_impl_list): Likewise.
36852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36853         multiarch optimizations
36855 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36857         [BZ #16639]
36858         * nscd/nscd.service: Make service type forking.
36860 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36862         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36863         sign in non default rounding modes.
36864         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36866 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36868         * math/libm-test.inc (ALL_RM_TEST): New macro.
36869         (ceil_test): Use ALL_RM_TEST.
36870         (cimag_test): Likewise.
36871         (conj_test): Likewise.
36872         (copysign_test): Likewise.
36873         (cproj_test): Likewise.
36874         (creal_test): Likewise.
36875         (fabs_test): Likewise.
36876         (floor_test): Likewise.
36877         (fmax_test): Likewise.
36878         (fmin_test): Likewise.
36879         (fmod_test): Likewise.
36880         (fpclassify_test): Likewise.
36881         (frexp_test): Likewise.
36882         (ilogb_test): Likewise.
36883         (isfinite_test): Likewise.
36884         (finite_test): Likewise.
36885         (isgreater_test): Likewise.
36886         (isgreaterequal_test): Likewise.
36887         (isinf_test): Likewise.
36888         (isless_test): Likewise.
36889         (islessequal_test): Likewise.
36890         (islessgreater_test): Likewise.
36891         (isnan_test): Likewise.
36892         (isnormal_test): Likewise.
36893         (issignaling_test): Likewise.
36894         (isunordered_test): Likewise.
36895         (logb_test): Likewise.
36896         (logb_downward_test_data): Remove.
36897         (logb_test_downward): Likewise.
36898         (lround_test): Use ALL_RM_TEST.
36899         (llround_test): Likewise.
36900         (modf_test): Likewise.
36901         (nexttoward_test): Likewise.
36902         (remainder_test): Likewise.
36903         (drem_test): Likewise.
36904         (remainder_tonearest_test_data): Likewise.
36905         (remainder_test_tonearest): Likewise.
36906         (drem_test_tonearest): Likewise.
36907         (remainder_towardzero_test_data): Likewise.
36908         (remainder_test_towardzero): Likewise.
36909         (drem_test_towardzero): Likewise.
36910         (remainder_downward_test_data): Likewise.
36911         (remainder_test_downward): Likewise.
36912         (drem_test_downward): Likewise.
36913         (remainder_upward_test_data): Likewise.
36914         (remainder_test_upward): Likewise.
36915         (drem_test_upward): Likewise.
36916         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36917         (round_test): Use ALL_RM_TEST.
36918         (signbit_test): Likewise.
36919         (trunc_test): Likewise.
36920         (significand_test): Likewise.
36921         (main): Don't call removed functions.
36923 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36925         [BZ #16674]
36926         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36927         || __USE_XOPEN2K8].
36928         (ILL_ILLOPN): Likewise.
36929         (ILL_ILLADR): Likewise.
36930         (ILL_ILLTRP): Likewise.
36931         (ILL_PRVOPC): Likewise.
36932         (ILL_PRVREG): Likewise.
36933         (ILL_COPROC): Likewise.
36934         (ILL_BADSTK): Likewise.
36935         (FPE_INTDIV): Likewise.
36936         (FPE_INTOVF): Likewise.
36937         (FPE_FLTDIV): Likewise.
36938         (FPE_FLTOVF): Likewise.
36939         (FPE_FLTUND): Likewise.
36940         (FPE_FLTRES): Likewise.
36941         (FPE_FLTINV): Likewise.
36942         (FPE_FLTSUB): Likewise.
36943         (SEGV_MAPERR): Likewise.
36944         (SEGV_ACCERR): Likewise.
36945         (BUS_ADRALN): Likewise.
36946         (BUS_ADRERR): Likewise.
36947         (BUS_OBJERR): Likewise.
36948         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36949         (TRAP_TRACE): Likewise.
36950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36951         __USE_XOPEN2K8].
36952         (CLD_KILLED): Likewise.
36953         (CLD_DUMPED): Likewise.
36954         (CLD_TRAPPED): Likewise.
36955         (CLD_STOPPED): Likewise.
36956         (CLD_CONTINUED): Likewise.
36957         (POLL_IN): Likewise.
36958         (POLL_OUT): Likewise.
36959         (POLL_MSG): Likewise.
36960         (POLL_ERR): Likewise.
36961         (POLL_PRI): Likewise.
36962         (POLL_HUP): Likewise.
36963         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36964         Likewise.
36965         (ILL_ILLOPN): Likewise.
36966         (ILL_ILLADR): Likewise.
36967         (ILL_ILLTRP): Likewise.
36968         (ILL_PRVOPC): Likewise.
36969         (ILL_PRVREG): Likewise.
36970         (ILL_COPROC): Likewise.
36971         (ILL_BADSTK): Likewise.
36972         (FPE_INTDIV): Likewise.
36973         (FPE_INTOVF): Likewise.
36974         (FPE_FLTDIV): Likewise.
36975         (FPE_FLTOVF): Likewise.
36976         (FPE_FLTUND): Likewise.
36977         (FPE_FLTRES): Likewise.
36978         (FPE_FLTINV): Likewise.
36979         (FPE_FLTSUB): Likewise.
36980         (SEGV_MAPERR): Likewise.
36981         (SEGV_ACCERR): Likewise.
36982         (BUS_ADRALN): Likewise.
36983         (BUS_ADRERR): Likewise.
36984         (BUS_OBJERR): Likewise.
36985         (BUS_MCEERR_AR): Likewise.
36986         (BUS_MCEERR_AO): Likewise.
36987         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36988         (TRAP_TRACE): Likewise.
36989         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36990         __USE_XOPEN2K8].
36991         (CLD_KILLED): Likewise.
36992         (CLD_DUMPED): Likewise.
36993         (CLD_TRAPPED): Likewise.
36994         (CLD_STOPPED): Likewise.
36995         (CLD_CONTINUED): Likewise.
36996         (POLL_IN): Likewise.
36997         (POLL_OUT): Likewise.
36998         (POLL_MSG): Likewise.
36999         (POLL_ERR): Likewise.
37000         (POLL_PRI): Likewise.
37001         (POLL_HUP): Likewise.
37002         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37003         (ILL_ILLOPN): Likewise.
37004         (ILL_ILLADR): Likewise.
37005         (ILL_ILLTRP): Likewise.
37006         (ILL_PRVOPC): Likewise.
37007         (ILL_PRVREG): Likewise.
37008         (ILL_COPROC): Likewise.
37009         (ILL_BADSTK): Likewise.
37010         (FPE_INTDIV): Likewise.
37011         (FPE_INTOVF): Likewise.
37012         (FPE_FLTDIV): Likewise.
37013         (FPE_FLTOVF): Likewise.
37014         (FPE_FLTUND): Likewise.
37015         (FPE_FLTRES): Likewise.
37016         (FPE_FLTINV): Likewise.
37017         (FPE_FLTSUB): Likewise.
37018         (SEGV_MAPERR): Likewise.
37019         (SEGV_ACCERR): Likewise.
37020         (BUS_ADRALN): Likewise.
37021         (BUS_ADRERR): Likewise.
37022         (BUS_OBJERR): Likewise.
37023         (BUS_MCEERR_AR): Likewise.
37024         (BUS_MCEERR_AO): Likewise.
37025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37026         (TRAP_TRACE): Likewise.
37027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37028         __USE_XOPEN2K8].
37029         (CLD_KILLED): Likewise.
37030         (CLD_DUMPED): Likewise.
37031         (CLD_TRAPPED): Likewise.
37032         (CLD_STOPPED): Likewise.
37033         (CLD_CONTINUED): Likewise.
37034         (POLL_IN): Likewise.
37035         (POLL_OUT): Likewise.
37036         (POLL_MSG): Likewise.
37037         (POLL_ERR): Likewise.
37038         (POLL_PRI): Likewise.
37039         (POLL_HUP): Likewise.
37040         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37041         Likewise.
37042         (ILL_ILLOPN): Likewise.
37043         (ILL_ILLADR): Likewise.
37044         (ILL_ILLTRP): Likewise.
37045         (ILL_PRVOPC): Likewise.
37046         (ILL_PRVREG): Likewise.
37047         (ILL_COPROC): Likewise.
37048         (ILL_BADSTK): Likewise.
37049         (ILL_BADIADDR): Likewise.
37050         (ILL_BREAK): Likewise.
37051         (FPE_INTDIV): Likewise.
37052         (FPE_INTOVF): Likewise.
37053         (FPE_FLTDIV): Likewise.
37054         (FPE_FLTOVF): Likewise.
37055         (FPE_FLTUND): Likewise.
37056         (FPE_FLTRES): Likewise.
37057         (FPE_FLTINV): Likewise.
37058         (FPE_FLTSUB): Likewise.
37059         (FPE_DECOVF): Likewise.
37060         (FPE_DECDIV): Likewise.
37061         (FPE_DECERR): Likewise.
37062         (FPE_INVASC): Likewise.
37063         (FPE_INVDEC): Likewise.
37064         (SEGV_MAPERR): Likewise.
37065         (SEGV_ACCERR): Likewise.
37066         (SEGV_PSTKOVF): Likewise.
37067         (BUS_ADRALN): Likewise.
37068         (BUS_ADRERR): Likewise.
37069         (BUS_OBJERR): Likewise.
37070         (BUS_MCEERR_AR): Likewise.
37071         (BUS_MCEERR_AO): Likewise.
37072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37073         (TRAP_TRACE): Likewise.
37074         (TRAP_BRANCH): Likewise.
37075         (TRAP_HWBKPT): Likewise.
37076         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37077         __USE_XOPEN2K8].
37078         (CLD_KILLED): Likewise.
37079         (CLD_DUMPED): Likewise.
37080         (CLD_TRAPPED): Likewise.
37081         (CLD_STOPPED): Likewise.
37082         (CLD_CONTINUED): Likewise.
37083         (POLL_IN): Likewise.
37084         (POLL_OUT): Likewise.
37085         (POLL_MSG): Likewise.
37086         (POLL_ERR): Likewise.
37087         (POLL_PRI): Likewise.
37088         (POLL_HUP): Likewise.
37089         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37090         (ILL_ILLOPN): Likewise.
37091         (ILL_ILLADR): Likewise.
37092         (ILL_ILLTRP): Likewise.
37093         (ILL_PRVOPC): Likewise.
37094         (ILL_PRVREG): Likewise.
37095         (ILL_COPROC): Likewise.
37096         (ILL_BADSTK): Likewise.
37097         (FPE_INTDIV): Likewise.
37098         (FPE_INTOVF): Likewise.
37099         (FPE_FLTDIV): Likewise.
37100         (FPE_FLTOVF): Likewise.
37101         (FPE_FLTUND): Likewise.
37102         (FPE_FLTRES): Likewise.
37103         (FPE_FLTINV): Likewise.
37104         (FPE_FLTSUB): Likewise.
37105         (SEGV_MAPERR): Likewise.
37106         (SEGV_ACCERR): Likewise.
37107         (BUS_ADRALN): Likewise.
37108         (BUS_ADRERR): Likewise.
37109         (BUS_OBJERR): Likewise.
37110         (BUS_MCEERR_AR): Likewise.
37111         (BUS_MCEERR_AO): Likewise.
37112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37113         (TRAP_TRACE): Likewise.
37114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37115         __USE_XOPEN2K8].
37116         (CLD_KILLED): Likewise.
37117         (CLD_DUMPED): Likewise.
37118         (CLD_TRAPPED): Likewise.
37119         (CLD_STOPPED): Likewise.
37120         (CLD_CONTINUED): Likewise.
37121         (POLL_IN): Likewise.
37122         (POLL_OUT): Likewise.
37123         (POLL_MSG): Likewise.
37124         (POLL_ERR): Likewise.
37125         (POLL_PRI): Likewise.
37126         (POLL_HUP): Likewise.
37127         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37128         (ILL_ILLOPN): Likewise.
37129         (ILL_ILLADR): Likewise.
37130         (ILL_ILLTRP): Likewise.
37131         (ILL_PRVOPC): Likewise.
37132         (ILL_PRVREG): Likewise.
37133         (ILL_COPROC): Likewise.
37134         (ILL_BADSTK): Likewise.
37135         (FPE_INTDIV): Likewise.
37136         (FPE_INTOVF): Likewise.
37137         (FPE_FLTDIV): Likewise.
37138         (FPE_FLTOVF): Likewise.
37139         (FPE_FLTUND): Likewise.
37140         (FPE_FLTRES): Likewise.
37141         (FPE_FLTINV): Likewise.
37142         (FPE_FLTSUB): Likewise.
37143         (SEGV_MAPERR): Likewise.
37144         (SEGV_ACCERR): Likewise.
37145         (BUS_ADRALN): Likewise.
37146         (BUS_ADRERR): Likewise.
37147         (BUS_OBJERR): Likewise.
37148         (BUS_MCEERR_AR): Likewise.
37149         (BUS_MCEERR_AO): Likewise.
37150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37151         (TRAP_TRACE): Likewise.
37152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37153         __USE_XOPEN2K8].
37154         (CLD_KILLED): Likewise.
37155         (CLD_DUMPED): Likewise.
37156         (CLD_TRAPPED): Likewise.
37157         (CLD_STOPPED): Likewise.
37158         (CLD_CONTINUED): Likewise.
37159         (POLL_IN): Likewise.
37160         (POLL_OUT): Likewise.
37161         (POLL_MSG): Likewise.
37162         (POLL_ERR): Likewise.
37163         (POLL_PRI): Likewise.
37164         (POLL_HUP): Likewise.
37165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37166         (ILL_ILLOPN): Likewise.
37167         (ILL_ILLADR): Likewise.
37168         (ILL_ILLTRP): Likewise.
37169         (ILL_PRVOPC): Likewise.
37170         (ILL_PRVREG): Likewise.
37171         (ILL_COPROC): Likewise.
37172         (ILL_BADSTK): Likewise.
37173         (FPE_INTDIV): Likewise.
37174         (FPE_INTOVF): Likewise.
37175         (FPE_FLTDIV): Likewise.
37176         (FPE_FLTOVF): Likewise.
37177         (FPE_FLTUND): Likewise.
37178         (FPE_FLTRES): Likewise.
37179         (FPE_FLTINV): Likewise.
37180         (FPE_FLTSUB): Likewise.
37181         (SEGV_MAPERR): Likewise.
37182         (SEGV_ACCERR): Likewise.
37183         (BUS_ADRALN): Likewise.
37184         (BUS_ADRERR): Likewise.
37185         (BUS_OBJERR): Likewise.
37186         (BUS_MCEERR_AR): Likewise.
37187         (BUS_MCEERR_AO): Likewise.
37188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37189         (TRAP_TRACE): Likewise.
37190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37191         __USE_XOPEN2K8].
37192         (CLD_KILLED): Likewise.
37193         (CLD_DUMPED): Likewise.
37194         (CLD_TRAPPED): Likewise.
37195         (CLD_STOPPED): Likewise.
37196         (CLD_CONTINUED): Likewise.
37197         (POLL_IN): Likewise.
37198         (POLL_OUT): Likewise.
37199         (POLL_MSG): Likewise.
37200         (POLL_ERR): Likewise.
37201         (POLL_PRI): Likewise.
37202         (POLL_HUP): Likewise.
37203         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37204         (ILL_ILLOPN): Likewise.
37205         (ILL_ILLADR): Likewise.
37206         (ILL_ILLTRP): Likewise.
37207         (ILL_PRVOPC): Likewise.
37208         (ILL_PRVREG): Likewise.
37209         (ILL_COPROC): Likewise.
37210         (ILL_BADSTK): Likewise.
37211         (ILL_DBLFLT): Likewise.
37212         (ILL_HARDWALL): Likewise.
37213         (FPE_INTDIV): Likewise.
37214         (FPE_INTOVF): Likewise.
37215         (FPE_FLTDIV): Likewise.
37216         (FPE_FLTOVF): Likewise.
37217         (FPE_FLTUND): Likewise.
37218         (FPE_FLTRES): Likewise.
37219         (FPE_FLTINV): Likewise.
37220         (FPE_FLTSUB): Likewise.
37221         (SEGV_MAPERR): Likewise.
37222         (SEGV_ACCERR): Likewise.
37223         (BUS_ADRALN): Likewise.
37224         (BUS_ADRERR): Likewise.
37225         (BUS_OBJERR): Likewise.
37226         (BUS_MCEERR_AR): Likewise.
37227         (BUS_MCEERR_AO): Likewise.
37228         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37229         (TRAP_TRACE): Likewise.
37230         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37231         __USE_XOPEN2K8].
37232         (CLD_KILLED): Likewise.
37233         (CLD_DUMPED): Likewise.
37234         (CLD_TRAPPED): Likewise.
37235         (CLD_STOPPED): Likewise.
37236         (CLD_CONTINUED): Likewise.
37237         (POLL_IN): Likewise.
37238         (POLL_OUT): Likewise.
37239         (POLL_MSG): Likewise.
37240         (POLL_ERR): Likewise.
37241         (POLL_PRI): Likewise.
37242         (POLL_HUP): Likewise.
37243         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37244         (ILL_ILLOPN): Likewise.
37245         (ILL_ILLADR): Likewise.
37246         (ILL_ILLTRP): Likewise.
37247         (ILL_PRVOPC): Likewise.
37248         (ILL_PRVREG): Likewise.
37249         (ILL_COPROC): Likewise.
37250         (ILL_BADSTK): Likewise.
37251         (FPE_INTDIV): Likewise.
37252         (FPE_INTOVF): Likewise.
37253         (FPE_FLTDIV): Likewise.
37254         (FPE_FLTOVF): Likewise.
37255         (FPE_FLTUND): Likewise.
37256         (FPE_FLTRES): Likewise.
37257         (FPE_FLTINV): Likewise.
37258         (FPE_FLTSUB): Likewise.
37259         (SEGV_MAPERR): Likewise.
37260         (SEGV_ACCERR): Likewise.
37261         (BUS_ADRALN): Likewise.
37262         (BUS_ADRERR): Likewise.
37263         (BUS_OBJERR): Likewise.
37264         (BUS_MCEERR_AR): Likewise.
37265         (BUS_MCEERR_AO): Likewise.
37266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37267         (TRAP_TRACE): Likewise.
37268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37269         __USE_XOPEN2K8].
37270         (CLD_KILLED): Likewise.
37271         (CLD_DUMPED): Likewise.
37272         (CLD_TRAPPED): Likewise.
37273         (CLD_STOPPED): Likewise.
37274         (CLD_CONTINUED): Likewise.
37275         (POLL_IN): Likewise.
37276         (POLL_OUT): Likewise.
37277         (POLL_MSG): Likewise.
37278         (POLL_ERR): Likewise.
37279         (POLL_PRI): Likewise.
37280         (POLL_HUP): Likewise.
37281         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37282         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37284         [BZ #16670]
37285         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37286         before #include of <time.h>.
37287         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37288         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37289         (test-xfail-UNIX98/sched.h/conform): Likewise.
37291 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37293         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37294         error absence of trapping exception support.
37295         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37297 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37299         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37300         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37301         * timezone/Makefile (testdata): Move definition above include of
37302         Rules.
37303         (test-zones): New variable.
37304         (tests-special): Add zone files.
37305         (build-testdata): Use $(evaluate-test).
37307         * elf/Makefile (tests-special): Rename tests to end with .out.
37308         ($(objpfx)noload-mem): Likewise.
37309         ($(objpfx)tst-leaks1-mem): Likewise.
37310         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37311         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37312         $(objpfx)test-iconvconfig.out.
37313         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37314         set -e inside subshell and redirect output to file.
37315         * iconvdata/Makefile (generated): Rename tests to end with .out.
37316         Correct type.
37317         (tests-special): Rename tests to end with .out.
37318         ($(objpfx)mtrace-tst-loading): Likewise.
37319         * intl/Makefile (generated): Likewise.
37320         (tests-special): Likewise.
37321         ($(objpfx)mtrace-tst-gettext): Likewise.
37322         * misc/Makefile (generated): Likewise.
37323         (tests-special): Likewise.
37324         ($(objpfx)tst-error1-mem): Likewise.
37325         * nptl/Makefile (tests-special): Likewise.
37326         ($(objpfx)tst-stack3-mem): Likewise.
37327         (generated): Likewise.
37328         * posix/Makefile (generated): Likewise.
37329         (tests-special): Likewise.
37330         (xtests-special): Likewise.
37331         ($(objpfx)tst-fnmatch-mem): Likewise.
37332         ($(objpfx)bug-regex2-mem): Likewise.
37333         ($(objpfx)bug-regex14-mem): Likewise.
37334         ($(objpfx)bug-regex21-mem): Likewise.
37335         ($(objpfx)bug-regex31-mem): Likewise.
37336         ($(objpfx)tst-vfork3-mem): Likewise.
37337         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37338         ($(objpfx)tst-pcre-mem): Likewise.
37339         ($(objpfx)tst-boost-mem): Likewise.
37340         ($(objpfx)bug-ga2-mem): Likewise.
37341         ($(objpfx)bug-glob2-mem): Likewise.
37342         * resolv/Makefile (generate): Likewise.
37343         (tests-special): Likewise.
37344         (xtests-special): Likewise.
37345         (generated): Likewise.
37346         ($(objpfx)mtrace-tst-leaks): Likewise.
37347         ($(objpfx)mtrace-tst-leaks2): Likewise.
37349         * scripts/merge-test-results.sh: New file.
37350         * Makefile (tests-special-notdir): New variable.
37351         (tests): Run merge-test-results.sh.
37352         (xtests): Likewise.
37353         * Rules (tests-special-notdir): New variable.
37354         (xtests-special-notdir): Likewise.
37355         (tests): Run merge-test-results.sh
37356         (xtests): Likewise.
37358         * Makeconfig (test-xfail-name): New variable.
37359         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37360         compute variable name for expected failures.
37361         * conform/Makefile (conformtest-headers-data): New variable.
37362         (conformtest-standards): Likewise.
37363         (conformtest-headers-ISO): Likewise.
37364         (conformtest-headers-ISO99): Likewise.
37365         (conformtest-headers-ISO11): Likewise.
37366         (conformtest-headers-POSIX): Likewise.
37367         (conformtest-headers-XPG3): Likewise.
37368         (conformtest-headers-XPG4): Likewise.
37369         (conformtest-headers-UNIX98): Likewise.
37370         (conformtest-headers-XOPEN2K): Likewise.
37371         (conformtest-headers-POSIX2008): Likewise.
37372         (conformtest-headers-XOPEN2K8): Likewise.
37373         (conformtest-header-list-base): Likewise.
37374         (conformtest-header-list-tests): Likewise.
37375         (conformtest-header-base): Likewise.
37376         (conformtest-header-tests): Likewise.
37377         (tests-special): Add $(conformtest-header-list-tests).  If
37378         [$(fast-check) && !$(cross-compiling)], add
37379         $(conformtest-header-tests) instead of
37380         $(objpfx)run-conformtest.out.
37381         (generated): Add $(conformtest-header-list-base).  If
37382         [$(fast-check) && !$(cross-compiling)], add
37383         $(conformtest-header-base).  Remove previous setting.
37384         ($(conformtest-header-list-tests)): New target.
37385         (test-xfail-run-conformtest): Remove variable.
37386         ($(objpfx)run-conformtest.out): Remove target.
37387         (test-xfail-ISO11/complex.h/conform): New variable.
37388         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37389         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37390         (test-xfail-XPG3/varargs.h/conform): Likewise.
37391         (test-xfail-XPG4/varargs.h/conform): Likewise.
37392         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37393         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37394         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37395         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37396         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37397         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37398         (test-xfail-XPG3/ftw.h/conform): Likewise.
37399         (test-xfail-XPG3/grp.h/conform): Likewise.
37400         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37401         (test-xfail-XPG3/limits.h/conform): Likewise.
37402         (test-xfail-XPG3/pwd.h/conform): Likewise.
37403         (test-xfail-XPG3/search.h/conform): Likewise.
37404         (test-xfail-XPG3/signal.h/conform): Likewise.
37405         (test-xfail-XPG3/stdio.h/conform): Likewise.
37406         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37407         (test-xfail-XPG3/string.h/conform): Likewise.
37408         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37409         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37410         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37411         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37412         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37413         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37414         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37415         (test-xfail-XPG3/termios.h/conform): Likewise.
37416         (test-xfail-XPG3/time.h/conform): Likewise.
37417         (test-xfail-XPG3/unistd.h/conform): Likewise.
37418         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37419         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37420         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37421         (test-xfail-XPG4/netdb.h/conform): Likewise.
37422         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37423         (test-xfail-XPG4/signal.h/conform): Likewise.
37424         (test-xfail-XPG4/stdio.h/conform): Likewise.
37425         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37426         (test-xfail-XPG4/stropts.h/conform): Likewise.
37427         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37428         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37429         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37430         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37431         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37432         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37433         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37434         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37435         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37436         (test-xfail-XPG4/termios.h/conform): Likewise.
37437         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37438         (test-xfail-XPG4/unistd.h/conform): Likewise.
37439         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37440         (test-xfail-POSIX/sched.h/conform): Likewise.
37441         (test-xfail-POSIX/signal.h/conform): Likewise.
37442         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37443         (test-xfail-POSIX/tar.h/conform): Likewise.
37444         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37445         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37446         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37447         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37448         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37449         (test-xfail-UNIX98/sched.h/conform): Likewise.
37450         (test-xfail-UNIX98/signal.h/conform): Likewise.
37451         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37452         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37453         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37454         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37455         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37456         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37457         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37458         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37459         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37460         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37461         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37462         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37463         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37464         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37465         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37466         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37467         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37468         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37469         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37470         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37471         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37472         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37473         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37474         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37475         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37476         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37477         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37478         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37479         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37480         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37481         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37482         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37483         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37484         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37485         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37486         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37487         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37488         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37489         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37490         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37491         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37492         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37493         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37494         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37495         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37496         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37497         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37498         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37499         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37500         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37501         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37502         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37503         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37504         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37505         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37506         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37507         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37508         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37509         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37510         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37511         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37512         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37513         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37514         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37515         (conformtest-cc-flags): Likewise.
37516         ($(conformtest-header-tests): New target.
37517         * conform/check-header-lists.sh: New file.
37518         * conform/run-conformtest.sh: Remove.
37520         * conform/conformtest.pl: Allow ' and \ in values given for
37521         constants.
37522         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37523         inclusion.
37524         [POSIX] (sys/types.h): Likewise.
37525         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37526         inclusion.
37527         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37528         inclusion.
37529         * conform/data/signal.h-data (SIGIO): Remove expectation.
37530         [XPG3] (SIGBUS): Do not expect.
37531         [POSIX || XPG3] (SIGPOLL): Likewise.
37532         [POSIX || XPG3] (SIGPROF): Likewise.
37533         [POSIX || XPG3] (SIGSYS): Likewise.
37534         [XPG3] (SIGTRAP): Likewise.
37535         [POSIX || XPG3] (SIGURG): Likewise.
37536         [POSIX || XPG3] (SIGVTALRM): Likewise.
37537         [POSIX || XPG3] (SIGXCPU): Likewise.
37538         [POSIX || XPG3] (SIGXFSZ): Likewise.
37539         [POSIX] (SA_SIGINFO): Expect.
37540         [XPG3] (siginfo_t): Do not expect type or contents.
37541         [POSIX] (si_pid): Do not expect element.
37542         [POSIX] (si_uid): Likewise.
37543         [POSIX] (si_addr): Likewise.
37544         [POSIX] (si_status): Likewise.
37545         [POSIX] (si_band): Likewise.
37546         [XPG4] (si_value): Likewise.
37547         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37548         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37549         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37550         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37551         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37552         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37553         [POSIX || XPG3] (ILL_COPROC): Likewise.
37554         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37555         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37556         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37557         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37558         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37559         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37560         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37561         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37562         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37563         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37564         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37565         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37566         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37567         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37568         [POSIX || XPG3] (CLD_EXITED): Likewise.
37569         [POSIX || XPG3] (CLD_KILLED): Likewise.
37570         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37571         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37572         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37573         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37574         [POSIX || XPG3] (POLL_IN): Likewise.
37575         [POSIX || XPG3] (POLL_OUT): Likewise.
37576         [POSIX || XPG3] (POLL_MSG): Likewise.
37577         [POSIX || XPG3] (POLL_ERR): Likewise.
37578         [POSIX || XPG3] (POLL_PRI): Likewise.
37579         [POSIX || XPG3] (POLL_HUP): Likewise.
37580         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37581         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37582         (SIG*): Do not allow.
37583         [XPG3] (si_*): Likewise.
37584         [XPG3] (SI_*): Likewise.
37585         [XPG3 || XPG4] (sigev_*): Likewise.
37586         [XPG3 || XPG4] (SIGEV_*): Likewise.
37587         [XPG3 || XPG4] (sival_*): Likewise.
37588         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37589         [POSIX || XPG3] (BUS_*): Likewise.
37590         [POSIX || XPG3] (CLD_*): Likewise.
37591         [POSIX || XPG3] (FPE_*): Likewise.
37592         [POSIX || XPG3] (ILL_*): Likewise.
37593         [POSIX || XPG3] (POLL_*): Likewise.
37594         [POSIX || XPG3] (SEGV_*): Likewise.
37595         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37596         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37597         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37598         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37599         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37600         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37601         Specify type and value.
37602         (TVERSLEN): Likewise.
37603         (REGTYPE): Likewise.
37604         (AREGTYPE): Likewise.
37605         (LNKTYPE): Likewise.
37606         (SYMTYPE): Likewise.
37607         (CHRTYPE): Likewise.
37608         (BLKTYPE): Likewise.
37609         (DIRTYPE): Likewise.
37610         (FIFOTYPE): Likewise.
37611         (CONTTYPE): Likewise.
37612         (TSUID): Likewise.
37613         (TSGID): Likewise.
37614         (TSVTX): Likewise.
37615         (TUREAD): Likewise.
37616         (TUWRITE): Likewise.
37617         (TUEXEC): Likewise.
37618         (TGREAD): Likewise.
37619         (TGWRITE): Likewise.
37620         (TGEXEC): Likewise.
37621         (TOREAD): Likewise.
37622         (TOWRITE): Likewise.
37623         (TOEXEC): Likewise.
37624         [POSIX] (TSVTX): Expect constant.
37626 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37628         * Makefile (tests): Change dependencies to ....
37629         (tests-special): ... additions to this variable.
37630         (tests): Depend on $(tests-special).
37631         * Makerules (check-abi-list): New variable.
37632         (check-abi): Depend on $(check-abi-list).
37633         [$(subdir) = elf] (tests-special): Add
37634         $(objpfx)check-abi-libc.out.
37635         [$(build-shared) = yes && subdir] (tests-special): Add
37636         $(check-abi-list).
37637         [$(build-shared) = yes && subdir] (tests): Do not depend on
37638         check-abi.
37639         * Rules (tests): Depend on $(tests-special).
37640         (xtests): Depend on $(xtests-special).
37641         * catgets/Makefile (tests): Change dependencies to ....
37642         (tests-special): ... additions to this variable.
37643         * conform/Makefile (tests): Change dependencies to ....
37644         (tests-special): ... additions to this variable.
37645         * elf/Makefile (tests): Change dependencies to ....
37646         (tests-special): ... additions to this variable.
37647         * grp/Makefile (tests): Change dependencies to ....
37648         (tests-special): ... additions to this variable.
37649         * iconv/Makefile (xtests): Change dependencies to ....
37650         (xtests-special): ... additions to this variable.
37651         * iconvdata/Makefile (tests): Change dependencies to ....
37652         (tests-special): ... additions to this variable.
37653         * intl/Makefile (tests): Change dependencies to ....
37654         (tests-special): ... additions to this variable.  Also add
37655         $(objpfx)tst-gettext.out.
37656         * io/Makefile (tests): Change dependencies to ....
37657         (tests-special): ... additions to this variable.
37658         * libio/Makefile (tests): Change dependencies to ....
37659         (tests-special): ... additions to this variable.
37660         * malloc/Makefile (tests): Change dependencies to ....
37661         (tests-special): ... additions to this variable.
37662         * misc/Makefile (tests): Change dependencies to ....
37663         (tests-special): ... additions to this variable.
37664         * nptl/Makefile (tests): Change dependencies to ....
37665         (tests-special): ... additions to this variable.
37666         * nptl_db/Makefile (tests): Change dependencies to ....
37667         (tests-special): ... additions to this variable.
37668         * posix/Makefile (tests): Change dependencies to ....
37669         (tests-special): ... additions to this variable.
37670         (xtests): Change dependencies to ....
37671         (xtests-special): ... additions to this variable.
37672         * resolv/Makefile (tests): Change dependencies to ....
37673         (tests-special): ... additions to this variable.
37674         (xtests): Change dependencies to ....
37675         (xtests-special): ... additions to this variable.
37676         * stdio-common/Makefile (tests): Change dependencies to ....
37677         (tests-special): ... additions to this variable.
37678         (do-tst-unbputc): Remove target.
37679         (do-tst-printf): Likewise.
37680         * stdlib/Makefile (tests): Change dependencies to ....
37681         (tests-special): ... additions to this variable.
37682         * string/Makefile (tests): Change dependencies to ....
37683         (tests-special): ... additions to this variable.
37684         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37685         (tests-special): ... additions to this variable.
37687         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37688         whole file.
37689         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37690         whole file.
37691         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37692         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37694         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37695         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37696         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37697         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37698         * conform/data/libgen.h-data [XPG3]: Likewise.
37699         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37700         * conform/data/ndbm.h-data [XPG3]: Likewise.
37701         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37702         * conform/data/netdb.h-data [XPG3]: Likewise.
37703         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37704         * conform/data/poll.h-data [XPG3]: Likewise.
37705         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37706         * conform/data/strings.h-data [XPG3]: Likewise.
37707         * conform/data/stropts.h-data [XPG3]: Likewise.
37708         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37709         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37710         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37711         Likewise.
37712         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37713         * conform/data/sys/time.h-data [XPG3]: Likewise.
37714         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37715         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37716         * conform/data/sys/un.h-data [XPG3]: Likewise.
37717         * conform/data/syslog.h-data [XPG3]: Likewise.
37718         * conform/data/ucontext.h-data [XPG3]: Likewise.
37719         * conform/data/utmpx.h-data [XPG3]: Likewise.
37720         * conform/data/varargs.h-data [UNIX98]: Enable file.
37722         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37724         * math/libm-test.inc (struct test_f_f_data): Move expected results
37725         into structure for each rounding mode.
37726         (struct test_ff_f_data): Likewise.
37727         (struct test_ff_f_data_nexttoward): Likewise.
37728         (struct test_fi_f_data): Likewise.
37729         (struct test_fl_f_data): Likewise.
37730         (struct test_if_f_data): Likewise.
37731         (struct test_fff_f_data): Likewise.
37732         (struct test_c_f_data): Likewise.
37733         (struct test_f_f1_data): Likewise.
37734         (struct test_fF_f1_data): Likewise.
37735         (struct test_ffI_f1_data): Likewise.
37736         (struct test_c_c_data): Likewise.
37737         (struct test_cc_c_data): Likewise.
37738         (struct test_f_i_data): Likewise.
37739         (struct test_ff_i_data): Likewise.
37740         (struct test_f_l_data): Likewise.
37741         (struct test_f_L_data): Likewise.
37742         (struct test_fFF_11_data): Likewise.
37743         (RM_): New macro.
37744         (RM_FE_DOWNWARD): Likewise.
37745         (RM_FE_TONEAREST): Likewise.
37746         (RM_FE_TOWARDZERO): Likewise.
37747         (RM_FE_UPWARD): Likewise.
37748         (RUN_TEST_LOOP_f_f): Update references to expected results.
37749         (RUN_TEST_LOOP_2_f): Likewise.
37750         (RUN_TEST_LOOP_fff_f): Likewise.
37751         (RUN_TEST_LOOP_c_f): Likewise.
37752         (RUN_TEST_LOOP_f_f1): Likewise.
37753         (RUN_TEST_LOOP_fF_f1): Likewise.
37754         (RUN_TEST_LOOP_fI_f1): Likewise.
37755         (RUN_TEST_LOOP_ffI_f1): Likewise.
37756         (RUN_TEST_LOOP_c_c): Likewise.
37757         (RUN_TEST_LOOP_cc_c): Likewise.
37758         (RUN_TEST_LOOP_f_i): Likewise.
37759         (RUN_TEST_LOOP_f_i_tg): Likewise.
37760         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37761         (RUN_TEST_LOOP_f_b): Likewise.
37762         (RUN_TEST_LOOP_f_b_tg): Likewise.
37763         (RUN_TEST_LOOP_f_l): Likewise.
37764         (RUN_TEST_LOOP_f_L): Likewise.
37765         (RUN_TEST_LOOP_fFF_11): Likewise.
37766         * math/gen-libm-test.pl (parse_args): Output four copies of
37767         expected results for each test.
37769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37770         (__ASSUME_UTIMES): Remove.
37771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37772         (__ASSUME_UTIMES): Likewise.
37774         * math/gen-auto-libm-tests.c: Update comment on output format.
37775         (output_for_one_input_case): Generate before-rounding and
37776         after-rounding information as conditions on output flags not
37777         floating-point format.
37778         * math/auto-libm-test-out: Regenerated.
37779         * math/gen-libm-test.pl (cond_value): New function.
37780         (or_cond_value): Use cond_value.
37781         (generate_testfile): Handle conditional exceptions.
37783 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37785         * math/libm-test.inc (max_valid_error): New variable.
37786         (init_max_error): Take new argument specifying whether function
37787         results are exactly determined.  Set max_valid_error and bound
37788         other variables for errors based on this argument.
37789         (set_max_error): Do not record results above max_valid_error.
37790         (check_float_internal): Only accept errors of up to 0.5ulps if
37791         also at most max_valid_error.
37792         (START): Take new argument EXACT and pass it to init_max_error.
37793         (acos_test): Update call to START.
37794         (acos_test_tonearest): Likewise.
37795         (acos_test_towardzero): Likewise.
37796         (acos_test_downward): Likewise.
37797         (acos_test_upward): Likewise.
37798         (acosh_test): Likewise.
37799         (asin_test): Likewise.
37800         (asin_test_tonearest): Likewise.
37801         (asin_test_towardzero): Likewise.
37802         (asin_test_downward): Likewise.
37803         (asin_test_upward): Likewise.
37804         (asinh_test): Likewise.
37805         (atan_test): Likewise.
37806         (atanh_test): Likewise.
37807         (atan2_test): Likewise.
37808         (cabs_test): Likewise.
37809         (cacos_test): Likewise.
37810         (cacosh_test): Likewise.
37811         (carg_test): Likewise.
37812         (casin_test): Likewise.
37813         (casinh_test): Likewise.
37814         (catan_test): Likewise.
37815         (catanh_test): Likewise.
37816         (cbrt_test): Likewise.
37817         (ccos_test): Likewise.
37818         (ccosh_test): Likewise.
37819         (ceil_test): Likewise.
37820         (cexp_test): Likewise.
37821         (cimag_test): Likewise.
37822         (clog_test): Likewise.
37823         (clog10_test): Likewise.
37824         (conj_test): Likewise.
37825         (copysign_test): Likewise.
37826         (cos_test): Likewise.
37827         (cos_test_tonearest): Likewise.
37828         (cos_test_towardzero): Likewise.
37829         (cos_test_downward): Likewise.
37830         (cos_test_upward): Likewise.
37831         (cosh_test): Likewise.
37832         (cosh_test_tonearest): Likewise.
37833         (cosh_test_towardzero): Likewise.
37834         (cosh_test_downward): Likewise.
37835         (cosh_test_upward): Likewise.
37836         (cpow_test): Likewise.
37837         (cproj_test): Likewise.
37838         (creal_test): Likewise.
37839         (csin_test): Likewise.
37840         (csinh_test): Likewise.
37841         (csqrt_test): Likewise.
37842         (ctan_test): Likewise.
37843         (ctan_test_tonearest): Likewise.
37844         (ctan_test_towardzero): Likewise.
37845         (ctan_test_downward): Likewise.
37846         (ctan_test_upward): Likewise.
37847         (ctanh_test): Likewise.
37848         (ctanh_test_tonearest): Likewise.
37849         (ctanh_test_towardzero): Likewise.
37850         (ctanh_test_downward): Likewise.
37851         (ctanh_test_upward): Likewise.
37852         (erf_test): Likewise.
37853         (erfc_test): Likewise.
37854         (exp_test): Likewise.
37855         (exp_test_tonearest): Likewise.
37856         (exp_test_towardzero): Likewise.
37857         (exp_test_downward): Likewise.
37858         (exp_test_upward): Likewise.
37859         (exp10_test): Likewise.
37860         (exp10_test_tonearest): Likewise.
37861         (exp10_test_towardzero): Likewise.
37862         (exp10_test_downward): Likewise.
37863         (exp10_test_upward): Likewise.
37864         (pow10_test): Likewise.
37865         (exp2_test): Likewise.
37866         (expm1_test): Likewise.
37867         (expm1_test_tonearest): Likewise.
37868         (expm1_test_towardzero): Likewise.
37869         (expm1_test_downward): Likewise.
37870         (expm1_test_upward): Likewise.
37871         (fabs_test): Likewise.
37872         (fdim_test): Likewise.
37873         (floor_test): Likewise.
37874         (fma_test): Likewise.
37875         (fma_test_towardzero): Likewise.
37876         (fma_test_downward): Likewise.
37877         (fma_test_upward): Likewise.
37878         (fmax_test): Likewise.
37879         (fmin_test): Likewise.
37880         (fmod_test): Likewise.
37881         (fpclassify_test): Likewise.
37882         (frexp_test): Likewise.
37883         (hypot_test): Likewise.
37884         (ilogb_test): Likewise.
37885         (isfinite_test): Likewise.
37886         (finite_test): Likewise.
37887         (isgreater_test): Likewise.
37888         (isgreaterequal_test): Likewise.
37889         (isinf_test): Likewise.
37890         (isless_test): Likewise.
37891         (islessequal_test): Likewise.
37892         (islessgreater_test): Likewise.
37893         (isnan_test): Likewise.
37894         (isnormal_test): Likewise.
37895         (issignaling_test): Likewise.
37896         (isunordered_test): Likewise.
37897         (j0_test): Likewise.
37898         (j1_test): Likewise.
37899         (jn_test): Likewise.
37900         (ldexp_test): Likewise.
37901         (lgamma_test): Likewise.
37902         (gamma_test): Likewise.
37903         (lrint_test): Likewise.
37904         (lrint_test_tonearest): Likewise.
37905         (lrint_test_towardzero): Likewise.
37906         (lrint_test_downward): Likewise.
37907         (lrint_test_upward): Likewise.
37908         (llrint_test): Likewise.
37909         (llrint_test_tonearest): Likewise.
37910         (llrint_test_towardzero): Likewise.
37911         (llrint_test_downward): Likewise.
37912         (llrint_test_upward): Likewise.
37913         (log_test): Likewise.
37914         (log10_test): Likewise.
37915         (log1p_test): Likewise.
37916         (log2_test): Likewise.
37917         (logb_test): Likewise.
37918         (logb_test_downward): Likewise.
37919         (lround_test): Likewise.
37920         (llround_test): Likewise.
37921         (modf_test): Likewise.
37922         (nearbyint_test): Likewise.
37923         (nextafter_test): Likewise.
37924         (nexttoward_test): Likewise.
37925         (pow_test): Likewise.
37926         (pow_test_tonearest): Likewise.
37927         (pow_test_towardzero): Likewise.
37928         (pow_test_downward): Likewise.
37929         (pow_test_upward): Likewise.
37930         (remainder_test): Likewise.
37931         (drem_test): Likewise.
37932         (remainder_test_tonearest): Likewise.
37933         (drem_test_tonearest): Likewise.
37934         (remainder_test_towardzero): Likewise.
37935         (drem_test_towardzero): Likewise.
37936         (remainder_test_downward): Likewise.
37937         (drem_test_downward): Likewise.
37938         (remainder_test_upward): Likewise.
37939         (drem_test_upward): Likewise.
37940         (remquo_test): Likewise.
37941         (rint_test): Likewise.
37942         (rint_test_tonearest): Likewise.
37943         (rint_test_towardzero): Likewise.
37944         (rint_test_downward): Likewise.
37945         (rint_test_upward): Likewise.
37946         (round_test): Likewise.
37947         (scalb_test): Likewise.
37948         (scalbn_test): Likewise.
37949         (scalbln_test): Likewise.
37950         (signbit_test): Likewise.
37951         (sin_test): Likewise.
37952         (sin_test_tonearest): Likewise.
37953         (sin_test_towardzero): Likewise.
37954         (sin_test_downward): Likewise.
37955         (sin_test_upward): Likewise.
37956         (sincos_test): Likewise.
37957         (sinh_test): Likewise.
37958         (sinh_test_tonearest): Likewise.
37959         (sinh_test_towardzero): Likewise.
37960         (sinh_test_downward): Likewise.
37961         (sinh_test_upward): Likewise.
37962         (sqrt_test): Likewise.
37963         (sqrt_test_tonearest): Likewise.
37964         (sqrt_test_towardzero): Likewise.
37965         (sqrt_test_downward): Likewise.
37966         (sqrt_test_upward): Likewise.
37967         (tan_test): Likewise.
37968         (tan_test_tonearest): Likewise.
37969         (tan_test_towardzero): Likewise.
37970         (tan_test_downward): Likewise.
37971         (tan_test_upward): Likewise.
37972         (tanh_test): Likewise.
37973         (tgamma_test): Likewise.
37974         (trunc_test): Likewise.
37975         (y0_test): Likewise.
37976         (y1_test): Likewise.
37977         (yn_test): Likewise.
37978         (significand_test): Likewise.
37980         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37981         individual tests in comment.
37982         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37983         (prev_max_error): New variable.
37984         (prev_real_max_error): Likewise.
37985         (prev_imag_max_error): Likewise.
37986         (compare_ulp_data): Don't refer to test names in comment.
37987         (find_test_ulps): Remove function.
37988         (find_function_ulps): Likewise.
37989         (find_complex_function_ulps): Likewise.
37990         (init_max_error): Take function name as argument.  Look up ulps
37991         for that function.
37992         (print_ulps): Remove function.
37993         (print_max_error): Use prev_max_error instead of calling
37994         find_function_ulps.
37995         (print_complex_max_error): Use prev_real_max_error and
37996         prev_imag_max_error instead of calling find_complex_function_ulps.
37997         (check_float_internal): Take max_ulp parameter instead of calling
37998         find_test_ulps.  Don't call print_ulps.
37999         (check_float): Update call to check_float_internal.
38000         (check_complex): Update calls to check_float_internal.
38001         (START): Pass argument to init_max_error.
38002         * math/gen-libm-test.pl (%results): Don't include "kind"
38003         information.
38004         (parse_ulps): Don't handle ulps of individual tests.
38005         (print_ulps_file): Likewise.
38006         (output_ulps): Likewise.
38007         * math/README.libm-test: Update.
38008         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38009         individual tests.
38010         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38011         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38012         * sysdeps/arm/libm-test-ulps: Likewise.
38013         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38014         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38015         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38016         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38017         * sysdeps/microblaze/libm-test-ulps: Likewise.
38018         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38019         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38021         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38023         * sysdeps/sh/libm-test-ulps: Likewise.
38024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38025         * sysdeps/tile/libm-test-ulps: Likewise.
38026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38028 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38030         * math/libm-test.inc (print_complex_max_error): Check separately
38031         whether real and imaginary errors are within allowed range and
38032         pass 0 to print_complex_function_ulps instead of value within
38033         allowed range.
38035 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38037         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38038         formatting.
38039         (get_handles_fopen): Likewise.
38040         (do_write_test): Likewise.
38042         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38044         * libio/fileops.c (do_ftell): Use cached offset when
38045         available.
38046         * libio/iofwide.c (do_ftell_wide): Likewise.
38047         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38048         _IO_file_attach.
38049         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38051         [BZ #16532]
38052         * libio/libioP.h (get_file_offset): New function.
38053         * libio/fileops.c (get_file_offset): Likewise.
38054         (do_ftell): Likewise.
38055         (_IO_new_file_seekoff): Split out ftell logic.
38056         * libio/wfileops.c (do_ftell_wide): Likewise.
38057         (_IO_wfile_seekoff): Split out ftell logic.
38058         * libio/tst-ftell-active-handler.c: New test case.
38059         * libio/Makefile (tests): Add it.
38061 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38063         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38064         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38066 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38068         [BZ #16639]
38069         * nscd/connections.c (nscd_init): Call do_exit.
38070         (start_threads): Call do_exit and notify_parent.
38071         (begin_drop_privileges): Call do_exit.
38072         (finish_drop_privileges): Likewise.
38073         * nscd/selinux.c (preserve_capabilities): Likewise.
38074         (install_real_capabilities): Likewise.
38075         (nscd_selinux_enabled): Likewise.
38076         (avc_create_thread): Likewise.
38077         (avc_alloc_lock): Likewise.
38078         (nscd_avc_init): Likewise.
38079         * nscd/nscd.c (parent_fd): New static variable.
38080         (main): Create a pipe between parent and child processes.
38081         Skip closing parent_fd.
38082         (monitor_child): New function.
38083         (do_exit): Likewise.
38084         (notify_parent): Likewise.
38085         * nscd/nscd.h (notify_parent): Likewise.
38086         (do_exit): Likewise.
38088 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38090         * malloc/malloc.c (__libc_calloc): Revert last change.
38092 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38096 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38098         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38100         implementation.
38101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38102         (__libc_ifunc_impl_list): Likewise.
38103         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38104         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38105         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38106         * string/strrchr.c: Define STRRCHR.
38108 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38110         * benchtest/bench-strtok.c (simple_strtok): Delete.
38111         (strtok_string): Use as benchmark.
38112         * string/strtok (STRTOK): New macro.
38114 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38116         * manual/threads.texi: Add header and standard comments to all
38117         functions.
38119         * elf/dl-lookup.c (check_match): New function.
38120         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38121         (do_lookup_x): Remove nested function check_match. Use non-nested
38122         function check_match.
38124 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38126         * csu/Makefile (generated, before-compile): Use += rather than =.
38127         * catgets/Makefile (generated, generated-dirs): Likewise.
38128         * debug/Makefile (generated): Likewise.
38129         * dlfcn/Makefile (generated): Likewise.
38130         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38131         * iconvdata/Makefile (before-compile, generated): Likewise.
38132         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38133         * libio/Makefile (generated): Likewise.
38134         * malloc/Makefile (generated): Likewise.
38135         * manual/Makefile (generated, generated-dirs): Likewise.
38136         * misc/Makefile (generated): Likewise.
38137         * posix/Makefile (generated): Likewise.
38138         * resolv/Makefile (generated): Likewise.
38139         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38140         * timezone/Makefile (generated, generated-dirs): Likewise.
38142         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38144 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38147         power8 implementation.
38148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38149         file: POWER8 llround ifunc implementation.
38150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38151         (__lllround): Add POWER8 implementation.
38152         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38153         POWER8 llround implementation.
38155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38156         power8 implementation.
38157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38158         file: POWER8 llrint ifunc implementation.
38159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38160         Add POWER8 implementation.
38161         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38162         POWER8 llrint implementation.
38164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38165         power8 implementation.
38166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38167         file: POWER8 finite ifunc implementation.
38168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38169         Add POWER8 implementation.
38170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38171         Likewise.
38172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38173         POWER8 finite implementation.
38174         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38177         power8 implementation.
38178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38179         file: POWER8 isinf ifunc implementation.
38180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38181         POWER8 implementation.
38182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38183         Likewise.
38184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38185         isinf implementation.
38186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38188         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38189         (INIT_ARCH): Add hwcap2 initialization.
38190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38191         power8 implementation.
38192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38193         file: POWER8 isnan ifunc implementation.
38194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38195         POWER8 implementation.
38196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38197         Likewise.
38198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38199         isnan implementation.
38200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38202 2014-02-27  Joey Ye  <joey.ye@arm.com>
38204         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38205         (_FP_NANFRAC_Q): Set to zero.
38207 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38209         [BZ #16623]
38210         * math/auto-libm-test-in: New test inputs.
38211         * math/auto-libm-test-out: Regenerate.
38212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38213         and DA.
38214         (__cos): Likewise.
38215         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38217 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38219         * scripts/evaluate-test.sh: Take new argument indicating whether
38220         failure is expected.
38221         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38222         indicating whether failure is expected.
38223         * conform/Makefile (test-xfail-run-conformtest): New variable.
38224         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38225         level.
38226         * posix/Makefile (test-xfail-annexc): New variable.
38227         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38229 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38231         * argp/Makefile: Include Makeconfig immediately after defining
38232         subdir.
38233         * assert/Makefile: Likewise.
38234         * benchtests/Makefile: Likewise.
38235         * catgets/Makefile: Likewise.
38236         * conform/Makefile: Likewise.
38237         * crypt/Makefile: Likewise.
38238         * csu/Makefile: Likewise.
38239         (all): Remove target.
38240         * ctype/Makefile: Include Makeconfig immediately after defining
38241         subdir.
38242         * debug/Makefile: Likewise.
38243         * dirent/Makefile: Likewise.
38244         * dlfcn/Makefile: Likewise.
38245         * gmon/Makefile: Likewise.
38246         * gnulib/Makefile: Likewise.
38247         * grp/Makefile: Likewise.
38248         * gshadow/Makefile: Likewise.
38249         * hesiod/Makefile: Likewise.
38250         * hurd/Makefile: Likewise.
38251         (all): Remove target.
38252         * iconvdata/Makefile: Include Makeconfig immediately after
38253         defining subdir.
38254         * inet/Makefile: Likewise.
38255         * intl/Makefile: Likewise.
38256         * io/Makefile: Likewise.
38257         * libio/Makefile: Likewise.
38258         (all): Remove target.
38259         * locale/Makefile: Include Makeconfig immediately after defining
38260         subdir.
38261         * login/Makefile: Likewise.
38262         * mach/Makefile: Likewise.
38263         (all): Remove target.
38264         * malloc/Makefile: Include Makeconfig immediately after defining
38265         subdir.
38266         (all): Remove target.
38267         * manual/Makefile: Include Makeconfig immediately after defining
38268         subdir.
38269         * math/Makefile: Likewise.
38270         * misc/Makefile: Likewise.
38271         * nis/Makefile: Likewise.
38272         * nss/Makefile: Likewise.
38273         * po/Makefile: Likewise.
38274         (all): Remove target.
38275         * posix/Makefile: Include Makeconfig immediately after defining
38276         subdir.
38277         * pwd/Makefile: Likewise.
38278         * resolv/Makefile: Likewise.
38279         * resource/Makefile: Likewise.
38280         * rt/Makefile: Likewise.
38281         * setjmp/Makefile: Likewise.
38282         * shadow/Makefile: Likewise.
38283         * signal/Makefile: Likewise.
38284         * socket/Makefile: Likewise.
38285         * soft-fp/Makefile: Likewise.
38286         * stdio-common/Makefile: Likewise.
38287         * stdlib/Makefile: Likewise.
38288         * streams/Makefile: Likewise.
38289         * string/Makefile: Likewise.
38290         * sunrpc/Makefile: Likewise.
38291         (all): Remove target.
38292         * sysvipc/Makefile: Include Makeconfig immediately after defining
38293         subdir.
38294         * termios/Makefile: Likewise.
38295         * time/Makefile: Likewise.
38296         * timezone/Makefile: Likewise.
38297         (all): Remove target.
38298         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38299         subdir.
38300         * wctype/Makefile: Likewise.
38302 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38304         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38305         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38306         (libc_feholdexcept_setround_mips): Ditto.
38307         (libc_feholdsetround): New.
38308         (libc_feholdsetroundf): New.
38309         (libc_feholdsetroundl): New.
38310         (libc_feupdateenv_test_mips): New.
38311         (libc_feupdateenv_test): New.
38312         (libc_feupdateenv_testf): New.
38313         (libc_feupdateenv_testl): New.
38314         (libc_feresetround): New.
38315         (libc_feresetroundf): New.
38316         (libc_feresetroundl): New.
38317         (libc_fetestexcept_mips): New.
38318         (libc_fetestexcept): New.
38319         (libc_fetestexceptf): New.
38320         (libc_fetestexceptl): New.
38321         (HAVE_RM_CTX): New.
38322         (libc_feholdexcept_setround_mips_ctx): New.
38323         (libc_feholdexcept_setround_ctx): New.
38324         (libc_feholdexcept_setroundf_ctx): New.
38325         (libc_feholdexcept_setroundl_ctx): New.
38326         (libc_fesetenv_mips_ctx): New.
38327         (libc_fesetenv_ctx): New.
38328         (libc_fesetenv_ctxf): New.
38329         (libc_fesetenv_ctxl): New.
38330         (libc_feupdateenv_mips_ctx): New.
38331         (libc_feupdateenv_ctx): New.
38332         (libc_feupdateenvf_ctx): New.
38333         (libc_feupdateenvl_ctx): New.
38334         (libc_feholdsetround_mips_ctx): New.
38335         (libc_feholdsetround_ctx): New.
38336         (libc_feholdsetroundf_ctx): New.
38337         (libc_feholdsetroundl_ctx): New.
38338         (libc_feresetround_mips_ctx): New.
38339         (libc_feresetround_ctx): New.
38340         (libc_feresetroundf_ctx): New.
38341         (libc_feresetroundl_ctx): New.
38343 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38345         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38347         * manual/ipc.texi: New file.
38348         * manual/Makefile (chapters): Add ipc.
38349         * manual/job.texi: Add "Inter-Process Communication" to next.
38350         * manual/process.texi: Add "Inter-Process Communication" to prev.
38352 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38356 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38358         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38360         * manual/arith.texi: Fix spaces after sentences.
38361         * manual/charset.texi: Likewise.
38362         * manual/errno.texi: Likewise.
38363         * manual/install.texi: Likewise.
38364         * manual/llio.texi: Likewise.
38365         * manual/locale.texi: Likewise.
38366         * manual/maint.texi: Likewise.
38367         * manual/math.texi: Likewise.
38368         * manual/memory.texi: Likewise.
38369         * manual/message.texi: Likewise.
38370         * manual/probes.texi: Likewise.
38371         * manual/resource.texi: Likewise.
38372         * manual/signal.texi: Likewise.
38373         * manual/socket.texi: Likewise.
38374         * manual/stdio.texi: Likewise.
38375         * manual/string.texi: Likewise.
38376         * manual/time.texi: Likewise.
38377         * manual/users.texi: Likewise.
38379 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38381         [BZ #16632]
38382         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38383         _DEFAULT_SOURCE is defined.
38385 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38386             Carlos O'Donell  <carlos@redhat.com>
38388         [BZ #16613]
38389         * elf/dl-tls.c (_dl_count_modids): New function.
38390         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38391         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38392         audit library and increment generation counter.
38393         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38394         * elf/tst-audit9.c: New file.
38395         * elf/tst-auditmod9a.c: New file.
38396         * elf/tst-auditmod9b.c: New file.
38397         * elf/Makefile: Add rules to build and run tst-audit9.
38399 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38401         [BZ #15347]
38402         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38404 2014-02-25  Will Newton  <will.newton@linaro.org>
38406         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38407         (__longjmp): Restore sp and lr before restoring callee
38408         saved registers.  Add longjmp and longjmp_target
38409         SystemTap probe point.
38410         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38411         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38412         Define to zero to match jmpbuf layout.
38413         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38414         (__sigsetjmp): Save sp and lr before saving callee
38415         saved registers.  Add setjmp SystemTap probe point.
38417 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38419         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38421 2014-02-24  Andreas Schwab  <schwab@suse.de>
38423         [BZ #15804]
38424         * elf/pldd.c (wait_for_ptrace_stop): New function.
38425         (main): Call it after attaching.
38427 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38429         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38430         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38431         Versions files is now verboten.
38432         * hurd/Versions (libc: GLIBC_2.0):
38433         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38434         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38435         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38436         * mach/Versions: Likewise.
38438         * csu/Versions: Remove unused %include.
38439         * resolv/Versions: Likewise.
38441 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38443         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38444         ($(objpfx)check-local-headers.out): Likewise.
38445         ($(objpfx)begin-end-check.out): Likewise.
38446         * Makerules (check-abi-%.out): Likewise.
38447         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38448         ($(objpfx)test2.cat): Likewise.
38449         ($(objpfx)de/libc.cat): Likewise.
38450         ($(objpfx)test-gencat.out): Likewise.
38451         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38452         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38453         ($(objpfx)noload-mem): Likewise.
38454         ($(objpfx)tst-pathopt.out): Likewise.
38455         ($(objpfx)tst-rtld-load-self.out): Likewise.
38456         ($(objpfx)tst-array1-cmp.out): Likewise.
38457         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38458         ($(objpfx)tst-array2-cmp.out): Likewise.
38459         ($(objpfx)tst-array3-cmp.out): Likewise.
38460         ($(objpfx)tst-array4-cmp.out): Likewise.
38461         ($(objpfx)tst-array5-cmp.out): Likewise.
38462         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38463         ($(objpfx)check-textrel.out): Likewise.
38464         ($(objpfx)check-execstack.out): Likewise.
38465         ($(objpfx)check-localplt.out): Likewise.
38466         ($(objpfx)order2-cmp.out): Likewise.
38467         ($(objpfx)tst-leaks1-mem): Likewise.
38468         ($(objpfx)tst-leaks1-static-mem): Likewise.
38469         ($(objpfx)tst-initorder-cmp.out): Likewise.
38470         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38471         ($(objpfx)tst-unused-dep.out): Likewise.
38472         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38473         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38474         * iconv/Makefile (test-iconvconfig): Likewise.
38475         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38476         ($(objpfx)iconv-test.out): Likewise.
38477         ($(objpfx)tst-tables.out): Likewise.
38478         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38479         ($(objpfx)tst-gettext.out): Likewise.
38480         ($(objpfx)tst-translit.out): Likewise.
38481         ($(objpfx)tst-gettext2.out): Likewise.
38482         ($(objpfx)tst-gettext4.out): Likewise.
38483         ($(objpfx)tst-gettext6.out): Likewise.
38484         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38485         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38486         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38487         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38488         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38489         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38490         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38491         ($(objpfx)wordexp-tst.out): Likewise.
38492         ($(objpfx)annexc.out): Likewise.
38493         ($(objpfx)tst-fnmatch-mem): Likewise.
38494         ($(objpfx)bug-regex2-mem): Likewise.
38495         ($(objpfx)bug-regex14-mem): Likewise.
38496         ($(objpfx)bug-regex21-mem): Likewise.
38497         ($(objpfx)bug-regex31-mem): Likewise.
38498         ($(objpfx)tst-vfork3-mem): Likewise.
38499         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38500         ($(objpfx)tst-pcre-mem): Likewise.
38501         ($(objpfx)tst-boost-mem): Likewise.
38502         ($(objpfx)tst-getconf.out): Likewise.
38503         ($(objpfx)bug-ga2-mem): Likewise.
38504         ($(objpfx)bug-glob2-mem): Likewise.
38505         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38506         ($(objpfx)mtrace-tst-leaks2): Likewise.
38507         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38508         ($(objpfx)tst-printf.out): Likewise.
38509         ($(objpfx)tst-setvbuf1.out): Likewise.
38510         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38511         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38512         ($(objpfx)tst-fmtmsg.out): Likewise.
38513         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38514         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38516         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38517         * bits/sigaction.h [__USE_MISC]: Likewise.
38518         * bits/waitstatus.h: Update #endif comments.
38519         * ctype/ctype.h: Likewise.
38520         * dirent/dirent.h: Likewise.
38521         [__USE_MISC]: Remove redundant conditionals.
38522         * grp/grp.h: Update #endif comments.
38523         [__USE_GNU]: Remove redundant conditionals.
38524         [__USE_MISC]: Likewise.
38525         * inet/netinet/in.h [__USE_GNU]: Likewise.
38526         * io/sys/stat.h [__USE_MISC]: Likewise.
38527         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38528         * libio/bits/stdio.h: Update #endif comments.
38529         [__USE_MISC]: Remove redundant conditionals.
38530         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38531         * libio/stdio.h: Update #endif comments.
38532         [__USE_MISC]: Remove redundant conditionals.
38533         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38534         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38535         * math/math.h: Update #else and #endif comments.
38536         [__USE_MISC]: Remove redundant conditionals.
38537         * misc/sys/uio.h: Update #endif comments.
38538         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38539         * posix/glob.h [__USE_MISC]: Likewise.
38540         * posix/sys/types.h: Update #endif comments.
38541         [__USE_MISC]: Remove redundant conditionals.
38542         * posix/sys/wait.h: Update #endif comments.
38543         [__USE_MISC]: Remove redundant conditionals.
38544         * posix/unistd.h: Update #endif comments.
38545         [__USE_MISC]: Remove redundant conditionals.
38546         * pwd/pwd.h [__USE_GNU]: Likewise.
38547         [__USE_MISC]: Likewise.
38548         * resolv/netdb.h [__USE_GNU]: Likewise.
38549         * signal/signal.h: Update #endif comments.
38550         [__USE_MISC]: Remove redundant conditionals.
38551         * stdlib/stdlib.h: Update #else and #endif comments.
38552         [__USE_MISC]: Remove redundant conditionals.
38553         [__USE_GNU]: Likewise.
38554         * string/bits/string2.h [__USE_MISC]: Likewise.
38555         * string/string.h: Update #endif comments.
38556         [__USE_MISC]: Remove redundant conditionals.
38557         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38558         Likewise.
38559         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38560         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38561         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38562         Likewise.
38563         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38564         Likewise.
38565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38566         comments.
38567         [__USE_MISC]: Remove redundant conditionals.
38568         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38569         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38570         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38571         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38572         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38573         Likewise.
38574         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38575         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38576         Likewise.
38577         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38578         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38579         Likewise.
38580         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38581         Likewise.
38582         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38583         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38584         Likewise.
38585         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38586         Likewise.
38587         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38588         * sysdeps/x86/bits/string.h: Update #endif comments.
38589         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38590         conditionals.
38591         * time/sys/time.h: Update #endif comments.
38592         * time/time.h: Likewise.
38593         [__USE_MISC]: Remove redundant conditionals.
38595 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38597         [BZ #16600]
38598         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38600 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38602         * Versions.def (librt): Add GLIBC_2.17.
38604 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38606         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38607         synonym for _SYS_AUXV_H to allow direct inclusion.
38608         * sysdeps/sparc/bits/hwcap.h: Likewise.
38609         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38610         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38611         * sysdeps/sparc/sysdep.h: Likewise.
38613 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38615         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38617 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38619         * benchtests/bench-strrchr.c: Print length instead of position.
38621 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38623         [BZ #16611]
38624         * sysdeps/unix/sysv/linux/kernel-features.h
38625         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38626         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38627         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38628         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38629         Likewise.
38630         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38631         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38632         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38633         (__ASSUME_SENDMMSG): Define instead of using previous
38634         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38636         (__ASSUME_SENDMMSG_SYSCALL): Define.
38637         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38638         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38639         Likewise.
38640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38641         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38642         Likewise.
38643         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38645         Likewise.
38646         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38647         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38648         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38649         [__ASSUME_SENDMMSG]: Change conditionals to
38650         [__ASSUME_SENDMMSG_SOCKETCALL].
38651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38652         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38653         Define.
38654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38655         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38656         Likewise.
38657         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38658         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38659         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38660         [!__ASSUME_SENDMMSG]: Change conditional to
38661         [!__ASSUME_SENDMMSG_SOCKETCALL].
38662         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38663         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38664         Define.
38666         [BZ #16610]
38667         * sysdeps/unix/sysv/linux/kernel-features.h
38668         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38669         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38670         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38671         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38672         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38673         [__i386__ || __sparc__]
38674         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38675         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38676         (__ASSUME_RECVMMSG): Define instead of using previous
38677         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38678         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38679         (__ASSUME_RECVMMSG_SYSCALL): Define.
38680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38682         Likewise.
38683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38685         Likewise.
38686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38687         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38688         Likewise.
38689         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38690         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38691         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38692         [__ASSUME_RECVMMSG]: Change condition to
38693         [__ASSUME_RECVMMSG_SOCKETCALL].
38694         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38695         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38696         Define.
38697         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38698         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38700         Likewise.
38701         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38702         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38703         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38704         [!__ASSUME_RECVMMSG]: Change condition to
38705         [!__ASSUME_RECVMMSG_SOCKETCALL].
38706         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38707         (__ASSUME_RECVMMSG_SYSCALL): Define.
38709         [BZ #16609]
38710         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38711         __powerpc__ || __s390__ || __sh__ || __sparc__]
38712         (__ASSUME_SOCKETCALL): Define.
38713         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38714         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38715         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38716         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38717         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38718         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38719         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38720         (__ASSUME_ACCEPT4): Define instead of using previous
38721         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38722         __powerpc__ || __sparc__ || __s390__)] condition.
38723         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38724         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38725         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38726         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38727         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38728         [!__ASSUME_ACCEPT4]: Change condition to
38729         [!__ASSUME_ACCEPT4_SOCKETCALL].
38730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38731         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38732         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38734         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38735         __ASSUME_ACCEPT4_SYSCALL.
38736         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38737         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38739         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38740         __ASSUME_ACCEPT4_SYSCALL.
38741         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38742         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38743         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38744         [__ASSUME_ACCEPT4]: Change condition to
38745         [__ASSUME_ACCEPT4_SOCKETCALL].
38746         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38747         (__ASSUME_SOCKETCALL): Define.
38748         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38750         (__ASSUME_SOCKETCALL): Define.
38751         (__ASSUME_ACCEPT4): Remove.
38752         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38753         Define.
38754         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38755         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38756         Likewise.
38757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38758         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38760         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38761         macro.
38762         (HWCAP_ARM_LPAE): Likewise.
38763         (HWCAP_ARM_EVTSTRM): Likewise.
38764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38765         Add vpfd32, lpae and evtstrm.
38766         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38767         Increase to 22.
38769 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38771         * math/auto-libm-test-in: Add tests of clog10.
38772         * math/auto-libm-test-out: Regenerated.
38773         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38774         * sysdeps/i386/fpu/libm-test-ulps: Update.
38775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38777 2014-02-18  Andreas Schwab  <schwab@suse.de>
38779         [BZ #16574]
38780         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38781         Store non-zero if the second buffer was newly allocated.
38782         (send_dg): Likewise.
38783         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38784         to send_vc and send_dg.
38785         (res_nsend): Pass NULL for ansp2_malloced.
38786         * resolv/res_query.c (__libc_res_nquery): Add parameter
38787         answerp2_malloced and pass it down to __libc_res_nsend.
38788         (res_nquery): Pass additional NULL to __libc_res_nquery.
38789         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38790         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38791         second answer buffer if answerp2_malloced was set.
38792         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38793         (__libc_res_nquerydomain): Add parameter
38794         answerp2_malloced and pass it down to __libc_res_nquery.
38795         (res_nquerydomain): Pass additional NULL to
38796         __libc_res_nquerydomain.
38797         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38798         additional NULL to __libc_res_nsend and __libc_res_nquery.
38799         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38800         additional NULL to __libc_res_nsearch.
38801         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38802         parameter of __libc_res_nsearch to check for separately allocated
38803         second buffer.
38804         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38805         __libc_res_nquery.
38806         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38807         additional NULL to __libc_res_nquery.
38808         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38809         __libc_res_nsearch.
38810         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38811         * include/resolv.h: Update prototypes of __libc_res_nquery,
38812         __libc_res_nsearch, __libc_res_nsend.
38814 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38816         * math/auto-libm-test-in: Add tests of fma.
38817         * math/auto-libm-test-out: Regenerated.
38818         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38819         (fma_towardzero_test_data): Likewise.
38820         (fma_downward_test_data): Likewise.
38821         (fma_upward_test_data): Likewise.
38822         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38823         mpc_mode.
38824         (rounding_modes): Add values for new field.
38825         (func_calc_method): Add value mpfr_fff_f.
38826         (func_calc_desc): Add mpfr_fff_f union field.
38827         (test_function): Add field exact_args.
38828         (FUNC): Add macro argument EXACT_ARGS.
38829         (FUNC_mpfr_f_f): Update call to FUNC.
38830         (FUNC_mpfr_f_f): Likewise.
38831         (FUNC_mpfr_ff_f): Likewise.
38832         (FUNC_mpfr_if_f): Likewise.
38833         (FUNC_mpc_c_f): Likewise.
38834         (FUNC_mpc_c_c): Likewise.
38835         (test_functions): Add fma.  Update calls to FUNC.
38836         (handle_input_arg): Add argument exact_args.
38837         (add_test): Update call to handle_input_arg.
38838         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38839         (output_for_one_input_case): Update call to calc_generic_results.
38840         Recalculate exact zero results in each rounding mode.
38842         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38843         non-negative before setting low bit.
38844         * math/auto-libm-test-in: Mark one asin test possibly having
38845         spurious underflow.
38846         * math/auto-libm-test-out: Regenerated.
38847         * sysdeps/i386/fpu/libm-test-ulps: Update.
38848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38850 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38852         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38853         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38854         ports/sysdeps/unix/sysv/linux/microblaze.
38855         * README: Add missing listing for microblaze*-*-linux-gnu.
38857 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38859         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38860         duplicate code
38862 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38864         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38865         * sysdeps/unix/sysv/linux/ia64: Move directory from
38866         ports/sysdeps/unix/sysv/linux/ia64.
38867         * README: Update listing for ia64-*-linux-gnu.
38869 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38870             Joseph Myers  <joseph@codesourcery.com>
38872         * Makeconfig (test-name): New variable.
38873         (evaluate-test): Likewise.
38874         * Makerules (do-test-clean): Remove .test-result files.
38875         (common-mostlyclean): Likewise.
38876         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38877         * scripts/evaluate-test.sh: New file.
38879 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38881         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38882         separate $(objpfx)tst-fopenloc-cmp.out and
38883         $(objpfx)tst-fopenloc-mem.out targets.
38884         (tests): Update dependencies.
38885         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38886         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38887         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38888         (tst-rxspencer-no-utf8-ARGS): New variable.
38889         (tst-rxspencer-no-utf8-ENV): Likewise.
38890         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38891         instead of $(objpfx)tst-rxspencer-mem.
38892         ($(objpfx)tst-rxspencer-mem): Change target to
38893         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38894         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38895         * posix/tst-rxspencer-no-utf8.c: New file.
38897         * elf/Makefile ($(objpfx)order.out): Remove rule.
38898         [$(run-built-tests) = yes] (tests): Depend on
38899         $(objpfx)order-cmp.out.
38900         ($(objpfx)order-cmp.out): New rule.
38901         [$(run-built-tests) = yes] (tests): Depend on
38902         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38903         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38904         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38905         $(objpfx)tst-array5-static-cmp.out.
38906         ($(objpfx)tst-array1.out): Remove rule.
38907         ($(objpfx)tst-array1-cmp.out): New rule.
38908         ($(objpfx)tst-array1-static.out): Remove rule.
38909         ($(objpfx)tst-array1-static-cmp.out): New rule.
38910         ($(objpfx)tst-array2.out): Remove rule.
38911         ($(objpfx)tst-array2-cmp.out): New rule.
38912         ($(objpfx)tst-array3.out): Remove rule.
38913         ($(objpfx)tst-array3-cmp.out): New rule.
38914         ($(objpfx)tst-array4.out): Remove rule.
38915         ($(objpfx)tst-array4-cmp.out): New rule.
38916         ($(objpfx)tst-array5.out): Remove rule.
38917         ($(objpfx)tst-array5-cmp.out): New rule.
38918         ($(objpfx)tst-array5-static.out): Remove rule.
38919         ($(objpfx)tst-array5-static-cmp.out): New rule.
38920         [$(run-built-tests) = yes] (tests): Depend on
38921         $(objpfx)order2-cmp.out.
38922         ($(objpfx)order2.out): Remove rule.
38923         ($(objpfx)order2-cmp.out): New rule.
38924         ($(objpfx)tst-initorder.out): Remove rule.
38925         [$(run-built-tests) = yes] (tests): Depend on
38926         $(objpfx)tst-initorder-cmp.out.
38927         ($(objpfx)tst-initorder-cmp.out): New rule.
38928         ($(objpfx)tst-initorder2.out): Remove rule.
38929         [$(run-built-tests) = yes] (tests): Depend on
38930         $(objpfx)tst-initorder2-cmp.out.
38931         ($(objpfx)tst-initorder2-cmp.out): New rule.
38932         [$(run-built-tests) = yes] (tests): Depend on
38933         $(objpfx)tst-unused-dep-cmp.out.
38934         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38935         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38936         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38937         on $(objpfx)tst-setvbuf1-cmp.out.
38938         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38939         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38940         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38941         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38942         ($(objpfx)tst-svc.out): Remove rule.
38943         ($(objpfx)tst-svc-cmp.out): New rule.
38945 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38947         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38948         * ctype/ctype.h [__USE_MISC]: Likewise.
38949         * dirent/dirent.h [__USE_MISC]: Likewise.
38950         * grp/grp.h [__USE_MISC]: Likewise.
38951         * io/fcntl.h [__USE_MISC]: Likewise.
38952         * io/sys/stat.h [__USE_MISC]: Likewise.
38953         * libio/stdio.h [__USE_MISC]: Likewise.
38954         * posix/unistd.h [__USE_MISC]: Likewise.
38955         * pwd/pwd.h [__USE_MISC]: Likewise.
38956         * stdlib.h [__USE_MISC]: Likewise.
38957         * string/bits/string2.h [__USE_MISC]: Likewise.
38958         * string/string.h [__USE_MISC]: Likewise.
38959         * time/time.h [__USE_MISC]: Likewise.
38961 2014-02-13  Andreas Schwab  <schwab@suse.de>
38963         [BZ #16574]
38964         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38965         second answer buffer if it was separately allocated.
38967 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38969         * sysdeps/mips/math-tests.h: Include <features.h>.
38970         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38971         (ROUNDING_TESTS_long_double): Do not define.
38972         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38973         (EXCEPTION_TESTS_long_double): Likewise.
38974         * sysdeps/mips/mips64/libm-test-ulps: Update.
38976         * include/features.h (__USE_BSD): Remove macro definitions.
38977         (__USE_SVID): Likewise.
38978         (_BSD_SOURCE): Likewise.
38979         (_SVID_SOURCE): Likewise.
38980         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38981         from definition of _DEFAULT_SOURCE.
38982         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38983         [_DEFAULT_SOURCE].
38984         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38985         * bits/mman.h [__USE_BSD]: Likewise.
38986         * bits/termios.h [__USE_BSD]: Likewise.
38987         * bits/waitstatus.h [__USE_BSD]: Likewise.
38988         * ctype/ctype.h [__USE_SVID]: Likewise.
38989         * dirent/dirent.h [__USE_BSD]: Likewise.
38990         * grp/grp.h [__USE_SVID]: Likewise.
38991         [__USE_BSD]: Likewise.
38992         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38993         * io/fcntl.h [__USE_BSD]: Likewise.
38994         * io/ftw.h [__USE_BSD]: Likewise.
38995         * io/sys/stat.h [__USE_BSD]: Likewise.
38996         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38997         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38998         * libio/stdio.h [__USE_SVID]: Likewise.
38999         [__USE_BSD]: Likewise.
39000         * math/math.h [__USE_SVID]: Likewise.
39001         [__USE_BSD]: Likewise.
39002         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39003         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39004         * misc/search.h [__USE_SVID]: Likewise.
39005         * misc/sys/mman.h [__USE_BSD]: Likewise.
39006         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39007         * misc/sys/uio.h [__USE_BSD]: Likewise.
39008         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39009         * posix/glob.h [__USE_BSD]: Likewise.
39010         * posix/regex.h [__USE_BSD]: Likewise.
39011         * posix/sys/types.h [__USE_BSD]: Likewise.
39012         [__USE_SVID]: Likewise.
39013         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39014         * posix/sys/wait.h [__USE_BSD]: Likewise.
39015         [__USE_SVID]: Likewise.
39016         * posix/unistd.h [__USE_BSD]: Likewise.
39017         [__USE_SVID]: Likewise.
39018         * pwd/pwd.h [__USE_SVID]: Likewise.
39019         * resolv/netdb.h [__USE_BSD]: Likewise.
39020         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39021         * signal/signal.h [__USE_BSD]: Likewise.
39022         [__USE_SVID]: Likewise.
39023         * socket/sys/socket.h [__USE_BSD]: Likewise.
39024         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39025         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39026         [__USE_SVID]: Likewise.
39027         * string/bits/string2.h [__USE_BSD]: Likewise.
39028         [__USE_SVID]: Likewise.
39029         * string/bits/string3.h [__USE_BSD]: Likewise.
39030         * string/endian.h [__USE_BSD]: Likewise.
39031         * string/string.h [__USE_SVID]: Likewise.
39032         [__USE_BSD]: Likewise.
39033         * string/strings.h [__USE_BSD]: Likewise.
39034         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39035         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39036         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39037         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39038         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39039         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39040         Likewise.
39041         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39042         Likewise.
39043         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39044         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39045         Likewise.
39046         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39047         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39048         Likewise.
39049         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39050         Likewise.
39051         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39052         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39053         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39054         Likewise.
39055         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39056         Likewise.
39057         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39058         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39059         * termios/termios.h [__USE_BSD]: Likewise.
39060         * time/sys/time.h [__USE_BSD]: Likewise.
39061         * time/time.h [__USE_BSD]: Likewise.
39062         [__USE_SVID]: Likewise.
39064         * Makefile (subdir_targets): Remove subdir_lint.out.
39066         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39067         (do-tst-printf): Likewise.
39068         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39069         $(objpfx)tst-printf.out.
39071         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39073         * Makerules (check-abi-%): Change target to
39074         $(objpfx)check-abi-%.out.
39075         (check-abi target): Update dependencies.
39076         (check-abi-pattern variable): Redirect output of diff to $@.
39077         (check-abi variable): Likewise.
39078         * elf/Makefile (check-abi): Update dependencies.
39080         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39081         unused.
39082         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39083         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39084         subnormal range.
39085         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39086         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39087         value has largest subnormal exponent.
39088         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39089         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39090         * sysdeps/aarch64/soft-fp/sfp-machine.h
39091         (_FP_TININESS_AFTER_ROUNDING): New macro.
39092         * sysdeps/alpha/soft-fp/sfp-machine.h
39093         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39094         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39095         Likewise.
39096         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39098         * sysdeps/mips/soft-fp/sfp-machine.h
39099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39100         * sysdeps/powerpc/soft-fp/sfp-machine.h
39101         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39102         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39103         Likewise.
39104         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39106         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39107         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39108         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39109         Likewise.
39111 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39113         [BZ #16545]
39114         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39115         model 1.
39117 2014-02-12  Richard Henderson  <rth@redhat.com>
39119         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39120         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39121         * sysdeps/unix/sysv/linux/alpha: Move directory from
39122         ports/sysdeps/unix/sysv/linux/alpha.
39123         * README: Update listing for alpha-*-linux-gnu.
39125 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39127         * include/features.h: Update comment documenting feature test
39128         macros.
39129         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39130         _DEFAULT_SOURCE.
39131         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39132         (_SVID_SOURCE): Likewise.
39133         (_DEFAULT_SOURCE): Update description of default features.
39134         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39135         with _GNU_SOURCE.
39136         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39137         (S_ISVTX): Likewise.
39138         * manual/math.texi (Mathematical Constants): Likewise.
39139         * manual/signal.texi (Interrupted Primitives): Likewise.
39140         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39141         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39142         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39143         Don't refer to _SVID_SOURCE in warning text.
39145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39147         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39148         already defined.
39149         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39150         * sysdeps/mips/dl-lookup.c: Remove.
39151         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39153 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39155         [BZ #16447]
39156         * math/auto-libm-test-in: Add testcase for expl.
39157         * math/auto-libm-test-out: Regenerate.
39158         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39159         calculation of unsafe.
39160         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39162 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39164         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39165         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39166         ports/sysdeps/unix/sysv/linux/aarch64.
39167         * README: Update listing for aarch64*-*-linux-gnu.
39169 2014-02-11  Will Newton  <will.newton@linaro.org>
39171         * manual/probes.texi (Mathematical Function Probes): Use
39172         "triggered" instead of "hit".
39174         * manual/probes.texi (Internal Probes): Add documentation
39175         of setjmp, longjmp and longjmp_target probes.
39177         * include/stap-probe.h: Add comment about probe argument
39178         format.
39180         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39181         definition.  (tr_where, tr_freehook, tr_mallochook,
39182         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39184 2014-02-11  David S. Miller  <davem@davemloft.net>
39186         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39187         processing int_tests.
39189 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39191         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39192         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39193         * sysdeps/unix/sysv/linux/mips: Move directory from
39194         ports/sysdeps/unix/sysv/linux/mips.
39195         * README: Update listing for mips-*-linux-gnu and
39196         mips64-*-linux-gnu.
39198 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39200         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39201         * sysdeps/unix/sysv/linux/m68k: Move directory from
39202         ports/sysdeps/unix/sysv/linux/m68k.
39203         * README: Update listing for m68k-*-linux-gnu.
39205 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39207         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39208         * sysdeps/unix/sysv/linux/generic: Move directory from
39209         ports/sysdeps/unix/sysv/linux/generic.
39210         * sysdeps/unix/sysv/linux/tile: Move directory from
39211         ports/sysdeps/unix/sysv/linux/tile.
39212         * README: Update listing for tile*-*-linux-gnu.
39214 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39216         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39217         __builtin_expect.
39218         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39219         * catgets/open_catalog.c (__open_catalog): Likewise.
39220         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39221         * debug/confstr_chk.c: Likewise.
39222         * debug/fread_chk.c (__fread_chk): Likewise.
39223         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39224         * debug/getgroups_chk.c: Likewise.
39225         * debug/mbsnrtowcs_chk.c: Likewise.
39226         * debug/mbsrtowcs_chk.c: Likewise.
39227         * debug/mbstowcs_chk.c: Likewise.
39228         * debug/memcpy_chk.c: Likewise.
39229         * debug/memmove_chk.c: Likewise.
39230         * debug/mempcpy_chk.c: Likewise.
39231         * debug/memset_chk.c: Likewise.
39232         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39233         * debug/strcat_chk.c (__strcat_chk): Likewise.
39234         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39235         * debug/strncat_chk.c (__strncat_chk): Likewise.
39236         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39237         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39238         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39239         * debug/wcpncpy_chk.c: Likewise.
39240         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39241         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39242         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39243         * debug/wcsncpy_chk.c: Likewise.
39244         * debug/wcsnrtombs_chk.c: Likewise.
39245         * debug/wcsrtombs_chk.c: Likewise.
39246         * debug/wcstombs_chk.c: Likewise.
39247         * debug/wmemcpy_chk.c: Likewise.
39248         * debug/wmemmove_chk.c: Likewise.
39249         * debug/wmempcpy_chk.c: Likewise.
39250         * debug/wmemset_chk.c: Likewise.
39251         * dirent/scandirat.c (SCANDIRAT): Likewise.
39252         * dlfcn/dladdr1.c (dladdr1): Likewise.
39253         * dlfcn/dladdr.c (dladdr): Likewise.
39254         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39255         * dlfcn/dlerror.c (__dlerror): Likewise.
39256         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39257         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39258         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39259         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39260         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39261         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39262         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39263         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39264         Likewise.
39265         * elf/dl-conflict.c: Likewise.
39266         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39267         * elf/dl-dst.h: Likewise.
39268         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39269         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39270         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39271         * elf/dl-init.c (call_init, _dl_init): Likewise.
39272         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39273         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39274         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39275         Likewise.
39276         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39277         Likewise.
39278         * elf/dl-minimal.c (__libc_memalign): Likewise.
39279         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39280         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39281         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39282         * elf/dl-sym.c (do_sym): Likewise.
39283         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39284         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39285         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39286         * elf/dl-writev.h (_dl_writev): Likewise.
39287         * elf/ldconfig.c (search_dir): Likewise.
39288         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39289         (dl_main): Likewise.
39290         * elf/setup-vdso.h (setup_vdso): Likewise.
39291         * grp/compat-initgroups.c (compat_call): Likewise.
39292         * grp/fgetgrent.c (fgetgrent): Likewise.
39293         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39294         * grp/putgrent.c (putgrent): Likewise.
39295         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39296         Likewise.
39297         * hurd/hurdinit.c: Likewise.
39298         * iconvdata/8bit-gap.c (struct): Likewise.
39299         * iconvdata/ansi_x3.110.c : Likewise.
39300         * iconvdata/big5.c : Likewise.
39301         * iconvdata/big5hkscs.c : Likewise.
39302         * iconvdata/cp1255.c: Likewise.
39303         * iconvdata/cp1258.c : Likewise.
39304         * iconvdata/cp932.c : Likewise.
39305         * iconvdata/euc-cn.c: Likewise.
39306         * iconvdata/euc-jisx0213.c : Likewise.
39307         * iconvdata/euc-jp.c: Likewise.
39308         * iconvdata/euc-jp-ms.c : Likewise.
39309         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39310         * iconvdata/gb18030.c : Likewise.
39311         * iconvdata/gbbig5.c (const): Likewise.
39312         * iconvdata/gbgbk.c: Likewise.
39313         * iconvdata/gbk.c : Likewise.
39314         * iconvdata/ibm1364.c : Likewise.
39315         * iconvdata/ibm930.c : Likewise.
39316         * iconvdata/ibm932.c: Likewise.
39317         * iconvdata/ibm933.c : Likewise.
39318         * iconvdata/ibm935.c : Likewise.
39319         * iconvdata/ibm937.c : Likewise.
39320         * iconvdata/ibm939.c : Likewise.
39321         * iconvdata/ibm943.c: Likewise.
39322         * iconvdata/iso_11548-1.c: Likewise.
39323         * iconvdata/iso-2022-cn.c : Likewise.
39324         * iconvdata/iso-2022-cn-ext.c : Likewise.
39325         * iconvdata/iso-2022-jp-3.c: Likewise.
39326         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39327         * iconvdata/iso-2022-kr.c : Likewise.
39328         * iconvdata/iso646.c (gconv_end): Likewise.
39329         * iconvdata/iso_6937-2.c : Likewise.
39330         * iconvdata/iso_6937.c : Likewise.
39331         * iconvdata/iso8859-1.c: Likewise.
39332         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39333         * iconvdata/shift_jisx0213.c : Likewise.
39334         * iconvdata/sjis.c : Likewise.
39335         * iconvdata/t.61.c : Likewise.
39336         * iconvdata/tcvn5712-1.c : Likewise.
39337         * iconvdata/tscii.c: Likewise.
39338         * iconvdata/uhc.c : Likewise.
39339         * iconvdata/unicode.c (gconv_end): Likewise.
39340         * iconvdata/utf-16.c (gconv_end): Likewise.
39341         * iconvdata/utf-32.c (gconv_end): Likewise.
39342         * iconvdata/utf-7.c (base64): Likewise.
39343         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39344         * iconv/gconv_close.c (__gconv_close): Likewise.
39345         * iconv/gconv_open.c (__gconv_open): Likewise.
39346         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39347         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39348         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39349         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39350         (ucs4le_internal_loop_single): Likewise.
39351         * iconv/iconv.c (iconv): Likewise.
39352         * iconv/iconv_close.c: Likewise.
39353         * iconv/loop.c (SINGLE): Likewise.
39354         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39355         * include/atomic.h: Likewise.
39356         * inet/inet6_option.c (option_alloc): Likewise.
39357         * intl/bindtextdom.c (set_binding_values): Likewise.
39358         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39359         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39360         * intl/localealias.c (read_alias_file): Likewise.
39361         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39362         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39363         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39364         * libio/fmemopen.c (fmemopen): Likewise.
39365         * libio/iofgets.c (_IO_fgets): Likewise.
39366         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39367         * libio/iofgetws.c (fgetws): Likewise.
39368         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39369         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39370         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39371         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39372         * locale/findlocale.c (_nl_find_locale): Likewise.
39373         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39374         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39375         Likewise.
39376         * locale/setlocale.c (setlocale): Likewise.
39377         * login/programs/pt_chown.c (main): Likewise.
39378         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39379         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39380         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39381         (mmap, mmap64, mremap, munmap): Likewise.
39382         * math/e_exp2l.c: Likewise.
39383         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39384         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39385         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39386         * math/s_catan.c (__catan): Likewise.
39387         * math/s_catanf.c (__catanf): Likewise.
39388         * math/s_catanh.c (__catanh): Likewise.
39389         * math/s_catanhf.c (__catanhf): Likewise.
39390         * math/s_catanhl.c (__catanhl): Likewise.
39391         * math/s_catanl.c (__catanl): Likewise.
39392         * math/s_ccosh.c (__ccosh): Likewise.
39393         * math/s_ccoshf.c (__ccoshf): Likewise.
39394         * math/s_ccoshl.c (__ccoshl): Likewise.
39395         * math/s_cexp.c (__cexp): Likewise.
39396         * math/s_cexpf.c (__cexpf): Likewise.
39397         * math/s_cexpl.c (__cexpl): Likewise.
39398         * math/s_clog10.c (__clog10): Likewise.
39399         * math/s_clog10f.c (__clog10f): Likewise.
39400         * math/s_clog10l.c (__clog10l): Likewise.
39401         * math/s_clog.c (__clog): Likewise.
39402         * math/s_clogf.c (__clogf): Likewise.
39403         * math/s_clogl.c (__clogl): Likewise.
39404         * math/s_csin.c (__csin): Likewise.
39405         * math/s_csinf.c (__csinf): Likewise.
39406         * math/s_csinh.c (__csinh): Likewise.
39407         * math/s_csinhf.c (__csinhf): Likewise.
39408         * math/s_csinhl.c (__csinhl): Likewise.
39409         * math/s_csinl.c (__csinl): Likewise.
39410         * math/s_csqrt.c (__csqrt): Likewise.
39411         * math/s_csqrtf.c (__csqrtf): Likewise.
39412         * math/s_csqrtl.c (__csqrtl): Likewise.
39413         * math/s_ctan.c (__ctan): Likewise.
39414         * math/s_ctanf.c (__ctanf): Likewise.
39415         * math/s_ctanh.c (__ctanh): Likewise.
39416         * math/s_ctanhf.c (__ctanhf): Likewise.
39417         * math/s_ctanhl.c (__ctanhl): Likewise.
39418         * math/s_ctanl.c (__ctanl): Likewise.
39419         * math/w_pow.c: Likewise.
39420         * math/w_powf.c: Likewise.
39421         * math/w_powl.c: Likewise.
39422         * math/w_scalb.c (sysv_scalb): Likewise.
39423         * math/w_scalbf.c (sysv_scalbf): Likewise.
39424         * math/w_scalbl.c (sysv_scalbl): Likewise.
39425         * misc/error.c (error_tail): Likewise.
39426         * misc/pselect.c (__pselect): Likewise.
39427         * nis/nis_callback.c (__nis_create_callback): Likewise.
39428         * nis/nis_call.c (__nisfind_server): Likewise.
39429         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39430         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39431         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39432         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39433         * nis/nis_lookup.c (nis_lookup): Likewise.
39434         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39435         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39436         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39437         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39438         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39439         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39440         * nis/nss_compat/compat-initgroups.c (add_group)
39441         (internal_getgrent_r): Likewise.
39442         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39443         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39444         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39445         (internal_getspnam_r): Likewise.
39446         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39447         (_nss_nis_getaliasbyname_r): Likewise.
39448         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39449         (_nss_nis_getntohost_r): Likewise.
39450         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39451         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39452         (_nss_nis_getgrgid_r): Likewise.
39453         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39454         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39455         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39456         (_nss_nis_gethostbyname4_r): Likewise.
39457         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39458         (initgroups_netid): Likewise.
39459         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39460         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39461         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39462         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39463         (_nss_nis_getprotobynumber_r): Likewise.
39464         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39465         (_nss_nis_getsecretkey): Likewise.
39466         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39467         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39468         (_nss_nis_getpwuid_r): Likewise.
39469         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39470         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39471         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39472         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39473         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39474         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39475         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39476         Likewise.
39477         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39478         (_nss_nisplus_getntohost_r): Likewise.
39479         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39480         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39481         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39482         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39483         Likewise.
39484         * nis/nss_nisplus/nisplus-initgroups.c
39485         (_nss_nisplus_initgroups_dyn): Likewise.
39486         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39487         (_nss_nisplus_getnetbyaddr_r): Likewise.
39488         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39489         (_nss_nisplus_getprotobynumber_r): Likewise.
39490         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39491         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39492         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39493         Likewise.
39494         * nis/nss_nisplus/nisplus-service.c
39495         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39496         (_nss_nisplus_getservbyport_r): Likewise.
39497         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39498         (_nss_nisplus_getspnam_r): Likewise.
39499         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39500         Likewise.
39501         * nscd/aicache.c (addhstaiX): Likewise.
39502         * nscd/cache.c (cache_search, prune_cache): Likewise.
39503         * nscd/connections.c (register_traced_file, send_ro_fd)
39504         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39505         (main_loop_epoll): Likewise.
39506         * nscd/grpcache.c (addgrbyX): Likewise.
39507         * nscd/hstcache.c (addhstbyX): Likewise.
39508         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39509         * nscd/mem.c (gc, mempool_alloc): Likewise.
39510         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39511         (addinnetgrX): Likewise.
39512         * nscd/nscd-client.h (__nscd_acquire_maplock)
39513         (__nscd_drop_map_ref): Likewise.
39514         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39515         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39516         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39517         Likewise.
39518         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39519         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39520         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39521         (__nscd_get_map_ref): Likewise.
39522         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39523         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39524         Likewise.
39525         * nscd/pwdcache.c (addpwbyX): Likewise.
39526         * nscd/selinux.c (preserve_capabilities): Likewise.
39527         * nscd/servicescache.c (addservbyX): Likewise.
39528         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39529         * posix/fnmatch.c (fnmatch): Likewise.
39530         * posix/getopt.c (_getopt_internal_r): Likewise.
39531         * posix/glob.c (glob, glob_in_dir): Likewise.
39532         * posix/wordexp.c (exec_comm_child): Likewise.
39533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39534         (getanswer_r, gaih_getanswer_slice): Likewise.
39535         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39536         * resolv/res_init.c: Likewise.
39537         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39538         * resolv/res_query.c (__libc_res_nquery): Likewise.
39539         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39540         Likewise.
39541         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39542         * stdio-common/perror.c (perror): Likewise.
39543         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39544         * stdio-common/tmpnam.c (tmpnam): Likewise.
39545         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39546         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39547         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39548         Likewise.
39549         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39550         * stdlib/putenv.c (putenv): Likewise.
39551         * stdlib/setenv.c (__add_to_environ): Likewise.
39552         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39553         * stdlib/strtol_l.c (INTERNAL): Likewise.
39554         * string/memmem.c (memmem): Likewise.
39555         * string/strerror.c (strerror): Likewise.
39556         * string/strnlen.c (__strnlen): Likewise.
39557         * string/test-memmem.c (simple_memmem): Likewise.
39558         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39559         * sunrpc/pm_getport.c (__get_socket): Likewise.
39560         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39561         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39562         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39563         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39564         Likewise.
39565         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39566         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39567         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39568         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39569         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39570         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39571         Likewise.
39572         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39573         Likewise.
39574         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39575         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39576         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39577         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39578         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39580         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39581         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39582         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39583         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39584         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39585         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39586         Likewise.
39587         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39588         Likewise.
39589         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39590         Likewise.
39591         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39593         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39594         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39595         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39596         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39597         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39598         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39600         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39601         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39602         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39603         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39604         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39606         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39607         Likewise.
39608         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39609         Likewise.
39610         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39611         Likewise.
39612         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39613         Likewise.
39614         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39616         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39617         Likewise.
39618         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39619         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39620         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39621         * sysdeps/posix/sleep.c: Likewise.
39622         * sysdeps/posix/tempname.c: Likewise.
39623         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39624         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39625         Likewise.
39626         * sysdeps/powerpc/powerpc32/dl-machine.h
39627         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39628         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39629         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39630         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39631         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39632         Likewise.
39633         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39635         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39637         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39638         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39639         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39640         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39641         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39642         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39644         (elf_machine_lazy_rel): Likewise.
39645         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39646         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39647         (elf_machine_lazy_rel): Likewise.
39648         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39649         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39650         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39651         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39652         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39653         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39654         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39656         Likewise.
39657         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39658         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39659         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39660         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39661         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39662         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39663         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39664         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39666         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39667         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39668         Likewise.
39669         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39670         (__posix_fallocate64_l64): Likewise.
39671         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39672         (posix_fallocate): Likewise.
39673         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39674         Likewise.
39675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39676         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39677         (getifaddrs_internal): Likewise.
39678         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39679         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39680         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39681         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39682         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39683         (__posix_fallocate64_l64): Likewise.
39684         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39685         Likewise.
39686         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39687         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39688         (__get_clockfreq): Likewise.
39689         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39690         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39691         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39694         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39695         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39696         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39697         Likewise.
39698         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39699         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39700         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39701         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39702         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39703         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39704         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39705         Likewise.
39706         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39707         (posix_fallocate): Likewise.
39708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39709         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39710         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39711         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39712         (elf_machine_rela, elf_machine_rela_relative)
39713         (elf_machine_lazy_rel): Likewise.
39714         * time/asctime.c (asctime_internal): Likewise.
39715         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39716         * time/tzset.c (__tzset_parse_tz): Likewise.
39717         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39718         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39719         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39720         * wcsmbs/wcsmbsload.h: Likewise.
39722         [BZ #15894]
39723         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39725         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39726         (arena_get2): Remove THREAD_STATS conditionals.
39727         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39728         (__malloc_stats, int): Likewise.
39730 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39732         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39733         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39735         * manual/setjmp.texi: Fix typos/grammar errors.
39737         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39738         Only return early when n is <= 0.  Delete unused return statement.
39740         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39741         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39742         * debug/tst-longjmp_chk3.c: New file.
39744         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39745         (test_main): Replace code with set_fortify_handler call.
39746         * debug/test-strcpy_chk.c: Likewise.
39747         * debug/tst-chk1.c: Likewise.
39748         * debug/tst-longjmp_chk.c: Likewise.
39749         * test-skeleton.c: Include fcntl.h & paths.h
39750         (set_fortify_handler): Define.
39752         * debug/tst-longjmp_chk.c: Add header comment and include
39753         ../test-skeleton.c.
39754         (do_test): Mark static.
39755         (TEST_FUNCTION): Define.
39757         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39758         (IP_PMTUDISC_INTERFACE): Likewise.
39759         (IP_MULTICAST_IF): Likewise.
39760         (IP_MULTICAST_TTL): Likewise.
39761         (IP_MULTICAST_LOOP): Likewise.
39762         (IP_ADD_MEMBERSHIP): Likewise.
39763         (IP_DROP_MEMBERSHIP): Likewise.
39764         (IP_UNBLOCK_SOURCE): Likewise.
39765         (IP_BLOCK_SOURCE): Likewise.
39766         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39767         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39768         (IP_MSFILTER): Likewise.
39769         (MCAST_JOIN_GROUP): Likewise.
39770         (MCAST_BLOCK_SOURCE): Likewise.
39771         (MCAST_UNBLOCK_SOURCE): Likewise.
39772         (MCAST_LEAVE_GROUP): Likewise.
39773         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39774         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39775         (MCAST_MSFILTER): Likewise.
39776         (IP_MULTICAST_ALL): Likewise.
39777         (IP_UNICAST_IF): Likewise.
39779         * timezone/Makefile: Delete $(have-ksh) check.
39780         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39781         * timezone/tzselect.ksh: Add +x mode bits.
39783         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39784         (ANON_INODE_FS_MAGIC): Likewise.
39785         (BDEVFS_MAGIC): Likewise.
39786         (BINFMTFS_MAGIC): Likewise.
39787         (BTRFS_TEST_MAGIC): Likewise.
39788         (CRAMFS_MAGIC_WEND): Likewise.
39789         (DEBUGFS_MAGIC): Likewise.
39790         (ECRYPTFS_SUPER_MAGIC): Likewise.
39791         (EXT3_SUPER_MAGIC): Likewise.
39792         (EXT4_SUPER_MAGIC): Likewise.
39793         (FUTEXFS_SUPER_MAGIC): Likewise.
39794         (HOSTFS_SUPER_MAGIC): Likewise.
39795         (HUGETLBFS_MAGIC): Likewise.
39796         (MINIX3_SUPER_MAGIC): Likewise.
39797         (MTD_INODE_FS_MAGIC): Likewise.
39798         (NILFS_SUPER_MAGIC): Likewise.
39799         (OPENPROM_SUPER_MAGIC): Likewise.
39800         (PIPEFS_MAGIC): Likewise.
39801         (PSTOREFS_MAGIC): Likewise.
39802         (QNX6_SUPER_MAGIC): Likewise.
39803         (RAMFS_MAGIC): Likewise.
39804         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39805         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39806         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39807         (SECURITYFS_MAGIC): Likewise.
39808         (SELINUX_MAGIC): Likewise.
39809         (SMACK_MAGIC): Likewise.
39810         (SOCKFS_MAGIC): Likewise.
39811         (SQUASHFS_MAGIC): Likewise.
39812         (STACK_END_MAGIC): Likewise.
39813         (TMPFS_MAGIC): Likewise.
39814         (USBDEVICE_SUPER_MAGIC): Likewise.
39815         (V9FS_MAGIC): Likewise.
39816         (XENFS_SUPER_MAGIC): Likewise.
39817         (CRAMFS_MAGIC): Fix typo in comment.
39818         (EXT2_SUPER_MAGIC): Update comment.
39819         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39821 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39823         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39824         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39825         * sysdeps/unix/sysv/linux/arm: Move directory from
39826         ports/sysdeps/unix/sysv/linux/arm.
39827         * README: Update listing for arm-*-linux-gnueabi.
39829         * README: Remove mention of am33.
39831 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39833         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39834         than the comma operator, to avoid "rhs of comma has no effect"
39835         compiler warnings.
39836         (__sigfillset, __sigandset, __sigorset): Likewise.
39837         * include/signal.h (__sigemptyset): Likewise.
39838         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39840 2014-02-07  Allan McRae  <allan@archlinux.org>
39842         * version.h (RELEASE): Set to "development".
39843         (VERSION): Set to "2.19.90"
39844         * NEWS: Add 2.20 section.
39846 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39848         [BZ #16529]
39849         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39851 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39853         * manual/contrib.texi: Update entry for Carlos O'Donell,
39854         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39856 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39858         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39860         * sysdeps/unix/sysv/linux/kernel-features.h
39861         [__LINUX_KERNEL_VERSION >= 0x020621]
39862         (__ASSUME_PROC_PID_TASK_COMM): Define.
39864 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39866         [BZ #16398]
39867         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39868         conversion when destination buffer does not have enough space.
39869         * libio/tst-ftell-partial-wide.c: New test case.
39870         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39872         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39873         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39874         Leonard and Allan McRae.
39876 2014-02-04  David S. Miller  <davem@davemloft.net>
39878         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39879         32-bit.
39881 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39884         New file
39885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39886         New file
39887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39888         New file.
39889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39890         New file.
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39892         New file.
39893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39894         New file.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39896         New file.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39898         New file.
39899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39900         New file.
39901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39902         New file.
39903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39904         New file.
39905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39906         New file.
39907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39908         New file.
39910 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39912         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39913         * shlib-versions: Likewise.
39915 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39916             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39918         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39919         (abilist-pattern): New variable, set to %-le.abilist.
39921         * Makerules (abilist-pattern): New variable.
39922         (vpath): Use $(abilist-pattern) in place of %.abilist.
39923         (check-abi-% pattern rule): Likewise.
39924         (check-abi, update-abi): Likewise.
39926 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39930 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39932         * manual/startup.texi: Add next, previous, and top entries for
39933         the `Program Arguments' and `Environment Variables' nodes.
39935 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39937         * manual/macros.texi: Add comments before MTASC-safety macros.
39939         * manual/users.texi: Document MTASC-safety properties.
39941         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39942         (pthread_getspecific, pthread_setspecific): Format with
39943         @deftypefun, and add @safety note.
39944         * manual/signal.texi: Move comments that analyze the above
39945         functions to their home place.
39947 2014-02-03  Allan McRae  <allan@archlinux.org>
39949         * po/sl.po: Update Slovenian translation from translation project.
39951 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39953         * manual/time.texi (timegm): Add missing blank after @c.
39954         Reported by Joseph Myers <joseph@codesourcery.com>.
39956 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39958         * manual/check-safety.sh: New.
39959         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39961         * manual/terminal.texi: Document MTASC-safety properties.
39963         * manual/filesys.texi: Document MTASC-safety properties.
39965         * manual/errno.texi: Document MTASC-safety properties.
39967         * manual/intro.texi: Document safety identifiers and
39968         conditionals.
39970         * manual/string.texi (wcstok): Fix prototype.
39971         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39973         * manual/time.texi: Document MTASC-safety properties.
39975         * manual/string.texi: Document MTASC-safety properties.
39977         * manual/threads.texi: Document MTASC-safety properties.
39979         * manual/stdio.texi: Document MTASC-safety properties.
39981         * manual/syslog.texi: Document MTASC-safety properties.
39983         * manual/sysinfo.texi: Document MTASC-safety properties.
39985         * manual/startup.texi: Document MTASC-safety properties.
39987         * manual/socket.texi: Document MTASC-safety properties.
39989         * manual/signal.texi: Document MTASC-safety properties.
39991 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39993         * manual/setjmp.texi: Document MTASC-safety properties.
39995         * manual/search.texi: Document MTASC-safety properties.
39997         * manual/resource.texi: Document MTASC-safety properties.
39999         * manual/process.texi: Document MTASC-safety properties.
40001         * manual/platform.texi: Document MTASC-safety properties.
40003         * manual/pipe.texi: Document MTASC-safety properties.
40005         * manual/pattern.texi: Document MTASC-safety properties.
40007         * manual/message.texi: Document MTASC-safety properties.
40009         [BZ #12751]
40010         * manual/memory.texi: Document MTASC-safety properties.
40012         * manual/math.texi: Document MTASC-safety properties.
40014         * manual/locale.texi: Document MTASC-safety properties.
40016         * manual/llio.texi: Document MTASC-safety properties.
40018         * manual/libdl.texi: New.
40020         * manual/lang.texi: Document MTASC-safety properties.
40022         * manual/job.texi: Document MTASC-safety properties.
40024         * manual/getopt.texi: Document MTASC-safety properties.
40026         * manual/ctype.texi: Document MTASC-safety properties.
40028 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40030         [BZ #16046]
40031         * csu/libc-tls.c (static_map): Remove variable.
40032         (__libc_setup_tls): Use main executable's link map for TLS data.
40033         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40034         casing for LM_ID_BASE and GL(dl_nns).
40035         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40036         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40037         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40038         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40039         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40040         member.
40041         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40042         l_phnum members.
40044 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40046         * manual/debug.texi: Document MTASC-safety properties.
40048 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40050         [BZ #16510]
40051         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40052         of __x86_64__ when disabling x87 inline functions.
40054 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40056         * manual/charset.texi: Document MTASC-safety properties.
40058         * manual/crypt.texi: Document MTASC-safety properties.
40060         * manual/conf.texi: Document MTASC-safety properties.
40062         * manual/arith.texi: Document MTASC-safety properties.
40064         * manual/argp.texi: Document MTASC-safety properties.
40066         * manual/macros.texi: Introduce macros to document multi
40067         thread, asynchronous signal and asynchronous cancellation
40068         safety properties.
40069         * manual/intro.texi: Introduce the properties themselves.
40071 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40073         * sysdeps/sh/sh4/Makefile: New file.
40075 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40077         * math/gen-libm-test.pl ($srcdir): New variable.
40078         ($auto_input): Use it.
40080 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40082         [BZ #16506]
40083         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40084         access beyond array bounds when parsing netgroups file.
40086         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40087         the old buffer before realloc.
40089 2014-01-27  Allan McRae  <allan@archlinux.org>
40091         * po/fr.po: Update French translation from translation project.
40093 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40095         * sysdeps/sh/libm-test-ulps: Regenerate.
40097 2014-01-24  David S. Miller  <davem@davemloft.net>
40099         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40101 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40103         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40104         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40106 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40108         [BZ #16474]
40109         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40110         string pointers after reallocation.
40112 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40114         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40115         __SH4A__ instead of __SH_FPU_ANY__.
40117 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40119         * sysdeps/sh/fpu_control.h: New file.
40120         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40121         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40122         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40123         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40124         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40125         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40126         * sysdeps/sh/sys/ucontext.h: Remove.
40127         * sysdeps/sh/sys: Remove directory.
40129 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40131         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40132         s390/sys/ucontext.h.
40133         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40134         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40136 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40138         [BZ #15605]
40139         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40141 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40143         [BZ#16431]
40144         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40145         Adjust the vDSO correctly for internal calls.
40146         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40148 2014-01-20  Allan McRae  <allan@archlinux.org>
40150         * po/ca.po: Update Catalan translation from translation project.
40152 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40154         * sysdeps/s390/sotruss-lib.c: New file.
40156 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40158         [BZ#16430]
40159         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40160         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40161         local calls issues by not having a PLT stub required for IFUNC calls.
40162         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40164 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40166         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40167         * math/test-fpucw-static.c: Likewise.
40169 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40171         [BZ #16453]
40172         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40174 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40176         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40177         implementation for powerpc.
40179 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40181         [BZ #14782]
40182         * sysdeps/posix/system.c (__libc_system): Do not enable
40183         asynchronous cancellation.
40185 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40187         [BZ #16427]
40188         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40189         handling only for numbers special also in the IEEE case.
40191 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40193         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40195 2014-01-11  Allan McRae  <allan@archlinux.org>
40197         * po/bg.po: Update Bulgarian translation from translation project.
40199         * po/de.po: Update German translation from translation project.
40201 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40203         * sysdeps/generic/gcc-compat.h: New file.
40205 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40207         * benchtests/asin-inputs: Correct slow inputs.
40208         * benchtests/acos-inputs: Likewise.
40210 2014-01-10  Allan McRae  <allan@archlinux.org>
40212         * po:sv.po: Update Swedish translation from translation project.
40214         * po/vi.po: Update Vietnamese translation from translation project.
40216         * po/eo.po: Update Esperanto translation from translation project.
40218         * po/cs.po: Update Czech translation from translation project.
40220         * po/nl.po: Update Dutch translation from translation project.
40222         * po/pl.po: Update Polish translation from translation project.
40224         * po/ru.po: Update Russian translation from translation project.
40226         * po/uk.po: Update Ukrainian translation from translation project.
40228 2014-01-08  Brooks Moses  <bmoses@google.com>
40230         * elf/dl-load.c: Fix comment typo.
40232 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40234         * po/header.pot: Rename to...
40235         * po/pot.header: ... this.
40236         * po/Makefile: Use pot.header.
40238 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40239             Maxim Kuvyrkov  <maxim@kugelworks.com>
40241         [BZ #16394]
40242         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40243         SRC and DEST against LEN.
40245 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40247         [BZ #16414]
40248         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40249         implementation.
40250         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40252 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40256 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40258         [BZ #16408]
40259         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40260         for large positive arguments.
40262 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40264         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40266         * math/auto-libm-test-in: Mark various tests with
40267         xfail-rounding:ldbl-128ibm.
40268         * math/auto-libm-test-out: Regenerated.
40270         [BZ #16407]
40271         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40272         Increase overflow threshold.
40274 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40276         [BZ #14286]
40277         * stdio-common/vfprintf.c: Check for integer overflow.
40279 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40281         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40282         the first argument and return value of __tls_get_addr_internal.
40284 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40286         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40287         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40289 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40291         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40292         * sysdeps/s390/rtld-global-offsets.sym: New file.
40293         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40294         GLIBC_2.19 symbol.
40295         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40296         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40297         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40298         ... this.
40299         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40300         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40301         ... this.
40302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40303         Regenerate.
40304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40305         Regenerate.
40306         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40307         halfs of GPRs for high_gprs contexts.
40308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40309         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40310         field.
40311         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40312         uc_flags field.
40313         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40314         64 bit versions:
40315         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40316         for high GPRs (uc_high_gprs) and for future extensions
40317         (__reserved).
40318         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40319         for future extensions (__reserved).
40320         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40321         64 bit versions:
40322         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40323         SC_HIGHGPRS offset definition.
40324         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40325         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40327         * Versions.def: Add GLIBC_2.19 for libpthread.
40328         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40329         siglongjmp for libpthread with GLIBC_2.19 symver.
40330         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40331         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40332         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40333         * sysdeps/s390/__longjmp.c: New file.
40334         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40335         * sysdeps/s390/longjmp.c: New file.
40336         * sysdeps/s390/setjmp.S: New file.
40337         * sysdeps/s390/sigjmp.S: New file.
40338         * sysdeps/s390/v1-longjmp.c: New file.
40339         * sysdeps/s390/v1-setjmp.h: New file.
40340         * sysdeps/s390/v1-sigjmp.c: New file.
40341         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40342         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40343         GLIBC_2.19 version.
40344         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40345         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40346         versioned symbols for ____longjmp_chk.
40347         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40348         Likewise.
40349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40350         Regenerate.
40351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40352         Regenerate.
40353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40354         Regenerate.
40355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40356         Regenerate.
40357         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40358         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40359         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40360         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40361         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40362         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40363         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40364         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40365         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40366         * sysdeps/s390/rtld-__longjmp.c: New file.
40367         * sysdeps/s390/rtld-setjmp.S: New file.
40369 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40371         [BZ #16400]
40372         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40373         Return -__logl (x) for small positive arguments without evaluating
40374         a polynomial.
40376 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40378         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40379         Rename to ...
40380         (__ptrace_peeksiginfo_args): ... this.
40381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40385 2014-01-06  Allan McRae  <allan@archlinux.org>
40387         * inet/netinet/in.h: Fix typo in comment.
40389 2014-01-05  Andreas Jaeger  <aj@suse.de>
40391         * sysdeps/i386/fpu/libm-test-ulps: Update.
40393 2014-01-05  Allan McRae  <allan@archlinux.org>
40395         * po/libc.pot: Regenerated.
40397         * malloc/memusagestat.c: Fix gettext call formatting.
40399 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40401         * nscd/nscd.c: Improve usage() output.
40403 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40405         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40406         * sysdeps/unix/sysv/linux/configure: Regenerated.
40407         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40408         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40410 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40412         [BZ #16390]
40413         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40414         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40416 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40418         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40419         extra tokens at end of #undef directive.
40420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40421         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40422         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40424 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40426         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40428         * math/auto-libm-test-in: Mark various tests with
40429         xfail-rounding:ldbl-128ibm.
40430         * math/auto-libm-test-out: Regenerated.
40432 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40434         [BZ #16386]
40435         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40436         numbers with subnormal high part when calculating exponent.
40438         [BZ #16385]
40439         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40440         fabs.
40442         [BZ #16384]
40443         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40444         M_LN2l.
40445         (__ieee754_acoshl): Use __log1pl not __log1p.
40447 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40449         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40450         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40451         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40452         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40453         (reused_arena, arena_get2): Convert to GNU style.
40454         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40455         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40456         (memalign_check, __malloc_set_state): Likewise.
40457         * malloc/mallocbug.c (main): Likewise.
40458         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40459         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40460         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40461         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40462         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40463         (__posix_memalign, malloc_info): Likewise.
40464         * malloc/malloc.h: Likewise.
40465         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40466         (mallochook, memalignhook, reallochook, mabort): Likewise.
40467         * malloc/mcheck.h: Likewise.
40468         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40469         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40470         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40471         * malloc/morecore.c (__default_morecore): Likewise.
40472         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40473         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40474         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40475         (print_and_abort): Likewise.
40476         * malloc/obstack.h: Likewise.
40477         * malloc/set-freeres.c (__libc_freeres): Likewise.
40478         * malloc/tst-mallocstate.c (main): Likewise.
40479         * malloc/tst-mtrace.c (main): Likewise.
40480         * malloc/tst-realloc.c (do_test): Likewise.
40482 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40484         [BZ #16366]
40485         * nscd/netgroupcache.c (do_notfound): New function.
40486         (addgetnetgrentX): Use it.
40488         [BZ # 16365]
40489         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40490         NSS_STATUS_NOTFOUND.
40492 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40494         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497 2014-01-01  Allan McRae  <allan@archlinux.org>
40499         * scripts/update-copyrights: Update configure input file suffix.
40501         * NEWS: Update copyright year.
40502         * catgets/gencat.c: Likewise.
40503         * csu/version.c: Likewise.
40504         * debug/catchsegv.sh: Likewise.
40505         * debug/pcprofiledump.c: Likewise.
40506         * debug/xtrace.sh: Likewise.
40507         * elf/ldconfig.c: Likewise.
40508         * elf/ldd.bash.in: Likewise.
40509         * elf/pldd.c: Likewise.
40510         * elf/sotruss.ksh: Likewise.
40511         * elf/sprof.c: Likewise.
40512         * iconv/iconv_prog.c: Likewise.
40513         * iconv/iconvconfig.c: Likewise.
40514         * locale/programs/locale.c: Likewise.
40515         * locale/programs/localedef.c: Likewise.
40516         * login/programs/pt_chown.c: Likewise.
40517         * malloc/memusage.sh: Likewise.
40518         * malloc/memusagestat.c: Likewise.
40519         * malloc/mtrace.pl: Likewise.
40520         * manual/libc.texinfo: Likewise.
40521         * nscd/nscd.c: Likewise.
40522         * nss/getent.c: Likewise.
40523         * nss/makedb.c: Likewise.
40524         * posix/getconf.c: Likewise.
40525         * scripts/test-installation.pl: Likewise.
40527         * All files with FSF copyright notices: Update copyright dates
40528         using scripts/update-copyrights.
40529         * intl/plural.c: Regenerated.
40530         * locale/programs/charmap-kw.h: Likewise.
40531         * locale/programs/locfile-kw.h: Likewise.
40533 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40535         * sysdeps/unix/sysv/linux/configure: Regenerated.
40536         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40537         the linux/fanotify.h header.
40538         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40539         HAVE_LINUX_FANOTIFY_H is defined.
40541 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40543         * benchtests/cos-inputs: New inputs.
40544         * benchtests/sin-inputs: Likewise.
40546         * benchtests/atan-inputs: New inputs. Fix name of multiple
40547         precision fallback inputs.
40549         * benchtests/atanh-inputs: New inputs.
40550         * benchtests/tanh-inputs: Likewise.
40552         * benchtests/acosh-inputs: New inputs.
40553         * benchtests/asinh-inputs: Likewise.
40555         * benchtests/cosh-inputs: New inputs.
40556         * benchtests/sinh-inputs: Likewise.
40558         * benchtests/acos-inputs: Add more inputs.
40559         * benchtests/asin-inputs: Likewise.
40561 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40563         [BZ #16375]
40564         * manual/arith.texi: Fix spelling.
40565         * manual/charset.texi: Likewise.
40566         * manual/errno.texi: Likewise.
40567         * manual/filesys.texi: Likewise.
40568         * manual/lang.texi: Likewise.
40569         * manual/llio.texi: Likewise.
40570         * manual/locale.texi: Likewise.
40571         * manual/message.texi: Likewise.
40572         * manual/resource.texi: Likewise.
40573         * manual/search.texi: Likewise.
40574         * manual/setjmp.texi: Likewise.
40575         * manual/stdio.texi: Likewise.
40576         * manual/string.texi: Likewise.
40577         * manual/sysinfo.texi: Likewise.
40578         * manual/time.texi: Likewise.
40580 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40582         * po/sl.po: New file.
40584 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40586         * .gitignore: Add core/.gdbinit/.gdb_history.
40588 2013-12-27  Allan McRae  <allan@archlinux.org>
40590         [BZ #16369]
40591         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40592         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40594 2013-12-24  Brooks Moses  <bmoses@google.com>
40596         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40597         all compilers that claim C++98 compliance, not just GCC.
40598         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40599         Likewise.
40601 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40603         * NEWS: Restore accidentally deleted bug-fix entries.
40605 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40606             Ondřej Bílka  <neleai@seznam.cz>
40608         [BZ #15073]
40609         * malloc/malloc.c (_int_free): Perform sanity check only if we
40610         have_lock.
40612 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40614         [BZ #12986]
40615         * manual/stdio.texi (String Input Conversions): Clarify that character
40616         classes are not supported.
40618 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40622 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40624         [BZ #16337]
40625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40626         Calculate results for small negative arguments directly rather
40627         than using reflection formula with special underflow handling.
40629         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40630         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40631         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40632         (fchflags): Likewise.
40633         (revoke): Likewise.
40634         (setlogin): Likewise.
40635         (sigaltstack): Likewise.
40636         (wait4): Likewise.
40637         (sigblock): Remove.
40638         (sigsetmask): Likewise.
40639         (wait3): Likewise.
40640         (waitpid): Likewise.
40641         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40642         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40643         file.
40644         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40645         * sysdeps/unix/bsd/Makefile: ... here.
40646         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40647         * sysdeps/unix/bsd/Versions: ... here.
40648         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40649         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40650         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40651         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40652         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40653         * sysdeps/unix/bsd/sigblock.c: ... here.
40654         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40655         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40656         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40657         * sysdeps/unix/bsd/sigvec.c: ... here.
40658         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40659         * sysdeps/unix/bsd/tcdrain.c: ... here.
40660         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40661         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40662         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40663         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40664         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40665         * sysdeps/unix/bsd/wait.c: ... here.
40666         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40667         * sysdeps/unix/bsd/wait3.c: ... here.
40668         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40669         * sysdeps/unix/bsd/waitpid.c: ... here.
40671 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40673         [BZ #16356]
40674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40675         round-to-nearest for [!USE_AS_EXPM1L].
40676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40677         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40678         more tests of exp and exp10.  Expect some exp10 tests to miss
40679         exceptions or fail in directed rounding modes.
40680         * math/auto-libm-test-out: Regenerated.
40681         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40682         (exp10_test_tonearest): New function.
40683         (exp10_towardzero_test_data): New array.
40684         (exp10_test_towardzero): New function.
40685         (exp10_downward_test_data): New array.
40686         (exp10_test_downward): New function.
40687         (exp10_upward_test_data): New array.
40688         (exp10_test_upward): New function.
40689         (main): Call the new functions.
40690         * sysdeps/i386/fpu/libm-test-ulps: Update.
40691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40693 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40695         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40696         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40697         * math/auto-libm-test-out: Regenerated.
40698         * math/libm-test.inc (acosh_test_data): Add more tests.
40699         (atanh_test_data): Likewise.
40700         (ceil_test_data): Likewise.
40701         (copysign_test_data): Likewise.
40702         * sysdeps/i386/fpu/libm-test-ulps: Update.
40703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40705         * timezone/checktab.awk: Update from tzcode 2013i.
40706         * timezone/private.h: Likewise.
40707         * timezone/scheck.c: Likewise.
40708         * timezone/tzfile.h: Likewise.
40709         * timezone/tzselect.ksh: Likewise.
40710         * timezone/zdump.c: Likewise.
40711         * timezone/zic.c: Likewise.
40713         * math/auto-libm-test-in: Add tests of cpow.
40714         * math/auto-libm-test-out: Regenerated.
40715         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40717         mpc_cc_c.
40718         (func_calc_desc): Add mpc_cc_c union field.
40719         (test_functions): Add cpow.
40720         (special_fill_2pi): New function.
40721         (special_real_inputs): Add 2pi.
40722         (calc_generic_results): Handle mpc_cc_c.
40723         * sysdeps/i386/fpu/libm-test-ulps: Update.
40724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40726         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40727         csqrt, ctan and ctanh.
40728         * math/auto-libm-test-out: Regenerated.
40729         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40730         (TEST_COND_x86): Likewise.
40731         (ccos_test_data): Use AUTO_TESTS_c_c.
40732         (ccosh_test_data): Likewise.
40733         (cexp_test_data): Likewise.
40734         (clog_test_data): Likewise.
40735         (csqrt_test_data): Likewise.
40736         (ctan_test_data): Likewise.
40737         (ctan_tonearest_test_data): Likewise.
40738         (ctan_towardzero_test_data): Likewise.
40739         (ctan_downward_test_data): Likewise.
40740         (ctan_upward_test_data): Likewise.
40741         (ctanh_test_data): Likewise.
40742         (ctanh_tonearest_test_data): Likewise.
40743         (ctanh_towardzero_test_data): Likewise.
40744         (ctanh_downward_test_data): Likewise.
40745         (ctanh_upward_test_data): Likewise.
40746         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40747         mpc_c_c.
40748         (func_calc_desc): Add mpc_c_c union field.
40749         (FUNC_mpc_c_c): New macro.
40750         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40751         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40752         ctanh.
40753         (special_fill_min_subnorm_p120): New function.
40754         (special_real_inputs): Add min_subnorm_p120.
40755         (calc_generic_results): Handle mpc_c_c.
40756         * sysdeps/i386/fpu/libm-test-ulps: Update.
40757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40759 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40761         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40762         (do_sin_slow): New functions.
40763         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40764         (cslow2, csloww1, csloww2): Use the new functions.
40766         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40767         Use M to change sign of result instead of X.  Assume X is
40768         positive.
40769         (csloww1): Likewise.
40770         (__sin): Adjust.
40771         (__cos): Adjust.
40773         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40774         arguments A and DA.
40775         (__sin): Adjust.
40776         (__cos): Likewise.
40778         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40779         (__cos): Likewise.
40780         (sloww1): Don't adjust sign of DX.
40781         (csloww1): Likewise.
40782         (sloww2): Use X directly and don't adjust sign of DX.
40783         (csloww2): Likewise.
40785 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40787         * math/auto-libm-test-in: Add tests of cabs and carg.
40788         * math/auto-libm-test-out: Regenerated.
40789         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40790         (carg_test_data): Likewise.
40791         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40792         mpc_c_f.
40793         (func_calc_desc): Add mpc_c_f union field.
40794         (test_functions): Add cabs and carg.
40795         (calc_generic_results): Handle mpc_c_f.
40797         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40798         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40799         as a macro and a compat symbol.
40800         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40801         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40802         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40803         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40804         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40805         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40806         not use .hidden.
40807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40808         Likewise.
40809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40810         Likewise.
40811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40812         Likewise.
40813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40814         Likewise.
40815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40816         Likewise.
40817         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40818         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40819         from GLIBC_2.3.2.
40821 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40825 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40827         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40828         trailing whitespace removed.
40829         * scripts/config.guess: Update to version 2013-11-29.
40830         * scripts/config.sub: Update to version 2013-10-01.
40832         * math/auto-libm-test-in: Add tests of sincos.
40833         * math/auto-libm-test-out: Regenerated.
40834         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40836         mpfr_f_11.
40837         (func_calc_desc): Add mpfr_f_11 union field.
40838         (test_functions): Add sincos.
40839         (calc_generic_results): Handle mpfr_f_11.
40840         * sysdeps/i386/fpu/libm-test-ulps: Update.
40841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40843 2013-12-19  Andreas Schwab  <schwab@suse.de>
40845         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40846         CALL_MCOUNT.
40847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40848         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40849         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40851 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40853         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40854         * sysdeps/i386/fpu/libm-test-ulps: Update.
40855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857         [BZ #16293]
40858         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40859         round-to-nearest mode when using frndint.
40860         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40861         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40862         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40863         Likewise.
40864         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40865         sinh test to fail.
40866         * math/auto-libm-test-out: Regenerated.
40867         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40868         (TEST_COND_x86): Likewise.
40869         (expm1_tonearest_test_data): New array.
40870         (expm1_test_tonearest): New function.
40871         (expm1_towardzero_test_data): New array.
40872         (expm1_test_towardzero): New function.
40873         (expm1_downward_test_data): New array.
40874         (expm1_test_downward): New function.
40875         (expm1_upward_test_data): New array.
40876         (expm1_test_upward): New function.
40877         (main): Run the new test functions.
40878         * sysdeps/i386/fpu/libm-test-ulps: Update.
40879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40881         * include/features.h: Update comment documenting feature test
40882         macros.  Mention _DEFAULT_SOURCE in comment.
40883         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40884         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40885         _BSD_SOURCE and _SVID_SOURCE.
40886         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40887         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40888         !_SVID_SOURCE]: Likewise.
40889         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40890         (__USE_POSIX_IMPLICITLY): Define.
40891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40892         (_POSIX_SOURCE): Undefine and redefine.
40893         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40894         (_POSIX_C_SOURCE): Likewise.
40895         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40896         (Feature Test Macros): Update documentation of default features.
40898 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40900         * benchtests/Makefile: Add bench-strtok.
40901         * benchtests/bench-strtok.c: New file: strtok benchtest.
40903 2013-12-19  Allan McRae  <allan@archlinux.org>
40905         * manual/install.texi: Suppress menu for plain text output.
40906         * INSTALL: Regenerated.
40908 2013-12-18  Brooks Moses  <bmoses@google.com>
40910         [BZ #15846]
40911         * misc/getauxval.c: Include errno.h.
40912         (__getauxval): Set errno to ENOENT if the requested type is not
40913         found.
40914         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40915         don't declare with __attribute_const__.
40916         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40917         * manual/startup.texi: Document that getauxval sets errno.
40919 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40921         * math/auto-libm-test-in: Add tests of jn and yn.
40922         * math/auto-libm-test-out: Regenerated.
40923         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40924         (yn_test_data): Likewise.
40925         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40926         mpfr_if_f.
40927         (func_calc_desc): Add mpfr_if_f union field.
40928         (FUNC_mpfr_if_f): New macro.
40929         (test_functions): Add jn and yn.
40930         (calc_generic_results): Assert type of second input for
40931         mpfr_ff_f.  Handle mpfr_if_f.
40932         (output_for_one_input_case): Disable all checking for arguments
40933         fitting floating-point types in case of an integer argument.
40934         * sysdeps/i386/fpu/libm-test-ulps: Update.
40935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40938         Don't expect fegetround reference in libm.so.
40940 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40942         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40943         $(config-cflags-nofma).
40945 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40947         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40948         * math/auto-libm-test-out: Regenerated.
40950         [BZ #16338]
40951         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40952         to determine exponent and adjust argument to have exponent of -1.
40953         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40954         log2.
40955         * math/auto-libm-test-out: Regenerated.
40956         * sysdeps/i386/fpu/libm-test-ulps: Update.
40957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40959 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40961         * manual/probes.texi: Remove cases when per-thread arenas are
40962         disabled.
40964 2013-12-18  Andreas Schwab  <schwab@suse.de>
40966         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40967         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40968         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40969         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40970         * sysdeps/i386/i686/multiarch/Makefile: Update.
40971         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40973 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40975         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40976         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40978 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40980         [BZ #15968]
40981         Support TZ transition times < 00:00:00.
40982         This is needed for version-3 tz-format files; it supports time
40983         stamps past 2037 for America/Godthab (the only entry in the tz
40984         database for which this change is relevant).
40985         * manual/time.texi (TZ Variable): Document transition times
40986         from -167:59:59 through -00:00:01.
40987         * time/tzset.c (tz_rule): Time of day is now signed.
40988         (__tzset_parse_tz): Parse negative time of day.
40990         Document TZ transition times >= 25:00:00.
40991         * manual/time.texi (TZ Variable): Document transition times from
40992         25:00:00 through 167:59:59.  These are already supported, and this
40993         support will help with version-3 tz-format files.
40995         * manual/time.texi (TZ Variable): Modernize North America example
40996         to reflect current (i.e., 2007-and-later) daylight saving rules.
40998         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41000 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41002         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41003         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41005         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41006         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41007         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41008         * sysdeps/unix/bsd/clock.c: Likewise.
41009         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41010         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41011         * sysdeps/unix/bsd/init-posix.c: Likewise.
41012         * sysdeps/unix/bsd/poll.c: Likewise.
41013         * sysdeps/unix/bsd/ptsname.c: Likewise.
41014         * sysdeps/unix/bsd/seekdir.c: Likewise.
41015         * sysdeps/unix/bsd/setegid.c: Likewise.
41016         * sysdeps/unix/bsd/seteuid.c: Likewise.
41017         * sysdeps/unix/bsd/setgid.c: Likewise.
41018         * sysdeps/unix/bsd/setrgid.c: Likewise.
41019         * sysdeps/unix/bsd/setruid.c: Likewise.
41020         * sysdeps/unix/bsd/setsid.c: Likewise.
41021         * sysdeps/unix/bsd/setuid.c: Likewise.
41022         * sysdeps/unix/bsd/sigaction.c: Likewise.
41023         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41024         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41025         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41026         * sysdeps/unix/bsd/telldir.c: Likewise.
41027         * sysdeps/unix/bsd/times.c: Likewise.
41028         * sysdeps/unix/bsd/usleep.c: Likewise.
41030         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41031         ($(objpfx)libbsd-compat.a): Remove rule.
41033         * include/features.h (__FAVOR_BSD): Do not define.
41034         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41035         features conflicting with POSIX.
41036         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41037         (_BSD_SOURCE): Remove description of not being a subset of other
41038         feature test macros.
41039         * manual/job.texi (getpgrp): Do not document BSD version.
41040         (getpgid): Do not document by reference to BSD getpgrp.
41041         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41042         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41043         * signal/signal.h [__FAVOR_BSD]: Likewise.
41044         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41045         instead of making contents conditional on [__FAVOR_BSD].
41046         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41048 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41052 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41054         [BZ #16314]
41055         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41056         values below 2**-450, not 2**-500.
41057         * math/auto-libm-test-in: Don't allow spurious underflow from
41058         hypot.
41059         * math/auto-libm-test-out: Regenerated.
41061         [BZ #16316]
41062         [BZ #16330]
41063         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41064         values of ha and hb and sort them after adjusting subnormal
41065         arguments.
41066         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41067         Likewise.
41068         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41069         values of ea and eb and sort them after adjusting subnormal
41070         arguments.
41071         * math/auto-libm-test-in: Do not expect some hypot tests of
41072         subnormals to fail.  Add more hypot tests.
41073         * math/auto-libm-test-out: Regenerated.
41075 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41077         [BZ #13304]
41078         * sysdeps/sh/s_fma.c: New file.
41079         * sysdeps/sh/s_fmaf.c: New file.
41080         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41081         version.
41082         * sysdeps/sh/Implies: Add sh/soft-fp.
41084 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41086         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41087         level of indirection to members `objname', `errstring', `malloced'.
41088         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41089         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41090         it as the __longjmp argument (just pass 1 instead).
41091         (_dl_catch_error): Initialize C with argument pointers and address of
41092         volatile local ERRCODE rather than copying values out of C at return.
41094 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41096         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41097         * math/auto-libm-test-out: Regenerated.
41098         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41099         (hypot_test_data): Likewise.
41100         (pow_test_data): Likewise.
41101         (pow_tonearest_test_data): Likewise.
41102         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41103         mpfr_ff_f.
41104         (func_calc_desc): Add mpfr_ff_f union field.
41105         (FUNC_mpfr_ff_f): New macro.
41106         (test_functions): Add atan2, hypot and pow.
41107         (special_fill_min): New function.
41108         (special_fill_minus_min): Likewise.
41109         (special_fill_min_subnorm): Likewise.
41110         (special_fill_minus_min_subnorm): Likewise.
41111         (special_real_inputs): Add min, -min, min_subnorm and
41112         -min_subnorm.
41113         (calc_generic_results): Handle mpfr_ff_f.
41114         * sysdeps/i386/fpu/libm-test-ulps: Update.
41115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41117 2013-12-16  Will Newton  <will.newton@linaro.org>
41119         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41120         (Aligned Memory Blocks): Add documentation for aligned_alloc
41121         and suggest it as an alternative to posix_memalign.
41122         (Hooks for Malloc): Document __memalign_hook is also called
41123         for aligned_alloc.  (Summary of Malloc): Add summary for
41124         aligned alloc.  Document __memalign_hook is also called
41125         for aligned_alloc.
41127 2013-12-16  Will Newton  <will.newton@linaro.org>
41129         * manual/memory.texi (Malloc Examples): Clarify default
41130         alignment documentation.  Suggest posix_memalign rather
41131         than memalign or valloc.
41132         (Aligned Memory Blocks): Remove suggestion to use memalign
41133         or valloc.  Remove obsolete comment about BSD.
41134         Document memalign errno values and mark the function obsolete.
41135         Document posix_memalign returned error codes.  Mark valloc
41136         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41137         called for posix_memalign and valloc.
41138         (Summary of Malloc): Add posix_memalign to function summary.
41139         __memalign_hook is also called for posix_memalign and valloc.
41141 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41143         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41144         TAYLOR_SIN.
41145         (__sin): Adjust.
41146         (__cos): Likewise.
41147         (sloww): Use mynumber union.  Expand ternary operator into
41148         if-else statements.
41149         (cslow): use mynumber union.
41151 2013-12-16  Allan McRae  <allan@archlinux.org>
41153         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41154         * configure: Regenerated.
41156         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41158         [BZ #14120]
41159         * configure.ac: Added --enable-maintainer-mode. Check for
41160         autoconf when enabled.
41161         * configure: Regenerated.
41163         * nscd/nscd.service: New file.
41164         * nscd/nscd.tmpfiles: New file.
41166 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41168         [BZ #12100]
41169         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41170         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41171         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41172         (strstr): Add __strstr_sse2_unaligned ifunc.
41173         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41174         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41175         (strcasestr): Remove __strcasestr_sse42 ifunc.
41176         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41180 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41182         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41183         * sysdeps/sh/bits/fenv.h: ... here.
41184         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41186 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41188         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41191         hypotf multiarch implementations.
41192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41193         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41195         multiarch hypot for PPC64.
41196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41197         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41199         multiarch hypotf for PPC64.
41201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41202         modff multiarch implementations.
41203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41206         multiarch modf for PPC64.
41207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41210         multiarch modff for PPC64.
41212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41213         and logl multiarch implementations.
41214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41217         multiarch logb for PPC64.
41218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41221         multiarch logb for PPC64.
41222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41225         multiarch logb for PPC64.
41227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41228         isinff multiarch implementation.
41229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41230         file.
41231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41233         multiarch isinf for PPC64.
41234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41235         file.
41236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41237         multiarch isinff for PPC64.
41239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41240         finitef multiarch implementation.
41241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41242         file.
41243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41245         multiarch finite for PPC64.
41246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41247         file.
41248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41249         multiarch finitef for PPC64.
41251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41252         lrint multiarch implementation.
41253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41254         file.
41255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41257         multiarch llrint for PPC64.
41258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41259         multiarch lrint for PPC64.
41261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41262         copysignf multiarch implementation.
41263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41264         file.
41265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41266         file.
41267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41268         multiarch copysign for PPC64.
41269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41270         multiarch copysignf for PPC64.
41272         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41273         multiarch implementation.
41274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41275         file.
41276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41277         file.
41278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41279         file.
41280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41281         file.
41282         multiarch llround for PPC64.
41283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41284         multiarch trunc for PPC64.
41285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41286         multiarch truncf for PPC64.
41288         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41289         multiarch implementation.
41290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41291         file.
41292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41293         file.
41294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41295         file.
41296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41297         file.
41298         multiarch llround for PPC64.
41299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41300         multiarch round for PPC64.
41301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41302         multiarch roundf for PPC64.
41304         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41305         multiarch implementation.
41306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41307         file.
41308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41309         file.
41310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41311         file.
41312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41313         file.
41314         multiarch llround for PPC64.
41315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41316         multiarch floor for PPC64.
41317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41318         multiarch floorf for PPC64.
41320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41321         multiarch implementation.
41322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41323         file.
41324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41325         file.
41326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41327         file.
41328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41329         file.
41330         multiarch llround for PPC64.
41331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41332         multiarch ceil for PPC64.
41333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41334         multiarch ceilf for PPC64.
41336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41337         multiarch implementation.
41338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41339         file.
41340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41341         file.
41342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41343         file.
41344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41345         multiarch llround for PPC64.
41346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41347         multiarch lround for PPC64.
41349         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41350         multiarch implementation.
41351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41354         file.
41355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41358         multiarch isnan for PPC64.
41359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41360         multiarch isnanf for PPC64.
41362         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41363         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41364         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41365         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41366         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41369         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41370         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41371         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41372         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41375         multiarch implementations.
41376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41377         (__libc_ifunc_impl_list): Likewise.
41378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41381         multiarch stpcpy for PPC64.
41383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41384         multiarch implementations.
41385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41386         (__libc_ifunc_impl_list): Likewise.
41387         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41389         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41390         multiarch strcpy for PPC64.
41392         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41393         redefine function name.
41394         (_wordcopy_fwd_dest_aligned): Likewise.
41395         (_wordcopy_bwd_aligned): Likewise.
41396         (_wordcopy_bwd_dest_aligned): Likewise.
41397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41398         multiarch implementations.
41399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41400         (__libc_ifunc_impl_list): Likewise.
41401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41402         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41403         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41405         multiarch wcscpy for PPC64.
41407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41408         multiarch implementations.
41409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41410         (__libc_ifunc_impl_list): Likewise.
41411         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41412         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41413         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41414         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41415         multiarch wcscpy for PPC64.
41417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41418         multiarch implementations.
41419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41420         (__libc_ifunc_impl_list): Likewise.
41421         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41422         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41423         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41424         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41425         multiarch wcsrchr for PPC64.
41427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41428         multiarch implementations.
41429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41430         (__libc_ifunc_impl_list): Likewise.
41431         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41432         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41433         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41434         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41435         multiarch wcschr for PPC64.
41437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41438         multiarch implementations.
41439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41440         (__libc_ifunc_impl_list): Likewise.
41441         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41442         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41444         multiarch strchrnul for PPC64.
41446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41447         implementations.
41448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41449         (__libc_ifunc_impl_list): Likewise.
41450         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41451         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41452         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41453         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41454         strchr for PPC64.
41456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41457         implementations.
41458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41459         (__libc_ifunc_impl_list): Likewise.
41460         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41461         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41462         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41463         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41464         strncmp for PPC64.
41466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41467         multiarch implementations.
41468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41469         (__libc_ifunc_impl_list): Likewise.
41470         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41471         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41472         strncasecmp for PPC64.
41473         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41474         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41475         multiarch strncasecmp_l for PPC64.
41477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41478         multiarch implementations.
41479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41480         (__libc_ifunc_impl_list): Likewise.
41481         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41483         multiarch strcasecmp for PPC64.
41484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41485         file.
41486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41487         multiarch strcasecmp_l for PPC64.
41489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41490         implementations.
41491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41492         (__libc_ifunc_impl_list): Likewise.
41493         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41494         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41495         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41496         strnlen for PPC64.
41498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41499         implementations.
41500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41501         (__libc_ifunc_impl_list): Likewise.
41502         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41503         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41504         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41505         strlen for PPC64.
41507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41508         implementations.
41509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41510         (__libc_ifunc_impl_list): Likewise.
41511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41512         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41513         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41514         rawmemrchr for PPC64.
41516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41517         implementation.
41518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41519         (__libc_ifunc_impl_list): Likewise.
41520         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41521         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41522         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41523         memrchr for PPC64.
41525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41526         implementation.
41527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41528         (__libc_ifunc_impl_list): Likewise.
41529         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41530         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41531         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41532         memchr for PPC64.
41534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41535         implementation.
41536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41537         (__libc_ifunc_impl_list): Likewise.
41538         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41539         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41540         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41541         mempcpy for PPC64.
41543         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41544         avoid cretion of __bzero symbol.
41545         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41546         Likewise.
41547         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41548         Likewise.
41549         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41550         Likewise.
41551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41552         multiarch implementations.
41553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41554         (__libc_ifunc_impl_list): Likewise.
41555         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41556         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41558         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41559         bzero for PPC32.
41560         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41561         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41562         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41563         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41564         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41565         memset for PPC64.
41566         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41568         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41570         implementations.
41571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41572         (__libc_ifunc_impl_list): Likewise.
41573         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41574         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41575         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41576         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41577         memcmp for PPC64.
41579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41580         multiarch for POWER/PPC64.
41581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41582         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41587         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41589         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41590         memcpy for PPC64.
41592         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41593         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41594         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41595         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41596         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41597         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41598         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41599         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41600         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41601         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41602         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41603         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41604         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41605         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41606         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41615 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41619 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * benchtests/Makefile (bench): Add exp2 and log2.
41622         (LDLIBS-bench-exp2): Add -lm.
41623         (LDLIBS-bench-log2): Likewise.
41624         * benchtests/exp2-inputs: New inputs file.
41625         * benchtests/log2-inputs: New inputs file.
41626         * benchtests/log-inputs: Add new inputs.
41627         * benchtests/tan-inputs: Likewise.
41629 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41631         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41632         definition...
41633         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41634         (csloww2): ... from here.
41636         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41637         instead of structures.
41638         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41639         (POLYNOMIAL): Likewise.
41640         (TAYLOR_SLOW): Likewise.
41641         (__sin): Likewise.
41642         (__cos): Likewise.
41643         (slow1): Likewise.
41644         (slow2): Likewise.
41645         (sloww): Likewise.
41646         (sloww1); Likewise.
41647         (sloww2): Likewise.
41648         (bsloww1): Likewise.
41649         (bsloww2): Likewise.
41650         (cslow2): Likewise.
41651         (csloww): Likewise.
41652         (csloww1): Likewise.
41653         (csloww2): Likewise.
41655 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41657         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41658         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41659         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41660         * malloc/hooks.c (realloc_check): Likewise.
41662         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41663         * malloc/arena.c: Remove PER_THREAD conditional.
41664         [!PER_THREAD]: Remove code.
41665         (ptmalloc_unlock_all2): Likewise.
41666         (ptmalloc_init): Likewise.
41667         (_int_new_arena): Likewise.
41668         (arena_get2): Likewise.
41669         * malloc/hooks.c (__malloc_get_state): Likewise.
41670         (__malloc_set_state): Likewise.
41671         * malloc/malloc.c: Likewise.
41672         (struct malloc_state): Likewise.
41673         (struct malloc_par): Likewise.
41674         (__libc_realloc): Likewise.
41675         (__libc_mallopt): Likewise.
41677 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41679         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41681 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41683         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41684         macro to a function.  Check for zero perturb_byte.
41685         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41687         * malloc/malloc.c: (force_reg): Remove.
41688         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41689         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41690         force_reg by atomic_forced_read.
41691         * malloc/arena.c (ptmalloc_init): Likewise.
41692         * malloc/hooks.c (top_check): Likewise.
41694 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41698 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41702 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41704         * math/auto-libm-test-in: Add tests of lgamma.
41705         * math/auto-libm-test-out: Regenerated.
41706         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41707         (M_LOG_2_SQRT_PIl): Likewise.
41708         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41710         mpfr_f_f1.
41711         (func_calc_desc): Add mpfr_f_f1 union field.
41712         (ARGS1): New macro.
41713         (ARGS2): Likewise.
41714         (ARGS3): Likewise.
41715         (ARGS4): Likewise.
41716         (RET1): Likewise.
41717         (RET2): Likewise.
41718         (CALC): Likewise.
41719         (FUNC): Likewise.
41720         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41721         (test_functions): Add lgamma.
41722         (calc_generic_results): Handle mpfr_f_f1.
41723         * sysdeps/i386/fpu/libm-test-ulps: Update.
41724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41726 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41728         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41729         __mpn_add_n for PowerPC64/POWER7.
41730         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41731         __mpn_sub_n for PowerPC64/POWER7.
41733         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41734         __mpn_addmul_1 for PowerPC64.
41735         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41736         __mpn_submul_1 for PowerPC64.
41737         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41738         for PowerPC64.
41739         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41740         for PowerPC64.
41742 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41744         [BZ #15089]
41745         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41747 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41749         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41751         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41752         add multiarch folders.
41753         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41754         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41755         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41756         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41757         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41758         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41759         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41760         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41761         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41762         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41763         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41772         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41774         New file.
41775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41776         New file.
41777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41778         multiarch __ieee754_hypot for PowerPC32.
41779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41780         New file.
41781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41782         New file.
41783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41784         multiarch __ieee754_hypotf for PowerPC32.
41786         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41787         long_double_symbol only if __logbl is defined.
41788         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41789         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41791         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41793         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41794         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41795         path for implementation.
41796         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41797         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41799         logb, and logbl multiarch implementations for PowerPC32.
41800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41801         file.
41802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41803         file.
41804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41805         multiarch logb for PowerPC32.
41806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41807         file.
41808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41809         file.
41810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41811         multiarch logbf for PowerPC32.
41812         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41814         file.
41815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41816         multiarch logbl implementation for PowerPC32.
41818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41819         and modff multiarch implementations.
41820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41821         New file.
41822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41823         New file.
41824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41825         multiarch modf for PowerPC32.
41826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41827         New file.
41828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41829         New file.
41830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41831         multiarch modff for PowerPC32.
41833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41834         and lrintf multiarch implementations.
41835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41836         New file.
41837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41838         New file.
41839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41840         multiarch lrint for PowerPC32.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41842         file: multiarch lrintf for PowerPC32.
41844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41845         and lroundf multiarch implementations.
41846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41847         New file.
41848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41849         New file.
41850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41851         New file.
41852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41853         multiarch lround for PowerPC32.
41854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41855         file: multiarch lroundf for PowerPC32.
41857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41858         copysign and copysignf multiarch implementations.
41859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41860         New file.
41861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41862         New file.
41863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41864         file: multiarch copysign for PowerPC32.
41865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41866         file: multiarch copysignf for PowerPC32.
41868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41869         and truncf multiarch implementations.
41870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41871         New file.
41872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41873         file.
41874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41875         multiarch trunc for PowerPC32.
41876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41877         New file.
41878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41879         New file.
41880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41881         multiarch truncf for PowerPC32.
41883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41884         and roundf multiarch implementations.
41885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41886         New file.
41887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41888         file.
41889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41890         multiarch round for PowerPC32.
41891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41892         New file.
41893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41894         New file.
41895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41896         multiarch roundf for PowerPC32.
41898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41899         and floorf multiarch implementations.
41900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41901         New file.
41902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41903         file.
41904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41905         multiarch floor for PowerPC32.
41906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41907         New file.
41908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41909         New file.
41910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41911         multiarch floorf for PowerPC32.
41913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41914         and ceilf multiarch implementations.
41915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41916         New file.
41917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41918         file.
41919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41920         multiarch ceil for PowerPC32.
41921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41922         New file.
41923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41924         file.
41925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41926         multiarch ceilf for PowerPC32.
41928         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41929         is defined.
41930         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41931         FINITEF is defined.
41932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41933         and finitef multiarch implementations.
41934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41935         New file.
41936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41937         file.
41938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41939         multiarch finite for PowerPC32.
41940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41941         New file.
41942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41943         file: multiarch finitef for PowerPC32.
41945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41946         and isinff multiarch implementations.
41947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41948         file.
41949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41950         file.
41951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41952         multiarch isinf for PowerPC32.
41953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41954         New file.
41955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41956         multiarch isinff for PowerPC32.
41958         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41959         alias when __isnan is defined.
41960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41961         and isnanf multiarch implementations.
41962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41963         file.
41964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41965         file.
41966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41967         file.
41968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41969         file.
41970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41971         multiarch isnan for PowerPC32.
41972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41973         New file.
41974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41975         New file.
41976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41977         multiarch isnanf for PowerPC32.
41979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41980         and sqrtf multiarch implementations.
41981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41982         file.
41983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41984         file.
41985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41986         multiarch sqrt for PowerPC32.
41987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41988         file.
41989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41990         file.
41991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41992         multiarch sqrtf for PowerPC32.
41994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41995         and llroundf multiarch implementations.
41996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41997         New file.
41998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41999         New file.
42000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42001         New file.
42002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42003         file: multiarch llround for PowerPC32.
42004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42005         file: multiarch llroundf for PowerPC32.
42007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42008         multiarch PowerPC32 fpu implementations.
42009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42010         New file.
42011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42012         New file.
42013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42014         multiarch llrint for PowerPC32.
42015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42016         New file.
42017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42018         New file.
42019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42020         file.
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42025         file.
42026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42027         file.
42028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42029         file.
42030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42031         multiarch wordcopy for PPC32.
42032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42033         wordcopy objects.
42034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42035         (__libc_ifunc_impl_list): Likewise.
42036         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42037         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42038         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42039         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42040         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42041         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42043         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42045         file.
42046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42047         file.
42048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42049         file.
42050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42051         multiarch wcscpy for PPC32.
42052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42053         multiarch objects.
42054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42055         (__libc_ifunc_impl_list): Likewise.
42056         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42057         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42058         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42059         sysdeps/powerpc/power6/wcscpy.c.
42061         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42063         file.
42064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42065         file.
42066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42067         file.
42068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42069         multiarch wcsrchr for PPC32.
42070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42071         multiarch objects.
42072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42073         (__libc_ifunc_impl_list): Likewise.
42074         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42075         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42076         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42077         sysdeps/powerpc/power6/wcsrchr.c.
42079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42080         file.
42081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42082         file.
42083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42085         multiarch wcschr for PPc32.
42086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42087         multiarch objects.
42088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42089         (__libc_ifunc_impl_list): Likewise.
42090         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42091         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42092         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42093         sysdeps/powerpc/power6/wcschr.c.
42095         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42096         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42097         file.
42098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42099         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42100         file: multiarch strchr for PPC32.
42101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42102         multiarch objects.
42103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42104         (__libc_ifunc_impl_list): Likewise.
42106         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42107         name.
42108         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42109         file.
42110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42111         file.
42112         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42113         multiarch strchrnul for PPC32.
42114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42115         multiarch objects.
42116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42117         (__libc_ifunc_impl_list): Likewise.
42119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42120         file.
42121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42122         multiarch strncasecmp for PPC32.
42123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42124         file.
42125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42126         multiarch strncasecmp_l for PPC32.
42127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42128         strncasecmp multiarch objects.
42129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42130         (__libc_ifunc_impl_list): Likewise.
42132         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42133         file.
42134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42135         multiarch strncasecmp for PPC32.
42136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42137         New file.
42138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42139         multiarch strcasecmp_l for PPC32.
42140         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42141         multiarch objects.
42142         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42143         (__libc_ifunc_impl_list): Likewise.
42145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42146         file.
42147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42148         file.
42149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42150         multiarch strncmp for PPC32.
42151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42152         multiarch objects.
42153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42154         (__libc_ifunc_impl_list): Likewise.
42156         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42157         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42158         file.
42159         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42160         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42162         multiarch objects.
42163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42164         (__libc_ifunc_impl_list): Likewise.
42166         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42167         file.
42168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42169         file.
42170         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42172         multiarch objects.
42173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42174         (__libc_ifunc_impl_list): Likewise.
42176         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42177         file.
42178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42179         file.
42180         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42181         multiarch rawmemchr for PPC32.
42182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42183         multiarch objects.
42184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42185         (__libc_ifunc_impl_list): Likewise.
42187         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42188         file.
42189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42190         file.
42191         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42192         file: memrchr multiarch for PPC32.
42193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42194         multiarch objects.
42195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42196         (__libc_ifunc_impl_list): Likewise.
42198         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42199         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42200         file.
42201         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42202         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42203         multiarch memchr for PPC32.
42204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42205         multiarch objects.
42206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42207         (__libc_ifunc_impl_list): Likewise.
42209         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42210         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42211         file.
42212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42213         file.
42214         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42215         file: multiarch mempcpy for PPC32.
42216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42217         multiarch objects.
42218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42219         (__libc_ifunc_impl_list): Likewise.
42221         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42222         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42223         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42224         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42225         multiarch bzero for PPC32.
42226         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42227         file.
42228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42229         file.
42230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42231         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42232         file: multiarch memset for PPC32.
42233         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42234         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42235         memset multiarch objects.
42236         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42237         (__libc_ifunc_impl_list): Likewise.
42239         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42240         file.
42241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42243         memcmp for PPC32.
42244         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42246         multiarch objects.
42247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42248         (__libc_ifunc_impl_list): Likewise.
42250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42253         file.
42254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42255         file.
42256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42257         file.
42258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42259         multiarch memcpy for PPC32.
42260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42261         multiarch objects.
42262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42263         (__libc_ifunc_impl_list): Likewise.
42265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42266         support multiarch for POWER/PPC32.
42267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42268         Likewise.
42269         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42271         Implies file to make multiarch folder appers before the fpu and
42272         default folder for power4 configuration.
42274 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42276         * scripts/bench.pl: Append volatile keyword to type.
42278 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42280         * sysdeps/sh/sotruss-lib.c: New file.
42281         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42283 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42287 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42289         [BZ #6810]
42290         * math/w_tgamma.c: Include <errno.h>.
42291         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42292         * math/w_tgammaf.c: Include <errno.h>.
42293         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42294         * math/w_tgammal.c: Include <errno.h>.
42295         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42296         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42297         underflow.  Add more tgamma tests.
42298         * math/auto-libm-test-out: Regenerated.
42299         * sysdeps/i386/fpu/libm-test-ulps: Update.
42300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42302         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42303         sin, sinh, tan, tanh, tgamma, y0 and y1.
42304         * math/auto-libm-test-out: Regenerated.
42305         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42306         (TEST_COND_x86): Likewise.
42307         (M_E2l): Remove macro.
42308         (M_E3l): Likewise.
42309         (M_2_SQRT_PIl): Likewise.
42310         (M_SQRT_PIl): Likewise.
42311         (M_1_DIV_El): Likewise.
42312         (log_test_data): Use AUTO_TESTS_f_f.
42313         (log10_test_data): Likewise.
42314         (log1p_test_data): Likewise.
42315         (log2_test_data): Likewise.
42316         (sin_test_data): Likewise.
42317         (sin_tonearest_test_data): Likewise.
42318         (sin_towardzero_test_data): Likewise.
42319         (sin_downward_test_data): Likewise.
42320         (sin_upward_test_data): Likewise.
42321         (sinh_test_data): Likewise.
42322         (sinh_tonearest_test_data): Likewise.
42323         (sinh_towardzero_test_data): Likewise.
42324         (sinh_downward_test_data): Likewise.
42325         (sinh_upward_test_data): Likewise.
42326         (tan_test_data): Likewise.
42327         (tan_tonearest_test_data): Likewise.
42328         (tan_towardzero_test_data): Likewise.
42329         (tan_downward_test_data): Likewise.
42330         (tan_upward_test_data): Likewise.
42331         (tanh_test_data): Likewise.
42332         (tgamma_test_data): Likewise.
42333         (y0_test_data): Likewise.
42334         (y1_test_data): Likewise.
42335         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42336         (special_real_inputs): Add pi/4.
42337         * sysdeps/i386/fpu/libm-test-ulps: Update.
42338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42340 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42342         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42343         "longjmp_target" static probes.
42344         (__longjmp): Rename to __longjmp_symbol.
42345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42346         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42347         on which longjmp to generate.
42348         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42349         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42350         probe.
42351         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42352         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42353         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42354         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42355         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42356         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42358         __longjmp_symbol based on which __longjmp to generate.
42359         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42360         probe.
42361         (setjmp): Rename to setjmp_symbol.
42362         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42363         (_setjmp): Rename to _setjmp_symbol.
42364         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42365         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42366         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42367         which setjmp to generate.
42368         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42369         "longjmp_target" static probes.
42371 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42373         * benchtests/README: Add note about output arguments.
42374         * benchtests/bench-sincos.c: Remove file.
42375         * benchtests/sincos-inputs: New file.
42376         * scripts/bench.pl: Identify output arguments and define
42377         static variables for them.
42379         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42381         [BZ #15941]
42382         * Makefile (INSTALL): Add install-plain.texi as the primary
42383         dependency.
42384         * manual/install-plain.texi: New file.
42385         * manual/install.texi: Include node directive only for
42386         non-plaintext output.
42388 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42390         * stdlib/longlong.h: Update from GCC.
42392         [BZ #6807]
42393         [BZ #15901]
42394         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42395         * math/w_j0f.c (y0f): Likewise.
42396         * math/w_j0l.c (__y0l): Likewise.
42397         * math/w_j1.c (y1): Likewise.
42398         * math/w_j1f.c (y1f): Likewise.
42399         * math/w_j1l.c (__y1l): Likewise.
42400         * math/w_jn.c (yn): Likewise.
42401         * math/w_jnf.c (ynf): Likewise.
42402         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42403         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42404         value for Bessel function domain errors outside _SVID_ mode.
42405         Adjust sign of return value for yn (negative integer, 0).
42406         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42407         by zero in return for negative x and set sign appropriately for
42408         negative n.
42409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42410         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42411         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42412         expectations in error cases.
42413         (y1_test_data): Likewise.
42414         (yn_test_data): Likewise.
42415         * sysdeps/i386/fpu/libm-test-ulps: Update.
42416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42418 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42420         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42421         "64" to "64-v1".  Add "64-v2".
42422         (abi-64-options): Rename to ...
42423         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42424         (abi-64-condition): Rename to ...
42425         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42426         (abi-64-ld-soname): Rename to ...
42427         (abi-64-v1-ld-soname): ... this.
42428         (abi-64-v2-options): Define.
42429         (abi-64-v2-condition): Likewise.
42430         (abi-64-v2-ld-soname): Likewise.
42431         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42432         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42437 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42438             Alan Modra  <amodra@gmail.com>
42440         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42441         New versions for use with the ELFv2 ABI.
42442         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42443         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42444         declaration.
42445         (struct La_ppc64v2_retval): Likewise.
42446         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42447         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42448         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42449         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42450         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42451         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42452         Do not save or restore CR.
42453         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42454         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42455         return values for ELFv2 ABI.  Fix location of FPR return registers.
42456         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42457         updated values for _CALL_ELF == 2.
42458         (La_regs, La_retval, int_retval): Likewise.
42460 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42462         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42463         (FRAME_MIN_SIZE_PARM): Likewise.
42464         (FRAME_BACKCHAIN): Likewise.
42465         (FRAME_CR_SAVE): Likewise.
42466         (FRAME_LR_SAVE): Likewise.
42467         (FRAME_TOC_SAVE): Likewise.
42468         (FRAME_PARM_SAVE): Likewise.
42469         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42470         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42471         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42472         (call_mcount_parm_offset): New macro.
42473         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42474         (PROF): Use symbolic stack frame offsets.
42475         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42477         Redefine in terms of FRAME_MIN_SIZE.
42478         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42479         (_dl_profile_resolve): Likewise.  Update comment.
42480         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42481         symbols stack frame offsets.
42482         (__sigsetjmp): Likewise.
42483         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42484         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42485         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42486         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42489         (FRAME_BACKCHAIN): Remove.
42490         (FRAME_CR_SAVE): Likewise.
42491         (FRAME_LR_SAVE): Likewise.
42492         (FRAME_COMPILER_DW): Likewise.
42493         (FRAME_LINKER_DW): Likewise.
42494         (FRAME_TOC_SAVE): Likewise.
42495         (FRAME_PARM_SAVE): Likewise.
42496         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42497         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42498         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42500         (CHECK_SP): Use symbolic stack frame offsets.
42501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42502         zone" instead of caller's parameter save area for temp storage.
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42504         Likewise.  Also, use symbolic stack frame offsets.
42505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42506         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42507         our own stack frame instead of the caller's.
42508         (__socket): Use symbolic stack frame offsets.
42510 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42511             Alan Modra  <amodra@gmail.com>
42513         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42514         Define.
42515         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42516         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42517         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42518         New function.
42519         (elf_machine_fixup_plt): Call it.
42520         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42521         reloc arguments.
42522         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42524         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42525         r2 before calling target.
42527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42528             Alan Modra  <amodra@gmail.com>
42530         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42531         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42532         versions of macros to support ELFv2 ABI.
42533         (LOCALENTRY): New macro.
42534         (ENTRY, EALIGN): Use it.
42535         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42536         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42537         fall through into ENTRY entry point.
42538         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42539         Only define if _CALL_ELF != 2.
42541         (elf_machine_matches_host): Verify ABI version matches.
42542         (RTLD_START): Use LOCALENTRY.
42543         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42544         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42545         (PLT_ENTRY_WORDS): New macro.
42546         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42547         (elf_machine_runtime_setup): Support ELFv2 ABI.
42548         (elf_machine_fixup_plt): Likewise.
42549         (elf_machine_plt_conflict): Likewise.
42550         (resolve_ifunc): Likewise.
42551         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42553         Likewise.
42554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42555         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42557         (makecontext): Support ELFv2 ABI.
42558         * elf/elf.h (EF_PPC64_ABI): Define.
42560 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42562         * sysdeps/powerpc/powerpc64/sysdep.h
42563         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42564         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42565         (ENTRY) [ASSEMBLER]: ... but instead here ...
42566         (EALIGN) [ASSEMBLER]: ... and here.
42567         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42568         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42569         (ENTRY_2) [!ASSEMBLER]: Use it.
42570         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42571         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42572         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42573         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42574         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42576         Use PPC64_LOAD_FUNCPTR.
42578         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42580 2013-12-04  Alan Modra  <amodra@gmail.com>
42582         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42583         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42584         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42585         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42588         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42589         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42590         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42591         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42592         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42594 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42597         (__makecontext): Fix incorrect CFI when backtracing out of
42598         context created via makecontext.
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42600         (__setcontext): Fix incorrect CFI during switch to new context.
42601         (__novec_setcontext): Likewise.
42603 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42605         [BZ #4772]
42606         * time/strptime_l.c (__strptime_internal): Allow modifiers
42607         in strptime.
42608         * time/tst-strptime.c (day_tests): Add testcase.
42610 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42612         * scripts/bench.pl: Skip over blank lines.
42614 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42616         [BZ #926]
42617         * manual/time.texi (Calendar Time): Clarify what timezone functions
42618         use.
42620 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42624 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42626         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42627         implementation.
42628         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42629         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42630         * debug/memset_chk.c (__memset_chk): Likewise.
42631         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42632         * debug/strncpy_chk.c: Likewise.
42634 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42636         [BZ #15268]
42637         [BZ #15425]
42638         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42639         (__ieee754_exp): For possibly underflowing results, check size of
42640         result and force underflow exception if required.
42641         * math/auto-libm-test-in: Add more tests of exp.
42642         * math/auto-libm-test-out: Regenerated.
42643         * sysdeps/i386/fpu/libm-test-ulps: Update.
42644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42646         [BZ #16283]
42647         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42648         * math/w_exp2f.c (__exp2f): Likewise.
42649         * math/w_exp2l.c (__exp2l): Likewise.
42650         * math/auto-libm-test-in: Do not allow missing errno on exp2
42651         underflow.
42652         * math/auto-libm-test-out: Regenerated.
42654 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42656         [BZ #16274]
42657         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42658         handle filename validation.
42659         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42660         (do_open): Delete.
42662 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42664         [BZ #6786]
42665         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42666         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42667         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42668         <float.h>.
42669         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42670         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42671         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42672         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42674         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42675         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42676         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42677         Add more erfc tests.
42678         * math/auto-libm-test-out: Regenerated.
42679         * sysdeps/i386/fpu/libm-test-ulps: Update.
42680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42682         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42683         exp2, expm1, j0 and j1.
42684         * math/auto-libm-test-out: Regenerated.
42685         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42686         (erfc_test_data): Likewise.
42687         (exp_test_data): Likewise.
42688         (exp_tonearest_test_data): Likewise.
42689         (exp_towardzero_test_data): Likewise.
42690         (exp_downward_test_data): Likewise.
42691         (exp_upward_test_data): Likewise.
42692         (exp10_test_data): Likewise.
42693         (exp2_test_data): Likewise.
42694         (expm1_test_data): Likewise.
42695         (j0_test_data): Likewise.
42696         (j1_test_data): Likewise.
42697         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42698         (input_flag_type): Add flag_xfail_rounding.
42699         (input_flags): Add xfail-rounding.
42700         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42701         (output_for_one_input_case): Handle flag_xfail_rounding.
42702         * sysdeps/i386/fpu/libm-test-ulps: Update.
42703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42705 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42707         [BZ #16289]
42708         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42709         division by 0.
42711 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42713         [BZ #16195]
42714         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42715         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42716         (STAP_PROBE0): New macro.
42717         (STAP_PROBE1): Likewise.
42718         (STAP_PROBE2): Likewise.
42719         (STAP_PROBE3): Likewise.
42720         (STAP_PROBE4): Likewise.
42722 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42724         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42726 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42728         * benchtests/Makefile (bench): Add sqrt.
42729         (LDLIBS-bench-sqrt): New.
42730         * benchtests/sqrt-input: New.
42732 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42734         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42735         (GAIH_EAI): Likewise.
42736         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42737         (gaih_inet): Likewise.
42738         (getaddrinfo): Don't use GAIH_EAI.
42740         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42741         (struct gaih): Remove definition.
42743 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42745         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42746         Use HERRNOP directly.
42748 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42752 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42754         * math/gen-auto-libm-tests.c (test_functions): Add more
42755         single-argument functions.
42756         (special_fill_pi_2): New function.
42757         (special_fill_minus_pi_2): Likewise.
42758         (special_fill_pi_6): Likewise.
42759         (special_fill_minus_pi_6): Likewise.
42760         (special_fill_pi_3): Likewise.
42761         (special_fill_2pi_3): Likewise.
42762         (special_fill_e): Likewise.
42763         (special_fill_1_e): Likewise.
42764         (special_fill_e_minus_1): Likewise.
42765         (special_real_inputs): Add more special inputs.
42766         (output_for_one_input_case): Do not require ERANGE on underflow to
42767         zero if round-to-nearest result does not underflow to zero, unless
42768         exact results required.
42769         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42770         atan, atanh, cbrt, cos and cosh.
42771         * math/auto-libm-test-out: Regenerated.
42772         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42773         (acos_tonearest_test_data): Likewise.
42774         (acos_towardzero_test_data): Likewise.
42775         (acos_downward_test_data): Likewise.
42776         (acos_upward_test_data): Likewise.
42777         (acosh_test_data): Likewise.
42778         (asin_test_data): Likewise.
42779         (asin_tonearest_test_data): Likewise.
42780         (asin_towardzero_test_data): Likewise.
42781         (asin_upward_test_data): Likewise.
42782         (asinh_test_data): Likewise.
42783         (atan_test_data): Likewise.
42784         (atanh_test_data): Likewise.
42785         (cbrt_test_data): Likewise.
42786         (cos_test_data): Likewise.
42787         (cos_tonearest_test_data): Likewise.
42788         (cos_towardzero_test_data): Likewise.
42789         (cos_downward_test_data): Likewise.
42790         (cos_upward_test_data): Likewise.
42791         (cosh_test_data): Likewise.
42792         (cosh_tonearest_test_data): Likewise.
42793         (cosh_towardzero_test_data): Likewise.
42794         (cosh_downward_test_data): Likewise.
42795         (cosh_upward_test_data): Likewise.
42796         * sysdeps/i386/fpu/libm-test-ulps: Update.
42797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42799 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42801         [BZ #6787]
42802         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42803         * math/w_exp10f.c (__exp10f): Likewise.
42804         * math/w_exp10l.c (__exp10l): Likewise.
42805         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42806         errno settings in existing tests.
42808         [BZ #14032]
42809         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42810         precision control set to double precision.
42811         * sysdeps/i386/fpu/w_sqrt.c: New file.
42812         * math/auto-libm-test-in: Add more tests.
42813         * math/auto-libm-test-out: Update.
42815         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42816         (sqrt_test_tonearest): New function.
42817         (sqrt_towardzero_test_data): New variable.
42818         (sqrt_test_towardzero): New function.
42819         (sqrt_downward_test_data): New variable.
42820         (sqrt_test_downward): New function.
42821         (sqrt_upward_test_data): New variable.
42822         (sqrt_test_upward): New function.
42823         (main): Call the new functions.
42825         * math/gen-auto-libm-tests.c: New file.
42826         * math/auto-libm-test-in: Likewise.
42827         * math/auto-libm-test-out: New generated file.
42828         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42829         variables.
42830         (%beautify): Add generated representations of zero.
42831         (top level): Set $auto_input and call parse_auto_input.
42832         (beautify): Remove trailing "f" from hex float constants.
42833         (parse_args): Handle XFAIL_TEST.
42834         (convert_condition): New function.
42835         (or_value): Likewise.
42836         (or_cond_value): Likewise.
42837         (generate_testfile): Handle AUTO_TESTS_* lines.
42838         (parse_auto_input): New function.
42839         * math/libm-test.inc (XFAIL_TEST): New macro.
42840         (ERRNO_UNCHANGED): Update value.
42841         (ERRNO_EDOM): Likewise.
42842         (ERRNO_ERANGE): Likewise.
42843         (IGNORE_RESULT): Likewise.
42844         (TEST_COND_flt_32): New macro.
42845         (TEST_COND_dbl_64): Likewise.
42846         (TEST_COND_ldbl_96_intel): Likewise.
42847         (TEST_COND_ldbl_96_m68k): Likewise.
42848         (TEST_COND_ldbl_128): Likewise.
42849         (TEST_COND_ldbl_128ibm): Likewise.
42850         (TEST_COND_long32): Likewise.
42851         (TEST_COND_long64): Likewise.
42852         (TEST_COND_before_rounding): Likewise.
42853         (TEST_COND_after_rounding): Likewise.
42854         (enable_test): Handle XFAIL_TEST flag.
42855         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42856         with finite results.
42857         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42858         auto-libm-test-out.
42860 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42861             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42863         [BZ #16214]
42864         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42865         __tls_get_addr_internal instead of __tls_get_offset in order to
42866         avoid GOT pointer dependency.  Make rtld export
42867         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42868         __tls_get_addr since we are a __tls_get_offset platform.
42869         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42870         GOT pointer being set up before.
42871         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42873 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42875         * manual/math.texi (Errors in Math Functions): Document accuracy
42876         goals.
42878         [BZ #15004]
42879         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42880         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42881         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42882         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42883         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42884         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42885         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42886         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42887         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42888         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42889         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42891         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42892         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42893         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42894         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42896         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42897         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42898         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42899         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42900         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42901         Likewise.
42902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42903         Likewise.
42904         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42905         Likewise.
42906         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42907         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42908         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42909         atomic-feupdateenv and flt-rounds.
42910         * sysdeps/powerpc/nofpu/Versions (libc): Add
42911         __atomic_feholdexcept, __atomic_feclearexcept,
42912         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42913         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42914         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42915         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42916         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42917         here.
42918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42919         Update.
42921         * manual/arith.texi (FP Exceptions): Document that exceptions may
42922         not be raised when matherr is used.
42923         (Math Error Reporting): Document overflow in directed rounding
42924         modes.  Document that errno may not be set when finite values are
42925         returned on overflow.  Document intent to set errno on underflow
42926         only for underflow to zero.
42928         [BZ #16271]
42929         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42930         round-to-nearest then adjust result for other rounding modes.
42931         * include/fenv.h (fegetround): Use libm_hidden_proto.
42932         * math/fegetround.c (fegetround): Use libm_hidden_def.
42933         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42934         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42935         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42936         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42937         Likewise.
42938         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42939         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42940         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42941         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42943 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42945         [BZ #16077]
42946         * nss/Versions (libnss_files): Add
42947         _nss_files_gethostbyname3_r.
42948         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42949         New function.
42950         (HOST_DB_LOOKUP): Remove macro.
42951         (_nss_files_gethostbyname_r): Implement function without the
42952         HOST_DB_LOOKUP macro.
42953         (_nss_files_gethostbyname2_r): Likewise.
42955 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42957         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42959 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42961         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42962         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42963         warning.
42965 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42967         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42968         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42969         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42970         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42971         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42972         __fe_nomask_env_priv and attribute_hidden.
42973         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42974         (libc_feupdateenv_test_ppc): Likewise.
42975         (libc_feresetround_ppc): Likewise.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42977         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42978         compat_symbol macro.
42979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42980         (__fe_nomask_env): Likewise.
42981         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42983 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42985         * string/Makefile: Remove ifunc tests.
42986         * string/test-string.h: Define TEST_IFUNC.
42987         * string/test-bcopy-ifunc.c: Remove.
42988         * string/test-bzero-ifunc.c: Likewise.
42989         * string/test-memccpy-ifunc.c: Likewise.
42990         * string/test-memchr-ifunc.c: Likewise.
42991         * string/test-memcmp-ifunc.c: Likewise.
42992         * string/test-memcpy-ifunc.c: Likewise.
42993         * string/test-memmem-ifunc.c: Likewise.
42994         * string/test-memmove-ifunc.c: Likewise.
42995         * string/test-mempcpy-ifunc.c: Likewise.
42996         * string/test-memrchr-ifunc.c: Likewise.
42997         * string/test-memset-ifunc.c: Likewise.
42998         * string/test-rawmemchr-ifunc.c: Likewise.
42999         * string/test-stpcpy-ifunc.c: Likewise.
43000         * string/test-stpncpy-ifunc.c: Likewise.
43001         * string/test-strcasecmp-ifunc.c: Likewise.
43002         * string/test-strcasestr-ifunc.c: Likewise.
43003         * string/test-strcat-ifunc.c: Likewise.
43004         * string/test-strchr-ifunc.c: Likewise.
43005         * string/test-strchrnul-ifunc.c: Likewise.
43006         * string/test-strcmp-ifunc.c: Likewise.
43007         * string/test-strcpy-ifunc.c: Likewise.
43008         * string/test-strcspn-ifunc.c: Likewise.
43009         * string/test-strlen-ifunc.c: Likewise.
43010         * string/test-strncasecmp-ifunc.c: Likewise.
43011         * string/test-strncat-ifunc.c: Likewise.
43012         * string/test-strncmp-ifunc.c: Likewise.
43013         * string/test-strncpy-ifunc.c: Likewise.
43014         * string/test-strnlen-ifunc.c: Likewise.
43015         * string/test-strpbrk-ifunc.c: Likewise.
43016         * string/test-strrchr-ifunc.c: Likewise.
43017         * string/test-strspn-ifunc.c: Likewise.
43018         * string/test-strstr-ifunc.c: Likewise.
43020 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43022         * benchtests/Makefile: Remove ifunc tests.
43023         * benchtests/bench-string.h: Define TEST_IFUNC.
43024         * benchtests/bench-bcopy-ifunc.c: Remove.
43025         * benchtests/bench-bzero-ifunc.c: Likewise.
43026         * benchtests/bench-memccpy-ifunc.c: Likewise.
43027         * benchtests/bench-memchr-ifunc.c: Likewise.
43028         * benchtests/bench-memcmp-ifunc.c: Likewise.
43029         * benchtests/bench-memcpy-ifunc.c: Likewise.
43030         * benchtests/bench-memmem-ifunc.c: Likewise.
43031         * benchtests/bench-memmove-ifunc.c: Likewise.
43032         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43033         * benchtests/bench-memrchr-ifunc.c: Likewise.
43034         * benchtests/bench-memset-ifunc.c: Likewise.
43035         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43036         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43037         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43038         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43039         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43040         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43041         * benchtests/bench-strcat-ifunc.c: Likewise.
43042         * benchtests/bench-strchr-ifunc.c: Likewise.
43043         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43044         * benchtests/bench-strcmp-ifunc.c: Likewise.
43045         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43046         * benchtests/bench-strcpy-ifunc.c: Likewise.
43047         * benchtests/bench-strcspn-ifunc.c: Likewise.
43048         * benchtests/bench-strlen-ifunc.c: Likewise.
43049         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43050         * benchtests/bench-strncat-ifunc.c: Likewise.
43051         * benchtests/bench-strncmp-ifunc.c: Likewise.
43052         * benchtests/bench-strncpy-ifunc.c: Likewise.
43053         * benchtests/bench-strnlen-ifunc.c: Likewise.
43054         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43055         * benchtests/bench-strrchr-ifunc.c: Likewise.
43056         * benchtests/bench-strsep-ifunc.c: Likewise.
43057         * benchtests/bench-strspn-ifunc.c: Likewise.
43058         * benchtests/bench-strstr-ifunc.c: Likewise.
43060 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43062         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43064 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43066         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43067         * rt/aio.h: Likewise.
43068         * sysdeps/gnu/bits/utmp.h: Likewise.
43069         * sysdeps/gnu/bits/utmpx.h: Likewise.
43070         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43071         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43072         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43073         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43074         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43075         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43076         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43077         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43078         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43079         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43080         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43081         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43082         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43084         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43085         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43086         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43087         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43088         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43089         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43090         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43091         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43092         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43093         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43094         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43096         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43097         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43098         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43099         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43100         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43101         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43102         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43103         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43104         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43105         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43106         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43107         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43108         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43109         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43110         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43111         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43113 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43115         [BZ #16245]
43116         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43117         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43119 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43121         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43122         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43123         Likewise.
43125 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43127         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43128         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43129         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43130         (__fesetround): Remove define.
43131         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43132         rounding and exceptions handling.
43133         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43134         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43135         (__fe_nomask_env): Likewise.
43136         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43137         __fegetround instead of fegetround.
43138         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43139         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43141 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43143         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43144         it's there.
43146         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43148 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43150         [BZ #11157]
43151         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43152         (encrypt_r): Likewise.
43153         * malloc/obstack.h (obstack_free): Likewise.
43154         * posix/unistd.h (encrypt): Likewise.
43156 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43158         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43159         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43160         DL_CALL_DT_FINI() that call the functions directly.
43161         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43162         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43163         * elf/dl-fini.c: Likewise.
43165 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43167         * malloc/hooks.c (memalign_check): Add alignment rounding.
43168         * malloc/malloc.c (_mid_memalign): New function.
43169         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43170         Implement by calling _mid_memalign.
43171         * manual/probes.texi (Memory Allocation Probes): Remove
43172         memory_valloc_retry and memory_pvalloc_retry.
43174 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43176         * locale/programs/locarchive.c (open_archive): Add const
43177         qualifier to ARCHIVEFNAME and copy default fname to
43178         DEFAULT_FNAME.
43180         [BZ #15601]
43181         * libio/tst-widetext.input: Rename Oriya to Odia.
43182         * locale/iso-639.def: Likewise.
43184         * manual/probes.texi (Mathematical Function Probes): Add
43185         documentation for sin, cos, asin and acos probes.
43186         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43187         (__sin32): Add slowasin probe.
43188         (__cos32): Add slowacos probe.
43189         (__mpsin): Add slowsin probe.
43190         (__mpcos): Add slowcos probe.
43192 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43194         [BZ #15483]
43195         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43196         thread-local __sim_exceptions_thread and global
43197         __sim_exceptions_global.
43198         (__sim_disabled_exceptions): Change to thread-local
43199         __sim_disabled_exceptions_thread and global
43200         __sim_disabled_exceptions_global.
43201         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43202         and global __sim_round_mode_global.
43203         (__simulate_exceptions): Use thread-local floating-point state and
43204         set global state from it as needed.
43205         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43206         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43207         __sim_round_mode_thread.
43208         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43209         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43210         and global __sim_exceptions_global.
43211         (__sim_disabled_exceptions): Change to thread-local
43212         __sim_disabled_exceptions_thread and global
43213         __sim_disabled_exceptions_global.
43214         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43215         and global __sim_round_mode_global.
43216         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43217         (SIM_SET_GLOBAL): Likewise.
43218         * sysdeps/powerpc/soft-fp/sfp-machine.h
43219         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43220         __sim_round_mode_thread.
43221         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43222         __sim_disabled_exceptions_thread.
43223         (__sim_exceptions): Change to __sim_exceptions_thread.
43224         (__sim_disabled_exceptions): Change to
43225         __sim_disabled_exceptions_thread.
43226         (__sim_round_mode): Change to __sim_round_mode_thread.
43227         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43228         thread-local floating-point state and set global state from it as
43229         needed.
43230         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43231         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43232         (__sim_disabled_exceptions): Remove extern declaration.
43233         (feenableexcept): Use thread-local floating-point state and set
43234         global state from it as needed.
43235         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43236         extern declaration.
43237         (__sim_disabled_exceptions): Likewise.
43238         (__sim_round_mode): Likewise.
43239         (__fegetenv): Use thread-local floating-point state.
43240         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43241         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43242         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43243         floating-point state and set global state from it as needed.
43244         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43245         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43246         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43247         Likewise.
43248         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43249         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43250         Likewise.
43251         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43252         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43253         Use __sim_round_mode_thread.
43254         * math/test-fenv-tls.c: New file.
43255         * math/Makefile (tests): Add test-fenv-tls.
43256         ($(objpfx)test-fenv-tls): Depend on
43257         $(common-objpfx)nptl/libpthread.so.
43259 2013-11-19  Andreas Schwab  <schwab@suse.de>
43261         * locale/programs/locale.c (show_info): Decode wordarray elements.
43262         * locale/categories.def (LC_MONETARY): Add element for
43263         _NL_MONETARY_CRNCYSTR.
43264         * locale/C-monetary.c (conversion_rate): New variable.
43265         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43266         element.
43268 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43270         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43271         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43273 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43275         * elf/Makefile (tst-auxv): New test.
43276         * elf/tst-auxv.c: New
43277         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43279 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43281         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43282         (hidden_proto): Caller changed.
43283         (hidden_tls_proto): New macro.
43284         (libc_hidden_tls_proto): Likewise.
43285         (rtld_hidden_tls_proto): Likewise.
43286         (libm_hidden_tls_proto): Likewise.
43287         (libresolv_hidden_tls_proto): Likewise.
43288         (librt_hidden_tls_proto): Likewise.
43289         (libdl_hidden_tls_proto): Likewise.
43290         (libnss_files_hidden_tls_proto): Likewise.
43291         (libnsl_hidden_tls_proto): Likewise.
43292         (libnss_nisplus_hidden_tls_proto): Likewise.
43293         (libutil_hidden_tls_proto): Likewise.
43295 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43297         [BZ #10253]
43298         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43299         (decompose_rpath): Defer expansion to fillin_rpath.
43300         (_dl_init_paths): Pass linkmap to fillin_rpath.
43302 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43304         * benchtests/Makefile: Add strsep.
43305         * benchtests/bench-strsep.c: New file: strsep benchtest.
43306         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43308 2013-11-18  Andreas Schwab  <schwab@suse.de>
43310         * locale/programs/locale.c (show_info) [case byte]: Check for
43311         '\377' instead of '\177'.
43312         * locale/C-monetary.c (not_available): Always use "\377".
43313         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43314         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43315         detect unavailable sign_posn locale elements.
43316         * locale/localeconv.c (__localeconv): For grouping and
43317         mon_grouping handle "\177" and "\377" like no grouping.
43318         (INT_ELEM): New macro.  Use it to set all numeric members.
43319         * locale/programs/ld-monetary.c (monetary_read)
43320         <tok_mon_grouping>: Normalize single -1 to the empty string.
43321         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43322         Likewise.
43324 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43326         [BZ #16055]
43327         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43328         when we match (nil).
43329         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43331 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43333         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43334         (NO_TEST_INLINE): Update value.
43335         (ERRNO_UNCHANGED): Likewise.
43336         (ERRNO_EDOM): Likewise.
43337         (ERRNO_ERANGE): Likewise.
43338         (IGNORE_RESULT): Likewise.
43339         (check_float_internal): Check signs of NaN results if
43340         TEST_NAN_SIGN used.
43341         (check_complex): Pass TEST_NAN_SIGN flag through to second
43342         check_float_internal call.
43343         (copysign_test_data): Add tests with quiet NaNs as second
43344         argument.  Use TEST_NAN_SIGN.
43345         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43346         TEST_NAN_SIGN.
43347         (signbit_test_data): Add tests of quiet NaN argument.
43348         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43350         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43351         $ignore_result.
43352         (parse_args): Handle function results specified as IGNORE.
43353         * math/libm-test.inc (IGNORE_RESULT): New macro.
43354         (check_float_internal): Do not check numerical result if flag
43355         IGNORE_RESULT set.
43356         (check_complex): Pass through IGNORE_RESULT to second
43357         check_float_internal call.
43358         (check_int): Do not check numerical result if flag IGNORE_RESULT
43359         set.
43360         (check_long): Likewise.
43361         (check_bool): Likewise.
43362         (check_longlong): Likewise.
43363         (lrint_test_data): Add tests of infinite and NaN arguments.
43364         (lrint_tonearest_test_data): Likewise.
43365         (lrint_towardzero_test_data): Likewise.
43366         (lrint_downward_test_data): Likewise.
43367         (lrint_upward_test_data): Likewise.
43368         (llrint_test_data): Likewise.
43369         (llrint_tonearest_test_data): Likewise.
43370         (llrint_towardzero_test_data): Likewise.
43371         (llrint_downward_test_data): Likewise.
43372         (llrint_upward_test_data): Likewise.
43373         (lround_test_data): Likewise.
43374         (llround_test_data): Likewise.
43376         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43377         (ERRNO_UNCHANGED): Update value.
43378         (ERRNO_EDOM): Likewise.
43379         (ERRNO_ERANGE): Likewise.
43380         (NO_TEST_INLINE_FLOAT): New macro.
43381         (NO_TEST_INLINE_DOUBLE): Likewise.
43382         (enable_test): New function.
43383         (RUN_TEST_f_f): Check enable_test before running test.
43384         (RUN_TEST_2_f): Likewise.
43385         (RUN_TEST_fff_f): Likewise.
43386         (RUN_TEST_c_f): Likewise.
43387         (RUN_TEST_f_f1): Likewise.
43388         (RUN_TEST_fF_f1): Likewise.
43389         (RUN_TEST_fI_f1): Likewise.
43390         (RUN_TEST_ffI_f1): Likewise.
43391         (RUN_TEST_c_c): Likewise.
43392         (RUN_TEST_cc_c): Likewise.
43393         (RUN_TEST_f_i): Likewise.
43394         (RUN_TEST_f_i_tg): Likewise.
43395         (RUN_TEST_ff_i_tg): Likewise.
43396         (RUN_TEST_f_b): Likewise.
43397         (RUN_TEST_f_b_tg): Likewise.
43398         (RUN_TEST_f_l): Likewise.
43399         (RUN_TEST_f_L): Likewise.
43400         (RUN_TEST_fFF_11): Likewise.
43401         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43402         conditionals.
43403         (cosh_test_data): Likewise.
43404         (exp_test_data): Likewise.
43405         (expm1_test_data): Likewise.
43406         (hypot_test_data): Likewise.
43407         (pow_test_data): Likewise.
43408         (sinh_test_data): Likewise.
43409         (tanh_test_data): Likewise.
43410         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43411         flags argument.
43413         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43414         tests with quiet NaN input and output.
43415         (acosh_test_data): Likewise.
43416         (asin_test_data): Likewise.
43417         (asinh_test_data): Likewise.
43418         (atan_test_data): Likewise.
43419         (atanh_test_data): Likewise.
43420         (atan2_test_data): Likewise.
43421         (cbrt_test_data): Likewise.
43422         (cos_test_data): Likewise.
43423         (cosh_test_data): Likewise.
43424         (erf_test_data): Likewise.
43425         (erfc_test_data): Likewise.
43426         (exp_test_data): Likewise.
43427         (exp10_test_data): Likewise.
43428         (exp2_test_data): Likewise.
43429         (expm1_test_data): Likewise.
43430         (hypot_test_data): Likewise.
43431         (j0_test_data): Likewise.
43432         (j1_test_data): Likewise.
43433         (jn_test_data): Likewise.
43434         (lgamma_test_data): Likewise.
43435         (log_test_data): Likewise.
43436         (log10_test_data): Likewise.
43437         (log1p_test_data): Likewise.
43438         (log2_test_data): Likewise.
43439         (pow_test_data): Likewise.
43440         (scalb_test_data): Likewise.
43441         (sin_test_data): Likewise.
43442         (sincos_test_data): Likewise.
43443         (sinh_test_data): Likewise.
43444         (tan_test_data): Likewise.
43445         (tanh_test_data): Likewise.
43446         (tgamma_test_data): Likewise.
43447         (y0_test_data): Likewise.
43448         (y1_test_data): Likewise.
43449         (yn_test_data): Likewise.
43451         [BZ #16167]
43452         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43453         argument being NaN and avoid computations with second argument in
43454         that case.
43455         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43456         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43457         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43459 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43461         * locale/iso-639.def: Add Chitwani Tharu (the).
43463 2013-11-14  Andreas Schwab  <schwab@suse.de>
43465         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43466         word instead of empty string.
43468 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43471         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43473         (__fe_nomask_env): Likewise.
43475 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43477         * benchtests/bench-timing.h: Include time.h.
43479 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43481         [BZ #15997]
43482         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43483         to 3.4.0 for x32.
43484         * sysdeps/unix/sysv/linux/configure: Regenerated.
43486 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43488         [BZ #16151]
43489         * stdlib/strtod_l.c (round_and_return): Do not consider
43490         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43491         exponent one less than half the least subnormal exponent.
43492         * stdlib/test-strtod-round-data: Add more tests.
43493         * stdlib/tst-strtod-round.c (tests): Regenerated.
43495 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43497         [BZ #14143]
43498         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43499         (__fe_mask_env): Likewise.
43500         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43501         libm_hidden_proto and add function prototype.
43502         (__fe_mask_env): Add function prototype.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43504         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43506         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43508         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43510 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43512         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43513         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43515 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43517         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43518         of htab_find_slot().
43520 2013-11-11  David S. Miller  <davem@davemloft.net>
43522         [BZ #16150]
43523         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43524         symbol in the non-vis3 case in static builds.
43525         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43526         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43527         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43528         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43530 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43532         [BZ #387]
43533         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43534         it is empty.
43536 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43538         * benchtests/Makefile: Add bench-strtod.
43539         * benchtests/bench-strtod.c: New file: strtod benchtest
43541 2013-11-11  Andreas Schwab  <schwab@suse.de>
43543         [BZ #16153]
43544         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43545         terminating NUL in key length.
43547 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43549         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43550         Add artificial ODP entry for vDSO symbol for PPC64.
43551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43552         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43554 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43556         [BZ #15374]
43557         * nss/getent.c (services_keys): Recognize services starting with digit.
43559 2013-11-06  David S. Miller  <davem@davemloft.net>
43561         [BZ #15985]
43562         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43563         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43565 2013-11-06  Will Newton  <will.newton@linaro.org>
43567         * manual/memory.texi (Malloc Examples): Remove register
43568         keyword from examples.
43570 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43572         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43574 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43576         [BZ #6981]
43577         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43578         depending on [__GCC_IEC_559 > 0].
43579         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43580         depending on [__GCC_IEC_559_COMPLEX > 0].
43582 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43584         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43585         to iso-639.def.
43587 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43589         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43591 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43593         [BZ #16112]
43594         * malloc/malloc (malloc_info): Do not handle first bin as
43595         special case.
43597 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43599         * locale/iso-639.def: Add Central Nahuatl (nhn).
43601 2013-11-01  Bruno Haible  <bruno@clisp.org>
43603         [BZ #7003]
43604         * manual/math.texi (BSD Random): Specify range upper bound as
43605         in POSIX.
43607 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43609         * locale/iso-639.def: Add Meadow Mari (mhr).
43611 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43613         [BZ #14752], [BZ #15763]
43614         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43615         Validate name.
43616         * rt/tst_shm.c: Add test for escaping directory.
43618 2013-10-31  Andreas Schwab  <schwab@suse.de>
43620         [BZ #15917]
43621         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43622         followed by 'x' as part of digit sequence.
43623         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43625 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43627         [BZ #16037]
43628         * configure.ac: allow GNU Make 4.0 and greater.
43629         * configure: Regenerated.
43631 2013-10-30  Will Newton  <will.newton@linaro.org>
43633         [BZ #16038]
43634         * malloc/hooks.c (memalign_check): Limit alignment to the
43635         maximum representable power of two.
43636         * malloc/malloc.c (__libc_memalign): Likewise.
43637         * malloc/tst-memalign.c (do_test): Add test for very
43638         large alignment values.
43639         * malloc/tst-posix_memalign.c (do_test): Likewise.
43641 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43643         [BZ #11087]
43644         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43645         (munmap_chunk): Likewise.
43646         (mremap_chunk): Likewise.
43648 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43650         [BZ #15799]
43651         * stdlib/div.c (div): Remove obsolete code.
43652         * stdlib/ldiv.c (ldiv): Likewise.
43653         * stdlib/lldiv.c (lldiv): Likewise.
43655 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43657         [BZ #16071]
43658         * nss/nss_files/files-XXX.c (get_contents_ret): New
43659         enumerator.
43660         (get_contents): New function.
43661         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43663 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43665         * configure.in: Moved to ...
43666         * configure.ac: ... here. Change reference to configure.in
43667         to configure.ac.
43668         * sysdeps/arm/preconfigure.ac: ... here.
43669         configure.in to configure.ac.
43670         * sysdeps/gnu/configure.in: Moved to ...
43671         * sysdeps/gnu/configure.ac: ... here.
43672         * sysdeps/i386/configure.in: Moved to ...
43673         * sysdeps/i386/configure.ac: ... here.
43674         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43675         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43676         * sysdeps/mach/configure.in: Moved to ...
43677         * sysdeps/mach/configure.ac: ... here.
43678         * sysdeps/mach/hurd/configure.in: Moved to ...
43679         * sysdeps/mach/hurd/configure.ac: ... here.
43680         * sysdeps/powerpc/configure.in: Moved to ...
43681         * sysdeps/powerpc/configure.ac: ... here.
43682         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43683         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43684         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43685         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43686         * sysdeps/s390/s390-32/configure.in: Moved to ...
43687         * sysdeps/s390/s390-32/configure.ac: ... here.
43688         * sysdeps/s390/s390-64/configure.in: Moved to ...
43689         * sysdeps/s390/s390-64/configure.ac: ... here.
43690         * sysdeps/sh/configure.in: Moved to ...
43691         * sysdeps/sh/configure.ac: ... here.
43692         * sysdeps/sparc/configure.in: Moved to ...
43693         * sysdeps/sparc/configure.ac: ... here.
43694         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43695         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43696         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43697         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43698         * sysdeps/x86_64/configure.in: Moved to ...
43699         * sysdeps/x86_64/configure.ac: ... here.
43700         * sysdeps/x86_64/preconfigure.in: Moved to ...
43701         * sysdeps/x86_64/preconfigure.ac: ... here.
43702         * aclocal.m4: Change reference to configure.in to configure.ac.
43703         * config.h.in: Likewise.
43704         * manual/install.texi: Likewise.
43705         * manual/maint.texi: Likewise.
43706         * Makefile: Likewise.
43707         * malloc/Makefile: Likewise.
43708         * nscd/Makefile: Likewise.
43709         * Makeconfig: Change reference to configure.in and
43710         preconfigure.in to configure.ac and preconfigure.ac
43711         respectively.
43712         * INSTALL: Regenerated.
43713         * configure: Likewise.
43714         * sysdeps/gnu/configure: Likewise.
43715         * sysdeps/i386/configure: Likewise.
43716         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43717         * sysdeps/mach/configure: Likewise.
43718         * sysdeps/mach/hurd/configure: Likewise.
43719         * sysdeps/powerpc/configure: Likewise.
43720         * sysdeps/powerpc/powerpc32/configure: Likewise.
43721         * sysdeps/powerpc/powerpc64/configure: Likewise.
43722         * sysdeps/s390/s390-32/configure: Likewise.
43723         * sysdeps/s390/s390-64/configure: Likewise.
43724         * sysdeps/sh/configure: Likewise.
43725         * sysdeps/sparc/configure: Likewise.
43726         * sysdeps/unix/sysv/linux/configure: Likewise.
43727         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43728         * sysdeps/x86_64/configure: Likewise.
43729         * sysdeps/x86_64/preconfigure: Likewise.
43731 2013-10-29  Andreas Schwab  <schwab@suse.de>
43733         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43735 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43737         * benchtests/pow-inputs: Add new inputs.
43739         * benchtests/exp-inputs: Add new inputs.
43741         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43742         conditional check for return value.
43743         (__cos32): Likewise.
43745 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43747         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43748         to provide a boost for large inputs with word alignment.
43749         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43750         implementation based on optimized PPC64 strcpy.
43751         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43752         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43753         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43754         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43756 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43758         [BZ #2801]
43759         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43761 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43763         [BZ #14876]
43764         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43765         * time/tst-strptime.c (day_tests): Add testcase.
43767 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43769         [BZ #14029]
43770         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43772 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43774         [BZ #16074]
43775         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43776         MAP_FAILED on error.
43778 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43780         [BZ #16072]
43781         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43782         heap for large requests.
43784 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43786         [BZ #9954]
43787         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43788         result if the result has no associated interface.
43789         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43790         interface for all 127.X.Y.Z addresses.
43792 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43794         * locale/iso-639.def: Add Ligurian (lij)
43796 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43798         [BZ #15825]
43799         * sunrpc/rpc_main.c: Document rpcgen -5.
43801 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43803         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43805 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43807         [BZ #10278]
43808         * posix/glob.c: Match only directories when trailing slash is present.
43809         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43810         (main): Add testcase.
43812 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43814         [BZ #15670]
43815         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43817 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43819         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43820         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43821         AUTH_DES and cindex for FIPS 140-2.
43822         (DES Encryption): Add cindex FIPS 46-3.
43824         * locale/locarchive.h (struct locarhandle): Add fname.
43825         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43826         if an optional argument was specified to --list-archive,
43827         otherwise NULL.
43828         * locale/programs/locarchive.c (show_archive_content): Take new
43829         argument fname and pass it via ah.fname to open_archive.
43830         * locale/programs/localedef.h: Update decl.
43831         (open_archive): If AH->fname is non-null, open that file
43832         rather than the default file name, and don't ignore ENOENT.
43833         (create_archive): Set AH.fname to NULL.
43834         (delete_locales_from_archive): Likewise.
43835         (add_locales_to_archive): Likewise.
43836         * locale/programs/locfile.c (write_all_categories): Likewise.
43838 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43839             Aldy Hernandez  <aldyh@redhat.com>
43841         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43842         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43843         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43844         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43845         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43846         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43847         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43849         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43850         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43851         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43852         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43853         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43854         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43855         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43856         Likewise.
43857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43858         Likewise.
43859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43860         Likewise.
43861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43862         Likewise.
43863         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43864         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43865         Likewise.
43866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43867         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43868         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43869         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43870         Likewise.
43871         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43872         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43873         * sysdeps/powerpc/preconfigure: Likewise.
43874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43875         Likewise.
43876         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43877         Replace contents of file by #include of <fenv_libc.h>.
43878         * sysdeps/powerpc/soft-fp/sfp-machine.h
43879         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43880         and <sys/prctl.h>.
43881         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43894         Allow copysignl PLT reference to be missing.
43896 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43897             Joseph Myers  <joseph@codesourcery.com
43899         [BZ #15948]
43900         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43901         single character.
43902         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43904 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43906         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43907         * elf/tst-tls1.c: Likewise.
43908         * elf/tst-tls10.h: Likewise.
43909         * elf/tst-tls14.c: Likewise.
43910         * elf/tst-tls2.c: Likewise.
43911         * elf/tst-tls3.c: Likewise.
43912         * elf/tst-tls4.c: Likewise.
43913         * elf/tst-tls5.c: Likewise.
43914         * elf/tst-tls6.c: Likewise.
43915         * elf/tst-tls7.c: Likewise.
43916         * elf/tst-tls8.c: Likewise.
43917         * elf/tst-tls9.c: Likewise.
43918         * elf/tst-tlsmod1.c: Likewise.
43919         * elf/tst-tlsmod13.c: Likewise.
43920         * elf/tst-tlsmod13a.c: Likewise.
43921         * elf/tst-tlsmod14a.c: Likewise.
43922         * elf/tst-tlsmod16a.c: Likewise.
43923         * elf/tst-tlsmod16b.c: Likewise.
43924         * elf/tst-tlsmod2.c: Likewise.
43925         * elf/tst-tlsmod3.c: Likewise.
43926         * elf/tst-tlsmod4.c: Likewise.
43927         * elf/tst-tlsmod5.c: Likewise.
43928         * elf/tst-tlsmod6.c: Likewise.
43930 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43932         [BZ #12486]
43933         * malloc/malloc.c: remove checks for statistics.
43935 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43937         [BZ #15277]
43938         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43939         * inet/tst-network.c: Add testcase.
43941 2013-10-17  Andreas Schwab  <schwab@suse.de>
43943         [BZ #15218]
43944         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43945         to determine canonical name.
43947 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43949         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43950         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43952         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43954         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43955         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43959         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43961         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43962         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43963         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43964         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43966         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43973         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43974         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43975         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43976         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43977         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43978         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43979         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43980         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43981         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43982         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43983         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43984         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43985         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43986         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43987         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43988         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43989         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43990         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43991         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43992         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43993         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43994         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43995         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43996         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43997         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43998         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43999         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44000         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44001         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44002         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44003         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44004         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44006         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44008 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44010         [BZ #16041]
44011         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44012         make result into a quiet NaN.
44014 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44016         * soft-fp/adddf3.c: Fix horizontal whitespace.
44017         * soft-fp/addsf3.c: Likewise.
44018         * soft-fp/addtf3.c: Likewise.
44019         * soft-fp/divdf3.c: Likewise.
44020         * soft-fp/divsf3.c: Likewise.
44021         * soft-fp/divtf3.c: Likewise.
44022         * soft-fp/double.h: Likewise.
44023         * soft-fp/eqdf2.c: Likewise.
44024         * soft-fp/eqsf2.c: Likewise.
44025         * soft-fp/eqtf2.c: Likewise.
44026         * soft-fp/extenddftf2.c: Likewise.
44027         * soft-fp/extended.h: Likewise.
44028         * soft-fp/extendsfdf2.c: Likewise.
44029         * soft-fp/extendsftf2.c: Likewise.
44030         * soft-fp/extendxftf2.c: Likewise.
44031         * soft-fp/fixdfdi.c: Likewise.
44032         * soft-fp/fixdfsi.c: Likewise.
44033         * soft-fp/fixdfti.c: Likewise.
44034         * soft-fp/fixsfdi.c: Likewise.
44035         * soft-fp/fixsfsi.c: Likewise.
44036         * soft-fp/fixsfti.c: Likewise.
44037         * soft-fp/fixtfdi.c: Likewise.
44038         * soft-fp/fixtfsi.c: Likewise.
44039         * soft-fp/fixtfti.c: Likewise.
44040         * soft-fp/fixunsdfdi.c: Likewise.
44041         * soft-fp/fixunsdfsi.c: Likewise.
44042         * soft-fp/fixunsdfti.c: Likewise.
44043         * soft-fp/fixunssfdi.c: Likewise.
44044         * soft-fp/fixunssfsi.c: Likewise.
44045         * soft-fp/fixunssfti.c: Likewise.
44046         * soft-fp/fixunstfdi.c: Likewise.
44047         * soft-fp/fixunstfsi.c: Likewise.
44048         * soft-fp/fixunstfti.c: Likewise.
44049         * soft-fp/floatdidf.c: Likewise.
44050         * soft-fp/floatdisf.c: Likewise.
44051         * soft-fp/floatditf.c: Likewise.
44052         * soft-fp/floatsidf.c: Likewise.
44053         * soft-fp/floatsisf.c: Likewise.
44054         * soft-fp/floatsitf.c: Likewise.
44055         * soft-fp/floattidf.c: Likewise.
44056         * soft-fp/floattisf.c: Likewise.
44057         * soft-fp/floattitf.c: Likewise.
44058         * soft-fp/floatundidf.c: Likewise.
44059         * soft-fp/floatundisf.c: Likewise.
44060         * soft-fp/floatunditf.c: Likewise.
44061         * soft-fp/floatunsidf.c: Likewise.
44062         * soft-fp/floatunsisf.c: Likewise.
44063         * soft-fp/floatunsitf.c: Likewise.
44064         * soft-fp/floatuntidf.c: Likewise.
44065         * soft-fp/floatuntisf.c: Likewise.
44066         * soft-fp/floatuntitf.c: Likewise.
44067         * soft-fp/fmadf4.c: Likewise.
44068         * soft-fp/fmasf4.c: Likewise.
44069         * soft-fp/fmatf4.c: Likewise.
44070         * soft-fp/gedf2.c: Likewise.
44071         * soft-fp/gesf2.c: Likewise.
44072         * soft-fp/getf2.c: Likewise.
44073         * soft-fp/ledf2.c: Likewise.
44074         * soft-fp/lesf2.c: Likewise.
44075         * soft-fp/letf2.c: Likewise.
44076         * soft-fp/muldf3.c: Likewise.
44077         * soft-fp/mulsf3.c: Likewise.
44078         * soft-fp/multf3.c: Likewise.
44079         * soft-fp/negdf2.c: Likewise.
44080         * soft-fp/negsf2.c: Likewise.
44081         * soft-fp/negtf2.c: Likewise.
44082         * soft-fp/op-1.h: Likewise.
44083         * soft-fp/op-2.h: Likewise.
44084         * soft-fp/op-4.h: Likewise.
44085         * soft-fp/op-8.h: Likewise.
44086         * soft-fp/op-common.h: Likewise.
44087         * soft-fp/quad.h: Likewise.
44088         * soft-fp/single.h: Likewise.
44089         * soft-fp/soft-fp.h: Likewise.
44090         * soft-fp/sqrtdf2.c: Likewise.
44091         * soft-fp/sqrtsf2.c: Likewise.
44092         * soft-fp/sqrttf2.c: Likewise.
44093         * soft-fp/subdf3.c: Likewise.
44094         * soft-fp/subsf3.c: Likewise.
44095         * soft-fp/subtf3.c: Likewise.
44096         * soft-fp/truncdfsf2.c: Likewise.
44097         * soft-fp/trunctfdf2.c: Likewise.
44098         * soft-fp/trunctfsf2.c: Likewise.
44099         * soft-fp/trunctfxf2.c: Likewise.
44100         * soft-fp/unorddf2.c: Likewise.
44101         * soft-fp/unordsf2.c: Likewise.
44102         * soft-fp/unordtf2.c: Likewise.
44104 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44106         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44107         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44109 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44111         * elf/dl-libc.c: Clear initfini list after freeing.
44113 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44115         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44116         * soft-fp/addsf3.c: Likewise.
44117         * soft-fp/addtf3.c: Likewise.
44118         * soft-fp/divdf3.c: Likewise.
44119         * soft-fp/divsf3.c: Likewise.
44120         * soft-fp/divtf3.c: Likewise.
44121         * soft-fp/double.h: Likewise.
44122         * soft-fp/eqdf2.c: Likewise.
44123         * soft-fp/eqsf2.c: Likewise.
44124         * soft-fp/eqtf2.c: Likewise.
44125         * soft-fp/extenddftf2.c: Likewise.
44126         * soft-fp/extended.h: Likewise.
44127         * soft-fp/extendsfdf2.c: Likewise.
44128         * soft-fp/extendsftf2.c: Likewise.
44129         * soft-fp/extendxftf2.c: Likewise.
44130         * soft-fp/fixdfdi.c: Likewise.
44131         * soft-fp/fixdfsi.c: Likewise.
44132         * soft-fp/fixdfti.c: Likewise.
44133         * soft-fp/fixsfdi.c: Likewise.
44134         * soft-fp/fixsfsi.c: Likewise.
44135         * soft-fp/fixsfti.c: Likewise.
44136         * soft-fp/fixtfdi.c: Likewise.
44137         * soft-fp/fixtfsi.c: Likewise.
44138         * soft-fp/fixtfti.c: Likewise.
44139         * soft-fp/fixunsdfdi.c: Likewise.
44140         * soft-fp/fixunsdfsi.c: Likewise.
44141         * soft-fp/fixunsdfti.c: Likewise.
44142         * soft-fp/fixunssfdi.c: Likewise.
44143         * soft-fp/fixunssfsi.c: Likewise.
44144         * soft-fp/fixunssfti.c: Likewise.
44145         * soft-fp/fixunstfdi.c: Likewise.
44146         * soft-fp/fixunstfsi.c: Likewise.
44147         * soft-fp/fixunstfti.c: Likewise.
44148         * soft-fp/floatdidf.c: Likewise.
44149         * soft-fp/floatdisf.c: Likewise.
44150         * soft-fp/floatditf.c: Likewise.
44151         * soft-fp/floatsidf.c: Likewise.
44152         * soft-fp/floatsisf.c: Likewise.
44153         * soft-fp/floatsitf.c: Likewise.
44154         * soft-fp/floattidf.c: Likewise.
44155         * soft-fp/floattisf.c: Likewise.
44156         * soft-fp/floattitf.c: Likewise.
44157         * soft-fp/floatundidf.c: Likewise.
44158         * soft-fp/floatundisf.c: Likewise.
44159         * soft-fp/floatunsidf.c: Likewise.
44160         * soft-fp/floatunsisf.c: Likewise.
44161         * soft-fp/floatuntidf.c: Likewise.
44162         * soft-fp/floatuntisf.c: Likewise.
44163         * soft-fp/floatuntitf.c: Likewise.
44164         * soft-fp/fmadf4.c: Likewise.
44165         * soft-fp/fmasf4.c: Likewise.
44166         * soft-fp/fmatf4.c: Likewise.
44167         * soft-fp/gedf2.c: Likewise.
44168         * soft-fp/gesf2.c: Likewise.
44169         * soft-fp/getf2.c: Likewise.
44170         * soft-fp/ledf2.c: Likewise.
44171         * soft-fp/lesf2.c: Likewise.
44172         * soft-fp/letf2.c: Likewise.
44173         * soft-fp/muldf3.c: Likewise.
44174         * soft-fp/mulsf3.c: Likewise.
44175         * soft-fp/multf3.c: Likewise.
44176         * soft-fp/negdf2.c: Likewise.
44177         * soft-fp/negsf2.c: Likewise.
44178         * soft-fp/negtf2.c: Likewise.
44179         * soft-fp/op-1.h: Likewise.
44180         * soft-fp/op-2.h: Likewise.
44181         * soft-fp/op-4.h: Likewise.
44182         * soft-fp/op-8.h: Likewise.
44183         * soft-fp/op-common.h: Likewise.
44184         * soft-fp/quad.h: Likewise.
44185         * soft-fp/single.h: Likewise.
44186         * soft-fp/soft-fp.h: Likewise.
44187         * soft-fp/sqrtdf2.c: Likewise.
44188         * soft-fp/sqrtsf2.c: Likewise.
44189         * soft-fp/sqrttf2.c: Likewise.
44190         * soft-fp/subdf3.c: Likewise.
44191         * soft-fp/subsf3.c: Likewise.
44192         * soft-fp/subtf3.c: Likewise.
44193         * soft-fp/truncdfsf2.c: Likewise.
44194         * soft-fp/trunctfdf2.c: Likewise.
44195         * soft-fp/trunctfsf2.c: Likewise.
44196         * soft-fp/trunctfxf2.c: Likewise.
44197         * soft-fp/unorddf2.c: Likewise.
44198         * soft-fp/unordsf2.c: Likewise.
44199         * soft-fp/unordtf2.c: Likewise.
44201 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44203         [BZ #15672]
44204         * misc/error.c (error_tail): Fix possible buffer overflow.
44206 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44208         [BZ #13028]
44209         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44210         address.
44212 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44214         [BZ #832]
44215         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44216         testing pipefail option.
44218 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44220         * soft-fp/double.h: Indent preprocessor directives inside #if.
44221         * soft-fp/extended.h: Likewise.
44222         * soft-fp/op-2.h: Likewise.
44223         * soft-fp/op-4.h: Likewise.
44224         * soft-fp/op-common.h: Likewise.
44225         * soft-fp/quad.h: Likewise.
44226         * soft-fp/single.h: Likewise.
44227         * soft-fp/soft-fp.h: Likewise.
44229 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44231         * iconv/iconv_prog.c: Fix typos.
44232         * stdio-common/psiginfo-data.h: Likewise.
44234 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44236         [BZ #15764]
44237         * locale/setlocale.c: Fix typo.
44239 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44241         [BZ #16036]
44242         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44243         signaling NaN arguments.
44244         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44245         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44247         [BZ #14910]
44248         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44249         unordered operands.
44250         * soft-fp/gesf2.c (__gesf2): Likewise.
44251         * soft-fp/getf2.c (__getf2): Likewise.
44252         * soft-fp/ledf2.c (__ledf2): Likewise.
44253         * soft-fp/lesf2.c (__lesf2): Likewise.
44254         * soft-fp/letf2.c (__letf2): Likewise.
44256         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44257         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44258         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44259         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44260         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44261         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44262         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44263         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44264         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44265         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44266         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44267         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44268         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44269         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44270         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44271         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44272         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44273         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44274         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44275         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44276         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44277         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44278         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44279         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44280         * soft-fp/floattidf.c (__floattidf): Likewise.
44281         * soft-fp/floattisf.c (__floattisf): Likewise.
44282         * soft-fp/floattitf.c (__floattitf): Likewise.
44283         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44284         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44285         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44286         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44287         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44288         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44289         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44290         * soft-fp/gesf2.c (__gesf2): Likewise.
44291         * soft-fp/getf2.c (__getf2): Likewise.
44292         * soft-fp/ledf2.c (__ledf2): Likewise.
44293         * soft-fp/lesf2.c (__lesf2): Likewise.
44294         * soft-fp/letf2.c (__letf2): Likewise.
44296         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44297         Undefine and redefine.
44298         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44299         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44300         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44301         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44302         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44303         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44304         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44305         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44306         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44307         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44308         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44309         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44310         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44311         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44312         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44314         [BZ #16032]
44315         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44316         without decrementing exponent if mantissa >= that for the
44317         denominator, not >.
44318         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44319         denominator, not >.  Decrement exponent in < case instead of
44320         incrementing in >= case.
44321         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44322         without decrementing exponent if mantissa >= that for the
44323         denominator, not >.
44325         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44326         computing saturated result for unsigned overflow.
44328 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44329             Jeff Law  <law@redhat.com>
44331         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44332         (atan2Mp): Add systemtap probe marker.
44333         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44334         (__ieee754_log): Add systemtap probe marker.
44335         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44336         (atanMp): Add systemtap probe marker.
44337         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44338         (tanMp): Add systemtap probe marker.
44339         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44340         (__slowexp): Add systemtap probe marker.
44341         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44342         (__slowpow): Add systemtap probe marker.
44343         * manual/probes.texi: Document probes.
44345 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44347         [BZ #15362]
44348         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44349         written.
44350         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44351         written.
44352         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44353         written to buffer but not flushed.
44354         * libio/iofwrite_u.c:  Likewise.
44355         * libio/iopadn.c:  Return bytes returned even if EOF was
44356         encountered.
44357         * libio/iowpadn.c:  Likewise.
44358         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44359         if _IO_padn does not write the whole buffer.
44360         [!COMPILE_WPRINTF] (PAD): Likewise.
44362 2013-10-10  David S. Miller  <davem@davemloft.net>
44364         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44365         directory block.
44367 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44369         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44370         instead of FSF address.
44371         * soft-fp/fixdfti.c: Likewise.
44372         * soft-fp/fixsfti.c: Likewise.
44373         * soft-fp/fixtfti.c: Likewise.
44374         * soft-fp/fixunsdfti.c: Likewise.
44375         * soft-fp/fixunssfti.c: Likewise.
44376         * soft-fp/fixunstfti.c: Likewise.
44377         * soft-fp/floattidf.c: Likewise.
44378         * soft-fp/floattisf.c: Likewise.
44379         * soft-fp/floattitf.c: Likewise.
44380         * soft-fp/floatuntidf.c: Likewise.
44381         * soft-fp/floatuntisf.c: Likewise.
44382         * soft-fp/floatuntitf.c: Likewise.
44383         * soft-fp/trunctfxf2.c: Likewise.
44385         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44386         * soft-fp/fixdfti.c: Likewise.
44387         * soft-fp/fixsfti.c: Likewise.
44388         * soft-fp/fixtfti.c: Likewise.
44389         * soft-fp/fixunsdfti.c: Likewise.
44390         * soft-fp/fixunssfti.c: Likewise.
44391         * soft-fp/fixunstfti.c: Likewise.
44392         * soft-fp/floattidf.c: Likewise.
44393         * soft-fp/floattisf.c: Likewise.
44394         * soft-fp/floattitf.c: Likewise.
44395         * soft-fp/floatuntidf.c: Likewise.
44396         * soft-fp/floatuntisf.c: Likewise.
44397         * soft-fp/floatuntitf.c: Likewise.
44398         * soft-fp/trunctfxf2.c: Likewise.
44400 2013-10-10  David S. Miller  <davem@davemloft.net>
44402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44404 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44406         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44407         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44408         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44409         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44410         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44411         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44412         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44415         for NaNs before doing comparisons on argument.
44416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44417         Likewise.
44419 2013-10-10  Will Newton  <will.newton@linaro.org>
44421         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44422         passed to _int_memalign does not overflow.
44424 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44426         * scripts/bench.pl: Add include-sources directive.
44427         * benchtests/README: Update documentation.
44429 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44431         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44432         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44433         instead of FP_INIT_ROUNDMODE.
44434         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44435         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44437         [BZ #16034]
44438         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44439         copy class of input value.
44440         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44441         not handle exceptions.
44442         * soft-fp/negsf2.c (__negsf2): Likewise.
44443         * soft-fp/negtf2.c (__negtf2): Likewise.
44444         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44446 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44448         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44449         semicolon.  From Linux kernel.
44451 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44453         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44455 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44457         [BZ #156]
44458         * manual/socket.texi: Added statement about buffer
44459         for gethostbyname2_r.
44461 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44463         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44464         Use .p2align directive instead, throughout.
44465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44466         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44467         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44468         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44469         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44470         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44471         * sysdeps/x86_64/strchr.S: Likewise.
44472         * sysdeps/x86_64/strrchr.S: Likewise.
44474 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44478         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44480         * sysdeps/generic/math_private.h (__mpsin1): Remove
44481         declaration.
44482         (__mpcos1): Likewise.
44483         (__mpsin): New argument __range_reduce.
44484         (__mpcos): Likewise.
44485         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44486         (slow): Use __mpsin and __mpcos.
44487         (slow1): Likewise.
44488         (slow2): Likewise.
44489         (sloww): Likewise.
44490         (sloww1): Likewise.
44491         (sloww2): Likewise.
44492         (bsloww): Likewise.
44493         (bsloww1): Likewise.
44494         (bsloww2): Likewise.
44495         (cslow2): Likewise.
44496         (csloww): Likewise.
44497         (csloww1): Likewise.
44498         (csloww2): Likewise.
44499         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44500         range_reduce.  Merge in __mpsin1.
44501         (__mpcos): Likewise.
44502         (__mpsin1): Remove.
44503         (__mpcos1): Likewise.
44505 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44507         * locale/loadlocale.c (_nl_intern_locale_data): Use
44508         LOCFILE_ALIGNED_P.
44509         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44510         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44511         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44512         obstack data is appropriately aligned.
44513         (obstack_int32_grow_fast): Likewise.
44514         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44515         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44516         (add_locale_uint32_array): Likewise.
44518 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44520         * benchtests/Makefile: Remove ARGLIST and RET variables.
44521         ($(objpfx)bench-%.c): Pass only function name to the script.
44522         * benchtests/README: Update documentation.
44523         * benchtests/acos-inputs: Add new directives.
44524         * benchtests/acosh-inputs: Likewise.
44525         * benchtests/asin-inputs: Likewise.
44526         * benchtests/asinh-inputs: Likewise.
44527         * benchtests/atan-inputs: Likewise.
44528         * benchtests/atanh-inputs: Likewise.
44529         * benchtests/cos-inputs: Likewise.
44530         * benchtests/cosh-inputs: Likewise.
44531         * benchtests/exp-inputs: Likewise.
44532         * benchtests/log-inputs: Likewise.
44533         * benchtests/pow-inputs: Likewise.
44534         * benchtests/rint-inputs: Likewise.
44535         * benchtests/sin-inputs: Likewise.
44536         * benchtests/sinh-inputs: Likewise.
44537         * benchtests/tan-inputs: Likewise.
44538         * benchtests/tanh-inputs: Likewise.
44539         * scripts/bench.pl: Add support for new directives.
44541 2013-10-07  Alan Modra  <amodra@gmail.com>
44543         * README: Fix careless merge.
44545 2013-10-05  Alan Modra  <amodra@gmail.com>
44547         * NEWS: Mention powerpc64le support and bugs fixed.
44548         * README: Both big-endian and little-endian powerpc64 supported.
44550 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44552         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44553         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44554         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44555         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44557 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44559         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44560         match prototype.
44562 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44564         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44565         Move -mhard-float appending from
44566         ports/sysdeps/powerpc/powerpc32/Makefile.
44567         [$(with-fp) = yes] (ASFLAGS): Likewise.
44568         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44569         * sysdeps/powerpc/nofpu: Move directory from
44570         ports/sysdeps/powerpc/nofpu.
44571         * sysdeps/powerpc/soft-fp: Move directory from
44572         ports/sysdeps/powerpc/soft-fp.
44573         * sysdeps/powerpc/powerpc32/405: Move directory from
44574         ports/sysdeps/powerpc/powerpc32/405.
44575         * sysdeps/powerpc/powerpc32/440: Move directory from
44576         ports/sysdeps/powerpc/powerpc32/440.
44577         * sysdeps/powerpc/powerpc32/464: Move directory from
44578         ports/sysdeps/powerpc/powerpc32/464.
44579         * sysdeps/powerpc/powerpc32/476: Move directory from
44580         ports/sysdeps/powerpc/powerpc32/476.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44582         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44591         * README: Update for powerpc-*-linux-gnu software floating point
44592         support in libc.
44594         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44595         case to powerpc/powerpc32*.
44596         * sysdeps/unix/sysv/linux/configure: Regenerated.
44598         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44599         (_FPU_MASK_OM): Define as 0x04.
44600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44602         0x00c10080.
44603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44604         0x0000003c.
44605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44608         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44609         getcontext_e500.
44610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44611         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44612         setcontext_e500.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44614         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44615         and setcontext_e500.
44617 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44619         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44621 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44623         * manual/threads.texi (Default Thread Attributes): Fix typo.
44625 2013-10-04  Will Newton  <will.newton@linaro.org>
44627         * malloc/Makefile: Add tst-memalign.
44628         * malloc/tst-memalign.c: New file.
44630         * malloc/tst-posix_memalign.c: Add comments.
44631         (do_test): Add comments and call free on all potentially
44632         allocated pointers. Add space after cast.
44634         * malloc/tst-pvalloc.c: Add comments.
44635         (do_test): Add comments and call free on all potentially
44636         allocated pointers. Remove duplicate check for NULL pointer.
44637         Add space after cast.
44639         * malloc/tst-valloc.c: Add comments.
44640         (do_test): Add comments and call free on all potentially
44641         allocated pointers. Remove duplicate check for NULL pointer.
44642         Add space after cast.
44644 2013-10-04  Alan Modra  <amodra@gmail.com>
44646         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44647         Use stdint types in rather than __attribute__((mode())).
44648         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44650 2013-10-04  Alan Modra  <amodra@gmail.com>
44652         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44653         Correct handling of unaligned relocs for little-endian.
44654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44656 2013-10-04  Alan Modra  <amodra@gmail.com>
44658         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44659         * configure: Regenerate.
44660         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44661         * shlib-versions: Likewise.
44663 2013-10-04  Alan Modra  <amodra@gmail.com>
44665         * string/tester.c (test_memrchr): Increment reported test cycle.
44667 2013-10-04  Alan Modra  <amodra@gmail.com>
44669         * string/test-memcpy.c (do_one_test): When reporting errors, print
44670         string address and don't overrun end of string.
44672 2013-10-04  Alan Modra  <amodra@gmail.com>
44674         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44675         insrdi.  Make better use of reg selection to speed exit slightly.
44676         Schedule entry path a little better.  Remove useless "are we done"
44677         checks on entry to main loop.  Handle wrapping around zero address.
44678         Correct main loop count.  Handle single left-over word from main
44679         loop inline rather than by using loop_small.  Remove extra word
44680         case in loop_small caused by wrong loop count.  Add little-endian
44681         support.
44682         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44683         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44684         cache hint.
44685         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44686         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44687         support.  Avoid rlwimi.
44688         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44690 2013-10-04  Alan Modra  <amodra@gmail.com>
44692         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44693         insrdi.  Formatting.
44694         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44695         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44696         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44697         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44698         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44699         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44701 2013-10-04  Alan Modra  <amodra@gmail.com>
44703         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44704         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44705         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44706         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44707         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44708         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44709         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44710         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44711         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44712         use of regs.  Use power7 mtocrf.  Tidy function tails.
44714 2013-10-04  Alan Modra  <amodra@gmail.com>
44716         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44717         Formatting.  Consistently use rXXX register defines or rN defines.
44718         Use early exit labels that avoid restoring unused non-volatile regs.
44719         Make cr field use more consistent with rWORDn compares.  Rename
44720         regs used as shift registers for unaligned loop, using rN defines
44721         for short lifetime/multiple use regs.
44722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44723         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44724         addi 1,1,64 to pop stack frame.  Simplify return value code.
44725         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44727 2013-10-04  Alan Modra  <amodra@gmail.com>
44729         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44730         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44731         rather than rlwimi.
44732         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44733         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44734         little-endian support.  Correct typos.
44735         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44736         rather than rlwimi.
44737         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44738         in loop and entry code to keep "and." results.
44739         (strchr): Add little-endian support.  Comment.  Move cntlzd
44740         earlier in tail.
44741         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44743 2013-10-04  Alan Modra  <amodra@gmail.com>
44745         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44746         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44747         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44748         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44750 2013-10-04  Alan Modra  <amodra@gmail.com>
44752         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44753         (rTMP): Define as r11.
44754         (strcmp): Add little-endian support.  Optimise tail.
44755         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44756         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44757         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44758         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44759         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44760         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44763 2013-10-04  Alan Modra  <amodra@gmail.com>
44765         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44766         little-endian support.  Remove unnecessary "are we done" tests.
44767         Handle "s" wrapping around zero and extremely large "size".
44768         Correct main loop count.  Handle single left-over word from main
44769         loop inline rather than by using small_loop.  Correct comments.
44770         Delete "zero" tail, use "end_max" instead.
44771         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44773 2013-10-04  Alan Modra  <amodra@gmail.com>
44775         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44776         support.  Don't branch over align.
44777         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44778         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44779         support.  Rearrange tmp reg use to suit.  Comment.
44780         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44782 2013-10-04  Alan Modra  <amodra@gmail.com>
44784         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44786 2013-10-04  Alan Modra  <amodra@gmail.com>
44788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44789         conditional form of branch and link when obtaining pc.
44790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44792 2013-10-04  Alan Modra  <amodra@gmail.com>
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44795         HIWORD/LOWORD.
44796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44799 2013-10-04  Alan Modra  <amodra@gmail.com>
44801         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44802         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44803         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44804         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44805         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44806         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44807         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44808         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44809         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44810         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44812 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44813             Alistair Popple <alistair@ozlabs.au.ibm.com>
44814             Alan Modra <amodra@gmail.com>
44816         [BZ #15723]
44817         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44818         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44819         _dl_hwcap access for little-endian.
44820         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44821         destroy vmx regs when saving unaligned.
44822         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44823         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44824         destroy vmx regs when saving unaligned.
44826 2013-10-04  Alan Modra  <amodra@gmail.com>
44828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44829         Don't use a union to pack hi/low value.
44831 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44833         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44834         for little-endian.
44835         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44836         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44837         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44838         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44839         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44841 2013-10-04  Alan Modra  <amodra@gmail.com>
44843         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44844         constants to usual value for .cst8 section, and remove redundant
44845         high address load.
44846         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44847         constant for 0x1p52.  Load little-endian words of double from
44848         correct stack offsets.
44850 2013-10-04  Alan Modra  <amodra@gmail.com>
44852         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44853         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44854         words of double from correct stack offsets.
44855         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44856         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44857         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44858         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44859         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44860         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44861         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44862         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44863         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44864         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44868         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44869         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44870         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44871         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44873 2013-10-04  Alan Modra  <amodra@gmail.com>
44875         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44876         64-bit int/double union.
44877         (_FPU_SETCW): Likewise.
44878         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44879         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44881 2013-10-04  Alan Modra  <amodra@gmail.com>
44883         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44884         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44886 2013-10-04  Alan Modra  <amodra@gmail.com>
44888         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44889         use vector int constants.
44890         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44892 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44894         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44895         array with long long.
44896         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44897         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44898         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44899         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44900         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44901         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44902         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44903         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44904         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44905         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44906         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44907         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44908         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44910 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44912         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44913         (__signbit): Likewise.  Correct for little-endian.
44914         (__signbitl): Call __signbit.
44915         (lrint): Correct for little-endian.
44916         (lrintf): Call lrint.
44918 2013-10-04  Alan Modra  <amodra@gmail.com>
44920         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44921         union 32-bit int array member with 64-bit int array.
44922         (t515, tm256): Double rather than long double.
44923         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44925 2013-10-04  Alan Modra  <amodra@gmail.com>
44927         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44928         Delete.
44929         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44931         version of math_ldbl.h.
44933 2013-10-04  Alan Modra  <amodra@gmail.com>
44935         [BZ #15734], [BZ #15735]
44936         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44937         all uses of ieee875 long double macros and unions.  Simplify test
44938         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44939         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44940         normalize after ldbl_extract_mantissa, and don't add hidden bit
44941         already handled.  Don't treat low word of ieee854 mantissa like
44942         low word of IBM long double and mask off bit when testing for
44943         zero.
44944         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44945         all uses of ieee875 long double macros and unions.  Simplify tests
44946         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44947         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44948         two1022, instead use their values.  Recognise that tests for large
44949         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44950         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44951         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44952         test for 0.0L and nan.  Correct negation.
44953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44954         ieee875 long double macros and unions.  Correct output for large
44955         magnitude x.  Correct absolute value calculation.
44956         (__erfcl): Likewise.
44957         * math/libm-test.inc: Add tests for errors discovered in IBM long
44958         double versions of fmodl, remainderl, erfl and erfcl.
44960 2013-10-04  Alan Modra  <amodra@gmail.com>
44962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44963         all uses of ieee854 long double macros and unions.  Simplify tests
44964         for long doubles that are fully specified by the high double.
44965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44966         Likewise.
44967         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44968         Remove dead code too.
44969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44970         (__ieee754_ynl): Likewise.
44971         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44973         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44974         Remove dead code too.
44975         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44976         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44977         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44978         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44979         Simplify.
44980         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44981         Simplify.
44982         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44983         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44985         Comment on variable precision.
44986         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44988         Likewise.
44989         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44990         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44991         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44992         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44993         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44995 2013-10-04  Alan Modra  <amodra@gmail.com>
44997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44999         all uses of ieee854 long double macros and unions.
45000         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45004         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45006         Likewise.
45007         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45008         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45009         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45010         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45012         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45013         Simplify sign and nan test too.
45014         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45017         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45018         Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45021         Likewise.
45022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45025         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45029 2013-10-04  Alan Modra  <amodra@gmail.com>
45031         * stdio-common/printf_size.c (__printf_size): Don't use
45032         union ieee854_long_double in fpnum union.
45033         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45034         signbit macro to retrieve sign from long double.
45035         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45036         retrieve sign from long double.
45037         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45038         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45039         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45040         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45041         * math/test-misc.c (main): Don't use union ieee854_long_double.
45043 2013-10-04  Alan Modra  <amodra@gmail.com>
45045         [BZ #15680]
45046         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45047         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45048         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45049         calculation.  Remove unnecessary test for denormal exponent.
45050         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45051         Correct handling of denormals.  Avoid undefined shift behaviour.
45052         Correct normalisation of low mantissa when low double is denormal.
45053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45054         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45055         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45056         Correct normalisation of low mantissa.  Test for overflow of high
45057         mantissa and normalise.
45058         (ldbl_nearbyint): Use more readable constant for two52.
45059         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45060         (__mpn_construct_long_double): Fix test for overflow of high
45061         mantissa and correct normalisation.  Avoid undefined shift.
45063 2013-10-04  Alan Modra  <amodra@gmail.com>
45065         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45066         (union ibm_extended_long_double): Define as an array of ieee754_double.
45067         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45068         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45069         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45070         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45074         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45079 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45081         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45082         page size instead of calling getpagesize.
45084         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45085         (LOCFILE_ALIGN_MASK): Likewise.
45086         (LOCFILE_ALIGN_UP): Likewise.
45087         (LOCFILE_ALIGNED_P): Likewise.
45088         * locale/programs/ld-collate.c (collate_output): Use the new
45089         macros instead of __alignof__ (int32_t).
45090         * locale/weight.h (findidx): Likewise.
45092 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45094         [BZ #431]
45095         * manual/string.texi: Fix strncat and wcsncat.
45097 2013-10-03  Brooks Moses  <bmoses@google.com>
45099         [BZ #15915]
45100         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45101         * Makerules: ...here, and adjust associated comments.
45103 2013-10-02  Will Newton  <will.newton@linaro.org>
45105         * malloc/Makefile: Add tst-pvalloc.
45106         * malloc/tst-pvalloc.c: New file.
45108 2013-10-02  Will Newton  <will.newton@linaro.org>
45110         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45111         improve test coverage.
45113 2013-10-02  Will Newton  <will.newton@linaro.org>
45115         * malloc/Makefile: Add tst-posix_memalign.
45116         * malloc/tst-posix_memalign.c: New file.
45118 2013-10-01  Eric Blake  <eblake@redhat.com>
45120         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45121         Use __THROWNL rather than __THROW on static functions.
45123 2013-09-30  Petr Machata  <pmachata@redhat.com>
45125         * elf/elf.h (R_AARCH64_ABS16): New macro.
45126         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45127         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45128         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45129         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45130         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45131         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45132         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45133         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45134         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45135         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45136         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45137         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45138         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45139         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45140         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45141         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45142         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45143         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45144         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45145         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45146         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45147         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45148         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45149         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45150         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45151         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45152         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45153         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45154         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45155         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45156         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45157         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45158         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45159         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45160         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45161         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45162         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45163         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45164         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45165         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45166         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45167         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45168         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45169         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45170         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45171         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45172         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45173         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45174         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45175         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45176         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45177         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45178         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45179         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45180         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45181         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45182         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45183         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45184         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45185         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45186         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45187         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45188         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45189         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45190         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45191         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45192         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45193         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45194         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45195         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45196         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45197         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45198         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45199         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45200         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45201         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45202         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45203         (R_AARCH64_TLSDESC_LDR): Likewise.
45204         (R_AARCH64_TLSDESC_ADD): Likewise.
45205         (R_AARCH64_TLSDESC_CALL): Likewise.
45207 2013-09-30  Andreas Schwab  <schwab@suse.de>
45209         [BZ #15048]
45210         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45211         the nss database lookup.
45212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45215 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45217         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45219 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45222         ${Bash-specific parameter/pattern/string} parameter expansion.
45223         * sysdeps/unix/make-syscalls.sh: Likewise.
45225 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45227         * sysdeps/sh/stackguard-macros.h: New file.
45229 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45233         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45234         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45235         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45236         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45238 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45240         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45241         Fix thread ID register.
45243 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45245         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45246         [POSIX || UNIX98]: Require rather than permitting all symbols from
45247         <time.h>.
45248         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45249         element of struct sched_param.
45250         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45251         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45252         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45253         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45254         constant.
45256 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45258         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45259         argument calculation.
45261 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45263         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45264         Expect macro.
45265         [POSIX] (pthread_attr_t): Do not require type.
45266         [POSIX] (pthread_cond_t): Likewise.
45267         [POSIX] (pthread_condattr_t): Likewise.
45268         [POSIX] (pthread_key_t): Likewise.
45269         [POSIX] (pthread_mutex_t): Likewise.
45270         [POSIX] (pthread_mutexattr_t): Likewise.
45271         [POSIX] (pthread_once_t): Likewise.
45272         [POSIX] (pthread_t): Likewise.
45273         [POSIX-based standards] (pthread_atfork): Expect function.
45275 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45276             Richard Sandiford  <richard@codesourcery.com>
45278         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45279         (swap_endianness_p): New extern variable.
45280         (set_big_endian): New inline function.
45281         (maybe_swap_uint32): Likewise.
45282         (maybe_swap_uint32_array): Likewise.
45283         (maybe_swap_uint32_obstack): Likewise.
45284         * locale/programs/locfile.c: Include <stdbool.h>.
45285         (swap_endianness_p): New variable.
45286         (add_locale_uint32): Call maybe_swap_uint32.
45287         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45288         (write_locale_data): Call maybe_swap_uint32_array.
45289         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45290         maybe_swap_uint32.
45291         (obstack_int32_grow_fast): Likewise.
45292         (output_weightwc): Call maybe_swap_uint32_obstack.
45293         (collate_output): Likewise.
45294         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45295         (OPT_LITTLE_ENDIAN): Likewise.
45296         (options): Add --little-endian and --big-endian options.
45297         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45298         * locale/programs/locarchive.c: Include "locfile.h".
45299         (GET): New macro.
45300         (SET): Likewise.
45301         (INC): Likewise.
45302         (create_archive): Use the new macros to access fields of
45303         structures directly mapped from or written to locale archives.
45304         (oldlocrecentcmp): Likewise.
45305         (enlarge_archive): Likewise.
45306         (insert_name): Likewise.
45307         (add_alias): Likewise.
45308         (add_locale): Likewise.
45309         (delete_locales_from_archive): Likewise.
45310         (show_archive_content): Likewise.
45311         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45312         locale data.
45314 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45316         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45317         http://www.gnu.org/doc/freemanuals.texi.
45318         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45320 2013-09-24  Will Newton  <will.newton@linaro.org>
45322         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45323         macro.
45325 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45327         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45328         unsigned char.
45330 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45332         * manual/threads.texi (POSIX Threads): Fix a typo.
45334 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45336         [BZ #14547]
45337         * string/tst-strcoll-overflow.c: New test case.
45338         * string/Makefile (xtests): Add tst-strcoll-overflow.
45339         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45340         cache if string sizes may cause integer overflow.
45342         [BZ #14547]
45343         * string/strcoll_l.c (coll_seq): New members rule, idx,
45344         save_idx and back_us.
45345         (get_next_seq_nocache): New function.
45346         (do_compare_nocache): New function.
45347         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45348         when malloc fails.
45350 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45352         [BZ #15754]
45353         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45354         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45355         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45357         [BZ #15754]
45358         * elf/Makefile (tests): Add tst-ptrguard1.
45359         (tests-static): Add tst-ptrguard1-static.
45360         (tst-ptrguard1-ARGS): Define.
45361         (tst-ptrguard1-static-ARGS): Define.
45362         * elf/tst-ptrguard1.c: New file.
45363         * elf/tst-ptrguard1-static.c: New file.
45364         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45365         * sysdeps/i386/stackguard-macros.h: Likewise.
45366         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45367         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45368         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45369         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45370         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45371         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45373 2013-09-23  Hector Marco  <hecmargi@upv.es>
45374             Ismael Ripoll  <iripoll@disca.upv.es>
45375             Carlos O'Donell  <carlos@redhat.com>
45377         [BZ #15754]
45378         * sysdeps/generic/stackguard-macros.h: Define
45379         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45380         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45381         Define __pointer_chk_guard_local.
45382         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45383         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45385 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45387         [BZ #15859]
45388         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45390 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45392         * include/string.h (__ffs): Declare as hidden.
45393         * string/ffs.c (__ffs): Define as hidden.
45394         * sysdeps/i386/ffs.c (__ffs): Likewise.
45395         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45396         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45397         * sysdeps/s390/ffs.c (__ffs): Likewise.
45398         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45400 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45402         * NEWS: Mention malloc probes.
45404         * malloc/arena.c (new_heap): New memory_heap_new probe.
45405         (grow_heap): New memory_heap_more probe.
45406         (shrink_heap): New memory_heap_less probe.
45407         (heap_trim): New memory_heap_free probe.
45408         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45409         (systrim): New memory_sbrk_less probe.
45410         * manual/probes.texi: Document them.
45412         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45413         * manual/probes.texi: Document it.
45415         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45416         (__libc_realloc): Add memory_realloc_retry probe.
45417         (__libc_memalign): Add memory_memalign_retry probe.
45418         (__libc_valloc): Add memory_valloc_retry probe.
45419         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45420         (__libc_calloc): Add memory_calloc_retry probe.
45421         * manual/probes.texi: Document them.
45423         * malloc/arena.c (get_free_list): Add probe
45424         memory_arena_reuse_free_list.
45425         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45426         and memory_arena_reuse.
45427         (arena_get2) [!PER_THREAD]: Likewise.
45428         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45429         memory_arena_reuse_realloc.
45430         * manual/probes.texi: Document them.
45432         * malloc/malloc.c (__libc_free): Add
45433         memory_mallopt_free_dyn_thresholds probe.
45434         (__libc_mallopt): Add multiple memory_mallopt probes.
45435         * manual/probes.texi: Document them.
45437         * malloc/malloc.c: Include stap-probe.h.
45438         (__libc_mallopt): Add memory_mallopt probe.
45439         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45440         * manual/probes.texi: New.
45441         * manual/Makefile (chapters): Add probes.
45442         * manual/threads.texi: Set next node.
45444 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45446         [BZ #15963, #13985]
45447         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45448         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45449         Add `Chinese' to `nan' entry name.
45451 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45453         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45454         (POLYNOMIAL): Likewise.
45455         (TAYLOR_SINCOS): Likewise.
45456         (TAYLOR_SLOW): Likewise.
45457         (__sin): Use TAYLOR_SINCOS.
45458         (__cos): Likewise.
45459         (slow): Use TAYLOR_SLOW.
45460         (sloww): Likewise.
45461         (bsloww): Likewise.
45462         (csloww): Likewise.
45464 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45466         * stdlib/strtod_l.c: Fix buffer overrun.
45468 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45470         * benchtests/Makefile (bench): Add sincos.
45471         * benchtests/bench-sincos.c: New file.
45473         * math/libm-test.inc (cos_test_data): New test inputs.
45474         (sin_test_data): Likewise.
45476         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45477         macro.
45478         (__sin): Use it.
45479         (__cos): Likewise.
45480         (slow1): Likewise.
45481         (slow2): Likewise.
45482         (sloww1): Likewise.
45483         (sloww2): Likewise.
45484         (bsloww1): Likewise.
45485         (bsloww2): Likewise.
45486         (cslow2): Likewise.
45487         (csloww1): Likewise.
45488         (csloww2): Likewise.
45490         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45491         function.
45492         (__sin): Use it.
45493         (__cos): Likewise.
45495         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45496         gotos.
45497         (__cos): Likewise.
45499 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45501         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45502         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45503         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45504         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45505         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45506         * elf/cache.c (print_entry): Handle the new cache flags.
45508 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45509             Aldy Hernandez  <aldyh@redhat.com>
45511         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45512         Change condition to [_SOFT_FLOAT].
45513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45525         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45528         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45529         declaration.
45531 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45533         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45534         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45535         (__longjmp): Use LOAD_GP to load saved GPRs.
45536         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45537         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45538         (__sigsetjmp): Use SAVE_GP to save GPRs.
45540         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45541         Do not append -msoft-float.
45542         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45544 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45546         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45548 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45550         [BZ #15966]
45551         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45552         (_FPU_GETCW): Use initial "__" on variable and field names but not
45553         on macro parameter name.
45554         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45555         parentheses around reference to macro parameter.
45557 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45559         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45560         prototype.
45561         (ctype_startup): Use uint32_t in cast and sizeof for
45562         ctype->charnames.
45564 2013-09-11  Jia Liu  <proljc@gmail.com>
45566         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45567         __daddr_t_defined.
45568         [__FreeBSD__]: Likewise.
45570 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45573         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45574         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45575         (strchr): Remove __strchr_sse42 ifunc selection.
45576         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45577         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45579 2013-09-11  Will Newton  <will.newton@linaro.org>
45581         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45582         parameter to RES. Remove hardcoded 1000 value.
45583         * benchtests/bench-skeleton.c (main): Pass RES parameter
45584         to TIMING_INIT and multiply result by 1000.
45586 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45590 2013-09-11  Andreas Schwab  <schwab@suse.de>
45592         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45593         if not defined.
45594         (O_TMPFILE) [__USE_GNU]: Define.
45595         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45596         Define.
45598 2013-09-11  Will Newton  <will.newton@linaro.org>
45600         [BZ #15857]
45601         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45602         does not overflow.
45604 2013-09-11  Will Newton  <will.newton@linaro.org>
45606         [BZ #15856]
45607         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45608         does not overflow.
45610 2013-09-11  Will Newton  <will.newton@linaro.org>
45612         [BZ #15855]
45613         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45614         does not overflow.
45616 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45618         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45619         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45620         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45624 2013-09-10  Allan McRae  <allan@archlinux.org>
45626         [BZ #15748]
45627         * manual/arith.texi (Parsing of Floats): Clarify
45628         cross-reference.
45630         [BZ #15849]
45631         * manual/install.texi (Running make install): Mention
45632         --enable-pt-chown.
45633         * INSTALL: Regenerated.
45635 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45637         * csu/init-first.c (_init): Remove the !SHARED condition around
45638         FPU control word initialization.
45639         * elf/dl-support.c (_dl_fpu_control): New variable.
45640         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45641         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45642         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45643         * math/test-fpucw-static.c: New file.
45644         * math/test-fpucw-ieee.c: New file.
45645         * math/test-fpucw-ieee-static.c: New file.
45646         * math/Makefile (tests): Add `test-fpucw-ieee' and
45647         `$(tests-static)'.
45648         (tests-static): New variable.
45649         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45650         dependency to...
45651         [($(build-shared),yes)]
45652         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45653         ... this.
45654         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45655         New dependency.
45657 2013-09-09  Allan McRae  <allan@archlinux.org>
45659         [BZ #15939]
45660         * manual/string.texi (Collation Functions): Fix typo in
45661         strcoll example.
45662         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45664         [BZ #15893]
45665         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45667         [BZ #15892]
45668         * libio/memstream.c (open_memstream): Fix memory leak.
45669         * libio/wmemstream.c (open_wmemstream): Likewise.
45671         [BZ #15895]
45672         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45674 2013-09-09  Will Newton  <will.newton@linaro.org>
45676         * malloc/Makefile: Add tst-realloc to tests.
45677         * malloc/tst-realloc.c: New file.
45679 2013-09-09  Allan McRae  <allan@archlinux.org>
45681         [BZ #15844]
45682         * COPYING: Update from GNU website to fix FSF address.
45683         * COPYING.LIB: Likewise.
45685 2013-09-06  David S. Miller  <davem@davemloft.net>
45687         * po/zh_TW.po: Update Chinese (traditional) translation from
45688         translation project.
45690 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45691             Joseph Myers  <joseph@codesourcery.com>
45693         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45694         "localeinfo.h".
45695         (obstack_chunk_alloc): New macro.
45696         (obstack_chunk_free): Likewise.
45697         (record_offset): New function.
45698         (init_locale_data): Likewise.
45699         (align_locale_data): Likewise.
45700         (add_locale_empty): Likewise.
45701         (add_locale_raw_data): Likewise.
45702         (add_locale_raw_obstack): Likewise.
45703         (add_locale_string): Likewise.
45704         (add_locale_wstring): Likewise.
45705         (add_locale_uint32): Likewise.
45706         (add_locale_uint32_array): Likewise.
45707         (add_locale_char): Likewise.
45708         (start_locale_structure): Likewise.
45709         (end_locale_structure): Likewise.
45710         (start_locale_prelude): Likewise.
45711         (end_locale_prelude): Likewise.
45712         (write_locale_data): Take locale_file structure rather than an
45713         iovec.
45714         * locale/programs/locfile.h: Include "obstack.h".
45715         (struct locale_file): Change to store locale file contents instead
45716         of header.
45717         (init_locale_data): New prototype.
45718         (align_locale_data): Likewise.
45719         (add_locale_empty): Likewise.
45720         (add_locale_raw_data): Likewise.
45721         (add_locale_raw_obstack): Likewise.
45722         (add_locale_string): Likewise.
45723         (add_locale_wstring): Likewise.
45724         (add_locale_uint32): Likewise.
45725         (add_locale_uint32_array): Likewise.
45726         (add_locale_char): Likewise.
45727         (start_locale_structure): Likewise.
45728         (end_locale_structure): Likewise.
45729         (start_locale_prelude): Likewise.
45730         (end_locale_prelude): Likewise.
45731         (write_locale_data): Update prototype.
45732         * locale/programs/3level.h (struct TABLE): Remove result field.
45733         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45734         Use new locale_file interface.
45735         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45736         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45737         * locale/programs/ld-address.c (address_output): Use new
45738         locale_file interface.
45739         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45740         NO_ADD_LOCALE.
45741         (collate_finish): Don't call collseq_table_finalize.
45742         (collate_output): Use new locale_file interface.
45743         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45744         in file.
45745         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45746         (TABLE): Move defines earlier in file.
45747         (ELEMENT): Likewise.
45748         (DEFAULT): Likewise.
45749         (wctrans_table_add): Move macro and inline function earlier in
45750         file.
45751         (struct wctype_table): Move type earlier in file.
45752         (add_locale_wctype_table): New static prototype.
45753         (struct locale_ctype_t): Use logical types instead of struct iovec
45754         pointers for members.
45755         (ctype_output): Use new locale_file interface.
45756         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45757         new locale_file interface.
45758         (allocate_arrays): Update for use of new locale_file interface.
45759         * locale/programs/ld-identification.c (identification_output): Use
45760         new locale_file interface.
45761         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45762         * locale/programs/ld-messages.c (messages_output): Likewise.
45763         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45764         * locale/programs/ld-name.c (name_output): Likewise.
45765         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45766         * locale/programs/ld-paper.c (paper_output): Likewise.
45767         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45768         * locale/programs/ld-time.c (time_output): Likewise.
45770 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45772         * benchtests/Makefile: Add memrchr benchmark.
45773         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45774         benchmark as memrchr.
45775         * benchtests/bench-memrchr-ifunc.c: New file.
45776         * benchtests/bench-memrchr.c: New file.
45778 2013-09-06   Will Newton  <will.newton@linaro.org>
45780         * benchtests/Makefile (string-bench): Add memcpy.
45782 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45783             Cong Wang  <amwang@redhat.com>
45785         [BZ #15850]
45786         * sysdeps/unix/sysv/linux/bits/in.h
45787         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45788         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45789         before __USE_KERNEL_IPV6_DEFS uses.
45790         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45791         IPPROTO_BEETPH.
45792         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45793         sockaddr_in6, or ipv6_mreq.
45795 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45797         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45798         memory access for final bytes in some large inputs.
45799         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45801 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * string/test-memrchr.c: New file.
45804         * string/test-memrchr-ifunc.c: New file.
45805         * string/Makefile: Add new memrchr testcase.
45807 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45809         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45810         fanotify_init returns EPERM.
45812 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45814         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45815         errors.
45816         (top level): Treat second token from macro or constant entries for
45817         allowed headers as allowed.
45818         * include/complex.h: Condition internal declarations on
45819         [!_ISOMAC].
45820         * include/fenv.h: Condition include of <stdbool.h> and internal
45821         declarations on [!_ISOMAC].
45823 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45825         [BZ #15923]
45826         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45828 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45830         * configure.in (--enable-versioning): Remove configure option.
45831         (libc_cv_asm_symver_directive): Remove configure test.
45832         (libc_cv_ld_version_script_option): Likewise.
45833         (VERSIONING): Remove variable and AC_SUBST.
45834         (DO_VERSIONING): Remove AC_DEFINE.
45835         * configure: Regenerated.
45836         * config.h.in (DO_VERSIONING): Remove macro.
45837         * Makerules [$(versioning) = yes]: Change conditionals to
45838         [$(build-shared) = yes].
45839         * config.make.in (versioning): Remove variable.
45840         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45841         [$(build-shared) = yes].
45842         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45843         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45844         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45845         [$(build-shared) = yes].
45846         * extra-lib.mk [$(versioning) = yes]: Likewise.
45847         * hurd/Makefile [$(versioning) = yes]: Likewise.
45848         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45849         [SHARED].
45850         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45851         [SHARED].
45852         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45853         [SHARED && !NO_HIDDEN].
45854         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45855         [SHARED].
45856         [SHARED && DO_VERSIONING]: Likewise..
45857         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45858         [$(build-shared) = yes].
45859         * manual/install.texi (--disable-versioning): Remove
45860         documentation.
45861         * INSTALL: Regenerated.
45862         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45863         to [SHARED].
45864         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45865         [$(build-shared) = yes].
45866         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45867         * sysdeps/i386/i686/multiarch/strstr-c.c
45868         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45869         [SHARED && !NO_HIDDEN].
45870         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45871         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45872         * sysdeps/powerpc/powerpc32/dl-machine.c
45873         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45874         * sysdeps/powerpc/powerpc32/sysdep.h
45875         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45876         to [SHARED && PIC && !NO_HIDDEN].
45877         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45878         conditional to [SHARED].
45880 2013-09-04   Will Newton  <will.newton@linaro.org>
45882         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45883         * benchtests/bench-string.h: Include bench-timing.h instead
45884         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45885         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45886         call to HP_TIMING_DIFF_INIT.
45887         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45888         instead of hp-timing.h macros.
45889         * benchtests/bench-memchr.c: Likewise.
45890         * benchtests/bench-memcmp.c: Likewise.
45891         * benchtests/bench-memcpy.c: Likewise.
45892         * benchtests/bench-memmem.c: Likewise.
45893         * benchtests/bench-memmove.c: Likewise.
45894         * benchtests/bench-memset.c: Likewise.
45895         * benchtests/bench-rawmemchr.c: Likewise.
45896         * benchtests/bench-strcasecmp.c: Likewise.
45897         * benchtests/bench-strcasestr.c: Likewise.
45898         * benchtests/bench-strcat.c: Likewise.
45899         * benchtests/bench-strchr.c: Likewise.
45900         * benchtests/bench-strcmp.c: Likewise.
45901         * benchtests/bench-strcpy.c: Likewise.
45902         * benchtests/bench-strcpy_chk.c: Likewise.
45903         * benchtests/bench-strlen.c: Likewise.
45904         * benchtests/bench-strncasecmp.c: Likewise.
45905         * benchtests/bench-strncat.c: Likewise.
45906         * benchtests/bench-strncmp.c: Likewise.
45907         * benchtests/bench-strncpy.c: Likewise.
45908         * benchtests/bench-strnlen.c: Likewise.
45909         * benchtests/bench-strpbrk.c: Likewise.
45910         * benchtests/bench-strrchr.c: Likewise.
45911         * benchtests/bench-strspn.c: Likewise.
45912         * benchtests/bench-strstr.c: Likewise.
45914 2013-09-04  Will Newton  <will.newton@linaro.org>
45916         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45918 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45920         [BZ #15427]
45921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45922         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45923         * math/libm-test.inc (lgamma_test_data): Add more tests.
45924         * sysdeps/i386/fpu/libm-test-ulps: Update.
45925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45927 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45929         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45931         Add ifunc.
45932         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45933         Add strcmp-sse2-unaligned
45934         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45936 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45938         * Versions.def (libc): Add GLIBC_2.19.
45940 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45942         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45943         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45945 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45947         [BZ #14155]
45948         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45949         intermediate calculations in recurrence.
45950         (__ieee754_ynf): Likewise.
45951         * math/libm-test.inc (jn_test_data): Do not allow spurious
45952         underflow exception.  Add more tests.
45953         (yn_test_data): Add more tests.
45954         * sysdeps/i386/fpu/libm-test-ulps: Update.
45955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45957 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45959         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45961 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45963         * csu/init-first.c: Fix then/than typos.
45964         * locale/programs/ld-collate.c: Likewise.
45965         * locale/programs/linereader.h: Likewise.
45966         * manual/charset.texi: Likewise.
45967         * manual/filesys.texi: Likewise.
45968         * manual/stdio.texi: Likewise.
45969         * manual/string.texi: Likewise.
45970         * stdlib/fmtmsg.c: Likewise.
45971         * sysdeps/i386/stpncpy.S: Likewise.
45972         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45973         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45975         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45977 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45979         * elf/dl-open.c: Fix typos.
45980         * iconvdata/gbbig5.c: Likewise.
45981         * iconvdata/iso-2022-jp.c: Likewise.
45982         * iconv/gconv_int.h: Likewise.
45983         * iconv/loop.c: Likewise.
45984         * nis/rpcsvc/nis.h: Likewise.
45985         * resolv/ns_name.c: Likewise.
45986         * stdio-common/vfscanf.c: Likewise.
45987         * streams/stropts.h: Likewise.
45988         * sunrpc/rpc_thread.c: Likewise.
45989         * sysdeps/i386/strpbrk.S: Likewise.
45990         * sysdeps/ieee754/k_standard.c: Likewise.
45991         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45992         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45993         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45994         * sysdeps/mach/hurd/profil.c: Likewise.
45995         * sysdeps/s390/dl-procinfo.h: Likewise.
45996         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45997         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45998         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45999         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46000         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46002 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46004         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46007 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46009         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46010         aix specific files.
46011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46012         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46013         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46014         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46015         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46016         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46017         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46018         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46020 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46021             Roland McGrath  <roland@hack.frob.com>
46023         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46024         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46026 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46028         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46029         __executable_start symbol instead of _start.
46031 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46033         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46034         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46035         Move macros to...
46036         * sysdeps/gnu/ldsodefs.h: ... this new file.
46038         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46039         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46040         instead of ELFOSABI_LINUX.
46042         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46043         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46044         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46045         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46046         Likewise.
46047         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46048         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46049         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46050         Likewise.
46051         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46052         (ibm_extended_long_double): Add ieee_nan member.
46053         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46054         (do_test): New function.
46056         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46057         TEST_TRUNC.
46058         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46059         functions, renamed from truncdfsf_test, trunctfsf_test,
46060         trunctfdf_test.
46061         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46062         functions.
46063         (do_test): Run all these.
46065 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46067         * argp/argp-help.c: Fix typos.
46068         * argp/argp-parse.c: Likewise.
46069         * debug/backtracesyms.c: Likewise.
46070         * elf/elf.h: Likewise.
46071         * malloc/malloc.c: Likewise.
46072         * nis/nis_print.c: Likewise.
46073         * resolv/res_comp.c: Likewise.
46074         * stdlib/stdlib.h: Likewise.
46075         * sunrpc/clnt_tcp.c: Likewise.
46076         * sunrpc/clnt_udp.c: Likewise.
46077         * sunrpc/clnt_unix.c: Likewise.
46078         * sysdeps/unix/bsd/ptsname.c: Likewise.
46079         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46080         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46082         Likewise.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46084         Likewise.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46086         Likewise.
46087         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46089 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46091         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46094 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46096         [BZ #15897]
46097         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46098         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46099         ($(objpfx)bug-dl-leaf): New rule.
46100         ($(objpfx)bug-dl-leaf.so): Likewise.
46101         ($(objpfx)bug-dl-leaf.out): Likewise.
46102         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46103         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46104         * dlfcn/bug-dl-leaf.c: New test.
46105         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46106         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46107         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46108         (dlclose): Likewise.
46109         (dlmopen): Likewise.
46111 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46113         * include/netdb.h [!_ISOMAC]:
46114         Don't include <tls.h>.
46115         (h_errno, __libc_h_errno): Move declaration and macros out of
46116         [_LIBC_REENTRANT].
46118         * include/resolv.h [_RESOLV_H_]:
46119         Don't include <tls.h>.
46120         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46121         * resolv/res_libc.c: Don't include <tls.h>.
46122         (_res): Use __attribute__ ((nocommon)) in place of
46123         __attribute__ ((section (".bss"))).
46125         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46126         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46128         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46130         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46131         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46133         * resolv/res_mkquery.c: Include <sys/time.h>.
46135         * inet/ifreq.c: Moved to ...
46136         * sysdeps/unix/ifreq.c: ... here.
46137         * inet/ifreq.c: New file, true stub version.
46139         * socket/sa_len.c: New file.
46140         * socket/Makefile (aux): Add it.
46141         * sysdeps/unix/sysv/linux/Makefile
46142         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46143         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46144         and #include <socket/sa_len.c>.
46145         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46146         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46148         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46149         * bits/socket.h: ... here.
46151         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46152         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46153         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46155 2013-08-27  Andreas Schwab  <schwab@suse.de>
46157         [BZ #15736]
46158         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46159         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46160         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46161         * string/test-strcasecmp.c (test_main): Run tests in several
46162         locales.
46163         * string/test-strncasecmp.c (test_main): Likewise.
46165         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46166         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46167         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46169         (__strncasecmp_ssse3) [PIC]: Likewise.
46171 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46173         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46175         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46176         instead of explicitly declaring xdecrypt.
46177         * nis/nss_nis/nis-publickey.c: Likewise.
46179 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46181         [BZ #15890]
46182         * nscd/aicache.c: Include res_hconf.h.
46183         (addhstaiX): Initialize res_hconf.
46185 2013-08-26  Andreas Schwab  <schwab@suse.de>
46187         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46188         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46190 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46192         * nscd/aicache.c (addhstaiX): Fix indentation.
46194 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46196         * configure.ac: Quote $build_pt_chown test.
46197         * configure: Regenerated.
46199 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46201         [BZ #15532]
46202         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46203         * math/s_cexpf.c (__cexpf): Likewise.
46204         * math/s_cexpl.c (__cexpl): Likewise.
46205         * math/libm-test.inc (cexp_test_data): Correct expected return
46206         value for NaN + i0.  Add another test.
46208 2013-08-22  David S. Miller  <davem@davemloft.net>
46210         * po/ca.po: Update Catalan translation from translation project.
46211         * po/uk.po: Add Ukrainian translations from translation project.
46213 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46215         [BZ #15797]
46216         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46217         is infinite, not alongside NaN test.
46218         * math/s_fdimf.c (__fdimf): Likewise.
46219         * math/s_fdiml.c (__fdiml): Likewise.
46220         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46221         errno is unchanged.
46223 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46225         * argp/argp-help.c: Fix typos.
46226         * crypt/speeds.c: Likewise.
46227         * csu/check_fds.c: Likewise.
46228         * elf/dl-load.c: Likewise.
46229         * elf/dl-open.c: Likewise.
46230         * elf/reldep3.c: Likewise.
46231         * elf/reldep.c: Likewise.
46232         * elf/sprof.c: Likewise.
46233         * iconv/iconv_charmap.c: Likewise.
46234         * iconv/skeleton.c: Likewise.
46235         * iconv/strtab.c: Likewise.
46236         * io/lockf64.c: Likewise.
46237         * libio/libioP.h: Likewise.
46238         * resolv/gai_notify.c: Likewise.
46239         * resolv/ns_name.c: Likewise.
46240         * resolv/ns_samedomain.c: Likewise.
46241         * resolv/res_send.c: Likewise.
46242         * stdlib/random.c: Likewise.
46243         * sunrpc/rpc/xdr.h: Likewise.
46244         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46245         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46246         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46247         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46248         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46249         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46251         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46252         * sysdeps/mach/hurd/check_fds.c: Likewise.
46253         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46254         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46255         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46256         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46257         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46258         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46259         * sysdeps/pthread/aio_notify.c: Likewise.
46260         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46261         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46262         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46263         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46264         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46266 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46268         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46269         version if bit_Slow_SSE4_2 is set.
46270         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46271         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46273 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46275         [BZ #15867]
46276         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46277         trampoline stack frame information.
46278         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46279         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46280         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46281         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46282         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46283         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46284         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46285         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46286         sa_flags value.
46287         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46288         interrupting a syscall and set with option SA_SIGINFO.
46290 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46292         [BZ #15531]
46293         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46294         argument is infinite.
46295         * math/s_cprojf.c (__cprojf): Likewise.
46296         * math/s_cprojl.c (__cprojl): Likewise.
46297         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46298         * math/libm-test.inc (cproj_test_data): Add more tests.
46300         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46302         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46303         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46304         size.  Use __ffs to determine corresponding shift.
46306 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46307             Roland McGrath  <roland@hack.frob.com>
46309         * Makefile (INSTALL): Remove trailing blank lines from output of
46310         makeinfo.
46312 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46314         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46315         Align 32 bit compat elf_greg to 8 bytes.
46317 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46319         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46321 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46323         * string/strcoll_l.c (coll_seq): New structure.
46324         (get_next_seq_cached): New function.
46325         (get_next_seq): New function.
46326         (do_compare): New function.
46327         (STRCOLL): Use GNU style definition.  Simplify implementation
46328         by using get_next_seq, get_next_seq_cached and do_compare.
46330 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46332         [BZ #14699]
46333         CVE-2013-4237
46334         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46335         member.
46336         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46337         member.
46338         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46339         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46340         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46341         conditional.
46342         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46343         GETDENTS_64BIT_ALIGNED.
46344         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46345         * manual/filesys.texi (Reading/Closing Directory): Document
46346         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46347         strongly.
46348         * manual/conf.texi (Limits for Files): Add portability note to
46349         NAME_MAX, PATH_MAX.
46350         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46352 2013-08-13  Andreas Schwab  <schwab@suse.de>
46354         [BZ #15749]
46355         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46356         of fabs.
46357         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46358         LDBL_MAX_EXP >= 16384]: Add tests for it.
46360 2013-08-12  David S. Miller  <davem@davemloft.net>
46362         * version.h (RELEASE): Set to "development".
46363         (VERSION): Set to "2.18.90".
46364         * NEWS: Add 2.19 section.
46366 2013-08-03  David S. Miller  <davem@davemloft.net>
46368         * po/ko.po: Update Korean translation from translation project.
46370 2013-08-01  David S. Miller  <davem@davemloft.net>
46372         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46373         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46374         Bilka.
46376 2013-07-30  David S. Miller  <davem@davemloft.net>
46378         * po/fr.po: Update French translation from translation project.
46380 2013-07-28  David S. Miller  <davem@davemloft.net>
46382         * po/cs.po: Update Czech translation from translation project.
46384         * po/sv.po: Update Swedish translation from translation project.
46386 2013-07-27  David S. Miller  <davem@davemloft.net>
46388         * po/eo.po: Update Esperanto translation from translation project.
46390         * po/vi.po: Update Vietnamese translation from translation project.
46392         * po/de.po: Update German translation from translation project.
46394 2013-07-26  David S. Miller  <davem@davemloft.net>
46396         * po/bg.po: Update Bulgarian translation from translation project.
46398         * po/nl.po: Update Dutch translation from translation project.
46399         * po/pl.po: Update Polish translation from translation project.
46400         * po/ru.po: Update Russian translation from translation project.
46402 2013-07-24  David S. Miller  <davem@davemloft.net>
46404         * po/libc.pot: Update.
46406 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46408         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46409         variable page size.
46410         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46411         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46412         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46414 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46416         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46418 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46419             Andreas Schwab  <schwab@suse.de>
46420             Roland McGrath  <roland@hack.frob.com>
46421             Joseph Myers  <joseph@codesourcery.com>
46422             Carlos O'Donell  <carlos@redhat.com>
46424         [BZ #15755]
46425         * config.h.in: Define HAVE_PT_CHOWN.
46426         * config.make.in (build-pt-chown): New variable.
46427         * configure.in (--enable-pt_chown): New configure option.
46428         * configure: Regenerate.
46429         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46430         build-pt-chown is enabled.
46431         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46432         pt_chown to fix pty ownership.
46433         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46434         CLOSE_ALL_FDS.
46435         * manual/install.texi (Configuring and compiling): Mention
46436         --enable-pt_chown. Add @findex for grantpt.
46437         * INSTALL: Regenerate.
46439 2013-07-20  David S. Miller  <davem@davemloft.net>
46441         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46442         difference between 32-bit and 64-bit.
46444 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46446         [BZ #15711]
46447         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46448         Avoid system header dependency with -ffreestanding.
46449         ($(objpfx)bits/syscall%d): Likewise.
46451 2013-07-13  David S. Miller  <davem@davemloft.net>
46453         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46454         underflows from atanl/atan2l due to bug 15319.
46455         (casinh_test_data): Likewise.
46457 2013-07-07  David S. Miller  <davem@davemloft.net>
46459         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46461 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46463         * sysdeps/i386/fpu/libm-test-ulps: Update.
46464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46466 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46468         * configure.in (--enable-lock-elision): Fix message text.
46469         * INSTALL: Regenerate.
46470         * configure: Regenerate.
46472 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46476 2013-07-03  Andreas Jaeger  <aj@suse.de>
46478         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46479         define.
46480         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46481         (ptrace_peeksiginfo_args): Add.
46482         (__ptrace_peeksiginfo_flags): Add.
46483         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46484         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46487 2013-07-03  Allan McRae  <allan@archlinux.org>
46489         * sysdeps/i386/fpu/libm-test-ulps: Update.
46491 2013-07-02  David S. Miller  <davem@davemloft.net>
46493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46495 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46499 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46501         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46504 2013-07-02  Andi Kleen <ak@linux.intel.com>
46506         * config.h.in (ENABLE_LOCK_ELISION): Add.
46507         * configure.in (--enable-lock-elision): Add option.
46508         * manual/install.texi: Document --enable lock elision.
46509         * configure: Regenerate
46510         * INSTALL: Regenerate.
46512 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46514         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46515         SSE4.2 strcasecmp for libc.a.
46516         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46518 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46520         [BZ #13304]
46521         * soft-fp/op-common.h (_FP_FMA): New macro.
46522         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46523         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46524         (_FP_MUL_MEAT_1_imm): ... here.
46525         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46526         (_FP_MUL_MEAT_1_wide): ... here.
46527         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46528         (_FP_MUL_MEAT_1_hard): ... here.
46529         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46530         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46531         (_FP_MUL_MEAT_2_wide): ... here.
46532         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46533         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46534         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46535         (_FP_MUL_MEAT_2_gmp): ... here.
46536         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46537         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46538         (_FP_MUL_MEAT_4_wide): ... here.
46539         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46540         (_FP_MUL_MEAT_4_gmp): ... here.
46541         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46542         (_FP_WFRACBITS_DW_S): Likewise.
46543         (_FP_WFRACXBITS_DW_S): Likewise.
46544         (_FP_HIGHBIT_DW_S): Likewise.
46545         (FP_FMA_S): Likewise.
46546         (_FP_FRAC_HIGH_DW_S): Likewise.
46547         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46548         (_FP_WFRACBITS_DW_D): Likewise.
46549         (_FP_WFRACXBITS_DW_D): Likewise.
46550         (_FP_HIGHBIT_DW_D): Likewise.
46551         (FP_FMA_D): Likewise.
46552         (_FP_FRAC_HIGH_DW_D): Likewise.
46553         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46554         (_FP_WFRACBITS_DW_E): Likewise.
46555         (_FP_WFRACXBITS_DW_E): Likewise.
46556         (_FP_HIGHBIT_DW_E): Likewise.
46557         (FP_FMA_E): Likewise.
46558         (_FP_FRAC_HIGH_DW_E): Likewise.
46559         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46560         (_FP_WFRACBITS_DW_Q): Likewise.
46561         (_FP_WFRACXBITS_DW_Q): Likewise.
46562         (_FP_HIGHBIT_DW_Q): Likewise.
46563         (FP_FMA_Q): Likewise.
46564         (_FP_FRAC_HIGH_DW_Q): Likewise.
46565         * soft-fp/fmasf4.c: New file.
46566         * soft-fp/fmadf4.c: Likewise.
46567         * soft-fp/fmatf4.c: Likewise.
46569 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46572         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46573         Silvermont.
46574         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46575         macro.
46576         (index_Slow_SSE4_2): Likewise.
46577         (index_Prefer_PMINUB_for_stringop): Likewise.
46578         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46579         bit_Slow_SSE4_2 is set.
46580         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46581         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46583 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46585         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46586         rtld_global._dl_hwcap2.
46587         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46588         POWER8.
46589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46590         POWER8 feature descriptions defined in _dl_hwcap2.
46591         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46592         string handling for POWER8 feature bits.
46593         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46594         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46595         _dl_powerpc_cap_flags.
46596         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46597         * sysdeps/powerpc/rtld-global-offsets.sym
46598         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46599         _dl_hwcap2 in the rtld_global_ro structure.
46601 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46603         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46604         hardware capabilities in support of AT_HWCAP2.
46605         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46606         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46607         GLRO(dl_hwcap2).
46608         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46609         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46610         explicitly the unknown a_type display mechanism is used.
46611         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46612         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46613         struct member.
46614         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46615         to macro prototype for AT_HWCAP2 support.
46616         * sysdeps/i386/dl-procinfo.h: Likewise.
46617         * sysdeps/s390/dl-procinfo.h: Likewise.
46618         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46619         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46620         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46621         return -1 for unknown a_type display fallback.
46622         * sysdeps/sparc/dl-procinfo.h: Likewise.
46623         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46624         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46626 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46628         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46629         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46631 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46633         [BZ #12492]
46634         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46635         mprotect making __stack_prot writable.
46637 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46638             Joseph Myers  <joseph@codesourcery.com>
46640         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46641         as being properly aligned.
46643 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46645         * dlfcn/modstatic5.c: New file.
46646         * dlfcn/tststatic5.c: New file.
46647         * dlfcn/Makefile (tests): Add tststatic5.
46648         (tests-static): Likewise.
46649         (modules-names): Add modstatic5.
46650         (tststatic5-ENV): New variable.
46651         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46653         [BZ #15022]
46654         * elf/dl-support.c (_dl_main_map): New variable.
46655         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46656         (_dl_nns, _dl_load_adds): Set to 1.
46657         (_dl_initial_searchlist): Refer to _dl_main_map.
46658         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46659         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46660         call to _dl_get_origin.
46661         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46662         around call_map.
46663         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46664         * dlfcn/modstatic3.c: New file.
46665         * dlfcn/tststatic3.c: New file.
46666         * dlfcn/tststatic4.c: New file.
46667         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46668         (tests-static): Likewise.
46669         (modules-names): Add modstatic3.
46670         (tststatic3-ENV, tststatic4-ENV): New variables.
46671         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46672         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46674 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46676         * configure.in (CC): Require GCC version 4.4 or later.
46677         * configure: Regenerated.
46678         * manual/install.texi (Tools for Compilation): Update GCC version
46679         requirement.
46680         * INSTALL: Regenerated.
46682 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46684         [BZ #15674]
46685         * string/test-memcmp.c (check2): New.
46686         (main): Call check2.
46688         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46690 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46692         [BZ #15022]
46693         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46694         over to...
46695         (dl_open_worker) [!SHARED]: ... here.
46697 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46699         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46701 2013-06-25  Richard Henderson  <rth@redhat.com>
46703         * locale/programs/locarchive.c: Include <libc-internal.h>
46705 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46707         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46708         trailing whitespace removed.
46710 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46712         [BZ #10283]
46713         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46714         * locale/programs/locarchive.c: Include libc-mmap.h.
46715         (prepare_address_space): Take two new outputs (the mmap base and len).
46716         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46717         values.
46718         (create_archive): Declare new mmap base and len values for
46719         prepare_address_space, and store the result in ah.
46720         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46721         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46722         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46723         Declare new mmap base and len values for
46724         prepare_address_space, and store the result in new_ah.
46725         (open_archive): Declare new mmap base and len values for
46726         prepare_address_space, and store the result in ah.
46727         (close_archive): If ah->mmap_base is not NULL, use that and
46728         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46729         * sysdeps/generic/libc-mmap.h: New file.
46731 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46733         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46734         (ALIGN_UP): Likewise.
46735         (PTR_ALIGN_DOWN): Likewise.
46736         (PTR_ALIGN_UP): Likewise.
46738 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46740         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46741         entry mapped to PPC_PLATFORM_POWER8.
46742         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46743         POWER8.
46744         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46745         (_dl_string_platform): Add case for exporting platform position for
46746         POWER8.
46747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46748         search path to sysdeps/powerpc/powerpc32/power8 directory.
46749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46750         search path to sysdeps/powerpc/powerpc64/power8 directory.
46751         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46752         power7 directories.
46753         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46754         power7 directories.
46756 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46758         * INSTALL: Regenerate.
46760         * nscd/connections.c (nscd_init): Fix comment.
46762 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46764         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46766         [BZ #15667]
46767         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46768         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46770 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46772         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46773         DL_DST_REQ_STATIC.
46774         (DL_DST_REQ_STATIC): Remove macro.
46776 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46778         [BZ #7006]
46779         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46780         with a shift of 0 bits.
46782 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46784         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46785         $(tststatic-ENV).
46787 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46789         [BZ #15655]
46790         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46792 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46794         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46795         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46796         accepts -fno-tree-loop-distribute-patterns.
46797         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46798         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46799         recursive call.
46800         * string/memset.c (memset): Likewise.
46801         * string/test-memmove.c (simple_memmove): Disable loop transformation
46802         to library calls.
46803         * string/test-memset.c (simple_memset): Likewise.
46804         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46805         * benchtests/bench-memset.c (simple_memset): Likewise.
46806         * configure: Regenerated.
46808 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46810         * math/test-misc.c (main): Ignore fesetround failure when failures
46811         of subsequent rounding tests would be ignored.
46813         [BZ #15654]
46814         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46815         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46816         * math/fegetenv.c (__fegetenv): Return 0.
46817         * math/fegetexcept.c (fegetexcept): Return 0.
46818         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46819         FE_TONEAREST.
46820         * math/feholdexcpt.c (feholdexcept): Return 0.
46821         * math/fesetenv.c (__fesetenv): Return 0.
46822         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46823         argument FE_TONEAREST.
46824         * math/feupdateenv.c (__feupdateenv): Return 0.
46825         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46827 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46829         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46830         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46831         ($(objpfx)rtld-%.os rules): Use them.
46833 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46835         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46836         fields.
46838 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46840         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46841         length of target pattern, then descending length of dependency pattern.
46842         * configure.in (AWK): Require gawk 3.1.2 or newer.
46843         * manual/install.texi (Tools for Compilation): Say that we do.
46844         * configure: Regenerated.
46846         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46847         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46848         * scripts/sysd-rules.awk: ... this new script.
46849         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46850         than a glob-style pattern.
46852 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46854         * math/test-misc.c (main): Do not treat incorrectly rounded
46855         conversions as failure unless ROUNDING_TESTS passes.
46857 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46859         [BZ #15631]
46860         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46861         restore exception state around main square root computation, then
46862         check for inexactness explicitly.
46864         * math/libm-test.inc (fma_test_data): Add another test.
46866 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46868         * manual/threads.texi (Non-POSIX Extensions): New document
46869         node.  Document pthread_getattr_default_np and
46870         pthread_setattr_default_np.
46872         * Versions.def (libpthread): Add GLIBC_2.18.
46873         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46875         Likewise.
46876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46877         Likewise.
46878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46879         Likewise.
46880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46881         Likewise.
46882         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46883         Likewise.
46884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46885         Likewise.
46886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46887         Likewise.
46888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46889         Likewise.
46890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46891         Likewise.
46893 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46896         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46898 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46899             H.J. Lu  <hjl.tools@gmail.com>
46901         [BZ #15627]
46902         * sysdeps/x86_64/rtld-memset.c: Remove file.
46903         * sysdeps/x86_64/rtld-memset.S: New file.
46905 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46907         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46908         (test_in_one_mode): Take arguments for whether the rounding mode
46909         is supported for each floating-point type.
46910         (do_test): Pass new arguments to test_in_one_mode using
46911         ROUNDING_TESTS.
46913 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46915         * posix/tst-waitid.c (do_test): Distinguish different instances of
46916         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46917         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46918         before entering the kernel for waitpid.
46920 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46922         * NEWS: Fix note on clock function precision.  Text by Roland
46923         McGrath.
46925 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46927         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46928         it into place only when and if the sanity check passes.
46930 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46932         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46933         output for whether conversion result is exact.  Take argument
46934         indicating whether type is IBM long double.
46935         (round_for_all): Change need_exact field to ibm_ld.
46936         * stdlib/tst-strtod-round.c (struct exactness): New type.
46937         (struct test): Change bool ld_ok field to struct exactness exact.
46938         (TEST): Update all definitions for change to field.
46939         (tests): Regenerate array contents.
46940         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46941         field value.  Check for IBM long double here.
46942         (do_test): Update calls to test_in_one_mode.
46944 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46946         [BZ #12515]
46947         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46948         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46950 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46952         [BZ #15605]
46953         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46954         generated by the compiler on loop optimizations.
46955         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46956         general definitions.
46958 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46960         * math/bug-nextafter.c: Include <math-tests.h>.
46961         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46962         the relevant type.
46963         * math/bug-nexttoward.c: Include <math-tests.h>.
46964         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46965         the relevant type.
46966         * math/test-misc.c: Include <math-tests.h>.
46967         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46968         the relevant type.
46970 2013-06-12  Andreas Jaeger  <aj@suse.de>
46972         * po/ia.po: Update Interlingua translation from translation
46973         project.
46975 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46977         * include/fenv.h: Include stdbool.h.
46978         (struct rm_ctx): New structure.
46979         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46980         Define macro.
46981         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46982         (SET_RESTORE_ROUNDF): Likewise.
46983         (SET_RESTORE_ROUNDL): Likewise.
46984         (SET_RESTORE_ROUND_NOEX): Likewise.
46985         (SET_RESTORE_ROUND_NOEXF): Likewise.
46986         (SET_RESTORE_ROUND_NOEXL): Likewise.
46987         (SET_RESTORE_ROUND_53BIT): Likewise.
46988         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46989         (libc_feresetround_noexf_ctx): Likewise.
46990         (libc_feresetround_noexl_ctx): Likewise.
46991         (libc_feholdsetround_53bit_ctx): Likewise.
46992         (libc_feresetround_53bit_ctx): Likewise.
46993         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46994         (libc_feholdexcept_setround_sse_ctx): New function.
46995         (libc_fesetenv_sse_ctx): Likewise.
46996         (libc_feupdateenv_sse_ctx): Likewise.
46997         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46998         (libc_feholdexcept_setround_387_ctx): Likewise.
46999         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47000         (libc_feholdsetround_387_prec_ctx): Likewise.
47001         (libc_feholdsetround_387_ctx): Likewise.
47002         (libc_feholdsetround_387_53bit_ctx): Likewise.
47003         (libc_feholdsetround_sse_ctx): Likewise.
47004         (libc_feresetround_sse_ctx): Likewise.
47005         (libc_feresetround_387_ctx): Likewise.
47006         (libc_feupdateenv_387_ctx): Likewise.
47007         (libc_feholdexcept_setroundf_ctx): Define macro.
47008         (libc_fesetenvf_ctx): Likewise.
47009         (libc_feupdateenvf_ctx): Likewise.
47010         (libc_feholdsetroundf_ctx): Likewise.
47011         (libc_feresetroundf_ctx): Likewise.
47012         (libc_feholdexcept_setround_ctx): Likewise.
47013         (libc_fesetenv_ctx): Likewise.
47014         (libc_feupdateenv_ctx): Likewise.
47015         (libc_feholdsetround_ctx): Likewise.
47016         (libc_feresetround_ctx): Likewise.
47017         (libc_feholdexcept_setroundl_ctx): Likewise.
47018         (libc_feupdateenvl_ctx): Likewise.
47019         (libc_feholdsetroundl_ctx): Likewise.
47020         (libc_feresetroundl_ctx): Likewise.
47021         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47022         (libc_feresetround_53bit_ctx): Likewise.
47024 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47026         * locale/iso-639.def: Convert to UTF-8.
47028 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47030         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47031         (EXCEPTION_TESTS_double): Likewise.
47032         (EXCEPTION_TESTS_long_double): Likewise.
47033         (EXCEPTION_TESTS): Likewise.
47034         * math/libm-test.inc (test_exceptions): Only test exceptions if
47035         EXCEPTION_TESTS (FLOAT).
47037 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47039         * benchtests/Makefile (string-bench): Add strcpy_chk and
47040         stpcpy_chk.
47041         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47042         * benchtests/bench-stpcpy_chk.c: New file.
47043         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47044         * benchtests/bench-strcpy_chk.c: New file.
47045         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47046         code.
47047         (do_test): Likewise.
47049 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47051         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47052         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47053         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47054         with tabs where appropriate.
47055         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47056         dl-procinfo.h.
47057         [PPC_PLATFORM_PPC440]: Likewise.
47058         [PPC_PLATFORM_PPC464]: Likewise.
47059         [PPC_PLATFORM_PPC476]: Likewise.
47060         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47061         ppc464, and ppc476 platform strings merging from ports/
47062         dl-procinfo.h.
47064 2013-06-11  Andreas Schwab  <schwab@suse.de>
47066         [BZ #14991]
47067         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47068         (from_ucs4_idx): Regenerate.
47069         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47070         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47071         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47072         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47073         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47074         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47075         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47076         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47077         from FROM_LOOP and TO_LOOP specific macros.
47078         (BODY): Handle combining characters.
47079         * iconvdata/BIG5HKSCS.irreversible: Update.
47080         * iconvdata/BIG5HKSCS.precomposed: New file.
47081         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47082         characters.
47083         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47085 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47087         * include/sys/time.h: Fix indentation and add copyright header.
47089         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47090         (do_test): Likewise.
47091         * string/test-memchr.c (do_one_test): Likewise.
47092         (do_test): Likewise.
47093         * string/test-memcmp.c (do_one_test): Likewise.
47094         (do_test): Likewise.
47095         * string/test-memcpy.c (do_one_test): Likewise.
47096         (do_test): Likewise.
47097         * string/test-memmem.c (do_one_test): Likewise.
47098         (do_test): Likewise.
47099         (do_random_tests): Likewise.
47100         * string/test-memmove.c (do_one_test): Likewise.
47101         (do_test): Likewise.
47102         * string/test-memset.c (do_one_test): Likewise.
47103         (do_test): Likewise.
47104         * string/test-rawmemchr.c (do_one_test): Likewise.
47105         (do_test): Likewise.
47106         * string/test-strcasecmp.c (do_one_test): Likewise.
47107         (do_test): Likewise.
47108         * string/test-strcasestr.c (do_one_test): Likewise.
47109         (do_test): Likewise.
47110         * string/test-strcat.c (do_one_test): Likewise.
47111         (do_test): Likewise.
47112         * string/test-strchr.c (do_one_test): Likewise.
47113         (do_test): Likewise.
47114         * string/test-strcmp.c (do_one_test): Likewise.
47115         (do_test): Likewise.
47116         * string/test-strcpy.c (do_one_test): Likewise.
47117         (do_test): Likewise.
47118         * string/test-string.h: Likewise.
47119         (test_init): Likewise.
47120         * string/test-strlen.c (do_one_test): Likewise.
47121         (do_test): Likewise.
47122         * string/test-strncasecmp.c (do_one_test): Likewise.
47123         (do_test): Likewise.
47124         * string/test-strncat.c (do_one_test): Likewise.
47125         (do_test): Likewise.
47126         * string/test-strncmp.c (do_one_test): Likewise.
47127         (do_test_limit): Likewise.
47128         (do_test): Likewise.
47129         * string/test-strncpy.c (do_one_test): Likewise.
47130         (do_test): Likewise.
47131         * string/test-strnlen.c (do_one_test): Likewise.
47132         (do_test): Likewise.
47133         * string/test-strpbrk.c (do_one_test): Likewise.
47134         (do_test): Likewise.
47135         * string/test-strrchr.c (do_one_test): Likewise.
47136         (do_test): Likewise.
47137         * string/test-strspn.c (do_one_test): Likewise.
47138         (do_test): Likewise.
47139         * string/test-strstr.c (do_one_test): Likewise.
47140         (do_test): Likewise.
47142         * benchtests/Makefile (string-bench): Add string benchmarks.
47143         * benchtests/bench-bcopy-ifunc.c: New file.
47144         * benchtests/bench-bcopy.c: New file.
47145         * benchtests/bench-bzero-ifunc.c: New file.
47146         * benchtests/bench-bzero.c: New file.
47147         * benchtests/bench-memccpy-ifunc.c: New file.
47148         * benchtests/bench-memccpy.c: New file.
47149         * benchtests/bench-memchr-ifunc.c: New file.
47150         * benchtests/bench-memchr.c: New file.
47151         * benchtests/bench-memcmp-ifunc.c: New file.
47152         * benchtests/bench-memcmp.c: New file.
47153         * benchtests/bench-memmem-ifunc.c: New file.
47154         * benchtests/bench-memmem.c: New file.
47155         * benchtests/bench-memmove-ifunc.c: New file.
47156         * benchtests/bench-memmove.c: New file.
47157         * benchtests/bench-mempcpy-ifunc.c: New file.
47158         * benchtests/bench-mempcpy.c: New file.
47159         * benchtests/bench-memset-ifunc.c: New file.
47160         * benchtests/bench-memset.c: New file.
47161         * benchtests/bench-rawmemchr-ifunc.c: New file.
47162         * benchtests/bench-rawmemchr.c: New file.
47163         * benchtests/bench-stpcpy-ifunc.c: New file.
47164         * benchtests/bench-stpcpy.c: New file.
47165         * benchtests/bench-stpncpy-ifunc.c: New file.
47166         * benchtests/bench-stpncpy.c: New file.
47167         * benchtests/bench-strcasecmp-ifunc.c: New file.
47168         * benchtests/bench-strcasecmp.c: New file.
47169         * benchtests/bench-strcasestr-ifunc.c: New file.
47170         * benchtests/bench-strcasestr.c: New file.
47171         * benchtests/bench-strcat-ifunc.c: New file.
47172         * benchtests/bench-strcat.c: New file.
47173         * benchtests/bench-strchr-ifunc.c: New file.
47174         * benchtests/bench-strchr.c: New file.
47175         * benchtests/bench-strchrnul-ifunc.c: New file.
47176         * benchtests/bench-strchrnul.c: New file.
47177         * benchtests/bench-strcmp-ifunc.c: New file.
47178         * benchtests/bench-strcmp.c: New file.
47179         * benchtests/bench-strcpy-ifunc.c: New file.
47180         * benchtests/bench-strcpy.c: New file.
47181         * benchtests/bench-strcspn-ifunc.c: New file.
47182         * benchtests/bench-strcspn.c: New file.
47183         * benchtests/bench-strlen-ifunc.c: New file.
47184         * benchtests/bench-strlen.c: New file.
47185         * benchtests/bench-strncasecmp-ifunc.c: New file.
47186         * benchtests/bench-strncasecmp.c: New file.
47187         * benchtests/bench-strncat-ifunc.c: New file.
47188         * benchtests/bench-strncat.c: New file.
47189         * benchtests/bench-strncmp-ifunc.c: New file.
47190         * benchtests/bench-strncmp.c: New file.
47191         * benchtests/bench-strncpy-ifunc.c: New file.
47192         * benchtests/bench-strncpy.c: New file.
47193         * benchtests/bench-strnlen-ifunc.c: New file.
47194         * benchtests/bench-strnlen.c: New file.
47195         * benchtests/bench-strpbrk-ifunc.c: New file.
47196         * benchtests/bench-strpbrk.c: New file.
47197         * benchtests/bench-strrchr-ifunc.c: New file.
47198         * benchtests/bench-strrchr.c: New file.
47199         * benchtests/bench-strspn-ifunc.c: New file.
47200         * benchtests/bench-strspn.c: New file.
47201         * benchtests/bench-strstr-ifunc.c: New file.
47202         * benchtests/bench-strstr.c: New file.
47204         * benchtests/Makefile: Disable parallel execution of targets.
47205         (string-bench): Add memcpy.
47206         (benchset): New variable to store a list of benchmark sets.
47207         (bench-func): Renamed from bench.
47208         (bench-set): New target.
47209         (bench): Depend on bench-func and bench-set.
47210         * benchtests/README: Add section on benchmark sets.
47211         * benchtests/bench-memcpy-ifunc.c: New file.
47212         * benchtests/bench-memcpy.c: New file.
47213         * benchtests/bench-string.h: New file.
47215 2013-06-11  Andreas Schwab  <schwab@suse.de>
47217         [BZ #15577]
47218         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47219         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47220         values in the triple.
47221         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47222         terminator in the group key.
47224 2013-06-11  Andreas Jaeger  <aj@suse.de>
47226         * po/zh_TW.po: Update Chinese (traditional) translation from
47227         translation project.
47229 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47231         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47232         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47233         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47234         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47235         (clock_getcpuclockid): Likewise.
47236         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47237         Add weak_alias and libc_hidden_def.
47238         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47239         * rt/clock_gettime.c (clock_gettime): Rename to
47240         __clock_gettime.  Add weak_alias and libc_hidden_def.
47241         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47242         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47243         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47244         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47245         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47246         Likewise.
47247         * rt/clock_settime.c (clock_settime): Rename to
47248         __clock_settime.  Add weak_alias and libc_hidden_def.
47249         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47251 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47253         * mach/err_boot.sub: Remove trailing whitespace.
47254         * mach/err_ipc.sub: Likewise.
47255         * mach/err_mach.sub: Likewise.
47257         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47258         (ROUNDING_TESTS_double): Likewise.
47259         (ROUNDING_TESTS_long_double): Likewise.
47260         (ROUNDING_TESTS): Likewise.
47261         * math/libm-test.inc: Include <math-tests.h>.
47262         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47263         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47264         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47265         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47267 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47269         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47270         of assigning.
47272 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47274         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47275         otherwise empty TRANS lines.
47276         * sysdeps/gnu/errlist.c: Regenerated.
47278         * catgets/gencat.c (error_print): Use (void) in function
47279         definition.
47280         * crypt/crypt_util.c (__init_des): Likewise.
47281         * crypt/speeds.c (Stop): Likewise.
47282         (main): Likewise.
47283         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47284         * inet/ruserpass.c (token): Likewise.
47285         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47286         * intl/localealias.c (extend_alias_table): Likewise.
47287         * intl/plural-exp.c (init_germanic_plural): Likewise.
47288         * libio/fcloseall.c (__fcloseall): Likewise.
47289         * libio/genops.c (_IO_flush_all): Likewise.
47290         (_IO_flush_all_linebuffered): Likewise.
47291         (_IO_cleanup): Likewise.
47292         (_IO_iter_begin): Likewise.
47293         (_IO_iter_end): Likewise.
47294         (_IO_list_lock): Likewise.
47295         (_IO_list_unlock): Likewise.
47296         (_IO_list_resetlock): Likewise.
47297         * libio/getchar.c (getchar): Likewise.
47298         * libio/getchar_u.c (getchar_unlocked): Likewise.
47299         * libio/getwchar.c (getwchar): Likewise.
47300         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47301         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47302         * login/getpt.c (__getpt): Likewise.
47303         * login/tst-utmp.c (main): Likewise.
47304         * malloc/hooks.c (__malloc_check_init): Likewise.
47305         * malloc/malloc.c (__malloc_stats): Likewise.
47306         * malloc/mtrace.c (tr_break): Likewise.
47307         (mtrace): Likewise.
47308         (muntrace): Likewise.
47309         * misc/fstab.c (endfsent): Likewise.
47310         * misc/getclktck.c (__getclktck): Likewise.
47311         * misc/getdtsz.c (__getdtablesize): Likewise.
47312         * misc/gethostid.c (gethostid): Likewise.
47313         * misc/getpagesize.c (__getpagesize): Likewise.
47314         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47315         (__get_nprocs): Likewise.
47316         (__get_phys_pages): Likewise.
47317         (__get_avphys_pages): Likewise.
47318         * misc/getttyent.c (getttyent): Likewise.
47319         (setttyent): Likewise.
47320         (endttyent): Likewise.
47321         * misc/getusershell.c (getusershell): Likewise.
47322         (endusershell): Likewise.
47323         (setusershell): Likewise.
47324         (initshells): Likewise.
47325         * misc/hsearch.c (__hdestroy): Likewise.
47326         * misc/sync.c (sync): Likewise.
47327         * misc/syslog.c (closelog_internal): Likewise.
47328         (closelog): Likewise.
47329         * misc/ttyslot.c (ttyslot): Likewise.
47330         * misc/vhangup.c (vhangup): Likewise.
47331         * posix/fork.c (__fork): Likewise.
47332         * posix/getegid.c (__getegid): Likewise.
47333         * posix/geteuid.c (__geteuid): Likewise.
47334         * posix/getgid.c (__getgid): Likewise.
47335         * posix/getpid.c (__getpid): Likewise.
47336         * posix/getppid.c (__getppid): Likewise.
47337         * posix/getuid.c (__getuid): Likewise.
47338         * posix/pause.c (pause): Likewise.
47339         * posix/setpgrp.c (setpgrp): Likewise.
47340         * posix/setsid.c (__setsid): Likewise.
47341         * posix/test-vfork.c (noop): Likewise.
47342         * resolv/gethnamaddr.c (_endhtent): Likewise.
47343         (_gethtent): Likewise.
47344         (ht_endhostent): Likewise.
47345         (gethostent): Likewise.
47346         (dns_service): Likewise.
47347         * stdlib/drand48.c (drand48): Likewise.
47348         * stdlib/lrand48.c (lrand48): Likewise.
47349         * stdlib/mrand48.c (mrand48): Likewise.
47350         * stdlib/rand.c (rand): Likewise.
47351         * stdlib/random.c (__random): Likewise.
47352         * stdlib/setenv.c (clearenv): Likewise.
47353         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47354         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47355         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47356         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47357         (__get_nprocs): Likewise.
47358         (__get_phys_pages): Likewise.
47359         (__get_avphys_pages): Likewise.
47360         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47361         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47362         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47363         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47364         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47365         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47366         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47367         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47368         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47369         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47370         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47371         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47372         * sysdeps/posix/clock.c (clock): Likewise.
47373         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47374         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47375         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47376         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47377         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47378         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47379         (__get_nprocs_conf): Likewise.
47380         (__get_phys_pages): Likewise.
47381         (__get_avphys_pages): Likewise.
47382         * time/clock.c (clock): Likewise.
47383         * time/tzset.c (__tzname_max): Likewise.
47385 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47387         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47388         (__bswap_32): Do not use "register".
47389         * crypt/crypt.c (_ufc_doit_r): Likewise.
47390         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47391         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47392         * gmon/gmon.c (__monstartup): Likewise.
47393         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47394         * hurd/hurdmalloc.c (more_memory): Likewise.
47395         (malloc): Likewise.
47396         (free): Likewise.
47397         (realloc): Likewise.
47398         (malloc_fork_prepare): Likewise.
47399         (malloc_fork_parent): Likewise.
47400         (malloc_fork_child): Likewise.
47401         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47402         (_svcauth_des): Likewise.
47403         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47404         * inet/inet_net.c (inet_network): Likewise.
47405         * inet/inet_netof.c (inet_netof): Likewise.
47406         * inet/rcmd.c (__validuser2_sa): Likewise.
47407         * io/fts.c (fts_open): Likewise.
47408         (fts_load): Likewise.
47409         (fts_close): Likewise.
47410         (fts_read): Likewise.
47411         (fts_children): Likewise.
47412         (fts_build): Likewise.
47413         (fts_stat): Likewise.
47414         (fts_sort): Likewise.
47415         (fts_alloc): Likewise.
47416         (fts_lfree): Likewise.
47417         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47418         (_IO_file_xsgetn): Likewise.
47419         (_IO_file_xsgetn_mmap): Likewise.
47420         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47421         (_IO_cookie_write): Likewise.
47422         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47423         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47424         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47425         * malloc/obstack.c (_obstack_begin): Likewise.
47426         (_obstack_begin_1): Likewise.
47427         (_obstack_newchunk): Likewise.
47428         (_obstack_allocated_p): Likewise.
47429         (obstack_free): Likewise.
47430         (_obstack_memory_used): Likewise.
47431         * misc/getttyent.c (getttynam): Likewise.
47432         (getttyent): Likewise.
47433         (skip): Likewise.
47434         (value): Likewise.
47435         * misc/getusershell.c (initshells): Likewise.
47436         * misc/syslog.c (__vsyslog_chk): Likewise.
47437         * misc/ttyslot.c (ttyslot): Likewise.
47438         * nis/nis_hash.c (__nis_hash): Likewise.
47439         * posix/fnmatch_loop.c (FCT): Likewise.
47440         * posix/getconf.c (print_all): Likewise.
47441         (main): Likewise.
47442         * posix/getopt.c (exchange): Likewise.
47443         * posix/glob.c (globfree): Likewise.
47444         (prefix_array): Likewise.
47445         (__glob_pattern_type): Likewise.
47446         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47447         (NS_GET32): Likewise.
47448         (NS_PUT16): Likewise.
47449         (NS_PUT32): Likewise.
47450         * resolv/gethnamaddr.c (getanswer): Likewise.
47451         (gethostbyname2): Likewise.
47452         (gethostbyaddr): Likewise.
47453         (_gethtent): Likewise.
47454         (_gethtbyname2): Likewise.
47455         (_gethtbyaddr): Likewise.
47456         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47457         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47458         * resolv/res_init.c (__res_vinit): Likewise.
47459         (net_mask): Likewise.
47460         * resolv/res_mkquery.c (outchar): Likewise.
47461         (PRINT): Likewise.
47462         * stdio-common/printf_fp.c (outchar): Likewise.
47463         (PRINT): Likewise.
47464         * stdio-common/printf_fphex.c (outchar): Likewise.
47465         (PRINT): Likewise.
47466         * stdio-common/printf_size.c (outchar): Likewise.
47467         (PRINT): Likewise.
47468         * stdio-common/test_rdwr.c (main): Likewise.
47469         * stdio-common/tfformat.c (matches): Likewise.
47470         * stdio-common/vfprintf.c (outchar): Likewise.
47471         (printf_unknown): Likewise.
47472         (buffered_vfprintf): Likewise.
47473         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47474         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47475         (ReadFile): Likewise.
47476         * stdlib/qsort.c (SWAP): Likewise.
47477         (_quicksort): Likewise.
47478         * stdlib/setenv.c (__add_to_environ): Likewise.
47479         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47480         * stdlib/strtol_l.c (__strtol_l): Likewise.
47481         * stdlib/tst-strtod.c (main): Likewise.
47482         * stdlib/tst-strtol.c (main): Likewise.
47483         * stdlib/tst-strtoll.c (main): Likewise.
47484         * string/bits/string2.h (__strcmp_cc): Likewise.
47485         (__strcmp_cg): Likewise.
47486         (__strcspn_c1): Likewise.
47487         (__strcspn_c2): Likewise.
47488         (__strcspn_c3): Likewise.
47489         (__strspn_c1): Likewise.
47490         (__strspn_c2): Likewise.
47491         (__strspn_c3): Likewise.
47492         (__strsep_1c): Likewise.
47493         (__strsep_2c): Likewise.
47494         (__strsep_3c): Likewise.
47495         * string/memccpy.c (__memccpy): Likewise.
47496         * string/stpcpy.c (__stpcpy): Likewise.
47497         * string/strcmp.c (strcmp): Likewise.
47498         * string/strrchr.c (strrchr): Likewise.
47499         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47500         Likewise.
47501         * sysdeps/mach/hurd/getcwd.c
47502         (_hurd_canonicalize_directory_name_internal): Likewise.
47503         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47504         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47505         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47506         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47507         Likewise, in both definitions.
47508         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47509         definitions.
47510         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47511         64] (__bswap_64): Likewise.
47512         * time/test_time.c (main): Likewise.
47513         * time/tzfile.c (__tzfile_read): Likewise.
47514         (__tzfile_compute): Likewise.
47515         * time/tzset.c (__tzset_parse_tz): Likewise.
47516         (tzset_internal): Likewise.
47517         (compute_change): Likewise.
47518         * wcsmbs/wcscat.c (__wcscat): Likewise.
47519         * wcsmbs/wcschr.c (wcschr): Likewise.
47520         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47521         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47522         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47523         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47524         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47525         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47526         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47527         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47528         * wcsmbs/wmemset.c (wmemset): Likewise.
47530 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47532         * scripts/config.guess: Update to version 2013-05-16.
47533         * scripts/config.sub: Update to version 2013-04-24.
47534         * scripts/install-sh: Update to version 2011-11-20.07.
47535         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47536         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47538 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47540         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47541         * elf/sln.c: Likewise.
47542         * hurd/hurd/ioctl.h: Likewise.
47543         * hurd/hurdmalloc.c: Likewise.
47544         * hurd/xattr.c: Likewise.
47545         * include/shlib-compat.h: Likewise.
47546         * inet/ruserpass.c: Likewise.
47547         * libio/iofgets_u.c: Likewise.
47548         * libio/iofgetws_u.c: Likewise.
47549         * locale/programs/ld-identification.c: Likewise.
47550         * locale/programs/ld-time.c: Likewise.
47551         * mach/msg-destroy.c: Likewise.
47552         * nss/nss_files/files-netgrp.c: Likewise.
47553         * resolv/res_data.c: Likewise.
47554         * soft-fp/op-1.h: Likewise.
47555         * soft-fp/op-2.h: Likewise.
47556         * soft-fp/op-4.h: Likewise.
47557         * soft-fp/op-common.h: Likewise.
47558         * stdio-common/printf_fphex.c: Likewise.
47559         * stdlib/strtod_l.c: Likewise.
47560         * sunrpc/rpc/clnt.h: Likewise.
47561         * sysdeps/generic/framestate.c: Likewise.
47562         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47563         * sysdeps/i386/bsd-setjmp.S: Likewise.
47564         * sysdeps/i386/__longjmp.S: Likewise.
47565         * sysdeps/i386/setjmp.S: Likewise.
47566         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47567         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47568         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47569         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47570         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47571         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47572         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47573         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47574         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47575         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47576         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47577         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47578         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47579         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47580         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47582         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47583         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47584         * sysdeps/ieee754/support.c: Likewise.
47585         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47586         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47587         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47588         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47589         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47590         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47591         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47592         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47593         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47594         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47595         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47596         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47597         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47598         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47599         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47600         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47601         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47604 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47606         * posix/transbug.c: Remove executable mode.
47608 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47610         * crypt/speeds.c: Remove trailing whitespace.
47611         * dlfcn/default.c: Likewise.
47612         * elf/ifuncdep2.c: Likewise.
47613         * elf/ifuncmain1.c: Likewise.
47614         * elf/ifuncmain1vis.c: Likewise.
47615         * elf/testobj.h: Likewise.
47616         * elf/tst-stackguard1.c: Likewise.
47617         * gmon/sys/gmon.h: Likewise.
47618         * hurd/hurdmsg.c: Likewise.
47619         * hurd/new-fd.c: Likewise.
47620         * hurd/ports-get.c: Likewise.
47621         * iconvdata/ibm1008_420.c: Likewise.
47622         * inet/tst-getni1.c: Likewise.
47623         * inet/tst-getni2.c: Likewise.
47624         * libio/ioungetc.c: Likewise.
47625         * libio/wfiledoalloc.c: Likewise.
47626         * manual/libm-err-tab.pl: Likewise.
47627         * math/w_dremf.c: Likewise.
47628         * misc/ftruncate.c: Likewise.
47629         * posix/bug-glob2.c: Likewise.
47630         * posix/tst-pcre.c: Likewise.
47631         * posix/wait4.c: Likewise.
47632         * resolv/README: Likewise.
47633         * resolv/res_debug.h: Likewise.
47634         * resolv/tst-inet_ntop.c: Likewise.
47635         * setjmp/bug269-setjmp.c: Likewise.
47636         * soft-fp/extended.h: Likewise.
47637         * soft-fp/op-1.h: Likewise.
47638         * soft-fp/op-2.h: Likewise.
47639         * soft-fp/op-4.h: Likewise.
47640         * soft-fp/op-8.h: Likewise.
47641         * soft-fp/testit.c: Likewise.
47642         * stdio-common/bug16.c: Likewise.
47643         * stdlib/random.c: Likewise.
47644         * sunrpc/rpcsvc/rquota.x: Likewise.
47645         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47646         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47647         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47648         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47649         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47650         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47651         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47652         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47653         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47654         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47655         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47656         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47657         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47658         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47659         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47660         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47661         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47662         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47663         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47664         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47665         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47666         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47667         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47668         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47669         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47670         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47672         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47673         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47674         * sysdeps/ieee754/s_lib_version.c: Likewise.
47675         * sysdeps/mach/hurd/check_fds.c: Likewise.
47676         * sysdeps/mach/hurd/getsockname.c: Likewise.
47677         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47678         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47679         * sysdeps/powerpc/bits/link.h: Likewise.
47680         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47681         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47682         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47683         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47684         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47685         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47686         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47687         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47688         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47689         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47690         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47691         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47692         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47693         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47694         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47695         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47696         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47697         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47698         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47699         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47700         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47701         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47702         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47703         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47704         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47705         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47706         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47707         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47708         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47709         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47710         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47711         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47712         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47714         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47715         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47716         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47717         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47718         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47719         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47720         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47721         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47722         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47723         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47724         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47725         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47726         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47727         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47728         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47729         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47732         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47733         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47734         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47735         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47736         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47737         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47739         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47740         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47741         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47742         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47743         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47744         * sysdeps/powerpc/sysdep.h: Likewise.
47745         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47746         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47747         * sysdeps/sh/dl-trampoline.S: Likewise.
47748         * sysdeps/sh/memset.S: Likewise.
47749         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47750         * sysdeps/sh/strlen.S: Likewise.
47751         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47752         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47753         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47754         * sysdeps/sparc/sparc32/rem.S: Likewise.
47755         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47756         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47757         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47758         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47759         * sysdeps/sparc/sparc32/urem.S: Likewise.
47760         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47761         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47762         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47763         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47764         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47765         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47766         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47767         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47768         * sysdeps/unix/bsd/times.c: Likewise.
47769         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47770         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47774         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47775         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47776         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47777         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47778         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47779         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47780         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47781         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47782         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47783         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47784         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47785         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47786         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47787         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47788         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47789         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47790         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47791         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47792         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47793         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47794         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47795         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47796         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47797         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47798         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47799         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47800         * sysdeps/x86_64/strcspn.S: Likewise.
47802 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47804         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47805         generated file.  Regenerate properly from gen-translit.pl.
47806         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47807         locale/C-translit.h.
47809 2013-06-05  Andreas Schwab  <schwab@suse.de>
47811         [BZ #15100]
47812         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47813         week as 6 instead of -1.
47814         * time/tst-strptime.c (day_tests): Add test case.
47816 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818         * sysdeps/generic/math_private.h
47819         (libc_feholdexcept_setround_53bit): Replace with
47820         libc_feholdsetround_53bit.
47821         (libc_feupdateenv_53bit): Replace with
47822         libc_feresetround_53bit.
47823         (SET_RESTORE_ROUND_53BIT): Adjust.
47825 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47827         * string/test-strchrnul.c: Add copyright header.
47829         * posix/tst-getaddrinfo4.c: Increase test timeout.
47831 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47833         [BZ #15536]
47834         * math/libm-test.inc (MAX_EXP): Remove
47835         (MIN_EXP): Define.
47836         (ulp): Use MIN_EXP - MANT_DIG.
47837         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47839 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47841         * po/be.po: Revert last change.
47842         * po/zh_CN.po: Likewise.
47843         * po/header.pot: Likewise.
47845 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47847         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47848         link-libc-deps to empty as target-specific variable.
47849         * Makerules (link-libc-args): New variable.
47850         (libc-for-link): Likewise.
47851         (link-libc-deps): Likewise.
47852         (lib%.so): Depend on $(link-libc-deps).  Link with
47853         $(link-libc-args).
47854         (build-module): Link with $(link-libc-args).
47855         (build-module-asneeded): Likewise.
47856         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47857         list of objects.
47858         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47859         target-specific variable.
47860         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47861         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47862         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47863         libc.
47864         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47865         libc and ld.so.
47866         ($(objpfx)libpcprofile.so): Likewise.
47867         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47868         libc_nonshared.a.
47869         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47870         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47871         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47872         $(link-libc-deps).
47873         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47874         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47875         * login/Makefile ($(objpfx)libutil.so): Likewise.
47876         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47877         * math/Makefile ($(objpfx)libm.so): Likewise.
47878         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47879         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47880         variable instead of depending directly on libc.
47881         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47882         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47883         $(link-libc-deps).
47884         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47885         libc.
47886         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47887         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47888         ($(objpfx)libanl.so): Likewise.
47889         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47890         ld.so.
47891         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47892         $(link-libc-deps).
47893         * sysdeps/i386/fpu/Makefile: Remove file.
47894         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47895         ($(objpfx)libm.so): Remove dependency on ld.so.
47897 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47899         [BZ # 15553]
47900         * nis/yp_xdr.c (XDRMAXNAME): Define.
47901         (XDRMAXRECORD): Define.
47902         (xdr_domainname): Use XDRMAXNAME.
47903         (xdr_mapname): Likewise.
47904         (xdr_peername): Likewise.
47905         (xdr_keydat): Use XDRMAXRECORD.
47906         (xdr_valdat): Likewise.
47908 2013-05-30  Jeff Law  <law@redhat.com>
47910         [BZ #14256]
47911         * manual/errno.texi (ESTALE): Update to account for more than
47912         just NFS file systems.
47913         * sysdeps/gnu/errlist.c: Regenerated.
47915 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47917         [BZ #15465]
47918         * elf/Makefile (tests): Add tst-null-argv.
47919         (modules-names):  Add tst-null-argv-lib.
47920         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47921         (tst-null-argv-ENV): Set environment for tst-null-argv.
47922         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47923         (RTLD_PROGNAME): New macro.
47924         * elf/tst-null-argv.c: New test case.
47925         * elf/tst-null-argv-lib.c: Library for test case.
47926         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47927         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47928         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47929         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47930         * elf/dl-init.c (call_init): Likewise.
47931         (_dl_init): Likewise.
47932         * elf/dl-load.c (print_search_path): Likewise.
47933         (_dl_map_object): Likewise.
47934         * elf/dl-lookup.c (do_lookup_x): Likewise.
47935         (add_dependency): Likewise.
47936         (_dl_lookup_symbol_x): Likewise.
47937         (_dl_debug_bindings): Likewise.
47938         * elf/dl-open.c (_dl_show_scope): Likewise.
47939         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47940         * elf/dl-version.c (match_symbol): Likewise.
47941         (_dl_check_map_versions): Likewise.
47942         * elf/rtld.c (dl_main): Likewise.
47943         (print_unresolved): Use RTLD_PROGNAME.
47944         (print_missing_version): Likewise.
47945         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47946         (elf_machine_rela): Likewise.
47947         * sysdeps/powerpc/powerpc32/dl-machine.c
47948         (__process_machine_rela): Likewise.
47949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47950         Likewise.
47951         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47952         Likewise.
47953         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47954         Likewise.
47955         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47956         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47957         Likewise.
47958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47959         Likewise.
47960         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47962 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47964         * po/be.po: Add descriptive title.
47965         * po/zh_CN.po: Likewise.
47966         * po/header.pot: Likewise.
47968 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47970         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47971         error message.
47972         (enlarge_archive): Likewise.
47974 2013-05-28  Ben North  <ben@redfrontdoor.org>
47976         * manual/arith.texi (frexp): It is the magnitude of the return
47977         value which lies in [0.5, 1), not the return value itself.
47979 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47983 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47985         * stdio-common/bug26.c (main): Correct fscanf template.
47987         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47988         declare _dl_skip_args.
47990         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47991         Don't declare.
47993         * manual/platform.texi: Add missing @end deftypefun.
47995 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47997         [BZ #15529]
47998         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47999         bit of mantissa of 2^16382.
48000         * math/libm-test.inc (hypot_test_data): Add more tests.
48002         * math/libm-test.inc: Add drem and pow10 to list of tested
48003         functions.
48004         (pow10_test): New function.
48005         (drem_test): Likewise.
48006         (drem_test_tonearest): Likewise.
48007         (drem_test_towardzero): Likewise.
48008         (drem_test_downward): Likewise.
48009         (drem_test_upward): Likewise.
48010         (main): Call the new functions.
48012         * math/libm-test.inc (finite_test_data): Remove.
48013         (finite_test): Run tests from isfinite_test_data.
48014         (gamma_test_data): Remove.
48015         (gamma_test): Run tests from lgamma_test_data.
48016         * sysdeps/i386/fpu/libm-test-ulps: Update.
48017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48019 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48021         * manual/platform.texi: Add PowerPC PPR function set documentation.
48022         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48023         implementation.
48025 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48027         * math/libm-test.inc (MAX_EXP): Define.
48028         (ULPDIFF): Define.
48029         (ulp): New function.
48030         (check_float_internal): Use ULPDIFF.
48031         (cpow_test): Disable failing test.
48032         (check_ulp): Test ulp() implemetnation.
48033         (main): Call check_ulp before starting tests.
48035 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48037         * math/gen-libm-test.pl (generate_testfile): Do not handle
48038         START_DATA and END_DATA.
48039         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48040         END_DATA.
48041         (acos_tonearest_test_data): Likewise.
48042         (acos_towardzero_test_data): Likewise.
48043         (acos_downward_test_data): Likewise.
48044         (acos_upward_test_data): Likewise.
48045         (acosh_test_data): Likewise.
48046         (asin_test_data): Likewise.
48047         (asin_tonearest_test_data): Likewise.
48048         (asin_towardzero_test_data): Likewise.
48049         (asin_downward_test_data): Likewise.
48050         (asin_upward_test_data): Likewise.
48051         (asinh_test_data): Likewise.
48052         (atan_test_data): Likewise.
48053         (atanh_test_data): Likewise.
48054         (atan2_test_data): Likewise.
48055         (cabs_test_data): Likewise.
48056         (cacos_test_data): Likewise.
48057         (cacosh_test_data): Likewise.
48058         (carg_test_data): Likewise.
48059         (casin_test_data): Likewise.
48060         (casinh_test_data): Likewise.
48061         (catan_test_data): Likewise.
48062         (catanh_test_data): Likewise.
48063         (cbrt_test_data): Likewise.
48064         (ccos_test_data): Likewise.
48065         (ccosh_test_data): Likewise.
48066         (ceil_test_data): Likewise.
48067         (cexp_test_data): Likewise.
48068         (cimag_test_data): Likewise.
48069         (clog_test_data): Likewise.
48070         (clog10_test_data): Likewise.
48071         (conj_test_data): Likewise.
48072         (copysign_test_data): Likewise.
48073         (cos_test_data): Likewise.
48074         (cos_tonearest_test_data): Likewise.
48075         (cos_towardzero_test_data): Likewise.
48076         (cos_downward_test_data): Likewise.
48077         (cos_upward_test_data): Likewise.
48078         (cosh_test_data): Likewise.
48079         (cosh_tonearest_test_data): Likewise.
48080         (cosh_towardzero_test_data): Likewise.
48081         (cosh_downward_test_data): Likewise.
48082         (cosh_upward_test_data): Likewise.
48083         (cpow_test_data): Likewise.
48084         (cproj_test_data): Likewise.
48085         (creal_test_data): Likewise.
48086         (csin_test_data): Likewise.
48087         (csinh_test_data): Likewise.
48088         (csqrt_test_data): Likewise.
48089         (ctan_test_data): Likewise.
48090         (ctan_tonearest_test_data): Likewise.
48091         (ctan_towardzero_test_data): Likewise.
48092         (ctan_downward_test_data): Likewise.
48093         (ctan_upward_test_data): Likewise.
48094         (ctanh_test_data): Likewise.
48095         (ctanh_tonearest_test_data): Likewise.
48096         (ctanh_towardzero_test_data): Likewise.
48097         (ctanh_downward_test_data): Likewise.
48098         (ctanh_upward_test_data): Likewise.
48099         (erf_test_data): Likewise.
48100         (erfc_test_data): Likewise.
48101         (exp_test_data): Likewise.
48102         (exp_tonearest_test_data): Likewise.
48103         (exp_towardzero_test_data): Likewise.
48104         (exp_downward_test_data): Likewise.
48105         (exp_upward_test_data): Likewise.
48106         (exp10_test_data): Likewise.
48107         (exp2_test_data): Likewise.
48108         (expm1_test_data): Likewise.
48109         (fabs_test_data): Likewise.
48110         (fdim_test_data): Likewise.
48111         (finite_test_data): Likewise.
48112         (floor_test_data): Likewise.
48113         (fma_test_data): Likewise.
48114         (fma_towardzero_test_data): Likewise.
48115         (fma_downward_test_data): Likewise.
48116         (fma_upward_test_data): Likewise.
48117         (fmax_test_data): Likewise.
48118         (fmin_test_data): Likewise.
48119         (fmod_test_data): Likewise.
48120         (fpclassify_test_data): Likewise.
48121         (frexp_test_data): Likewise.
48122         (gamma_test_data): Likewise.
48123         (hypot_test_data): Likewise.
48124         (ilogb_test_data): Likewise.
48125         (isfinite_test_data): Likewise.
48126         (isgreater_test_data): Likewise.
48127         (isgreaterequal_test_data): Likewise.
48128         (isinf_test_data): Likewise.
48129         (isless_test_data): Likewise.
48130         (islessequal_test_data): Likewise.
48131         (islessgreater_test_data): Likewise.
48132         (isnan_test_data): Likewise.
48133         (isnormal_test_data): Likewise.
48134         (issignaling_test_data): Likewise.
48135         (isunordered_test_data): Likewise.
48136         (j0_test_data): Likewise.
48137         (j1_test_data): Likewise.
48138         (jn_test_data): Likewise.
48139         (ldexp_test_data): Likewise.
48140         (lgamma_test_data): Likewise.
48141         (lrint_test_data): Likewise.
48142         (lrint_tonearest_test_data): Likewise.
48143         (lrint_towardzero_test_data): Likewise.
48144         (lrint_downward_test_data): Likewise.
48145         (lrint_upward_test_data): Likewise.
48146         (llrint_test_data): Likewise.
48147         (llrint_tonearest_test_data): Likewise.
48148         (llrint_towardzero_test_data): Likewise.
48149         (llrint_downward_test_data): Likewise.
48150         (llrint_upward_test_data): Likewise.
48151         (log_test_data): Likewise.
48152         (log10_test_data): Likewise.
48153         (log1p_test_data): Likewise.
48154         (log2_test_data): Likewise.
48155         (logb_test_data): Likewise.
48156         (logb_downward_test_data): Likewise.
48157         (lround_test_data): Likewise.
48158         (llround_test_data): Likewise.
48159         (modf_test_data): Likewise.
48160         (nearbyint_test_data): Likewise.
48161         (nextafter_test_data): Likewise.
48162         (nexttoward_test_data): Likewise.
48163         (pow_test_data): Likewise.
48164         (pow_tonearest_test_data): Likewise.
48165         (pow_towardzero_test_data): Likewise.
48166         (pow_downward_test_data): Likewise.
48167         (pow_upward_test_data): Likewise.
48168         (remainder_test_data): Likewise.
48169         (remainder_tonearest_test_data): Likewise.
48170         (remainder_towardzero_test_data): Likewise.
48171         (remainder_downward_test_data): Likewise.
48172         (remainder_upward_test_data): Likewise.
48173         (remquo_test_data): Likewise.
48174         (rint_test_data): Likewise.
48175         (rint_tonearest_test_data): Likewise.
48176         (rint_towardzero_test_data): Likewise.
48177         (rint_downward_test_data): Likewise.
48178         (rint_upward_test_data): Likewise.
48179         (round_test_data): Likewise.
48180         (scalb_test_data): Likewise.
48181         (scalbn_test_data): Likewise.
48182         (scalbln_test_data): Likewise.
48183         (signbit_test_data): Likewise.
48184         (sin_test_data): Likewise.
48185         (sin_tonearest_test_data): Likewise.
48186         (sin_towardzero_test_data): Likewise.
48187         (sin_downward_test_data): Likewise.
48188         (sin_upward_test_data): Likewise.
48189         (sincos_test_data): Likewise.
48190         (sinh_test_data): Likewise.
48191         (sinh_tonearest_test_data): Likewise.
48192         (sinh_towardzero_test_data): Likewise.
48193         (sinh_downward_test_data): Likewise.
48194         (sinh_upward_test_data): Likewise.
48195         (sqrt_test_data): Likewise.
48196         (tan_test_data): Likewise.
48197         (tan_tonearest_test_data): Likewise.
48198         (tan_towardzero_test_data): Likewise.
48199         (tan_downward_test_data): Likewise.
48200         (tan_upward_test_data): Likewise.
48201         (tanh_test_data): Likewise.
48202         (tgamma_test_data): Likewise.
48203         (trunc_test_data): Likewise.
48204         (y0_test_data): Likewise.
48205         (y1_test_data): Likewise.
48206         (yn_test_data): Likewise.
48207         (significand_test_data): Likewise.
48209         * math/gen-libm-test.pl (@functions): Remove variable.
48210         (generate_testfile): Don't handle START and END lines.
48211         * math/libm-test.inc (START): New macro.
48212         (END): Likewise.
48213         (END_COMPLEX): Likewise.
48214         (acos_test): Use END macro without arguments.
48215         (acos_test_tonearest): Likewise.
48216         (acos_test_towardzero): Likewise.
48217         (acos_test_downward): Likewise.
48218         (acos_test_upward): Likewise.
48219         (acosh_test): Likewise.
48220         (asin_test): Likewise.
48221         (asin_test_tonearest): Likewise.
48222         (asin_test_towardzero): Likewise.
48223         (asin_test_downward): Likewise.
48224         (asin_test_upward): Likewise.
48225         (asinh_test): Likewise.
48226         (atan_test): Likewise.
48227         (atanh_test): Likewise.
48228         (atan2_test): Likewise.
48229         (cabs_test): Likewise.
48230         (cacos_test): Use END_COMPLEX macro without arguments.
48231         (cacosh_test): Likewise.
48232         (carg_test): Use END macro without arguments.
48233         (casin_test): Use END_COMPLEX macro without arguments.
48234         (casinh_test): Likewise.
48235         (catan_test): Likewise.
48236         (catanh_test): Likewise.
48237         (cbrt_test): Use END macro without arguments.
48238         (ccos_test): Use END_COMPLEX macro without arguments.
48239         (ccosh_test): Likewise.
48240         (ceil_test): Use END macro without arguments.
48241         (cexp_test): Use END_COMPLEX macro without arguments.
48242         (cimag_test): Use END macro without arguments.
48243         (clog_test): Use END_COMPLEX macro without arguments.
48244         (clog10_test): Likewise.
48245         (conj_test): Likewise.
48246         (copysign_test): Use END macro without arguments.
48247         (cos_test): Likewise.
48248         (cos_test_tonearest): Likewise.
48249         (cos_test_towardzero): Likewise.
48250         (cos_test_downward): Likewise.
48251         (cos_test_upward): Likewise.
48252         (cosh_test): Likewise.
48253         (cosh_test_tonearest): Likewise.
48254         (cosh_test_towardzero): Likewise.
48255         (cosh_test_downward): Likewise.
48256         (cosh_test_upward): Likewise.
48257         (cpow_test): Use END_COMPLEX macro without arguments.
48258         (cproj_test): Likewise.
48259         (creal_test): Use END macro without arguments.
48260         (csin_test): Use END_COMPLEX macro without arguments.
48261         (csinh_test): Likewise.
48262         (csqrt_test): Likewise.
48263         (ctan_test): Likewise.
48264         (ctan_test_tonearest): Likewise.
48265         (ctan_test_towardzero): Likewise.
48266         (ctan_test_downward): Likewise.
48267         (ctan_test_upward): Likewise.
48268         (ctanh_test): Likewise.
48269         (ctanh_test_tonearest): Likewise.
48270         (ctanh_test_towardzero): Likewise.
48271         (ctanh_test_downward): Likewise.
48272         (ctanh_test_upward): Likewise.
48273         (erf_test): Use END macro without arguments.
48274         (erfc_test): Likewise.
48275         (exp_test): Likewise.
48276         (exp_test_tonearest): Likewise.
48277         (exp_test_towardzero): Likewise.
48278         (exp_test_downward): Likewise.
48279         (exp_test_upward): Likewise.
48280         (exp10_test): Likewise.
48281         (exp2_test): Likewise.
48282         (expm1_test): Likewise.
48283         (fabs_test): Likewise.
48284         (fdim_test): Likewise.
48285         (finite_test): Likewise.
48286         (floor_test): Likewise.
48287         (fma_test): Likewise.
48288         (fma_test_towardzero): Likewise.
48289         (fma_test_downward): Likewise.
48290         (fma_test_upward): Likewise.
48291         (fmax_test): Likewise.
48292         (fmin_test): Likewise.
48293         (fmod_test): Likewise.
48294         (fpclassify_test): Likewise.
48295         (frexp_test): Likewise.
48296         (gamma_test): Likewise.
48297         (hypot_test): Likewise.
48298         (ilogb_test): Likewise.
48299         (isfinite_test): Likewise.
48300         (isgreater_test): Likewise.
48301         (isgreaterequal_test): Likewise.
48302         (isinf_test): Likewise.
48303         (isless_test): Likewise.
48304         (islessequal_test): Likewise.
48305         (islessgreater_test): Likewise.
48306         (isnan_test): Likewise.
48307         (isnormal_test): Likewise.
48308         (issignaling_test): Likewise.
48309         (isunordered_test): Likewise.
48310         (j0_test): Likewise.
48311         (j1_test): Likewise.
48312         (jn_test): Likewise.
48313         (ldexp_test): Likewise.
48314         (lgamma_test): Likewise.
48315         (lrint_test): Likewise.
48316         (lrint_test_tonearest): Likewise.
48317         (lrint_test_towardzero): Likewise.
48318         (lrint_test_downward): Likewise.
48319         (lrint_test_upward): Likewise.
48320         (llrint_test): Likewise.
48321         (llrint_test_tonearest): Likewise.
48322         (llrint_test_towardzero): Likewise.
48323         (llrint_test_downward): Likewise.
48324         (llrint_test_upward): Likewise.
48325         (log_test): Likewise.
48326         (log10_test): Likewise.
48327         (log1p_test): Likewise.
48328         (log2_test): Likewise.
48329         (logb_test): Likewise.
48330         (logb_test_downward): Likewise.
48331         (lround_test): Likewise.
48332         (llround_test): Likewise.
48333         (modf_test): Likewise.
48334         (nearbyint_test): Likewise.
48335         (nextafter_test): Likewise.
48336         (nexttoward_test): Likewise.
48337         (pow_test): Likewise.
48338         (pow_test_tonearest): Likewise.
48339         (pow_test_towardzero): Likewise.
48340         (pow_test_downward): Likewise.
48341         (pow_test_upward): Likewise.
48342         (remainder_test): Likewise.
48343         (remainder_test_tonearest): Likewise.
48344         (remainder_test_towardzero): Likewise.
48345         (remainder_test_downward): Likewise.
48346         (remainder_test_upward): Likewise.
48347         (remquo_test): Likewise.
48348         (rint_test): Likewise.
48349         (rint_test_tonearest): Likewise.
48350         (rint_test_towardzero): Likewise.
48351         (rint_test_downward): Likewise.
48352         (rint_test_upward): Likewise.
48353         (round_test): Likewise.
48354         (scalb_test): Likewise.
48355         (scalbn_test): Likewise.
48356         (scalbln_test): Likewise.
48357         (signbit_test): Likewise.
48358         (sin_test): Likewise.
48359         (sin_test_tonearest): Likewise.
48360         (sin_test_towardzero): Likewise.
48361         (sin_test_downward): Likewise.
48362         (sin_test_upward): Likewise.
48363         (sincos_test): Likewise.
48364         (sinh_test): Likewise.
48365         (sinh_test_tonearest): Likewise.
48366         (sinh_test_towardzero): Likewise.
48367         (sinh_test_downward): Likewise.
48368         (sinh_test_upward): Likewise.
48369         (sqrt_test): Likewise.
48370         (tan_test): Likewise.
48371         (tan_test_tonearest): Likewise.
48372         (tan_test_towardzero): Likewise.
48373         (tan_test_downward): Likewise.
48374         (tan_test_upward): Likewise.
48375         (tanh_test): Likewise.
48376         (tgamma_test): Likewise.
48377         (trunc_test): Likewise.
48378         (y0_test): Likewise.
48379         (y1_test): Likewise.
48380         (yn_test): Likewise.
48381         (significand_test): Likewise.
48383 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48385         [BZ #15381]
48386         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48388 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48390         [BZ #14894]
48391         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48392         __ppc_mdoio and __ppc_mdoom.
48393         * manual/platform.texi: Document new functions __ppc_yield,
48394         __ppc_mdoio and __ppc_mdoom.
48396 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48398         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48399         (main): Mention "tls" pseudo-hwcap is legacy.
48400         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48402 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48404         * math/gen-libm-test.pl (parse_args): Output only string of
48405         arguments as text for test name, not full call or descriptions of
48406         tests for extra outputs.
48407         (generate_testfile): Do not pass function name to parse_args.
48408         Generate this_func variable from START.
48409         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48410         field to arg_str.
48411         (struct test_ff_f_data): Likewise.
48412         (test_ff_f_data_nexttoward): Likewise.
48413         (struct test_fi_f_data): Likewise.
48414         (struct test_fl_f_data): Likewise.
48415         (struct test_if_f_data): Likewise.
48416         (struct test_fff_f_data): Likewise.
48417         (struct test_c_f_data): Likewise.
48418         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48419         (struct test_fF_f1_data): Likewise.
48420         (struct test_ffI_f1_data): Likewise.
48421         (struct test_c_c_data): Rename test_name field to arg_str.
48422         (struct test_cc_c_data): Likewise.
48423         (struct test_f_i_data): Likewise.
48424         (struct test_ff_i_data): Likewise.
48425         (struct test_f_l_data): Likewise.
48426         (struct test_f_L_data): Likewise.
48427         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48428         and extra2_name.
48429         (COMMON_TEST_SETUP): New macro.
48430         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48431         (COMMON_TEST_CLEANUP): Likewise.
48432         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48433         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48434         macros.
48435         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48436         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48437         macros.
48438         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48439         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48440         cleanup macros.
48441         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48442         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48443         macros.
48444         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48445         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48446         macros.
48447         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48448         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48449         cleanup macros.
48450         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48451         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48452         cleanup macros.
48453         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48454         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48455         cleanup macros.
48456         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48457         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48458         macros.
48459         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48460         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48461         macros.
48462         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48463         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48464         macros.
48465         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48466         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48467         cleanup macros.
48468         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48469         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48470         cleanup macros.
48471         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48472         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48473         macros.
48474         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48475         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48476         cleanup macros.
48477         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48478         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48479         macros.
48480         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48481         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48482         macros.
48483         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48484         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48485         cleanup macros.
48486         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48488 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48490         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48491         to _sifields.sigfault.
48492         (si_addr_lsb): Define new macro.
48493         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48495         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48497 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48499         [BZ #15441]
48500         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48501         returns -1.
48502         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48503         null return -1.
48504         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48505         loading the domain.
48507 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48509         * math/gen-libm-test.pl (parse_args): Do not include expected
48510         result in test name.
48511         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48512         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48513         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48514         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48515         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48518 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48520         * benchtests/Makefile: Sort function entries.
48522         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48523         tanh, asinh, acosh, atanh.
48524         * benchtests/acos-inputs: New file.
48525         * benchtests/acosh-inputs: New file.
48526         * benchtests/asin-inputs: New file.
48527         * benchtests/asinh-inputs: New file.
48528         * benchtests/atanh-inputs: New file.
48529         * benchtests/cosh-inputs: New file.
48530         * benchtests/log-inputs: New file.
48531         * benchtests/sinh-inputs: New file.
48532         * benchtests/tanh-inputs: New file.
48534 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48536         [BZ #15339]
48537         * posix/tst-getaddrinfo4.c: New test.
48538         * posix/Makefile (tests): Add it.
48540 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48542         [BZ #15339]
48543         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48544         when no services were used.
48545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48546         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48548 2013-05-21  Andreas Schwab  <schwab@suse.de>
48550         [BZ #15014]
48551         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48552         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48553         successful.
48554         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48555         redundant variable declarations and reallocation of buffer when
48556         parsing as IPv6 address.  Always set NSS status when called from
48557         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48558         buffer too small.  Correct computation of needed size.
48559         * nss/Makefile (tests): Add test-digits-dots.
48560         * nss/test-digits-dots.c: New test.
48562 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48564         * benchtests/Makefile: Remove instructions for adding
48565         benchmark tests.
48566         * benchtests/README: New file to explain how to execute and
48567         enhance the benchmark tests.
48569 2013-05-21  Andreas Schwab  <schwab@suse.de>
48571         [BZ #15493]
48572         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48573         * setjmp/tst-sigsetjmp.c: New test.
48575 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48577         * sysdeps/x86_64/memset.S (memset): New implementation.
48578         (__bzero): Likewise.
48579         (__memset_tail): New function.
48581 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48583         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48584         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48585         __memcpy_sse2_unaligned ifunc selection.
48586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48587         Add memcpy-sse2-unaligned.S.
48588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48589         Add: __memcpy_sse2_unaligned.
48591 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48593         [BZ #15490]
48594         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48595         math_force_eval before restoring floating-point envrionment.
48596         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48598         Likewise.
48599         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48600         <math_private.h>.
48601         (__nearbyintl): Use math_force_eval before restoring
48602         floating-point environment.
48603         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48605         * math/gen-libm-test.pl (special_functions): Remove.
48606         (parse_args): Don't handle TEST_extra.  Handle functions with no
48607         return value.
48608         * math/libm-test.inc (struct test_sincos_data): Replace with
48609         struct test_fFF_11_data.
48610         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48611         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48612         (sincos_test_data): Change element type to struct
48613         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48614         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48615         RUN_TEST_LOOP_sincos.
48616         * math/README.libm-test: Don't mention special handling of
48617         individual functions.
48618         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48621         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48622         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48625         * math/gen-libm-test.pl (get_variable): Remove function.
48626         (parse_args): Don't show pointer parameters to call in test
48627         names.  Use "extra output N" in test names for extra outputs
48628         rather than naming variables.
48630 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48632         [BZ #15488]
48633         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48634         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48635         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48636         double tests.
48637         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48638         disable.
48639         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48640         check_long_double.
48642         * math/gen-libm-test.pl (@tests): Remove variable.
48643         ($count): Likewise.
48644         (new_test): Remove function.
48645         (show_exceptions): New function.
48646         (special_functions): Use show_exceptions instead of new_test.
48647         (parse_args): Likewise.
48648         (generate_testfile): Pass only function name in generated call to
48649         print_max_error or print_complex_max_error.
48650         (get_ulps): Do not handle complex tests specially.
48651         (output_test): Rename to ...
48652         (get_all_ulps_for_test): ... this.  Return a string rather than
48653         printing to a file.  Require ulps to be present.
48654         (output_ulps): Generate arrays rather than #defines.
48655         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48656         (struct ulp_data): New type.
48657         (BUILD_COMPLEX_ULP): Remove macro.
48658         (compare_ulp_data): New function.
48659         (find_ulps): Likewise.
48660         (find_test_ulps): Likewise.
48661         (find_function_ulps): Likewise.
48662         (find_complex_function_ulps): Likewise.
48663         (print_max_error): Determine allowed ulps using
48664         find_function_ulps.
48665         (print_complex_max_error): Determine allowed ulps using
48666         find_complex_function_ulps.
48667         (check_float_internal): Determine max ulps using find_test_ulps.
48668         (check_float): Do not take max_ulp parameter.  Update call to
48669         check_float_internal.
48670         (check_complex): Likewise.
48671         (check_int): Do not take max_ulp parameter.
48672         (check_long): Likewise.
48673         (check_bool): Likewise.
48674         (check_longlong): Likewise.
48675         (struct test_f_f_data): Remove max_ulp field.
48676         (struct test_ff_f_data): Likewise.
48677         (struct test_ff_f_data_nexttoward): Likewise.
48678         (struct test_fi_f_data): Likewise.
48679         (struct test_fl_f_data): Likewise.
48680         (struct test_if_f_data): Likewise.
48681         (struct test_fff_f_data): Likewise.
48682         (struct test_c_f_data): Likewise.
48683         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48684         (struct test_fF_f1_data): Likewise.
48685         (struct test_ffI_f1_data): Likewise.
48686         (struct test_c_c_data): Remove max_ulp field.
48687         (struct test_cc_c_data): Likewise.
48688         (struct test_f_i_data): Likewise.
48689         (struct test_ff_i_data): Likewise.
48690         (struct test_f_l_data): Likewise.
48691         (struct test_f_L_data): Likewise.
48692         (struct test_sincos_data): Likewise.
48693         (RUN_TEST_f_f): Do not handle ulps.
48694         (RUN_TEST_LOOP_f_f): Likewise.
48695         (RUN_TEST_2_f): Likewise.
48696         (RUN_TEST_LOOP_2_f): Likewise.
48697         (RUN_TEST_fff_f): Likewise.
48698         (RUN_TEST_LOOP_fff_f): Likewise.
48699         (RUN_TEST_c_f): Likewise.
48700         (RUN_TEST_LOOP_c_f): Likewise.
48701         (RUN_TEST_f_f1): Likewise.
48702         (RUN_TEST_LOOP_f_f1): Likewise.
48703         (RUN_TEST_fF_f1): Likewise.
48704         (RUN_TEST_LOOP_fF_f1): Likewise.
48705         (RUN_TEST_fI_f1): Likewise.
48706         (RUN_TEST_LOOP_fI_f1): Likewise.
48707         (RUN_TEST_ffI_f1): Likewise.
48708         (RUN_TEST_LOOP_ffI_f1): Likewise.
48709         (RUN_TEST_c_c): Likewise.
48710         (RUN_TEST_LOOP_c_c): Likewise.
48711         (RUN_TEST_cc_c): Likewise.
48712         (RUN_TEST_LOOP_cc_c): Likewise.
48713         (RUN_TEST_f_i): Likewise.
48714         (RUN_TEST_LOOP_f_i): Likewise.
48715         (RUN_TEST_f_i_tg): Likewise.
48716         (RUN_TEST_LOOP_f_i_tg): Likewise.
48717         (RUN_TEST_ff_i_tg): Likewise.
48718         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48719         (RUN_TEST_f_b): Likewise.
48720         (RUN_TEST_LOOP_f_b): Likewise.
48721         (RUN_TEST_f_b_tg): Likewise.
48722         (RUN_TEST_LOOP_f_b_tg): Likewise.
48723         (RUN_TEST_f_l): Likewise.
48724         (RUN_TEST_LOOP_f_l): Likewise.
48725         (RUN_TEST_f_L): Likewise.
48726         (RUN_TEST_LOOP_f_L): Likewise.
48727         (RUN_TEST_sincos): Likewise.
48728         (RUN_TEST_LOOP_sincos): Likewise.
48730 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48732         [BZ #15480]
48733         [BZ #15485]
48734         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48735         main case of finite arguments, set rounding mode to FE_TONEAREST
48736         and discard exceptions.
48737         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48738         exceptions.
48739         (remainder_tonearest_test_data): New variable.
48740         (remainder_test_tonearest): New function.
48741         (remainder_towardzero_test_data): New variable.
48742         (remainder_test_towardzero): New function.
48743         (remainder_downward_test_data): New variable.
48744         (remainder_test_downward): New function.
48745         (remainder_upward_test_data): New variable.
48746         (remainder_test_upward): New function.
48747         (main): Call the new test functions.
48749         * math/libm-test.inc (struct test_f_f1_data): Remove field
48750         extra_init.
48751         (struct test_fF_f1_data): Likewise.
48752         (struct test_ffI_f1_data): Likewise.
48753         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48754         based on value of EXTRA_EXPECTED.
48755         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48756         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48757         EXTRA_VAR based on value of EXTRA_EXPECTED.
48758         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48759         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48760         EXTRA_VAR based on value of EXTRA_EXPECTED.
48761         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48762         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48763         EXTRA_VAR based on value of EXTRA_EXPECTED.
48764         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48765         * math/gen-libm-test.pl (parse_args): Don't output initializers
48766         for extra output values.
48768         * math/libm-test.inc (check_int): Expect result to be exactly
48769         equal to expected value and do not handle ulps.
48770         (check_long): Likewise.
48771         (check_longlong): Likewise.
48773         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48774         exceptions.
48775         (cimag_test_data): Likewise.
48776         (conj_test_data): Likewise.
48777         (copysign_test_data): Likewise.
48778         (cproj_test_data): Likewise.
48779         (creal_test_data): Likewise.
48780         (fabs_test_data): Likewise.
48781         (fdim_test_data): Likewise.
48782         (finite_test_data): Likewise.
48783         (floor_test_data): Likewise.
48784         (fmax_test_data): Likewise.
48785         (fmin_test_data): Likewise.
48786         (fmod_test_data): Likewise.
48787         (fpclassify_test_data): Likewise.
48788         (frexp_test_data): Likewise.
48789         (ilogb_test_data): Likewise.
48790         (isfinite_test_data): Likewise.
48791         (isgreater_test_data): Likewise.
48792         (isgreaterequal_test_data): Likewise.
48793         (isinf_test_data): Likewise.
48794         (isless_test_data): Likewise.
48795         (islessequal_test_data): Likewise.
48796         (islessgreater_test_data): Likewise.
48797         (isnan_test_data): Likewise.
48798         (isnormal_test_data): Likewise.
48799         (issignaling_test_data): Likewise.
48800         (isunordered_test_data): Likewise.
48801         (ldexp_test_data): Likewise.
48802         (lrint_test_data): Likewise.
48803         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48804         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48805         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48806         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48807         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48808         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48809         test input.
48810         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48811         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48812         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48813         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48814         that test input.
48815         (lrint_downward_test_data): Test for "inexact" exceptions.
48816         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48817         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48818         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48819         test input.
48820         (lrint_upward_test_data): Test for "inexact" exceptions.
48821         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48822         test input.
48823         (llrint_test_data): Test for "inexact" exceptions.
48824         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48825         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48826         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48827         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48828         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48829         (llrint_downward_test_data): Test for "inexact" exceptions.
48830         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48831         (llrint_upward_test_data): Test for "inexact" exceptions.
48832         (logb_test_data): Likewise.
48833         (logb_downward_test_data): Likewise.
48834         (nextafter_test_data): Likewise.
48835         (nexttoward_test_data): Likewise.
48836         (remainder_test_data): Likewise.
48837         (remquo_test_data): Likewise.
48838         (scalbn_test_data): Likewise.
48839         (scalbln_test_data): Likewise.
48840         (signbit_test_data): Likewise.
48841         (sqrt_test_data): Likewise.
48842         (significand_test_data): Likewise.
48844 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48846         [BZ #15424]
48847         * benchtests/bench-modf.c (struct args): Mark arg0 as
48848         volatile.
48849         * scripts/bench.pl: Mark members of struct args as volatile.
48851 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48853         [BZ # 15497]
48854         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48855         negative infinity on POWER6 or lower.
48856         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48858 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48860         [BZ #15442]
48861         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48862         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48863         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48864         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48865         (_FP_SETQNAN): New macro.
48866         (_FP_SETQNAN_SEMIRAW): Likewise.
48867         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48868         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48869         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48870         (FP_EXTEND): Use _FP_FRAC_SNANP.
48871         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48872         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48873         into account.
48874         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48875         New macro.
48876         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48877         Likewise.
48879 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48881         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48882         with DIVIDE_BY_ZERO_EXCEPTION.
48883         (gamma_test_data): Likewise.
48884         (lgamma_test_data): Likewise.
48885         (log_test_data): Likewise.
48886         (log10_test_data): Likewise.
48887         (log2_test_data): Likewise.
48888         (tgamma_test_data): Likewise.
48890         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48891         (acos_test_tonearest): Likewise.
48892         (acos_test_towardzero): Likewise.
48893         (acos_test_downward): Likewise.
48894         (acos_test_upward): Likewise.
48895         (acosh_test): Likewise.
48896         (asin_test): Likewise.
48897         (asin_test_tonearest): Likewise.
48898         (asin_test_towardzero): Likewise.
48899         (asin_test_downward): Likewise.
48900         (asin_test_upward): Likewise.
48901         (asinh_test): Likewise.
48902         (atan_test): Likewise.
48903         (atanh_test): Likewise.
48904         (atan2_test): Likewise.
48905         (cabs_test): Likewise.
48906         (cacos_test): Likewise.
48907         (cacosh_test): Likewise.
48908         (casin_test): Likewise.
48909         (casinh_test): Likewise.
48910         (catan_test): Likewise.
48911         (catanh_test): Likewise.
48912         (cbrt_test): Likewise.
48913         (ccos_test): Likewise.
48914         (ccosh_test): Likewise.
48915         (cexp_test): Likewise.
48916         (clog_test): Likewise.
48917         (clog10_test): Likewise.
48918         (cos_test): Likewise.
48919         (cos_test_tonearest): Likewise.
48920         (cos_test_towardzero): Likewise.
48921         (cos_test_downward): Likewise.
48922         (cos_test_upward): Likewise.
48923         (cosh_test): Likewise.
48924         (cosh_test_tonearest): Likewise.
48925         (cosh_test_towardzero): Likewise.
48926         (cosh_test_downward): Likewise.
48927         (cosh_test_upward): Likewise.
48928         (cpow_test): Likewise.
48929         (csin_test): Likewise.
48930         (csinh_test): Likewise.
48931         (csqrt_test): Likewise.
48932         (ctan_test): Likewise.
48933         (ctan_test_tonearest): Likewise.
48934         (ctan_test_towardzero): Likewise.
48935         (ctan_test_downward): Likewise.
48936         (ctan_test_upward): Likewise.
48937         (ctanh_test): Likewise.
48938         (ctanh_test_tonearest): Likewise.
48939         (ctanh_test_towardzero): Likewise.
48940         (ctanh_test_downward): Likewise.
48941         (ctanh_test_upward): Likewise.
48942         (erf_test): Likewise.
48943         (erfc_test): Likewise.
48944         (exp_test): Likewise.
48945         (exp_test_tonearest): Likewise.
48946         (exp_test_towardzero): Likewise.
48947         (exp_test_downward): Likewise.
48948         (exp_test_upward): Likewise.
48949         (exp10_test): Likewise.
48950         (exp2_test): Likewise.
48951         (expm1_test): Likewise.
48952         (fmod_test): Likewise.
48953         (gamma_test): Likewise.
48954         (hypot_test): Likewise.
48955         (j0_test): Likewise.
48956         (j1_test): Likewise.
48957         (jn_test): Likewise.
48958         (lgamma_test): Likewise.
48959         (log_test): Likewise.
48960         (log10_test): Likewise.
48961         (log1p_test): Likewise.
48962         (log2_test): Likewise.
48963         (logb_test_downward): Likewise.
48964         (pow_test): Likewise.
48965         (pow_test_tonearest): Likewise.
48966         (pow_test_towardzero): Likewise.
48967         (pow_test_downward): Likewise.
48968         (pow_test_upward): Likewise.
48969         (remainder_test): Likewise.
48970         (remquo_test): Likewise.
48971         (sin_test): Likewise.
48972         (sin_test_tonearest): Likewise.
48973         (sin_test_towardzero): Likewise.
48974         (sin_test_downward): Likewise.
48975         (sin_test_upward): Likewise.
48976         (sincos_test): Likewise.
48977         (sinh_test): Likewise.
48978         (sinh_test_tonearest): Likewise.
48979         (sinh_test_towardzero): Likewise.
48980         (sinh_test_downward): Likewise.
48981         (sinh_test_upward): Likewise.
48982         (sqrt_test): Likewise.
48983         (tan_test): Likewise.
48984         (tan_test_tonearest): Likewise.
48985         (tan_test_towardzero): Likewise.
48986         (tan_test_downward): Likewise.
48987         (tan_test_upward): Likewise.
48988         (tanh_test): Likewise.
48989         (tgamma_test): Likewise.
48990         (y0_test): Likewise.
48991         (y1_test): Likewise.
48992         (yn_test): Likewise.
48994         * math/gen-libm-test.pl (adjust_arg): Remove function.
48995         (special_function): Remove argument $in_func.  Only handle
48996         generating output for tables of tests, not inside functions.
48997         (parse_args): Likewise.
48998         (generate_testfile): Remove variable $in_func.  Update call to
48999         parse_args.
49000         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49001         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49002         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49003         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49004         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49005         (MAX_VALUE_INIT): Rename macro to max_value.
49006         (MIN_VALUE_INIT): Rename macro to min_value.
49007         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49008         (plus_zero): Remove variable.
49009         (minus_zero): Likewise.
49010         (plus_infty): Likewise.
49011         (minus_infty): Likewise.
49012         (qnan_value): Likewise.
49013         (max_value): Likewise.
49014         (min_value): Likewise.
49015         (min_subnorm_value): Likewise.
49017 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49019         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49020         uint64_t or uint32_t usage.
49021         * crypt/sha256-block.c: Likewise.
49022         * crypt/sha256-crypt.c: Likewise.
49023         * crypt/sha256.c: Likewise.
49024         * crypt/sha512-block.c: Likewise.
49025         * crypt/sha512-crypt.c: Likewise.
49026         * crypt/sha512.c: Likewise.
49027         * debug/backtrace-tst.c: Likewise.
49028         * debug/pcprofiledump.c: Likewise.
49029         * elf/cache.c: Likewise.
49030         * elf/dl-cache.c: Likewise.
49031         * elf/dl-misc.c: Likewise.
49032         * elf/dl-profile.c: Likewise.
49033         * elf/dl-support.c: Likewise.
49034         * elf/ldconfig.c: Likewise.
49035         * elf/sprof.c: Likewise.
49036         * iconv/dummy-repertoire.c: Likewise.
49037         * iconv/iconv_charmap.c: Likewise.
49038         * iconv/skeleton.c: Likewise.
49039         * iconvdata/8bit-generic.c: Likewise.
49040         * iconvdata/cp737.h: Likewise.
49041         * iconvdata/cp775.h: Likewise.
49042         * iconvdata/ibm1008.h: Likewise.
49043         * iconvdata/ibm1025.h: Likewise.
49044         * iconvdata/ibm1046.h: Likewise.
49045         * iconvdata/ibm1097.h: Likewise.
49046         * iconvdata/ibm1112.h: Likewise.
49047         * iconvdata/ibm1122.h: Likewise.
49048         * iconvdata/ibm1123.h: Likewise.
49049         * iconvdata/ibm1124.h: Likewise.
49050         * iconvdata/ibm1129.h: Likewise.
49051         * iconvdata/ibm1130.h: Likewise.
49052         * iconvdata/ibm1132.h: Likewise.
49053         * iconvdata/ibm1133.h: Likewise.
49054         * iconvdata/ibm1137.h: Likewise.
49055         * iconvdata/ibm1140.h: Likewise.
49056         * iconvdata/ibm1141.h: Likewise.
49057         * iconvdata/ibm1142.h: Likewise.
49058         * iconvdata/ibm1143.h: Likewise.
49059         * iconvdata/ibm1144.h: Likewise.
49060         * iconvdata/ibm1145.h: Likewise.
49061         * iconvdata/ibm1146.h: Likewise.
49062         * iconvdata/ibm1147.h: Likewise.
49063         * iconvdata/ibm1148.h: Likewise.
49064         * iconvdata/ibm1149.h: Likewise.
49065         * iconvdata/ibm1153.h: Likewise.
49066         * iconvdata/ibm1154.h: Likewise.
49067         * iconvdata/ibm1155.h: Likewise.
49068         * iconvdata/ibm1156.h: Likewise.
49069         * iconvdata/ibm1157.h: Likewise.
49070         * iconvdata/ibm1158.h: Likewise.
49071         * iconvdata/ibm1160.h: Likewise.
49072         * iconvdata/ibm1161.h: Likewise.
49073         * iconvdata/ibm1162.h: Likewise.
49074         * iconvdata/ibm1163.h: Likewise.
49075         * iconvdata/ibm1164.h: Likewise.
49076         * iconvdata/ibm1166.h: Likewise.
49077         * iconvdata/ibm1167.h: Likewise.
49078         * iconvdata/ibm12712.h: Likewise.
49079         * iconvdata/ibm1390.h: Likewise.
49080         * iconvdata/ibm1399.h: Likewise.
49081         * iconvdata/ibm16804.h: Likewise.
49082         * iconvdata/ibm4517.h: Likewise.
49083         * iconvdata/ibm4899.h: Likewise.
49084         * iconvdata/ibm4909.h: Likewise.
49085         * iconvdata/ibm4971.h: Likewise.
49086         * iconvdata/ibm5347.h: Likewise.
49087         * iconvdata/ibm803.h: Likewise.
49088         * iconvdata/ibm856.h: Likewise.
49089         * iconvdata/ibm901.h: Likewise.
49090         * iconvdata/ibm902.h: Likewise.
49091         * iconvdata/ibm9030.h: Likewise.
49092         * iconvdata/ibm9066.h: Likewise.
49093         * iconvdata/ibm921.h: Likewise.
49094         * iconvdata/ibm922.h: Likewise.
49095         * iconvdata/ibm9448.h: Likewise.
49096         * iconvdata/isiri-3342.h: Likewise.
49097         * iconvdata/jis0201.h: Likewise.
49098         * include/link.h: Likewise.
49099         * include/netdb.h: Likewise.
49100         * inet/check_native.c: Likewise.
49101         * inet/check_pf.c: Likewise.
49102         * inet/getipv4sourcefilter.c: Likewise.
49103         * inet/getnameinfo.c: Likewise.
49104         * inet/getsourcefilter.c: Likewise.
49105         * inet/htonl.c: Likewise.
49106         * inet/setipv4sourcefilter.c: Likewise.
49107         * inet/setsourcefilter.c: Likewise.
49108         * inet/test-inet6_opt.c: Likewise.
49109         * inet/tst-network.c: Likewise.
49110         * locale/C-collate.c: Likewise.
49111         * locale/C-ctype.c: Likewise.
49112         * locale/C-time.c: Likewise.
49113         * locale/C-translit.h: Likewise.
49114         * locale/loadarchive.c: Likewise.
49115         * locale/programs/3level.h: Likewise.
49116         * locale/programs/charmap.c: Likewise.
49117         * locale/programs/charmap.h: Likewise.
49118         * locale/programs/ld-address.c: Likewise.
49119         * locale/programs/ld-collate.c: Likewise.
49120         * locale/programs/ld-ctype.c: Likewise.
49121         * locale/programs/ld-identification.c: Likewise.
49122         * locale/programs/ld-measurement.c: Likewise.
49123         * locale/programs/ld-messages.c: Likewise.
49124         * locale/programs/ld-monetary.c: Likewise.
49125         * locale/programs/ld-name.c: Likewise.
49126         * locale/programs/ld-numeric.c: Likewise.
49127         * locale/programs/ld-paper.c: Likewise.
49128         * locale/programs/ld-telephone.c: Likewise.
49129         * locale/programs/ld-time.c: Likewise.
49130         * locale/programs/linereader.c: Likewise.
49131         * locale/programs/locale.c: Likewise.
49132         * locale/programs/locarchive.c: Likewise.
49133         * locale/programs/locfile.h: Likewise.
49134         * locale/programs/repertoire.c: Likewise.
49135         * locale/programs/simple-hash.c: Likewise.
49136         * locale/programs/simple-hash.h: Likewise.
49137         * malloc/memusage.c: Likewise.
49138         * malloc/memusagestat.c: Likewise.
49139         * nis/nis_defaults.c: Likewise.
49140         * nis/nis_hash.c: Likewise.
49141         * nis/nis_print.c: Likewise.
49142         * nis/nis_xdr.c: Likewise.
49143         * nscd/connections.c: Likewise.
49144         * nscd/hstcache.c: Likewise.
49145         * nscd/nscd_gethst_r.c: Likewise.
49146         * nscd/nscd_getserv_r.c: Likewise.
49147         * nscd/nscd_helper.c: Likewise.
49148         * nscd/servicescache.c: Likewise.
49149         * nss/makedb.c: Likewise.
49150         * nss/nss_db/db-XXX.c: Likewise.
49151         * nss/nss_db/db-initgroups.c: Likewise.
49152         * nss/nss_db/db-netgrp.c: Likewise.
49153         * nss/nss_files/files-network.c: Likewise.
49154         * nss/nss_files/files-parse.c: Likewise.
49155         * posix/bug-regex5.c: Likewise.
49156         * posix/fnmatch_loop.c: Likewise.
49157         * posix/regcomp.c: Likewise.
49158         * posix/regexec.c: Likewise.
49159         * posix/tst-rfc3484-2.c: Likewise.
49160         * posix/tst-rfc3484-3.c: Likewise.
49161         * posix/tst-rfc3484.c: Likewise.
49162         * resolv/nss_dns/dns-canon.c: Likewise.
49163         * resolv/nss_dns/dns-network.c: Likewise.
49164         * resolv/res_init.c: Likewise.
49165         * resolv/res_mkquery.c: Likewise.
49166         * resolv/tst-aton.c: Likewise.
49167         * stdlib/cxa_atexit.c: Likewise.
49168         * stdlib/cxa_finalize.c: Likewise.
49169         * stdlib/gen-fpioconst.c: Likewise.
49170         * stdlib/strtol_l.c: Likewise.
49171         * string/tst-endian.c: Likewise.
49172         * sunrpc/auth_des.c: Likewise.
49173         * sunrpc/clnt_udp.c: Likewise.
49174         * sunrpc/rtime.c: Likewise.
49175         * sunrpc/svcauth_des.c: Likewise.
49176         * sunrpc/xdr.c: Likewise.
49177         * sunrpc/xdr_intXX_t.c: Likewise.
49178         * sunrpc/xdr_rec.c: Likewise.
49179         * sysdeps/generic/ldconfig.h: Likewise.
49180         * sysdeps/generic/ldsodefs.h: Likewise.
49181         * sysdeps/generic/memusage.h: Likewise.
49182         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49184         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49185         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49186         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49187         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49188         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49189         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49190         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49192         * sysdeps/posix/getaddrinfo.c: Likewise.
49193         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49194         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49195         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49196         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49197         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49198         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49199         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49200         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49201         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49202         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49203         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49204         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49205         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49206         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49207         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49208         * sysdeps/x86_64/dl-tls.h: Likewise.
49209         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49210         * time/alt_digit.c: Likewise.
49211         * time/era.c: Likewise.
49212         * wcsmbs/tst-c16c32-1.c: Likewise.
49214 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49216         * math/libm-test.inc (struct test_sincos_data): New type.
49217         (RUN_TEST_LOOP_sincos): New macro.
49218         (sincos_test_data): New variable.
49219         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49221 2013-05-16  Richard Henderson  <rth@redhat.com>
49223         * math/atest-exp2.c (LIMB64): New macro.
49224         (CONSTSZ): New macro.
49225         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49226         (hexdig): Move ...
49227         (print_mpn_fp): ... to function scope.
49228         (read_mpn_hex): Remove.
49229         (get_log2): Remove.
49230         (exp2_mpn): Use mp_log2.
49231         (main): Use mp_exp1.
49233 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49235         * math/libm-test.inc: Remove comment about not testing "inexact"
49236         exceptions.
49237         (INEXACT_EXCEPTION): New macro.
49238         (NO_INEXACT_EXCEPTION): Likewise.
49239         (INVALID_EXCEPTION_OK): Update value.
49240         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49241         (OVERFLOW_EXCEPTION_OK): Likewise.
49242         (UNDERFLOW_EXCEPTION_OK): Likewise.
49243         (IGNORE_ZERO_INF_SIGN): Likewise.
49244         (ERRNO_UNCHANGED): Likewise.
49245         (ERRNO_EDOM): Likewise.
49246         (ERRNO_ERANGE): Likewise.
49247         (test_exceptions): Handle testing "inexact" exceptions.
49248         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49249         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49250         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49251         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49252         INEXACT_EXCEPTION.
49253         (rint_towardzero_test_data): Likewise.
49254         (rint_downward_test_data): Likewise.
49255         (rint_upward_test_data): Likewise.
49257         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49258         with OVERFLOW_EXCEPTION.
49259         (exp10_test_data): Likewise.
49260         (exp2_test_data): Likewise.
49261         (expm1_test_data): Likewise.
49262         (lgamma_test_data): Likewise.
49263         (pow_test_data): Likewise.
49264         (tgamma_test_data): Likewise.
49265         (yn_test_data): Remove duplicate test of overflow.
49267         * math/libm-test.inc (struct test_cc_c_data): New type.
49268         (RUN_TEST_LOOP_cc_c): New macro.
49269         (cpow_test_data): New variable.
49270         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49272         * math/libm-test.inc (struct test_f_L_data): New type.
49273         (RUN_TEST_LOOP_f_L): New macro.
49274         (llrint_test_data): New variable.
49275         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49276         (llrint_tonearest_test_data): New variable.
49277         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49278         (llrint_towardzero_test_data): New variable.
49279         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49280         (llrint_downward_test_data): New variable.
49281         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49282         (llrint_upward_test_data): New variable.
49283         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49284         (llround_test_data): New variable.
49285         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49287 2013-05-13  Peter Collingbourne  <pcc@google.com>
49289         * math/atest-exp2.c (get_log2): Remove const attribute.
49291 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49293         * math/libm-test.inc (struct test_f_l_data): New type.
49294         (RUN_TEST_LOOP_f_l): New macro.
49295         (lrint_test_data): New variable.
49296         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49297         (lrint_tonearest_test_data): New variable.
49298         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49299         (lrint_towardzero_test_data): New variable.
49300         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49301         (lrint_downward_test_data): New variable.
49302         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49303         (lrint_upward_test_data): New variable.
49304         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49305         (lround_test_data): New variable.
49306         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49308 2013-05-15  Peter Collingbourne  <pcc@google.com>
49310         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49311         (EXTRACT_WORDS64) Use where appropriate.
49312         (INSERT_WORDS64) Likewise.
49314         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49315         constraints with x constraints.
49316         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49318         * malloc/obstack.c (_obstack_compat): Add initializer.
49320 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49322         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49323         si_trapno and add si_addr_lsb to _sifields.sigfault.
49324         (si_trapno): Remove macro.
49325         (si_addr_lsb): Define new macro.
49326         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49328 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49330         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49331         instead of TEST_f_l.
49332         (llrint_test_tonearest): Likewise.
49333         (llrint_test_towardzero): Likewise.
49334         (llrint_test_downward): Likewise.
49335         (llrint_test_upward): Likewise.
49336         (llround_test): Likewise.
49338         * math/libm-test.inc (struct test_f_i_data): Add comment.
49339         (RUN_TEST_LOOP_f_b): New macro.
49340         (RUN_TEST_LOOP_f_b_tg): Likewise.
49341         (finite_test_data): New variable.
49342         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49343         (isfinite_test_data): New variable.
49344         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49345         (isinf_test_data): New variable.
49346         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49347         (isnan_test_data): New variable.
49348         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49349         (isnormal_test_data): New variable.
49350         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49351         (issignaling_test_data): New variable.
49352         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49353         (signbit_test_data): New variable.
49354         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49356         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49357         with INVALID_EXCEPTION.
49358         (acosh_test_data): Likewise.
49359         (asin_test_data): Likewise.
49360         (atanh_test_data): Likewise.
49361         (fmod_test_data): Likewise.
49362         (log_test_data): Likewise.
49363         (log10_test_data): Likewise.
49364         (log2_test_data): Likewise.
49365         (pow_test_data): Likewise.
49366         (sqrt_test_data): Likewise.
49367         (y0_test_data): Likewise.
49368         (y1_test_data): Likewise.
49369         (yn_test_data): Likewise.
49371         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49372         function contents.
49374         * math/libm-test.inc (struct test_ff_i_data): New type.
49375         (RUN_TEST_LOOP_ff_i_tg): New macro.
49376         (isgreater_test_data): New variable.
49377         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49378         (isgreaterequal_test_data): New variable.
49379         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49380         (isless_test_data): New variable.
49381         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49382         (islessequal_test_data): New variable.
49383         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49384         (islessgreater_test_data): New variable.
49385         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49386         (isunordered_test_data): New variable.
49387         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49389 2013-05-14  David S. Miller  <davem@davemloft.net>
49391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49393 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49395         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49397         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49398         extra_test to int.
49399         (struct test_f_i_data): Change type of max_ulp to int.
49401         * math/libm-test.inc (test_ffI_f1_data): New type.
49402         (RUN_TEST_LOOP_ffI_f1): New macro.
49403         (remquo_test_data): New variable.
49404         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49406         * setjmp/tst-setjmp-fp.c: New file.
49407         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49408         (link-libm): New variable.
49409         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49411         * math/libm-test.inc (struct test_f_i_data): New type.
49412         (RUN_TEST_LOOP_f_i): New macro.
49413         (RUN_TEST_LOOP_f_i_tg): Likewise.
49414         (fpclassify_test_data): New variable.
49415         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49416         (ilogb_test_data): New variable.
49417         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49419         * math/libm-test.inc (scalbln_test): Correct function name in END
49420         call.
49422         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49423         (RUN_TEST_LOOP_fI_f1): New macro.
49424         (frexp_test_data): New variable.
49425         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49427         * math/libm-test.inc (struct test_fF_f1_data): New type.
49428         (RUN_TEST_LOOP_fF_f1): New macro.
49429         (modf_test_data): New variable.
49430         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49432         * math/libm-test.inc (struct test_f_f1_data): New type.
49433         (RUN_TEST_LOOP_f_f1): New macro.
49434         (gamma_test_data): New variable.
49435         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49436         (lgamma_test_data): New variable.
49437         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49439 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49441         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49442         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49443         (main): Comment "tls" pseudo-hwcap.
49445 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49447         * math/libm-test.inc (struct test_fl_f_data): New type.
49448         (RUN_TEST_LOOP_fl_f): New variable.
49449         (scalbln_test_data): New variable.
49450         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49452         * math/libm-test.inc (struct test_fi_f_data): New type.
49453         (RUN_TEST_LOOP_fi_f): New macro.
49454         (ldexp_test_data): New variable.
49455         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49456         (scalbn_test_data): New variable.
49457         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49459         * math/libm-test.inc (struct test_c_f_data): New type.
49460         (RUN_TEST_LOOP_c_f): New macro.
49461         (cabs_test_data): New variable.
49462         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49463         (carg_test_data): New variable.
49464         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49465         (cimag_test_data): New variable.
49466         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49467         (creal_test_data): New variable.
49468         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49470         * math/libm-test.inc (struct test_if_f_data): New type.
49471         (RUN_TEST_LOOP_if_f): New macro.
49472         (jn_test_data): New variable.
49473         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49474         (yn_test_data): New variable.
49475         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49477         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49479 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49481         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49482         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49484 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49486         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49487         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49488         (bench-deps): Add bench-timing.h.
49489         * benchtests-bench-skeleton.c: Include bench-timing.h.
49490         (main): Use TIMING_* macros instead of clock_gettime.
49491         * benchtests/bench-timing.h: New file.
49493         [BZ #14582]
49494         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49495         Renamed from _LIB_VERSION.
49496         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49498 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49500         * math/libm-test.inc (struct test_fff_f_data): New type.
49501         (RUN_TEST_LOOP_fff_f): New macro.
49502         (fma_test_data): New variable.
49503         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49504         (fma_towardzero_test_data): New variable.
49505         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49506         (fma_downward_test_data): New variable.
49507         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49508         (fma_upward_test_data): New variable.
49509         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49511         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49512         (struct test_c_c_data): New type.
49513         (RUN_TEST_LOOP_c_c): New macro.
49514         (cacos_test_data): New variable.
49515         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49516         (cacosh_test_data): New variable.
49517         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49518         (casin_test_data): New variable.
49519         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49520         (casinh_test_data): New variable.
49521         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49522         (catan_test_data): New variable.
49523         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49524         (catanh_test_data): New variable.
49525         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49526         (ccos_test_data): New variable.
49527         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49528         (ccosh_test_data): New variable.
49529         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49530         (cexp_test_data): New variable.
49531         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49532         (clog_test_data): New variable.
49533         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49534         (clog10_test_data): New variable.
49535         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49536         (conj_test_data): New variable.
49537         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49538         (cproj_test_data): New variable.
49539         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49540         (csin_test_data): New variable.
49541         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49542         (csinh_test_data): New variable.
49543         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49544         (csqrt_test_data): New variable.
49545         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49546         (ctan_test_data): New variable.
49547         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49548         (ctan_tonearest_test_data): New variable.
49549         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49550         (ctan_towardzero_test_data): New variable.
49551         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49552         (ctan_downward_test_data): New variable.
49553         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49554         (ctan_upward_test_data): New variable.
49555         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49556         (ctanh_test_data): New variable.
49557         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49558         (ctanh_tonearest_test_data): New variable.
49559         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49560         (ctanh_towardzero_test_data): New variable.
49561         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49562         (ctanh_downward_test_data): New variable.
49563         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49564         (ctanh_upward_test_data): New variable.
49565         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49566         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49567         of BUILD_COMPLEX.
49569         * math/libm-test.inc (struct test_ff_f_data): New type.
49570         (struct test_ff_f_data_nexttoward): Likewise.
49571         (RUN_TEST_LOOP_2_f): New macro.
49572         (RUN_TEST_LOOP_ff_f): Likewise.
49573         (atan2_test_data): New variable.
49574         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49575         (copysign_test_data): New variable.
49576         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49577         (fdim_test_data): New variable.
49578         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49579         (fmax_test_data): New variable.
49580         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49581         (fmin_test_data): New variable.
49582         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49583         (fmod_test_data): New variable.
49584         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49585         (hypot_test_data): New variable.
49586         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49587         (nextafter_test_data): New variable.
49588         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49589         (nexttoward_test_data): New variable.
49590         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49591         (pow_test_data): New variable.
49592         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49593         (pow_tonearest_test_data): New variable.
49594         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49595         (pow_towardzero_test_data): New variable.
49596         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49597         (pow_downward_test_data): New variable.
49598         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49599         (pow_upward_test_data): New variable.
49600         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49601         (remainder_test_data): New variable.
49602         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49603         (scalb_test_data): New variable.
49604         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49605         * sysdeps/i386/fpu/libm-test-ulps: Update.
49607 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49609         * math/libm-test.inc (fma_test): Use max_value instead of local
49610         variable fltmax.
49611         (nextafter_test): Likewise.
49613         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49614         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49615         (acos_downward_test_data): New variable.
49616         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49617         (acos_upward_test_data): New variable.
49618         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49619         (acosh_test_data): New variable.
49620         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49621         (asin_test_data): New variable.
49622         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49623         (asin_tonearest_test_data): New variable.
49624         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49625         (asin_towardzero_test_data): New variable.
49626         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49627         (asin_downward_test_data): New variable.
49628         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49629         (asin_upward_test_data): New variable.
49630         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49631         (asinh_test_data): New variable.
49632         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49633         (atan_test_data): New variable.
49634         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49635         (atanh_test_data): New variable.
49636         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49637         (cbrt_test_data): New variable.
49638         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49639         (ceil_test_data): New variable.
49640         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49641         (cos_test_data): New variable.
49642         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49643         (cos_tonearest_test_data): New variable.
49644         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49645         (cos_towardzero_test_data): New variable.
49646         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49647         (cos_downward_test_data): New variable.
49648         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49649         (cos_upward_test_data): New variable.
49650         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49651         (cosh_test_data): New variable.
49652         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49653         (cosh_tonearest_test_data): New variable.
49654         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49655         (cosh_towardzero_test_data): New variable.
49656         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49657         (cosh_downward_test_data): New variable.
49658         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49659         (cosh_upward_test_data): New variable.
49660         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49661         (erf_test_data): New variable.
49662         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49663         (erfc_test_data): New variable.
49664         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49665         (exp_test_data): New variable.
49666         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49667         (exp_tonearest_test_data): New variable.
49668         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49669         (exp_towardzero_test_data): New variable.
49670         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49671         (exp_downward_test_data): New variable.
49672         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49673         (exp_upward_test_data): New variable.
49674         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49675         (exp10_test_data): New variable.
49676         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49677         (exp2_test_data): New variable.
49678         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49679         (expm1_test_data): New variable.
49680         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49681         (fabs_test_data): New variable.
49682         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49683         (floor_test_data): New variable.
49684         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49685         (j0_test_data): New variable.
49686         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49687         (j1_test_data): New variable.
49688         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49689         (log_test_data): New variable.
49690         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49691         (log10_test_data): New variable.
49692         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49693         (log1p_test_data): New variable.
49694         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49695         (log2_test_data): New variable.
49696         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49697         (logb_test_data): New variable.
49698         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49699         (logb_downward_test_data): New variable.
49700         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49701         (nearbyint_test_data): New variable.
49702         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49703         (rint_test_data): New variable.
49704         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49705         (rint_tonearest_test_data): New variable.
49706         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49707         (rint_towardzero_test_data): New variable.
49708         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49709         (rint_downward_test_data): New variable.
49710         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49711         (rint_upward_test_data): New variable.
49712         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49713         (round_test_data): New variable.
49714         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49715         (sin_test_data): New variable.
49716         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49717         (sin_tonearest_test_data): New variable.
49718         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49719         (sin_towardzero_test_data): New variable.
49720         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49721         (sin_downward_test_data): New variable.
49722         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49723         (sin_upward_test_data): New variable.
49724         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49725         (sinh_test_data): New variable.
49726         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49727         (sinh_tonearest_test_data): New variable.
49728         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49729         (sinh_towardzero_test_data): New variable.
49730         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49731         (sinh_downward_test_data): New variable.
49732         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49733         (sinh_upward_test_data): New variable.
49734         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49735         (sqrt_test_data): New variable.
49736         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49737         (tan_test_data): New variable.
49738         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49739         (tan_tonearest_test_data): New variable.
49740         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49741         (tan_towardzero_test_data): New variable.
49742         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49743         (tan_downward_test_data): New variable.
49744         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49745         (tan_upward_test_data): New variable.
49746         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49747         (tanh_test_data): New variable.
49748         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49749         (tgamma_test_data): New variable.
49750         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49751         (trunc_test_data): New variable.
49752         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49753         (y0_test_data): New variable.
49754         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49755         (y1_test_data): New variable.
49756         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49757         (significand_test_data): New variable.
49758         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49760 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49762         [BZ #12387]
49763         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49765 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49767         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49769 2013-05-10  Andreas Jaeger  <aj@suse.de>
49771         [BZ #15448]
49772         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49773         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49775 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49777         * math/gen-libm-test.pl (adjust_arg): New function.
49778         (special_functions): Handle generating output in both functions
49779         and arrays.
49780         (parse_args): Likewise.
49781         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49782         $in_func argument to parse_args.
49783         * math/libm-test.inc (struct test_f_f_data): New type.
49784         (IF_ROUND_INIT_): New macro.
49785         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49786         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49787         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49788         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49789         (ROUND_RESTORE_): Likewise.
49790         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49791         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49792         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49793         (ROUND_RESTORE_FE_UPWARD): Likewise.
49794         (RUN_TEST_LOOP_f_f): New macro.
49795         (acos_test_data): New variable.
49796         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49797         (acos_tonearest_test_data): New variable.
49798         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49800 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49802         * benchtests/bench-skeleton.c (startup): Fix coding style.
49804 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49806         [BZ #6809]
49807         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49808         negative infinity argument.
49809         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49810         negative infinity argument.
49811         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49812         negative infinity argument.
49813         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49814         domain errors.
49816 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49818         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49819         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49820         * iconv/iconv_prog.c (main): Likewise.
49821         * locale/programs/charmap-dir.c (charmap_readdir)
49822         (fopen_uncompressed): Likewise.
49823         * locale/programs/locfile.c (siblings_uncached)
49824         (write_locale_data): Use lstat64 instead of lstat.
49825         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49826         stat.
49828 2013-05-10  Andreas Jaeger  <aj@suse.de>
49830         [BZ #15395]
49831         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49832         localization.
49833         Include <locale.h>.
49835 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49837         * elf/dl-close.c (_dl_close_worker): Add comments.
49839 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49841         [BZ #15359]
49842         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49843         high part of pi/2.
49844         (__ieee754_rem_pio2l): Update comments.
49846         [BZ #15429]
49847         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49848         high part of pi/2.
49849         (__ieee754_rem_pio2l): Update comments.
49851         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49852         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49854         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49855         M_PI_4l.
49857         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49858         (M_PI_34_LOG10El): Likewise.
49859         (M_PI2_LOG10El): Likewise.
49860         (M_PI4_LOG10El): Likewise.
49861         (M_PI_LOG10El): Likewise.
49863 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49867 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49869         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49870         (MINUS_ZERO_INIT): Likewise.
49871         (PLUS_INFTY_INIT): Likewise.
49872         (MINUS_INFTY_INIT): Likewise.
49873         (QNAN_VALUE_INIT): Likewise.
49874         (MAX_VALUE_INIT): Likewise.
49875         (MIN_VALUE_INIT): Likewise.
49876         (MIN_SUBNORM_VALUE_INIT): Likewise.
49877         (plus_zero): Initialize with PLUS_ZERO_INIT.
49878         (minus_zero): Initialize with MINUS_ZERO_INIT.
49879         (plus_infty): Initialize with PLUS_INFTY_INIT.
49880         (minus_infty): Initialize with MINUS_INFTY_INIT.
49881         (qnan_value): Initialize with QNAN_VALUE_INIT.
49882         (max_value): Initialize with MAX_VALUE_INIT.
49883         (min_value): Initialize with MIN_VALUE_INIT.
49884         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49886         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49887         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49888         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49889         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49891         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49892         (RUN_TEST_2_f): Likewise.
49893         (RUN_TEST_ff_f): Likewise.
49894         (RUN_TEST_fi_f): Likewise.
49895         (RUN_TEST_fl_f): Likewise.
49896         (RUN_TEST_fff_f): Likewise.
49897         (RUN_TEST_c_f): Likewise.
49898         (RUN_TEST_f_f1): Likewise.
49899         (RUN_TEST_fF_f1): Likewise.
49900         (RUN_TEST_fI_f1): Likewise.
49901         (RUN_TEST_ffI_f1): Likewise.
49902         (RUN_TEST_c_c): Likewise.
49903         (RUN_TEST_cc_c): Likewise.
49904         (RUN_TEST_f_i): Likewise.
49905         (RUN_TEST_f_i_tg): Likewise.
49906         (RUN_TEST_ff_i_tg): Likewise.
49907         (RUN_TEST_f_b): Likewise.
49908         (RUN_TEST_f_b_tg): Likewise.
49909         (RUN_TEST_f_l): Likewise.
49910         (RUN_TEST_f_L): Likewise.
49911         (RUN_TEST_sincos): Likewise.
49912         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49913         whether to show exceptions.  Do not include ");\n" in return
49914         value.
49915         (special_functions): Output call to RUN_TEST_sincos instead of
49916         check_float calls.  Update calls to new_test.
49917         (parse_args): Output call to single RUN_TEST_* macro instead of
49918         check_* calls and other assignments.  Update calls to new_test.
49920         [BZ #2546]
49921         [BZ #2560]
49922         [BZ #5159]
49923         [BZ #15426]
49924         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49925         input to result for tgamma overflow.
49926         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49927         (gamma_coeff): New variable.
49928         (NCOEFF): New macro.
49929         (gamma_positive): New function.
49930         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49931         underflow here.  Use gamma_positive instead of exp (lgamma) for
49932         other arguments.
49933         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49934         (gamma_coeff): New variable.
49935         (NCOEFF): New macro.
49936         (gammaf_positive): New function.
49937         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49938         underflow here.  Use gamma_positive instead of exp (lgamma) for
49939         other arguments.
49940         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49941         (gamma_coeff): New variable.
49942         (NCOEFF): New macro.
49943         (gammal_positive): New function.
49944         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49945         underflow here.  Use gamma_positive instead of exp (lgamma) for
49946         other arguments.
49947         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49948         (gamma_coeff): New variable.
49949         (NCOEFF): New macro.
49950         (gammal_positive): New function.
49951         (__ieee754_gammal_r): Handle positive infinity, overflow and
49952         underflow here.  Handle NaN the same as positive infinity.  Remove
49953         check x < 0xffffffff for negative integers.  Use gamma_positive
49954         instead of exp (lgamma) for other arguments.
49955         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49956         (gamma_coeff): New variable.
49957         (NCOEFF): New macro.
49958         (gammal_positive): New function.
49959         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49960         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49961         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49962         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49963         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49964         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49965         * sysdeps/generic/math_private.h (__gamma_productf): New
49966         prototype.
49967         (__gamma_product): Likewise.
49968         (__gamma_productl): Likewise.
49969         * math/Makefile (libm-calls): Add gamma_product.
49970         * math/libm-test.inc (tgamma_test): Add more tests.
49971         * sysdeps/i386/fpu/libm-test-ulps: Update.
49972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49974 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49976         * benchtests/bench-skeleton.c (main): Preheat CPU.
49978 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49980         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49982 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49984         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49985         and _dl_skip_args_internal.
49987 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49989         * manual/message.texi (Message Translation): Talk about users.
49990         Message to key mapping impacts design.
49992 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49994         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49996         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49998         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49999         * sysdeps/wordsize-64/glob64.c: ... here.
50001         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50002         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50003         New macros.
50005         * debug/getlogin_r_chk.c: Moved to ...
50006         * login/getlogin_r_chk.c: ... here.
50007         * debug/Makefile (routines): Move getlogin_r_chk to ...
50008         * login/Makefile (routines): ... here.
50009         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50010         * login/Versions (libc: GLIBC_2.4): ... here.
50012         * io/poll.c (__poll): Renamed from poll.
50013         Add libc_hidden_def.
50014         (poll): Define as weak alias.
50016         * debug/ptsname_r_chk.c: Moved to ...
50017         * login/ptsname_r_chk.c: ... here.
50018         * debug/Makefile (routines): Move ptsname_r_chk to ...
50019         * login/Makefile (routines): ... here.
50020         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50021         * login/Versions (libc: GLIBC_2.4): ... here.
50023         * posix/getlogin.c: Moved to ...
50024         * login/getlogin.c: ... here.
50025         * posix/getlogin_r.c: Moved to ...
50026         * login/getlogin_r.c: ... here.
50027         * posix/getlogin_r.c: Moved to ...
50028         * login/getlogin_r.c: ... here.
50029         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50030         * login/Makefile (routines): ... here.
50031         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50032         * login/Versions (libc: GLIBC_2.0): ... here.
50034         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50035         (setrlimit): Define as weak alias.
50037         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50038         Call __ names for open, ftruncate, and close.
50039         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50040         (truncate): Define as weak alias.
50042 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50044         * math/gen-libm-test.pl (parse_args): Initialize x before each
50045         test of frexp, modf and remquo.
50047         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50048         test signgam value.
50050 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50052         [BZ #15418]
50053         [BZ #15419]
50054         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50055         internal tests.
50056         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50058 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50060         * elf/dl-writev.h: New file.
50061         * elf/dl-misc.c: Include it.
50062         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50063         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50065 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50067         * math/libm-test.inc (noXFails): Remove variable.
50068         (noXPasses): Likewise.
50069         (BUILD_COMPLEX_INT): Remove macro.
50070         (print_screen): Remove xfail argument.
50071         (print_screen_max_error): Likewise.
50072         (update_stats): Likewise.
50073         (print_max_error): Likewise.  Update calls to other affected
50074         functions.
50075         (print_complex_max_error): Likewise.
50076         (test_single_exception): Update calls to print_screen.
50077         (test_single_errno): Likewise.
50078         (check_float_internal): Remove xfail argument.  Update calls to
50079         other affected functions.
50080         (check_float): Likewise.
50081         (check_complex): Likewise.
50082         (check_int): Likewise.
50083         (check_long): Likewise.
50084         (check_bool): Likewise.
50085         (check_longlong): Likewise.
50086         (main): Don't print noXFails and noXPasses.
50087         * math/gen-libm-test.pl (top level): Don't mention expected
50088         failure handling in comment.
50089         (new_test): Don't handle expected failures.
50090         (parse_args): Don't mention expected failure handling in comment.
50091         (generate_testfile): Don't handle expected failures.
50092         (parse_ulps): Likewise.
50093         (print_ulps_file): Likewise.
50094         (get_failure): Remove function.
50095         (output_test): Don't handle expected failures.
50096         * make/README.libm-test: Don't mention expected failure handling.
50098         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50099         (minus_zero): Likewise.
50100         (plus_infty): Likewise.
50101         (minus_infty): Likewise.
50102         (qnan_value): Likewise.
50103         (max_value): Likewise.
50104         (min_value): Likewise.
50105         (min_subnorm_value): Likewise.
50106         (initialize): Do not initialize those variables dynamically.
50108 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50110         * io/open.c (__open_2): Moved to ...
50111         * io/open_2.c: ... this new file.
50112         * io/open64.c (__open64_2): Moved to ...
50113         * io/open64_2.c: ... this new file.
50114         * io/openat.c (__openat_2): Moved to ...
50115         * io/openat_2.c: ... this new file.
50116         * io/openat64.c (__openat64_2): Moved to ...
50117         * io/openat64_2.c: ... this new file.
50118         * io/Makefile (routines): Add them.
50119         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50120         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50121         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50122         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50123         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50124         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50125         (__openat64): Add hidden_ver.
50126         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50127         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50129         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50130         Separately conditionalize setting of GLRO(dl_sysinfo) so
50131         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50132         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50134 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50136         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50138         definition.
50139         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50140         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50141         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50142         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50143         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50145 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50147         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50148         test signgam value.
50150         * math/libm-test.inc (hypot_test): Do not use
50151         IGNORE_ZERO_INF_SIGN.
50153 2013-05-03  Andreas Jaeger  <aj@suse.de>
50155         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50156         Linux 3.9.
50157         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50158         (PF_MAX): Adjust for VSOCK change.
50160 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50164 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50166         [BZ #15264]
50167         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50168         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50169         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50171 2013-05-02  David S. Miller  <davem@davemloft.net>
50173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50175 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50177         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50179 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50181         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50183 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50185         [BZ #14952]
50186         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50187         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50188         Use __attribute__ ((__gnu_inline__)).
50189         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50190         Don't use __attribute__ ((__gnu_inline__)).
50192 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50194         [BZ #15423]
50195         * math/s_catan.c (__catan): Handle small real or imaginary part of
50196         input specially to avoid spurious underflow.
50197         * math/s_catanf.c (__catanf): Likewise.
50198         * math/s_catanh.c (__catanh): Likewise.
50199         * math/s_catanhf.c (__catanhf): Likewise.
50200         * math/s_catanhl.c (__catanhl): Likewise.
50201         * math/s_catanl.c (__catanl): Likewise.
50202         * math/libm-test.inc (catan_test): Add more tests.
50203         (catanh_test): Likewise.
50204         * sysdeps/i386/fpu/libm-test-ulps: Update.
50205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50207 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50211 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50213         [BZ #15416]
50214         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50215         accurately for denominator in atan2.
50216         * math/s_catanf.c (__catanf): Likewise.
50217         * math/s_catanh.c (__catanh): Likewise.
50218         * math/s_catanhf.c (__catanhf): Likewise.
50219         * math/s_catanhl.c (__catanhl): Likewise.
50220         * math/s_catanl.c (__catanl): Likewise.
50221         * math/libm-test.inc (catan_test): Add more tests.
50222         (catanh_test): Likewise.
50223         * sysdeps/i386/fpu/libm-test-ulps: Update.
50224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50226 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50228         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50230         * benchtests/Makefile (bench): Remove slow benchmarks.
50231         * benchtests/atan-inputs: Add slow benchmark inputs.
50232         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50233         (BENCH_FUNC): Accept variant offset.
50234         (VARIANT): Define.
50235         * benchtests/bench-skeleton.c (main): Run benchmark for each
50236         variant.
50237         * benchtests/cos-inputs: Add slow benchmark inputs.
50238         * benchtests/exp-inputs: Likewise.
50239         * benchtests/pow-inputs: Likewise.
50240         * benchtests/sin-inputs: Likewise.
50241         * benchtests/slowatan-inputs: Remove.
50242         * benchtests/slowatan.c: Remove.
50243         * benchtests/slowcos-inputs: Remove.
50244         * benchtests/slowcos.c: Remove.
50245         * benchtests/slowexp-inputs: Remove.
50246         * benchtests/slowexp.c: Remove.
50247         * benchtests/slowpow-inputs: Remove.
50248         * benchtests/slowpow.c: Remove.
50249         * benchtests/slowsin-inputs: Remove.
50250         * benchtests/slowsin.c: Remove.
50251         * benchtests/slowtan-inputs: Remove.
50252         * benchtests/slowtan.c: Remove.
50253         * benchtests/tan-inputs: Add slow benchmark inputs.
50254         * scripts/bench.pl: Parse comments and directives.
50256         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50257         in CPPFLAGS.
50258         ($(objpfx)bench-%.c): Remove *-ITER.
50259         * benchtests/bench-modf.c: Remove definition of ITER.
50260         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50261         (main): Loop for DURATION seconds instead of fixed number of
50262         iterations.
50263         * scripts/bench.pl: Don't expect iterations in parameters.
50265 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50267         * io/fchdir.c (__fchdir): Renamed from fchdir.
50268         (fchdir): Define as weak alias.
50270 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50272         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50273         (ERRNO_EDOM): Likewise.
50274         (ERRNO_ERANGE): Likewise.
50275         (noErrnoTests): New variable.
50276         (init_max_error): Set errno to 0.
50277         (test_single_errno): New function.
50278         (test_errno): Likewise.
50279         (check_float_internal): Call test_errno.  Set errno to 0.
50280         (check_complex): Refer to errno tests in comment.
50281         (check_int): Call test_errno.  Set errno to 0.
50282         (check_long): Likewise.
50283         (check_bool): Likewise.
50284         (check_longlong): Likewise.
50285         (cos_test): Use ERRNO_* flags for errno tests instead of
50286         check_int.
50287         (expm1_test): Likewise.
50288         (fmod_test): Likewise.
50289         (ilogb_test): Likewise.
50290         (lgamma_test): Likewise.
50291         (pow_test): Likewise.
50292         (remainder_test): Likewise.
50293         (sin_test): Likewise.
50294         (tan_test): Likewise.
50295         (yn_test): Likewise.
50296         (initialize): Set errno to 0.
50297         (main): Print number of errno tests.
50298         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50300 2013-04-29  Andreas Jaeger  <aj@suse.de>
50302         [BZ #15084]
50303         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50304         and RES_USEVC.
50306         [BZ #15085]
50307         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50308         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50309         unimplemented.
50311         [BZ #15380]
50312         * stdlib/random.c (__initstate): Return NULL if
50313         __initstate fails.
50315         [BZ #15086]
50316         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50317         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50318         RES_SNGLKUPREOP.
50320 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50324 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50326         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50327         of individual tests.
50328         (casin_test): Likewise.
50329         (casinh_test): Likewise.
50331 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50333         [BZ #15409]
50334         * math/s_catan.c (__catan): Handle arguments with large real or
50335         imaginary part separately without squaring.
50336         * math/s_catanf.c (__catanf): Likewise.
50337         * math/s_catanh.c (__catanh): Likewise.
50338         * math/s_catanhf.c (__catanhf): Likewise.
50339         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50340         and redefine.
50341         (__catanhl): Handle arguments with large real or imaginary part
50342         separately without squaring.
50343         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50344         and redefine.
50345         (__catanl): Handle arguments with large real or imaginary part
50346         separately without squaring.
50347         * math/libm-test.inc (catan_test): Add more tests.
50348         (catanh_test): Likewise.
50349         * sysdeps/i386/fpu/libm-test-ulps: Update.
50350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50352 2013-04-27  Andreas Jaeger  <aj@suse.de>
50354         [BZ #15007]
50355         * stdlib/stdlib.h: Update guards for qecvt.
50356         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50357         <stdlib.h>.
50359 2013-04-27  Allan McRae  <allan@archlinux.org>
50361         * sysdeps/i386/fpu/libm-test-ulps: Update.
50363 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50365         [BZ #15406]
50366         * math/s_catan.c: Include <float.h>.
50367         (__catan): Ensure underflow exception occurs for underflowed
50368         result.
50369         * math/s_catanf.c: Include <float.h>.
50370         (__catanf): Ensure underflow exception occurs for underflowed
50371         result.
50372         * math/s_catanh.c: Include <float.h>.
50373         (__catanh): Ensure underflow exception occurs for underflowed
50374         result.
50375         * math/s_catanhf.c: Include <float.h>.
50376         (__catanhf): Ensure underflow exception occurs for underflowed
50377         result.
50378         * math/s_catanhl.c: Include <float.h>.
50379         (__catanhl): Ensure underflow exception occurs for underflowed
50380         result.
50381         * math/s_catanl.c: Include <float.h>.
50382         (__catanl): Ensure underflow exception occurs for underflowed
50383         result.
50384         * math/libm-test.inc (catan_test): Add more tests.
50385         (catanh_test): Likewise.
50387         [BZ #15405]
50388         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50389         underflowed result.
50390         * math/s_ccoshf.c (__ccoshf): Likewise.
50391         * math/s_ccoshl.c (__ccoshl): Likewise.
50392         * math/s_csin.c (__csin): Likewise.
50393         * math/s_csinf.c (__csinf): Likewise.
50394         * math/s_csinh.c (__csinh): Likewise.
50395         * math/s_csinhf.c (__csinhf): Likewise.
50396         * math/s_csinhl.c (__csinhl): Likewise.
50397         * math/s_csinl.c (__csinl): Likewise.
50398         * math/libm-test.inc (ccos_test): Add more tests.
50399         (ccosh_test): Likewise.
50400         (csin_test): Likewise.
50401         (csinh_test): Likewise.
50403 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50405         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50406         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50407         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50408         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50409         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50410         powerpc/power5+/fpu folders.
50411         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50414 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50418 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50420         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50421         additions to variable.
50422         [$(config-machine) = x86_64] (modules-names): Likewise.
50423         ($(objpfx)tst-audit3): Remove dependency.
50424         ($(objpfx)tst-audit3.out): Likewise.
50425         ($(objpfx)tst-audit4): Likewise.
50426         ($(objpfx)tst-audit4.out): Likewise.
50427         ($(objpfx)tst-audit5): Likewise.
50428         ($(objpfx)tst-audit5.out): Likewise.
50429         ($(objpfx)tst-audit6): Likewise.
50430         ($(objpfx)tst-audit6.out): Likewise.
50431         ($(objpfx)tst-audit7): Likewise.
50432         ($(objpfx)tst-audit7.out): Likewise.
50433         (tst-audit3-ENV): Remove variable.
50434         (tst-audit4-ENV): Likewise.
50435         (tst-audit5-ENV): Likewise.
50436         (tst-audit6-ENV): Likewise.
50437         (tst-audit7-ENV): Likewise.
50438         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50439         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50440         addition to variable.
50441         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50442         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50444         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50446         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50447         tst-audit3, tst-audit4 and tst-audit5.
50448         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50449         tst-audit6 and tst-audit7.
50450         [$(subdir) = elf] (modules-names): Add audit modules for those
50451         tests.
50452         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50453         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50454         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50455         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50456         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50457         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50458         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50459         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50460         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50461         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50462         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50463         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50464         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50465         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50466         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50467         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50468         Likewise.
50469         [$(subdir) = elf && $(config-cflags-avx) = yes]
50470         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50471         [$(subdir) = elf && $(config-cflags-avx) = yes]
50472         (CFLAGS-tst-auditmod4a.c): Likewise.
50473         [$(subdir) = elf && $(config-cflags-avx) = yes]
50474         (CFLAGS-tst-auditmod4b.c): Likewise.
50475         [$(subdir) = elf && $(config-cflags-avx) = yes]
50476         (CFLAGS-tst-auditmod6b.c): Likewise.
50477         [$(subdir) = elf && $(config-cflags-avx) = yes]
50478         (CFLAGS-tst-auditmod6c.c): Likewise.
50479         [$(subdir) = elf && $(config-cflags-avx) = yes]
50480         (CFLAGS-tst-auditmod7b.c): Likewise.
50481         * elf/tst-audit3.c: Move to ...
50482         * sysdeps/x86_64/tst-audit3.c: ... here.
50483         * elf/tst-audit4.c: Move to ...
50484         * sysdeps/x86_64/tst-audit4.c: ... here.
50485         * elf/tst-audit5.c: Move to ...
50486         * sysdeps/x86_64/tst-audit5.c: ... here.
50487         * elf/tst-audit6.c: Move to ...
50488         * sysdeps/x86_64/tst-audit6.c: ... here.
50489         * elf/tst-audit7.c: Move to ...
50490         * sysdeps/x86_64/tst-audit7.c: ... here.
50491         * elf/tst-auditmod3a.c: Move to ...
50492         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50493         * elf/tst-auditmod3b.c: Move to ...
50494         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50495         * elf/tst-auditmod4a.c: Move to ...
50496         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50497         * elf/tst-auditmod4b.c: Move to ...
50498         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50499         * elf/tst-auditmod5a.c: Move to ...
50500         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50501         * elf/tst-auditmod5b.c: Move to ...
50502         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50503         * elf/tst-auditmod6a.c: Move to ...
50504         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50505         * elf/tst-auditmod6b.c: Move to ...
50506         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50507         * elf/tst-auditmod6c.c: Move to ...
50508         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50509         * elf/tst-auditmod7a.c: Move to ...
50510         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50511         * elf/tst-auditmod7b.c: Move to ...
50512         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50514 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50516         [BZ #15366]
50517         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50518         define unconditionally.
50519         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50520         define unconditionally.
50521         (INT8_C, INT16_C, etc.): Likewise.
50523 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50525         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50526         __ehdr_start with hidden visibility.
50528         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50530 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50532         * math/libm-test.inc (cos_test): Use accurate hex constants.
50533         (sincost_test): Likewise.
50535 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50537         * math/libm-test.inc (catan_test): Add more tests.
50538         (catanh_test): Likewise.
50540         * math/s_catanf.c (__catanf): Use suffixed floating-point
50541         constants.
50542         * math/s_catanhf.c (__catanhf): Likewise.
50543         * math/s_catanhl.c (__catanhl): Likewise.
50544         * math/s_catanl.c (__catanl): Likewise.
50546         [BZ #15394]
50547         * math/s_catan.c (__catan): Calculate imaginary part of result
50548         with log1p not log unless computing log of number close to 0.
50549         * math/s_catanf.c (__catanf): Likewise.
50550         * math/s_catanl.c (__catanl): Likewise.
50551         * math/s_catanh.c (__catanh): Calculate real part of result with
50552         log1p not log unless computing log of number close to 0.
50553         * math/s_catanhf.c (__catanhf): Likewise.
50554         * math/s_catanhl.c (__catanhl): Likewise.
50555         * math/libm-test.inc (catan_test): Add more tests.
50556         (catanh_test): Likewise.
50557         * sysdeps/i386/fpu/libm-test-ulps: Update.
50558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50560 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50562         * benchtests/Makefile: Mention files in which fast and slow
50563         paths of math functions are implemented.
50565 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50567         * sysdeps/posix/timespec_get.c: New file.
50569 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50571         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50572         POWER.
50573         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50574         for POWER.
50575         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50576         powerpc/power5/fpu folders.
50577         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50578         * benchtests/Makefile: Add modf testcase.
50579         * benchtests/bench-modf.c: New file: Benchmark test for mo
50581 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         [BZ #14888]
50584         * time/Makefile (tests): Add tst-strptime-whitespace.
50585         * time/strptime_l.c (get_number): Use ISSPACE.
50586         (__strptime_internal): Likewise.
50587         * time/tst-strptime-whitespace.c: New test case.
50589 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50591         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50592         member.
50593         (_nss_files_init): Set it here.
50595 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50597         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50598         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50599         unsigned.
50601 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50603         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50605 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50607         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50608         size just once.
50610 2013-04-21  David S. Miller  <davem@davemloft.net>
50612         * po/ru.po: Update Russion translation from translation project.
50614 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50616         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50617         and setfsgid.
50619 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50621         * configure.in: Remove i386 configure warning. Remove i386 case.
50622         * configure: Regenerate.
50623         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50624         Add example to error message.
50625         * sysdeps/i386/configure: Regenerate.
50627 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50629         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50630         slowtan.
50631         * benchtests/cos-inputs: New file.
50632         * benchtests/slowcos-inputs: New file.
50633         * benchtests/slowcos.c: New file.
50634         * benchtests/slowtan-inputs: New file.
50635         * benchtests/slowtan.c: New file.
50636         * benchtests/tan-inputs: New file.
50638 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50640         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50641         considered kosher.
50643 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50645         * benchtests/Makefile: Include cppflags-iterator.mk to add
50646         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50648         * Makefile.in (bench-clean): New target.
50649         * benchtests/Makefile (bench-clean): Likewise.
50651 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50653         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50655 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50657         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50659 2013-04-15  Andreas Schwab  <schwab@suse.de>
50661         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50662         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50663         * nscd/pwdcache.c (cache_addpw): Likewise.
50664         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50665         more than recsize.
50667 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50669         * benchtests/Makefile (bench): Write all output to
50670         bench-out.tmp together.
50672 2013-04-15  Andreas Schwab  <schwab@suse.de>
50674         * nscd/nscd.c (main): Don't fork again after closing files.
50676 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50678         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50680         * benchtests/Rules (bench-deps): Collect dependencies into a
50681         single variable.  Add Makefile to dependencies.
50682         ($(objpfx)bench-%.c): Depend on bench-deps.
50684 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50685             Xavier Roche  <roche+kml2@exalead.com>
50687         [BZ #15361]
50688         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50689         just that it's a file descriptor.
50690         * manual/llio.texi (Synchronizing AIO Operations): Update description
50691         for EBADF error from aio_fsync.
50693 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50695         * Rules (bench): Move target definition...
50696         * benchtests/Makefile: ... here.
50698 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50700         * math/libm-test.inc (cos_test): Fix PI/2 test.
50701         (sincos_test): Likewise.
50702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50703         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50705 2013-04-11  Andreas Schwab  <schwab@suse.de>
50707         [BZ #13988]
50708         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50709         accept exponent character only when digits were seen.
50710         * stdio-common/Makefile (tests): Add bug26.
50711         * stdio-common/bug26.c: New file.
50713         [BZ #14293]
50714         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50715         non-freeable.
50717 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50719         * Makeconfig (rtld-prefix): Define built linker prefix.
50720         * Rules (run-bench): Use it.
50721         * math/Makefile (run-regen-ulps): Likewise.
50723         * Rules (bench): Remove eval.
50725 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50726             Roland McGrath  <roland@hack.frob.com>
50727             Ondrej Bilka  <neleai@seznam.cz>
50729         [BZ #15346]
50730         * time/getdate.c: Include ctype.h and alloca.h.
50731         (__getdate_r): Trim leading and trailing spaces of input.
50732         * time/tst-getdate.c (tests): Add tests with leading and
50733         trailing spaces.
50735 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50737         [BZ #14280]
50738         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50739         when computing value.
50741 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50743         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50744         Use testrun.sh to run libm tests.
50746         [BZ #15309]
50747         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50749 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50751         [BZ #15264]
50752         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50754 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50756         * Makefile.in (regen-ulps): New target.
50757         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50758         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50759         [ifneq (no,$(PERL)] (regen-ulps): New target.
50760         [ifeq (no,$(PERL)] (regen-ulps): New target.
50761         * math/libm-test.inc (ulps_file_name): Define.
50762         (output_dir): New variable.
50763         (options): Add "output-dir" option.
50764         (parse_opt): Handle 'o' case.
50765         (main): If output_dir is non-NULL use it as a prefix
50766         otherwise use "".
50767         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50769 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50771         [BZ #10060, #10062]
50772         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50773         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50774         fail configure if __sync_val_compare_and_swap is not inlined.
50775         * sysdeps/i386/configure: Regenerate.
50776         * configure.in: Build for i686 when configured for i386.
50777         * configure: Regenerate.
50778         * README: Remove i386 reference.
50780 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50782         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50783         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50785 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50787         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50788         (lmsnanval): New variables.
50789         (F): Add conversion tests.
50790         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50791         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50793         * stdio-common/tstdiomisc.c (F): Properly collect individual
50794         tests' results.
50796         [BZ #14686, #15336]
50797         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50798         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50799         Instead, use input NaN values or generate a qNaN by arithmetic
50800         operation.  Also fix bugs to comply with the standard.
50801         * math/libm-test.inc (remainder_test): Add more tests.
50803         [BZ #15335, #15342]
50804         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50805         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50806         input NaN values or generate a qNaN by arithmetic operation.
50808         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50809         unreachable code.
50811         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50812         definitions.
50814 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50816         [BZ #14478]
50817         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50818         underflowed result.
50819         * math/s_cexpf.c (__cexpf): Likewise.
50820         * math/s_cexpl.c (__cexpl): Likewise.
50821         * math/libm-test.inc (cexp_test): Add more tests.
50823 2013-04-03  Andreas Schwab  <schwab@suse.de>
50825         [BZ #15330]
50826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50827         order arrays from heap if bigger than alloca cutoff.
50829 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50831         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50832         (SNAN_TESTS_double): Refer to GCC PR56831.
50833         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50834         GCC PR56828.
50836 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50838         * Rules (bench): Move bench.out after the run is complete.
50840         * Rules (bench): Echo currently running benchmark.
50842         * benchtests/Makefile (bench): Add atan and slowatan.
50843         * benchtests/atan-inputs: New file.
50844         * benchtests/slowatan-inputs: New file.
50845         * benchtests/slowatan.c: New file.
50847         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50848         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50849         its value.
50851         [BZ #15305]
50852         * sysdeps/unix/sysv/linux/kernel-features.h
50853         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50854         __ASSUME_XFS_RESTRICTED_CHOWN.
50855         * sysdeps/unix/sysv/linux/pathconf.c
50856         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50857         Save and restore errno.
50859 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50861         [BZ #15327]
50862         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50863         arguments using __kernel_casinh.
50864         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50865         arguments using __kernel_casinhf.
50866         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50867         arguments using __kernel_casinhl.
50868         * math/libm-test.inc (cacosh_test): Add more tests.
50869         * sysdeps/i386/fpu/libm-test-ulps: Update.
50870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50872 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50874         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50877         * bench/Makefile (bench): Add sin and slowsin.
50878         * benchtests/sin-inputs: New file.
50879         * benchtests/slowsin-inputs: New file.
50880         * benchtests/slowsin.c: New file.
50882         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50883         (bench): Add slowexp and slowpow.
50884         (exp-ITER): Increase iterations.
50885         (pow-ITER): Likewise.
50886         * benchtests/exp-inputs: Change input.
50887         * benchtests/pow-inputs: Likewise.
50888         * benchtests/slowexp-inputs: New file.
50889         * benchtests/slowexp.c: New file.
50890         * benchtests/slowpow-inputs: New file.
50891         * benchtests/slowpow.c: New file.
50893 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50895         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50896         instructions.
50897         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50898         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50899         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50900         * benchtests/Makefile: Add rint benchtest.
50901         * benchtests/rint-inputs: Input for rint benchtest.
50903 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50905         * Versions.def (libm): Add GLIBC_2.18.
50906         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50907         hidden libm prototypes.
50908         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50909         * math/Makefile (libm-calls): Add s_issignaling.
50910         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50911         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50912         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50913         declaration.
50914         * math/math.h [__USE_GNU] (issignaling): New macro.
50915         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50916         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50917         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50918         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50919         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50920         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50921         * manual/arith.texi (issignaling): New section.
50922         * manual/libm-err-tab.pl (@all_functions): Update comment.
50923         * math/gen-libm-test.pl (parse_args): Apply special handling for
50924         issignaling.
50925         * math/libm-test.inc (print_float, issignaling_test): New
50926         functions.
50927         (check_float_internal): Add issignaling checks.
50928         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50929         default definition.
50930         * sysdeps/powerpc/math-tests.h: New file.
50931         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50932         tests.
50933         * math/test-snan.c (TEST_FUNC): Likewise.
50935 2013-03-30  David S. Miller  <davem@davemloft.net>
50937         * po/de.po: Update from translation team.
50939 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50941         [BZ #10357]
50942         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50943         imaginary part less than 1.0 and real part less than 0.5
50944         specially.
50945         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50946         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50947         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50948         (cacos_test): Add more tests.
50949         (casin_test): Likewise.
50950         (casinh_test): Likewise.
50951         * sysdeps/i386/fpu/libm-test-ulps: Update.
50952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50954 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50956         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50957         ONE with its value.
50959         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50960         (__pow_mp): Replace ONE and MONE with their values.
50961         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50962         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50963         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50964         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50965         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50966         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50968         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50970         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50971         (__pow_mp): Replace ZERO and MZERO with their values.
50972         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50973         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50974         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50976         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50977         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50978         (__sqr): Likewise.
50980         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50982         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50984 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50986         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50987         Declare with __attribute__ ((weak)).
50988         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50989         Call __call_tls_dtors only if it's not NULL.
50991 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50993         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50994         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50995         magic __ehdr_start linker symbol if it's defined.
50996         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50997         them up here if it was already done.
50999         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51000         (_dl_aux_init): Use const in cast when setting it.
51001         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51002         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51003         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51005         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51006         Declare them here.
51007         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51008         * csu/libc-tls.c: Nor here.
51009         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51011         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51012         (__libc_message): Never call vsyslog.
51014 2013-03-28  Alan Modra  <amodra@gmail.com>
51016         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51017         Define as empty.
51018         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51019         Likewise.
51021 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51023         [BZ #15214]
51024         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51025         underflow.
51026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51028 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51030         [BZ #15304]
51031         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51032         Don't add gid passed as argument.
51034         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51036 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51038         [BZ #15307]
51039         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51040         imaginary part between 1.0 and 1.5 and real part less than 0.5
51041         specially.
51042         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51043         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51044         * math/libm-test.inc (cacos_test): Add more tests.
51045         (casin_test): Likewise.
51046         (casinh_test): Likewise.
51047         * sysdeps/i386/fpu/libm-test-ulps: Update.
51048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51050 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51052         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51053         constants.
51054         (norm): Likewise.
51055         (denorm): Likewise.
51056         (__dbl_mp): Likewise.
51057         (add_magnitudes): Likewise.
51058         (sub_magnitudes): Likewise.
51059         (__add): Likewise.
51060         (__sub): Likewise.
51061         (__mul): Likewise.
51062         (__sqr): Likewise.
51063         (__inv): Likewise.
51064         (__dvd): Likewise.
51066         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51067         commented code.
51068         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51069         (__dubcos): Likewise.
51070         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51071         (__ieee754_acos): Likewise.
51072         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51073         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51074         (__exp1): Likewise.
51075         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51077         (log1): Likewise.
51078         (my_log2): Likewise.
51079         (checkint): Likewise.
51080         * sysdeps/ieee754/dbl-64/e_remainder.c
51081         (__ieee754_remainder): Likewise.
51082         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51083         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51084         (bsloww): Likewise.
51085         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51087         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51088         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51089         MANTISSA_STORE_T to store computations on mantissa.  Use
51090         macros for rounding and division.
51091         (denorm): Likewise.
51092         (__dbl_mp): Likewise.
51093         (add_magnitudes): Likewise.
51094         (sub_magnitudes): Likewise.
51095         (__mul): Likewise.
51096         (__sqr): Likewise.
51097         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51098         powers of two in terms of TWOPOW macro.
51099         (mp_no): Make type of mantissa as MANTISSA_T.
51100         [!RADIXI]: Define RADIXI.
51101         [!TWO52]: Define TWO52.
51102         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51104 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51106         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51107         llroundl symbol when building for PPC32.
51109 2013-03-24  Mark H Weaver  <mhw@netris.org>
51111         * manual/arith.texi (Normalization Functions): Fix prototypes for
51112         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51114 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51116         [BZ #13889]
51117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51118         high value to check if expl overflow.
51119         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51120         to check for underflow and overflow.
51121         * math/libm-test.inc: Add exp test.
51123 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51125         [BZ #11120]
51126         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51127         with NOT_IN_libc.
51129 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51131         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51132         symbol.
51134 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51136         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51137         wrap blocks consisting of several statements.
51139         * sysdeps/generic/math-tests.h: New file.
51140         * sysdeps/i386/fpu/math-tests.h: Likewise.
51141         * math/test-snan.c: Include it.
51142         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51144 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51146         [BZ #15285]
51147         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51148         (__ieee754_j0l): Do not improve calculations using cos of twice
51149         input for inputs above LDBL_MAX / 2.0L.
51150         (__ieee754_y0l): Likewise.
51151         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51152         (__ieee754_j1l): Do not improve calculations using cos of twice
51153         input for inputs above LDBL_MAX / 2.0L.
51154         (__ieee754_y1l): Likewise.
51155         * math/libm-test.inc (j0_test): Add another test.
51156         (j1_test): Likewise.
51157         (y0_test): Likewise.
51158         (y1_test): Likewise.
51159         * sysdeps/i386/fpu/libm-test-ulps: Update.
51161 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51163         * Rules ($(objpfx)bench-%.c): Include code from a C source
51164         file.
51166 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51168         [BZ #15287]
51169         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51170         imaginary part 1.0 and real part less than 0.5 specially.
51171         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51172         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51173         * math/libm-test.inc (cacos_test): Add more tests.
51174         (casin_test): Likewise.
51175         (casinh_test): Likewise.
51176         * sysdeps/i386/fpu/libm-test-ulps: Update.
51177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51179 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51181         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51182         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51184 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51186         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51187         * config.make.in (config-cflags-sse4): Remove variable.
51188         (config-cflags-avx): Likewise.
51189         (config-cflags-sse2avx): Likewise.
51190         (config-cflags-novzeroupper): Likewise.
51191         (config-asflags-i686): Likewise.
51192         (have-mfma4): Likewise.
51193         (have-as-vis3): Likewise.
51194         (MIG): Likewise.
51195         * configure.in (MIG): Do not AC_SUBST.
51196         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51197         (libc_cv_cc_sse4): Do not AC_SUBST.
51198         (libc_cv_cc_avx): Likewise.
51199         (libc_cv_cc_sse2avx): Likewise.
51200         (libc_cv_cc_novzeroupper): Likewise.
51201         (libc_cv_cc_fma4): Likewise.
51202         (libc_cv_as_i686): Likewise.
51203         (libc_cv_sparc_as_vis3): Likewise.
51204         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51205         LIBC_CONFIG_VAR.
51206         (config-asflags-i686): Likewise.
51207         (config-cflags-avx): Likewise.
51208         (config-cflags-sse2avx): Likewise.
51209         (have-mfma4): Likewise.
51210         (config-cflags-novzeroupper): Likewise.
51211         * sysdeps/mach/configure.in (MIG): Likewise.
51212         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51213         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51214         LIBC_CONFIG_VAR.
51215         (config-cflags-avx): Likewise.
51216         (config-cflags-sse2avx): Likewise.
51217         (have-mfma4): Likewise.
51218         (config-cflags-novzeroupper): Likewise.
51219         * configure: Regenerated.
51220         * sysdeps/i386/configure: Likewise.
51221         * sysdeps/mach/configure: Likewise.
51222         * sysdeps/sparc/configure: Likewise.
51223         * sysdeps/x86_64/configure: Likewise.
51225 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51227         [BZ #14812]
51228         * locale/programs/localedef.c (options): Put N_ translation marker
51229         on argument names, not just descriptions.
51231 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51233         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51235 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51237         [BZ #14176]
51238         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51240 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51242         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51243         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51244         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51245         [!BEFORE_ABORT] (before_abort): New function.
51246         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51247         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51248         (writev_for_fatal): New function.
51249         (WRITEV_FOR_FATAL): New macro; call that.
51250         (backtrace_and_maps): New function.
51251         (BEFORE_ABORT): New macro; call that.
51252         (struct str_list): Type removed.
51253         (__libc_message, __libc_fatal): Functions removed.
51254         Include <sysdeps/posix/libc_fatal.c> instead.
51256 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51258         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51259         constants.
51260         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51261         double constants.
51263 2013-03-19  Andreas Schwab  <schwab@suse.de>
51265         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51266         * sysdeps/gnu/configure: Regenerate.
51268         * configure.in: Substitute libc_cv_rtlddir.
51269         * configure: Regenerate.
51270         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51271         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51272         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51273         * elf/Makefile (install-others, CFLAGS-interp.c)
51274         (ldso_install, common-ldd-rewrite): Likewise.
51275         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51276         $(inst_slibdir)/$(rtld-installed-name).
51277         * scripts/rellns-sh: Add -p option.
51278         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51279         for source.
51281 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51283         * manual/nptl.texi: Renamed to ...
51284         * manual/threads.texi: ... this.
51285         * manual/Makefile (chapters): Update.
51287 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51289         [BZ #14812]
51290         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51291         on argument names, not just descriptions.
51292         * malloc/memusagestat.c (options): Likewise.
51293         * nss/getent.c (options): Likewise.
51295 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51297         [BZ #14812]
51298         * iconv/iconv_prog.c (options): Put N_ translation marker
51299         on argument names, not just descriptions.
51300         * iconv/iconvconfig.c (options): Likewise.
51302 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51304         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51305         implementation which is faster on all x86_64 architectures.
51306         Tested on AMD, Intel Nehalem, SNB, IVB.
51307         * sysdeps/x86_64/strnlen.S: Likewise.
51309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51310         Remove all multiarch strlen and strnlen versions.
51311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51312         Remove strlen and strnlen related parts.
51314         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51315         Inline strlen part.
51316         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51318         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51319         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51320         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51321         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51322         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51323         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51325 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51327         * manual/memory.texi (Malloc Tunable Parameters):
51328         Sort parameters alphabetically. Add comments for missing entries.
51330 2013-03-17  David S. Miller  <davem@davemloft.net>
51332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51334 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51336         [BZ #15283]
51337         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51338         for arguments at most half maximum finite value.
51339         * math/libm-test.inc (j0_test): Add more tests.
51340         (j1_test): Likewise.
51341         (y0_test): Likewise.
51342         (y1_test): Likewise.
51343         * sysdeps/i386/fpu/libm-test-ulps: Update.
51344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51346         [BZ #14155]
51347         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51348         1 / x and functions P and Q for arguments above 0x1p256L.
51349         (__ieee754_y0l): Likewise.
51350         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51351         (__ieee754_y1l): Likewise.
51352         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51353         (j1_test): Likewise.
51354         (y0_test): Likewise.
51355         (y1_test): Likewise.
51357 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51359         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51360         variable.
51362 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51364         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51365         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51366         zero since it's initialized to EXEC_PAGESIZE.
51368         * sysdeps/unix/sysv/linux/ldsodefs.h
51369         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51370         * sysdeps/generic/ldsodefs.h: ... here.
51372 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51374         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51376         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51377         math/test-snan.c.
51378         * math/test-snan.c: Renamed from
51379         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51380         * math/Makefile (tests): Add test-snan.
51381         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51382         test-powerpc-snan.
51384         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51385         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51386         functions.
51387         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51388         __builtin_nan family of functions.
51389         * math/libm-test.inc (initialize): Initialize qnan_value with
51390         __builtin_nan family of functions.
51391         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51392         Remove variables.
51393         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51394         Remove functions.
51395         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51396         storage class.  Initialize qNaN_var and sNaN_var with
51397         __builtin_nan and __builtin_nans families of functions,
51398         respectively.
51400         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51401         (sqrt_test): Remove duplicate test with qNaN input.
51402         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51403         (round_test, signbit_test, significand_test): Note missing +/-Inf
51404         as well as qNaN tests.
51406         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51407         qNaN_var.  Fix a few strings, too.
51408         * math/libm-test.inc (nan_value): Rename to qnan_value.
51409         * math/gen-libm-test.pl (%beautify): Adjust to that.
51410         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51411         * math/test-misc.c (main): Likewise.
51412         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51413         to __qnan_bytes, and __qnan_union, respectively.
51414         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51415         Likewise.
51416         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51417         and lqnanval, respectively.
51418         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51419         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51420         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51421         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51423         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51424         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51425         doubles.
51427         * math/test-misc.c (main): Fix copy'n'pastos.
51428         * misc/tst-efgcvt.c (special): Likewise.
51430         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51431         Remove declarations.
51433 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51435         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51436         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51437         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51438         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51440 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51442         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51443         macro to return vdso values correctly in IFUNC implementations.
51444         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51445         Optimization by using IFUNC.
51447 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51448             Richard Henderson  <rth@redhat.com>
51449             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51451         * Makefile.in (bench): New target.
51452         * NEWS: Mention the benchmark framework.
51453         * Rules (bench): Likewise.
51454         (binaries-bench): Generate binaries for functions to
51455         benchmark.
51456         * benchtests/Makefile: New makefile for benchmark tests.
51457         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51458         programs.
51459         * benchtests/exp-inputs: New input file for EXP function.
51460         * benchtests/pow-inputs: New input file for POW function.
51461         * scripts/bench.pl: New script to generate source files for
51462         benchmark programs.
51464 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51466         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51467         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51468         computations on mantissa.  Use macros for rounding and
51469         division.
51470         (denorm): Likewise.
51471         (__dbl_mp): Likewise.
51472         (add_magnitudes): Likewise.
51473         (sub_magnitudes): Likewise.
51474         (__mul): Likewise.
51475         (__sqr): Likewise.
51476         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51477         powers of two in terms of TWOPOW macro.
51478         (mp_no): Make type of mantissa as MANTISSA_T.
51479         [!RADIXI]: Define RADIXI.
51480         [!TWO52]: Define TWO52.
51481         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51483         * manual/nptl.texi (cindex): Modify threads to pthreads.
51485 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51487         * sysdeps/x86_64/preconfigure: Regenerated.
51489 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51491         [BZ #14155]
51492         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51493         0x1p28 and above.
51494         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51495         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51496         0x1p28 and above.
51497         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51498         * math/libm-test.inc (j0_test): Do not allow one spurious
51499         underflow exception.
51500         (y1_test): Likewise.
51502 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51504         * manual/Makefile (chapters): Add nptl.
51505         * manual/debug.texi (Debugging Support): Add link to Threads
51506         chapter.
51507         * manual/nptl.texi: New file.
51509         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51511 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51513         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51514         for non-NULL pointer before the memory validity test. Pointed
51515         out by Holger Brunck <holger.brunck@keymile.com>.
51517 2013-03-13  Andreas Schwab  <schwab@suse.de>
51519         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51520         instead of .os.
51522 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51524         * timezone/zic.c: Update from tzcode 2013b.
51526 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51528         * manual/install.texi (Configuring and compiling):
51529         Mention i686 and i586.
51530         * INSTALL: Regenerate.
51532 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51534         * sysdeps/init_array/elf-init.c: New file.
51535         * csu/elf-init.c
51536         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51537         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51539         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51540         __gmon_start__ as global, but as static with a .preinit_array pointer.
51541         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51542         * sysdeps/init_array/crti.S: New file, empty except for comments.
51543         * sysdeps/init_array/crtn.S: Likewise.
51545 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51547         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51548         definining bcopy.
51549         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51550         Remove Prefer_SSE_for_memop.
51551         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51552         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51553         HAS_PREFER_SSE_FOR_MEMOP.
51554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51555         memset-x86-64.
51556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51557         Remove bzero, memset ifunc support.
51558         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51559         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51560         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51561         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51563 2013-03-11  Andreas Schwab  <schwab@suse.de>
51565         [BZ #15234]
51566         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51567         by SHLIB_COMPAT.
51568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51569         (GLIBC_2.16): Remove pthread_atfork.
51571 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51573         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51574         (ptestcases.h): Likewise.
51576 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51578         * Makeconfig ($(common-objpfx)config.status): Depend on
51579         sysdeps/*/preconfigure{,.in} too.
51581 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51583         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51584         (__free_hook): Use void * instead of __malloc_ptr_t.
51585         (__malloc_hook): Likewise.
51586         (__realloc_hook): Likewise.
51587         (__memalign_hook): Likewise.
51588         (__after_morecore_hook): Likewise.
51589         * malloc/arena.c (save_malloc_hook): Likewise.
51590         (save_free_hook): Likewise.
51591         * malloc/hooks.c (malloc_hook_ini): Likewise.
51592         (realloc_hook_ini): Likewise.
51593         (memalign_hook_ini): Likewise.
51594         * malloc/malloc.c (malloc_hook_ini): Likewise.
51595         (realloc_hook_ini): Likewise.
51596         (memalign_hook_ini): Likewise.
51597         (__free_hook): Likewise.
51598         (__malloc_hook): Likewise.
51599         (__realloc_hook): Likewise.
51600         (__memalign_hook): Likewise.
51601         (__libc_malloc): Likewise.
51602         (__libc_free): Likewise.
51603         (__libc_realloc): Likewise.
51604         (__libc_memalign): Likewise.
51605         (__libc_valloc): Likewise.
51606         (__libc_pvalloc): Likewise.
51607         (__libc_calloc): Likewise.
51608         (__posix_memalign): Likewise.
51609         * malloc/morecore.c (__sbrk): Likewise.
51610         (__default_morecore): Likewise.
51612         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51614         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51615         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51616         __malloc_ptrdiff_t.
51618         * malloc/malloc.h (__malloc_size_t): Remove macro.
51619         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51620         __malloc_size_t.
51621         (old_memalign_hook): Likewise.
51622         (old_realloc_hook): Likewise.
51623         (struct hdr): Likewise.
51624         (flood): Likewise.
51625         (mallochook): Likewise.
51626         (memalignhook): Likewise.
51627         (reallochook): Likewise.
51628         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51629         (tr_old_realloc_hook): Likewise.
51630         (tr_old_memalign_hook): Likewise.
51631         (tr_mallochook): Likewise.
51632         (tr_reallochook): Likewise.
51633         (tr_memalignhook): Likewise.
51635 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51638         default_ldbl_pack and using as default implementation.
51639         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51640         implementation.
51641         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51642         redundant definition.
51643         (ldbl_insert_mantissa): Likewise.
51644         (ldbl_canonicalize): Likewise.
51645         (ldbl_nearbyint): Likewise.
51646         (ldbl_pack): Rename to ldbl_pack_ppc.
51647         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51648         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51649         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51651 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51654         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51655         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51656         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51658         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51659         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51660         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51662 2013-03-07  Andreas Jaeger  <aj@suse.de>
51664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51665         bits/mman-linux.h.
51667 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51669         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51670         Include mpa.h and declare __MPEXP.
51671         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51672         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51673         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51674         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51675         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51676         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51677         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51679         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51680         (__slowpow): Use long double EXPL and LOGL functions to
51681         compute POW.
51682         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51683         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51684         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51685         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51686         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51687         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51690         intermediate variable to calculate exponent.
51691         (__sqr): Likewise.
51692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51693         Likewise.
51694         (__sqr): Likewise.
51696         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51697         [!NO__SQR]: Define __sqr.
51698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51699         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51700         sysdeps/ieee754/dbl-64/mpa.c.
51701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51703         [BZ #12723]
51704         * posix/Makefile (tests): Add tst-pathconf.
51705         * posix/tst-pathconf.c: New test case.
51706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51707         _PC_PIPE_BUF.
51708         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51710 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51712         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51714 2013-03-06  Andreas Jaeger  <aj@suse.de>
51716         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51717         definition via __MAP_ANONYMOUS.
51719         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51720         it's not part of Linux headers.
51722         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51723         (MAP_HUGE_MASK): Define.
51725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51726         Define.
51727         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51728         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51729         Define.
51730         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51731         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51732         Define.
51733         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51734         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51735         Define.
51736         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51738         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51739         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51740         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51741         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51742         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51743         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51745         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51746         Handle f2fs.
51748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51749         Handle f2fs and efivarfs.
51751         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51752         f2fs.
51754         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51755         (EFIVARFS_MAGIC): Add.
51756         (F2FS_LINK_MAX): Add.
51758 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51760         * stdio-common/vfprintf.c: Replace __builtin_expect with
51761         __glibc_unlikely.
51763 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51765         [BZ #13550]
51766         * sysdeps/generic/bp-sym.h: Remove file.
51767         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51768         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51769         <bp-sym.h> and <bp-asm.h>.
51770         (__longjmp): Don't use BP_SYM.
51771         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51772         and <bp-asm.h>.
51773         (memcpy): Don't use BP_SYM.
51774         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51775         <bp-sym.h> and <bp-asm.h>.
51776         (memcpy): Don't use BP_SYM.
51777         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51778         <bp-asm.h>.
51779         (memcpy): Don't use BP_SYM.
51780         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51781         <bp-asm.h>.
51782         (memset): Don't use BP_SYM.
51783         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51784         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51785         (__bzero): Don't use BP_SYM.
51786         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51787         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51788         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51789         <bp-sym.h> and <bp-asm.h>.
51790         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51791         pointers.
51792         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51793         <bp-sym.h> and <bp-asm.h>.
51794         (memcpy): Don't use BP_SYM.
51795         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51796         <bp-sym.h> and <bp-asm.h>.
51797         (memset): Don't use BP_SYM.
51798         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51799         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51800         (__bzero): Don't use BP_SYM.
51801         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51802         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51803         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51804         <bp-sym.h> and <bp-asm.h>.
51805         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51806         pointers.
51807         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51808         <bp-sym.h> and <bp-asm.h>.
51809         (memcpy): Don't use BP_SYM.
51810         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51811         <bp-sym.h> and <bp-asm.h>.
51812         (memset): Don't use BP_SYM.
51813         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51814         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51815         (__bzero): Don't use BP_SYM.
51816         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51817         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51818         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51819         <bp-sym.h> and <bp-asm.h>.
51820         (__memchr): Don't use BP_SYM.
51821         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51822         <bp-sym.h> and <bp-asm.h>.
51823         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51824         pointers.
51825         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51826         <bp-sym.h> and <bp-asm.h>.
51827         (memcpy): Don't use BP_SYM.
51828         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51829         <bp-sym.h> and <bp-asm.h>.
51830         (__mempcpy): Don't use BP_SYM.
51831         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51832         <bp-sym.h> and <bp-asm.h>.
51833         (__memrchr): Don't use BP_SYM.
51834         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51835         <bp-sym.h> and <bp-asm.h>.
51836         (memset): Don't use BP_SYM.
51837         (__bzero): Likewise.
51838         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51839         <bp-sym.h> and <bp-asm.h>.
51840         (__rawmemchr): Don't use BP_SYM.
51841         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51842         <bp-sym.h> and <bp-asm.h>.
51843         (__STRCMP): Don't use BP_SYM.
51844         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51845         <bp-sym.h> and <bp-asm.h>.
51846         (strchr): Don't use BP_SYM.
51847         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51848         <bp-sym.h> and <bp-asm.h>.
51849         (__strchrnul): Don't use BP_SYM.
51850         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51851         <bp-sym.h> and <bp-asm.h>.
51852         (strlen): Don't use BP_SYM.
51853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51854         <bp-sym.h> and <bp-asm.h>.
51855         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51856         pointers.
51857         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51858         <bp-sym.h> and <bp-asm.h>.
51859         (__strnlen): Don't use BP_SYM.
51860         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51861         <bp-sym.h> and <bp-asm.h>.
51862         (__GI__setjmp): Don't use BP_SYM.
51863         (_setjmp): Likewise.
51864         (__sigsetjmp): Likewise.
51865         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51866         (L(start_addresses)): Don't use BP_SYM.
51867         (_start): Likewise.
51868         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51869         <bp-asm.h>.
51870         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51871         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51872         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51873         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51874         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51875         <bp-asm.h>.
51876         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51877         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51878         about bounded pointers.
51879         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51880         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51881         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51882         <bp-asm.h>.
51883         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51884         about bounded pointers.  Remove GKM FIXME comments.
51885         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51886         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51887         <bp-asm.h>.
51888         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51889         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51890         Remove GKM FIXME comments.
51891         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51892         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51893         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51894         <bp-asm.h>.
51895         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51896         about bounded pointers.  Remove GKM FIXME comment.
51897         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51898         and <bp-asm.h>.
51899         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51900         pointers.
51901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51902         <bp-sym.h> and <bp-asm.h>.
51903         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51905         <bp-sym.h> and <bp-asm.h>.
51906         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51907         comment.
51909 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51911         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51912         call free(NULL).
51914 2013-03-05  David S. Miller  <davem@davemloft.net>
51916         * po/es.po: Update from translation team.
51918 2013-03-05  Andreas Jaeger  <aj@suse.de>
51920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51921         <bits/mman-linux.h>.
51922         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51923         is fine.
51924         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51925         <bits/mman-linux.h> to end of file.
51926         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51927         is fine.
51928         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51929         <bits/mman-linux.h> to end of file.
51930         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51931         is fine.
51932         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51933         <bits/mman-linux.h> to end of file.
51935         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51936         (MCL_CURRENT, MCL_FUTURE): Define here.
51938 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51940         [BZ #15232]
51941         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51942         attribute_hidden.
51943         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51945 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51947         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51948         fourth parameter needed for rt_sigprocmask syscall.
51949         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51950         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51951         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51952         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51953         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51954         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51956 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51958         [BZ #13550]
51959         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51960         comment about bounded pointers.
51961         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51962         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51964 2013-03-04  Andreas Jaeger  <aj@suse.de>
51966         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51967         common definitions.
51969         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51970         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51971         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51972         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51973         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51974         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51976 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51978         [BZ #15055]
51979         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51980         __ieee754_sqrl instead of __sqrl.
51982 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51984         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51985         * sysdeps/powerpc/fpu_control.h: ... here.
51986         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51987         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51988         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51989         * sysdeps/powerpc/bits/mathinline.h: ... here.
51991 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51993         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51994         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51995         to just [NEED_DL_SYSINFO_DSO].
51996         * elf/dl-support.c: Likewise.
51997         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51998         * elf/rtld.c (dl_main): Likewise.
51999         * elf/setup-vdso.h (setup_vdso): Likewise.
52000         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52001         * sysdeps/unix/sysv/linux/dl-sysdep.c
52002         (_dl_discover_osversion): Likewise.
52004 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52006         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52007         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52009 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52011         * NEWS: Mention libm performance improvements and non-x86 PI
52012         futex support.
52014         * csu/libc-start.c (__pthread_initialize_minimal): Change
52015         function arguments.
52016         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52018 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52020         [BZ #13550]
52021         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52022         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52023         <bp-sym.h> and <bp-asm.h>.
52024         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52025         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52026         and <bp-asm.h>.
52027         (memcpy): Don't use BP_SYM.
52028         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52029         <bp-asm.h>.
52030         (__mpn_add_n): Don't use BP_SYM.
52031         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52032         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52033         and <bp-asm.h>.
52034         (__mpn_addmul_1): Don't use BP_SYM.
52035         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52036         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52037         <bp-sym.h>.
52038         (_setjmp): Don't use BP_SYM.
52039         (__novmx_setjmp): Likewise.
52040         (__GI__setjmp): Likewise.
52041         (__vmx_setjmp): Likewise.
52042         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52043         <bp-sym.h>.
52044         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52045         (__bzero): Don't use BP_SYM.
52046         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52047         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52048         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52049         <bp-sym.h> and <bp-asm.h>.
52050         (memcpy): Don't use BP_SYM.
52051         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52052         <bp-sym.h> and <bp-asm.h>.
52053         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52054         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52055         <bp-sym.h> and <bp-asm.h>.
52056         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52057         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52058         <bp-asm.h>.
52059         (__mpn_lshift): Don't use BP_SYM.
52060         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52061         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52062         <bp-asm.h>.
52063         (memset): Don't use BP_SYM.
52064         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52065         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52066         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52067         <bp-asm.h>.
52068         (__mpn_mul_1): Don't use BP_SYM.
52069         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52070         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52071         <bp-sym.h> and <bp-asm.h>.
52072         (memcmp): Don't use BP_SYM.
52073         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52074         <bp-sym.h> and <bp-asm.h>.
52075         (memcpy): Don't use BP_SYM.
52076         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52077         <bp-sym.h> and <bp-asm.h>.
52078         (memset): Don't use BP_SYM.
52079         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52080         <bp-sym.h> and <bp-asm.h>.
52081         (strncmp): Don't use BP_SYM.
52082         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52083         <bp-sym.h> and <bp-asm.h>.
52084         (memcpy): Don't use BP_SYM.
52085         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52086         <bp-sym.h> and <bp-asm.h>.
52087         (memset): Don't use BP_SYM.
52088         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52089         <bp-sym.h> and <bp-asm.h>.
52090         (__memchr): Don't use BP_SYM.
52091         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52092         <bp-sym.h> and <bp-asm.h>.
52093         (memcmp): Don't use BP_SYM.
52094         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52095         <bp-sym.h> and <bp-asm.h>.
52096         (memcpy): Don't use BP_SYM.
52097         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52098         <bp-sym.h> and <bp-asm.h>.
52099         (__mempcpy): Don't use BP_SYM.
52100         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52101         <bp-sym.h> and <bp-asm.h>.
52102         (__memrchr): Don't use BP_SYM.
52103         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52104         <bp-sym.h> and <bp-asm.h>.
52105         (memset): Don't use BP_SYM.
52106         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52107         <bp-sym.h> and <bp-asm.h>.
52108         (__rawmemchr): Don't use BP_SYM.
52109         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52110         <bp-sym.h> and <bp-asm.h>.
52111         (__STRCMP): Don't use BP_SYM.
52112         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52113         <bp-sym.h> and <bp-asm.h>.
52114         (strchr): Don't use BP_SYM.
52115         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52116         <bp-sym.h> and <bp-asm.h>.
52117         (__strchrnul): Don't use BP_SYM.
52118         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52119         <bp-sym.h> and <bp-asm.h>.
52120         (strlen): Don't use BP_SYM.
52121         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52122         <bp-sym.h> and <bp-asm.h>.
52123         (strncmp): Don't use BP_SYM.
52124         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52125         <bp-sym.h> and <bp-asm.h>.
52126         (__strnlen): Don't use BP_SYM.
52127         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52128         <bp-asm.h>.
52129         (__mpn_rshift): Don't use BP_SYM.
52130         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52131         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52132         <bp-sym.h> and <bp-asm.h>.
52133         (__sigsetjmp): Don't use BP_SYM.
52134         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52135         (L(start_addresses)): Don't use BP_SYM.
52136         (_start): Likewise.
52137         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52138         <bp-asm.h>.
52139         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52140         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52141         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52142         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52143         <bp-asm.h>.
52144         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52145         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52146         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52147         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52148         <bp-asm.h>.
52149         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52150         comments.
52151         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52152         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52153         <bp-asm.h>.
52154         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52155         FIXME comments.
52156         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52157         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52158         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52159         <bp-asm.h>.
52160         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52161         comment.
52162         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52163         and <bp-asm.h>.
52164         (strncmp): Don't use BP_SYM,
52165         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52166         <bp-asm.h>.
52167         (__mpn_sub_n): Don't use BP_SYM.
52168         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52169         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52170         and <bp-asm.h>.
52171         (__mpn_submul_1): Don't use BP_SYM.
52172         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52174         <bp-sym.h> and <bp-asm.h>.
52175         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52177         <bp-sym.h> and <bp-asm.h>.
52178         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52179         comment.
52181 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52184         Use ZK to minimize writes to Z.
52185         (sub_magnitudes): Simplify code a bit.
52186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52187         Use ZK to minimize writes to Z.
52188         (sub_magnitudes): Simplify code a bit.
52190 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52192         * csu/gmon-start.c: Add special exception to license text.
52194 2013-02-27  Richard Henderson  <rth@redhat.com>
52196         * scripts/config.guess: Update from config.git.
52197         * scripts/config.sub: Likewise.
52199 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52201         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52203         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52205         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52207         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52209         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52211 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52213         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52214         [$(build-shared = yes].
52216 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52218         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52219         (__mul): Reduce iterations for calculating mantissa.
52221         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52222         MPTWO.
52223         (__mpranred): Likewise.
52225         [BZ #15160]
52226         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52227         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52229 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52231         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52232         Define __attribute__.
52234 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52236         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52237         unused.
52238         * posix/regex_internal.h (__attribute): Remove.
52239         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52240         (re_string_context_at): Likewise.
52241         (bitset_not): Use __attribute__ and mark function as possibly
52242         unused.
52243         (bitset_merge): Likewise.
52244         (bitset_mask): Likewise.
52245         (re_string_char_size_at): Likewise.
52246         (re_string_wchar_at): Likewise.
52247         (re_string_elem_size_at): Likewise.
52249 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52251         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52252         code.
52253         (cc32): Likewise.
52255         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52256         (__acr): Likewise.
52257         (__cpy): Likewise.
52258         (norm): Likewise.
52259         (denorm): Likewise.
52260         (__dbl_mp): Likewise.
52261         (add_magnitudes): Likewise.
52262         (sub_magnitudes): Likewise.
52263         (__mul): Likewise.
52264         (__inv): Likewise.
52266         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52267         style.
52269         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52270         style.
52272         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52273         code.
52275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52276         up changes with default code.
52277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52278         Likewise.
52280 2013-02-24  Allan McRae  <allan@archlinux.org>
52282         * manual/socket.texi (The Internet Namespace): Order menu items
52283         to match that in the file.
52285         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52286         node listing of the info page menu.
52288 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52290         [BZ #13550]
52291         * sysdeps/i386/bp-asm.h: Remove file.
52292         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52293         (PARMS): Do not use macros from bp-asm.h.
52294         (S1): Likewise.
52295         (S2): Likewise.
52296         (SIZE): Likewise.
52297         (__mpn_add_n): Do not use BP_SYM
52298         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52299         "bp-asm.h".
52300         (PARMS): Do not use macros from bp-asm.h.
52301         (S1): Likewise.
52302         (SIZE): Likewise.
52303         (__mpn_addmul_1): Do not use BP_SYM
52304         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52305         "bp-asm.h".
52306         (PARMS): Do not use macros from bp-asm.h.
52307         (SIGMSK): Likewise.
52308         (_setjmp): Likewise.  Do not use BP_SYM.
52309         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52310         "bp-asm.h".
52311         (PARMS): Do not use macros from bp-asm.h.
52312         (SIGMSK): Likewise.
52313         (setjmp): Likewise.  Do not use BP_SYM.
52314         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52315         "bp-asm.h".
52316         (PARMS): Do not use macros from bp-asm.h.
52317         (__frexp): Do not use BP_SYM.
52318         (frexp): Likewise.
52319         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52320         "bp-asm.h".
52321         (PARMS): Do not use macros from bp-asm.h.
52322         (__frexpf): Do not use BP_SYM.
52323         (frexpf): Likewise.
52324         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52325         "bp-asm.h".
52326         (PARMS): Do not use macros from bp-asm.h.
52327         (__frexpl): Do not use BP_SYM.
52328         (frexpl): Likewise.
52329         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52330         "bp-asm.h".
52331         (PARMS): Do not use macros from bp-asm.h.
52332         (__remquo): Do not use BP_SYM.
52333         (remquo): Likewise.
52334         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52335         "bp-asm.h".
52336         (PARMS): Do not use macros from bp-asm.h.
52337         (__remquof): Do not use BP_SYM.
52338         (remquof): Likewise.
52339         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52340         "bp-asm.h".
52341         (PARMS): Do not use macros from bp-asm.h.
52342         (__remquol): Do not use BP_SYM.
52343         (remquol): Likewise.
52344         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52345         "bp-asm.h".
52346         (PARMS): Do not use macros from bp-asm.h.
52347         (DEST): Likewise.
52348         (SRC): Likewise.
52349         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52350         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52351         "bp-asm.h".
52352         (PARMS): Do not use macros from bp-asm.h.
52353         (strlen): Do not use BP_SYM.
52354         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52355         "bp-asm.h".
52356         (PARMS): Do not use macros from bp-asm.h.
52357         (S1): Likewise.
52358         (S2): Likewise.
52359         (SIZE): Likewise.
52360         (__mpn_add_n): Do not use BP_SYM.
52361         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52362         "bp-asm.h".
52363         (PARMS): Do not use macros from bp-asm.h.
52364         (S1): Likewise.
52365         (SIZE): Likewise.
52366         (__mpn_addmul_1): Do not use BP_SYM.
52367         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52368         weak_alias.
52369         (bzero): Likewise.
52370         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52371         "bp-asm.h".
52372         (PARMS): Do not use macros from bp-asm.h.
52373         (S): Likewise.
52374         (SIZE): Likewise.
52375         (__mpn_lshift): Do not use BP_SYM.
52376         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52377         "bp-asm.h".
52378         (PARMS): Do not use macros from bp-asm.h.
52379         (DEST): Likewise.
52380         (SRC): Likewise.
52381         (LEN): Likewise.
52382         (memcpy): Likewise.  Do not use BP_SYM.
52383         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52384         libc_hidden_def and weak_alias.
52385         (mempcpy): Do not use BP_SYM in weak_alias.
52386         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52387         "bp-asm.h".
52388         (PARMS): Do not use macros from bp-asm.h.
52389         (DEST): Likewise.
52390         (LEN): Likewise.
52391         [!BZERO_P] (CHR): Likewise.
52392         (memset): Likewise.  Do not use BP_SYM.
52393         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52394         "bp-asm.h".
52395         (PARMS): Do not use macros from bp-asm.h.
52396         (S1): Likewise.
52397         (SIZE): Likewise.
52398         (__mpn_mul_1): Do not use BP_SYM.
52399         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52400         "bp-asm.h".
52401         (PARMS): Do not use macros from bp-asm.h.
52402         (S): Likewise.
52403         (SIZE): Likewise.
52404         (__mpn_rshift): Do not use BP_SYM.
52405         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52406         "bp-asm.h".
52407         (PARMS): Do not use macros from bp-asm.h.
52408         (STR): Likewise.
52409         (CHR): Likewise.
52410         (strchr): Likewise.  Do not use BP_SYM.
52411         (index): Do not use BP_SYM in weak_alias.
52412         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52413         "bp-asm.h".
52414         (PARMS): Do not use macros from bp-asm.h.
52415         (DEST): Likewise.
52416         (SRC): Likewise.
52417         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52418         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52419         "bp-asm.h".
52420         (PARMS): Do not use macros from bp-asm.h.
52421         (strlen): Do not use BP_SYM.
52422         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52423         "bp-asm.h".
52424         (PARMS): Do not use macros from bp-asm.h.
52425         (S1): Likewise.
52426         (S2): Likewise.
52427         (SIZE): Likewise.
52428         (__mpn_sub_n): Do not use BP_SYM.
52429         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52430         "bp-asm.h".
52431         (PARMS): Do not use macros from bp-asm.h.
52432         (S1): Likewise.
52433         (SIZE): Likewise.
52434         (__mpn_submul_1): Do not use BP_SYM.
52435         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52436         "bp-asm.h".
52437         (PARMS): Do not use macros from bp-asm.h.
52438         (S1): Likewise.
52439         (S2): Likewise.
52440         (SIZE): Likewise.
52441         (__mpn_add_n): Do not use BP_SYM.
52442         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52443         weak_alias.
52444         (bzero): Likewise.
52445         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52446         "bp-asm.h".
52447         (PARMS): Do not use macros from bp-asm.h.
52448         (BLK2): Likewise.
52449         (LEN): Likewise.
52450         (memcmp): Do not use BP_SYM.
52451         (bcmp): Do not use BP_SYM in weak_alias.
52452         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52453         "bp-asm.h".
52454         (PARMS): Do not use macros from bp-asm.h.
52455         (DEST): Likewise.
52456         (SRC): Likewise.
52457         (LEN): Likewise.
52458         (memcpy): Likewise.  Do not use BP_SYM.
52459         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52460         "bp-asm.h".
52461         (PARMS): Do not use macros from bp-asm.h.
52462         (DEST): Likewise.
52463         (SRC): Likewise.
52464         (LEN): Likewise.
52465         (memmove): Likewise.  Do not use BP_SYM.
52466         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52467         "bp-asm.h".
52468         (PARMS): Do not use macros from bp-asm.h.
52469         (DEST): Likewise.
52470         (SRC): Likewise.
52471         (LEN): Likewise.
52472         (__mempcpy): Likewise.  Do not use BP_SYM.
52473         (mempcpy): Do not use BP_SYM in weak_alias.
52474         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52475         "bp-asm.h".
52476         (PARMS): Do not use macros from bp-asm.h.
52477         (DEST): Likewise.
52478         (LEN): Likewise.
52479         [!BZERO_P] (CHR): Likewise.
52480         (memset): Likewise.  Do not use BP_SYM.
52481         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52482         "bp-asm.h".
52483         (PARMS): Do not use macros from bp-asm.h.
52484         (STR2): Likewise.
52485         (strcmp): Do not use BP_SYM.
52486         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52487         "bp-asm.h".
52488         (PARMS): Do not use macros from bp-asm.h.
52489         (STR): Likewise.
52490         (DELIM): Likewise.
52491         [USE_AS_STRTOK_R] (SAVE): Likewise.
52492         (FUNCTION): Likewise.  Do not use BP_SYM.
52493         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52494         aliases.
52495         (strtok_r): Likewise.
52496         (__GI___strtok_r): Likewise.
52497         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52498         (PARMS): Do not use macros from bp-asm.h.
52499         (S): Likewise.
52500         (SIZE): Likewise.
52501         (__mpn_lshift): Do not use BP_SYM.
52502         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52503         (PARMS): Do not use macros from bp-asm.h.
52504         (STR): Likewise.
52505         (CHR): Likewise.
52506         (__memchr): Do not use BP_SYM.
52507         (memchr): Do not use BP_SYM in weak_alias.
52508         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52509         (PARMS): Do not use macros from bp-asm.h.
52510         (BLK2): Likewise.
52511         (LEN): Likewise.
52512         (memcmp): Do not use BP_SYM.
52513         (bcmp): Do not use BP_SYM in weak_alias.
52514         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52515         (PARMS): Do not use macros from bp-asm.h.
52516         (S1): Likewise.
52517         (SIZE): Likewise.
52518         (__mpn_mul_1): Do not use BP_SYM.
52519         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52520         "bp-asm.h".
52521         (PARMS): Do not use macros from bp-asm.h.
52522         (STR): Likewise.
52523         (CHR): Likewise.
52524         (__rawmemchr): Do not use BP_SYM.
52525         (rawmemchr): Do not use BP_SYM in weak_alias.
52526         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52527         (PARMS): Do not use macros from bp-asm.h.
52528         (S): Likewise.
52529         (SIZE): Likewise.
52530         (__mpn_rshift): Do not use BP_SYM.
52531         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52532         (PARMS): Do not use macros from bp-asm.h.
52533         (SIGMSK): Likewise.
52534         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52535         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52536         (_start): Do not use BP_SYM.
52537         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52538         (PARMS): Do not use macros from bp-asm.h.
52539         (DEST): Likewise.
52540         (SRC): Likewise.
52541         (__stpcpy): Likewise.  Do not use BP_SYM.
52542         (stpcpy): Do not use BP_SYM in weak_alias.
52543         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52544         "bp-asm.h".
52545         (PARMS): Do not use macros from bp-asm.h.
52546         (DEST): Likewise.
52547         (SRC): Likewise.
52548         (LEN): Likewise.
52549         (__stpncpy): Likewise.  Do not use BP_SYM.
52550         (stpncpy): Do not use BP_SYM in weak_alias.
52551         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52552         (PARMS): Do not use macros from bp-asm.h.
52553         (STR): Likewise.
52554         (CHR): Likewise.
52555         (strchr): Likewise.  Do not use BP_SYM.
52556         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52557         "bp-asm.h".
52558         (PARMS): Do not use macros from bp-asm.h.
52559         (STR): Likewise.
52560         (CHR): Likewise.
52561         (__strchrnul): Likewise.  Do not use BP_SYM.
52562         (strchrnul): Do not use BP_SYM in weak_alias.
52563         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52564         "bp-asm.h".
52565         (PARMS): Do not use macros from bp-asm.h.
52566         (STOP): Likewise.
52567         (strcspn): Do not use BP_SYM.
52568         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52569         "bp-asm.h".
52570         (PARMS): Do not use macros from bp-asm.h.
52571         (STR): Likewise.
52572         (STOP): Likewise.
52573         (strpbrk): Likewise.  Do not use BP_SYM.
52574         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52575         "bp-asm.h".
52576         (PARMS): Do not use macros from bp-asm.h.
52577         (STR): Likewise.
52578         (CHR): Likewise.
52579         (strrchr): Likewise.  Do not use BP_SYM.
52580         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52581         (PARMS): Do not use macros from bp-asm.h.
52582         (SKIP): Likewise.
52583         (strspn): Do not use BP_SYM.
52584         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52585         (PARMS): Do not use macros from bp-asm.h.
52586         (STR): Likewise.
52587         (DELIM): Likewise.
52588         (SAVE): Likewise.
52589         (FUNCTION): Likewise.  Do not use BP_SYM.
52590         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52591         aliases.
52592         (strtok_r): Likewise.
52593         (__GI___strtok_r): Likewise.
52594         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52595         (PARMS): Do not use macros from bp-asm.h.
52596         (S1): Likewise.
52597         (S2): Likewise.
52598         (SIZE): Likewise.
52599         (__mpn_sub_n): Do not use BP_SYM.
52600         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52601         "bp-asm.h".
52602         (PARMS): Do not use macros from bp-asm.h.
52603         (S1): Likewise.
52604         (SIZE): Likewise.
52605         (__mpn_submul_1): Do not use BP_SYM.
52606         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52607         <bp-sym.h>.
52608         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52609         and <bp-asm.h>.
52610         (PARMS): Do not use macros from bp-asm.h.
52611         (FLAGS): Likewise.
52612         (PTID): Likewise.
52613         (TLS): Likewise.
52614         (CTID): Likewise.
52615         (__clone): Do not use BP_SYM.
52616         (clone): Do not use BP_SYM in weak_alias.
52617         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52618         and <bp-asm.h>.
52619         (PARMS): Do not use macros from bp-asm.h.
52620         (LEN): Likewise.
52621         (__mmap64): Do not use BP_SYM.
52622         (mmap64): Do not use BP_SYM in weak_alias.
52623         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52624         <bp-sym.h> and <bp-asm.h>.
52625         (PARMS): Do not use macros from bp-asm.h.
52626         (__posix_fadvise64_l64): Do not use BP_SYM.
52627         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52628         (PARMS): Do not use macros from bp-asm.h.
52629         (NSOPS): Likewise.
52630         (semtimedop): Do not use BP_SYM.
52631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52632         and <bp-asm.h>.
52634 2013-02-21  Allan McRae  <allan@archlinux.org>
52636         * manual/message.texi (Charset conversion in gettext):
52637         Move @end statement to beginning of line.
52639 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52642         static.
52643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52644         Likewise.
52646         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52647         (denorm): Likewise.
52648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52651 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52653         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52654         tail-call to the resolved function if pltexit isn't needed.
52656 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52659         or Y being zero as being unlikely.
52660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52661         Likewise.
52663 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52665         * manual/nss.texi (System Databases and Name Service Switch):
52666         Remove frobnicate @pxref.
52668 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52670         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52671         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52673 2013-02-20  Petr Machata  <pmachata@redhat.com>
52675         * elf/elf.h (R_ARM_TARGET1): New macro.
52676         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52677         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52678         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52679         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52680         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52681         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52682         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52683         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52684         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52685         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52686         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52687         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52688         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52689         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52690         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52691         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52692         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52693         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52694         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52695         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52696         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52697         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52698         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52699         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52700         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52701         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52702         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52703         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52704         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52705         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52706         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52707         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52708         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52709         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52710         (R_ARM_THM_GOT_BREL12): Likewise.
52711         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52712         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52713         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52714         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52715         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52716         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52717         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52718         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52719         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52721 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52723         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52724         __attribute_used__ to __attribute__ ((unused)).
52726 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52728         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52729         powerpc mpa.c.
52730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52731         comment formatting.
52732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52734 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52736         [BZ #13550]
52737         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52738         Remove macro.
52739         (ENTER): Remove both macro definitions.
52740         (LEAVE): Likewise.
52741         (CHECK_BOUNDS_LOW): Likewise.
52742         (CHECK_BOUNDS_HIGH): Likewise.
52743         (CHECK_BOUNDS_BOTH): Likewise.
52744         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52745         (RETURN_BOUNDED_POINTER): Likewise.
52746         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52747         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52748         (POP_ERRNO_LOCATION_RETURN): Likewise.
52749         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52750         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52751         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52752         macros.
52753         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52754         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52755         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52756         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52757         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52758         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52759         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52760         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52761         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52762         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52763         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52764         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52765         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52766         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52767         removed macros.
52768         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52769         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52770         macros.
52771         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52772         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52773         * sysdeps/i386/i586/memset.S (memset): Likewise.
52774         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52775         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52776         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52777         macros.
52778         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52779         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52780         Change uses of L(2) to L(out).
52781         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52782         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52783         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52784         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52785         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52786         removed macros.
52787         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52788         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52789         macros.
52790         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52791         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52792         (RETURN): Do not use macro LEAVE.
52793         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52794         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52795         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52796         * sysdeps/i386/i686/memset.S (memset): Likewise.
52797         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52798         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52799         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52800         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52801         Likewise.
52802         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52803         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52804         L(1_2) and L(1_3) into L(1).
52805         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52806         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52807         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52808         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52809         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52810         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52811         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52812         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52813         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52814         macros.
52815         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52816         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52817         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52818         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52819         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52820         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52821         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52822         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52823         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52824         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52825         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52826         * sysdeps/i386/strspn.S (strspn): Likewise.
52827         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52828         conditional code.
52829         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52830         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52831         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52832         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52833         L(1_3) into L(1_1).
52834         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52835         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52836         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52837         macros.
52838         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52840 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52842         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52843         macro.
52845 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52847         * math/atest-exp.c (exp_mpn): Remove ROUND.
52848         * math/atest-exp2.c (exp_mpn): Likewise.
52849         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52851         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52852         * stdlib/tst-tls-atexit-lib.c: Likewise.
52853         * stdlib/tst-tls-atexit.c: Likewise.
52855 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52857         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52858         and __attribute_alloc_size__.
52860 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52862         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52863         __attribute_alloc_size__.
52864         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52865         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52867 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52869         * include/programs/xmalloc.h: New file.
52870         * catgets/gencat.c: Include it.
52871         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52872         * elf/pldd.c: Likewise.
52873         * iconv/iconv_charmap.c: Likewise.
52874         * iconv/iconvconfig.c: Likewise.
52875         * iconv/strtab.c: Likewise.
52876         * locale/programs/locale.c: Likewise.
52877         * locale/programs/localedef.h: Likewise.
52878         * locale/programs/simple-hash.c: Likewise.
52879         * nscd/nscd.h: Likewise.
52880         * nss/makedb.c: Likewise.
52881         * sysdeps/generic/ldconfig.h: Likewise.
52883 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52885         * Versions.def: Add GLIBC_2.18.
52886         * include/link.h (struct link_map): New member l_tls_dtor_count.
52887         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52888         (__call_tls_dtors): Likewise.
52889         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52890         __cxa_thread_atexit_impl.
52891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52892         Likewise.
52893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52894         Likewise.
52895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52896         Likewise.
52897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52898         Likewise.
52899         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52901         Likewise.
52902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52903         Likewise.
52904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52906         Likewise.
52907         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52908         (tests): Add test case tst-tls-atexit.
52909         (modules-names): Add shared library for tst-tls-atexit.
52910         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52911         (GLIBC_PRIVATE): Add __call_tls_dtors.
52912         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52913         for libstdc++.
52914         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52915         * stdlib/tst-tls-atexit.c: New test case.
52916         * stdlib/tst-tls-atexit-lib.c: New test case.
52918         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52920         * elf/Versions (ld): Add _dl_find_dso_for_object.
52921         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52922         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52923         (dl_open_worker): Use _dl_find_dso_for_object.
52924         * elf/dl-sym.c (do_sym): Likewise.
52925         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52927 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52929         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52930         Syntactic changes only.
52931         (_dl_runtime_profile): Do a tail-call to the resolved function.
52933 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52935         [BZ #13550]
52936         * sysdeps/x86_64/bp-asm.h: Remove file.
52937         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52938         <bp-sym.h> and <bp-asm.h>.
52939         (__clone): Do not use BP_SYM.
52940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52941         <bp-sym.h> and <bp-asm.h>.
52942         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52943         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52944         "bp-asm.h".
52945         (_setjmp): Do not use BP_SYM.
52946         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52947         "bp-asm.h".
52948         (setjmp): Do not use BP_SYM.
52949         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52950         libc_hidden_def.
52951         (mempcpy): Do not use BP_SYM in weak_alias.
52952         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52953         "bp-asm.h".
52954         (strchr): Do not use BP_SYM.
52955         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52956         "bp-asm.h".
52957         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52958         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52959         (_start): Do not use BP_SYM.
52960         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52961         "bp-asm.h".
52962         (strcat): Do not use BP_SYM.
52963         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52964         "bp-asm.h".
52965         (STRCMP): Do not use BP_SYM.
52966         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52967         "bp-asm.h".
52968         (STRCPY): Do not use BP_SYM.
52969         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52970         "bp-asm.h".
52971         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52972         "bp-asm.h".
52973         (FUNCTION): Do not use BP_SYM.
52974         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52975         weak_alias.
52976         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52978 2013-02-17  Andreas Jaeger  <aj@suse.de>
52980         * time/Versions: Sort entries.
52981         * string/Versions: Likewise.
52982         * resolv/Versions: Likewise.
52983         * posix/Versions: Likewise.
52984         * iconv/Versions: Likewise.
52985         * elf/Versions: Likewise.
52986         * wcsmbs/Versions: Likewise.
52988 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52991         loop termination condition.
52993         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52994         variable to calculate EZ.
52995         (__sqr): Likewise.
52997         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52998         the lower precision input.
53000 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53002         [BZ #13550]
53003         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53004         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53005         (run-via-rtld-prefix): Do not handle %-bp tests.
53006         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53007         (all-object-suffixes): Remove .ob.
53008         (bppfx): Remove variable.
53009         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53010         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53011         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53012         [$(build-bounded) = yes] (libtype.ob): Likewise.
53013         * Makerules (elide-routines.ob): Remove variable.
53014         (do-tests-clean): Do not handle *-bp.out.
53015         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53016         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53017         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53018         (tests): Do not include $(tests-bp.out).
53019         (xtests): Do not include $(xtests-bp.out).
53020         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53021         [$(build-bounded) = yes] ($(addprefix
53022         $(objpfx),$(binaries-bounded))): Remove rule.
53023         ($(objpfx)%-bp.out): Remove rule.
53024         * config.make.in (build-bounded): Remove variable.
53025         * crypt/Makefile [$(build-bounded) = yes]
53026         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53027         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53028         append to variable.
53029         [$(build-bounded) = yes] (install-lib): Likewise.
53030         [$(build-bounded) = yes] (generated): Likewise.
53031         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53032         Remove rule.
53033         * intl/Makefile [$(build-bounded) = yes]
53034         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53035         * math/Makefile [$(build-bounded) = yes]
53036         ($(tests:%=$(objpfx)%-bp): Likewise.
53037         * misc/Makefile [$(build-bounded) = yes]
53038         ($(objpfx)tst-tsearch-bp): Likewise.
53039         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53040         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53041         Remove dependency.
53042         * string/Makefile (o-objects.ob): Remove variable.
53043         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53044         (CFLAGS-.ob): Remove variable.
53045         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53046         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53047         both definitions of variable.
53048         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53049         (ASFLAGS-.ob): Remove variable.
53051 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53053         [BZ #13550]
53054         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53055         Remove __BOUNDED_POINTERS__ from condition.
53056         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53057         * string/bits/string2.h [!__NO_STRING_INLINES &&
53058         !__BOUNDED_POINTERS__]: Likewise.
53059         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53060         Likewise.
53061         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53062         Remove conditional code.
53063         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53064         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53065         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53066         condition.
53068         [BZ #13550]
53069         * csu/libc-start.c: Do not include <bp-sym.h>.
53070         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53071         * elf/dl-open.c: Do not include <bp-sym.h>.
53072         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53073         * math/fegetenv.c: Do not include <bp-sym.h>.
53074         (fegetenv): Do not use BP_SYM in versioned symbols.
53075         * nptl/sysdeps/pthread/bits/libc-lockP.h
53076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53077         <bp-sym.h>.
53078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53079         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53081         (__pthread_mutex_destroy): Likewise.
53082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53083         (__pthread_mutex_lock): Likewise.
53084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53085         (__pthread_mutex_trylock): Likewise.
53086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53087         (__pthread_mutex_unlock): Likewise.
53088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53089         (__pthread_mutexattr_init): Likewise.
53090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53091         (__pthread_mutexattr_destroy): Likewise.
53092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53093         (__pthread_mutexattr_settype): Likewise.
53094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53095         (__pthread_rwlock_init): Likewise.
53096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53097         (__pthread_rwlock_destroy): Likewise.
53098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53099         (__pthread_rwlock_rdlock): Likewise.
53100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53101         (__pthread_rwlock_tryrdlock): Likewise.
53102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53103         (__pthread_rwlock_wrlock): Likewise.
53104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53105         (__pthread_rwlock_trywrlock): Likewise.
53106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53107         (__pthread_rwlock_unlock): Likewise.
53108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53109         (__pthread_key_create): Likewise.
53110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53111         (__pthread_setspecific): Likewise.
53112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53113         (__pthread_getspecific): Likewise.
53114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53115         Likewise.
53116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53117         (_pthread_cleanup_push_defer): Likewise.
53118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53119         (_pthread_cleanup_pop_restore): Likewise.
53120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53121         (pthread_setcancelstate): Likewise.
53122         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53123         <bp-sym.h>.
53124         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53125         (memchr): Do not use BP_SYM in weak_alias.
53126         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53127         (fegetenv): Do not use BP_SYM in versioned symbols.
53128         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53129         (fesetenv): Do not use BP_SYM in versioned symbols.
53130         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53131         (feupdateenv): Do not use BP_SYM in versioned symbols.
53132         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53133         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53134         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53135         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53136         (open64): Do not use BP_SYM in weak_alias.
53137         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53138         (fegetenv): Do not use BP_SYM in versioned symbols.
53139         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53140         (fesetenv): Do not use BP_SYM in versioned symbols.
53141         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53142         (feupdateenv): Do not use BP_SYM in versioned symbols.
53143         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53144         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53145         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53146         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53147         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53148         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53149         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53150         <bp-sym.h>.
53151         (__libc_start_main): Do not use BP_SYM.
53153 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53156         redundant return line.
53157         (norm): Likewise.
53158         (denorm): Likewise.
53159         (dbl_mp): Likewise.
53160         (sub_magnitudes): Likewise.
53161         (__add): Likewise.
53162         (__sub): Likewise.
53163         (__mul): Likewise.
53164         (__inv): Likewise.
53165         (__dvd): Likewise.
53166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53167         (norm): Likewise.
53168         (denorm): Likewise.
53169         (dbl_mp): Likewise.
53170         (sub_magnitudes): Likewise.
53171         (__add): Likewise.
53172         (__sub): Likewise.
53173         (__mul): Likewise.
53174         (__inv): Likewise.
53175         (__dvd): Likewise.
53177         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53178         instead of __mul.
53179         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53180         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53181         (cc32): Likewise.
53183         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53184         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53186         of __mul for squares.
53187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53188         function
53189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53190         Likewise.
53191         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53192         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53194 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53196         [BZ #13550]
53197         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53198         code.
53199         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53200         prototype or function definition.  Rename ubp_* variables and
53201         parameters.  Remove argv definitions conditional on
53202         [__BOUNDED_POINTERS__].
53203         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53204         * elf/dl-runtime.c (_dl_fixup): Likewise.
53205         * include/set-hooks.h (RUN_HOOK): Likewise.
53206         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53207         definition.
53208         * string/strcpy.c (strcpy): Do not use __unbounded.
53209         * sysdeps/generic/frame.h (struct layout): Likewise.
53210         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53211         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53212         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53213         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53214         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53215         (__backtrace): Likewise.
53216         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53217         use __ptrvalue.
53218         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53219         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53220         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53221         Likewise.
53222         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53223         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53225         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53226         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53227         Do not use __unbounded.
53228         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53229         Rename __unboundedrlimits parameter to rlimits in prototype.
53230         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53231         Do not use __unbounded.
53232         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53233         not use __ptrvalue.
53234         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53235         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53236         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53237         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53238         __ptrvalue or __unbounded.
53239         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53240         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53241         use __unbounded.
53242         (__new_msgctl): Do not use __ptrvalue.
53243         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53244         __unbounded.
53245         (__libc_msgrcv): Do not use __ptrvalue.
53246         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53247         startup_info): Do not use __unbounded.
53248         (__libc_start_main): Likewise.  Rename ubp_* variables and
53249         parameters.  Remove argv definitions conditional on
53250         [__BOUNDED_POINTERS__].
53251         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53252         __ptrvalue.
53253         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53254         use __unbounded.
53255         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53256         or __ptrvalue.
53257         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53258         use __unbounded.
53259         (__new_shmctl): Do not use __ptrvalue.
53260         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53261         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53262         Likewise.
53263         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53264         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53265         (__libc_sigaction): Likewise.
53266         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53267         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53268         Likewise.
53269         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53271 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53273         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53275         * string/mempcpy.c: Implement by calling memcpy.
53277 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53282         evaluation.
53284         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53285         values in the mantissa.
53287         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53288         minimize writes to Z.
53289         (sub_magnitudes): Simplify code a bit.
53291 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53293         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53294         from the message.  The linker prefixes all warnings with that already.
53296 2013-02-12  Andreas Schwab  <schwab@suse.de>
53298         [BZ #15078]
53299         * posix/regexec.c (extend_buffers): Add parameter min_len.
53300         (check_matching): Pass minimum needed length.
53301         (clean_state_log_if_needed): Likewise.
53302         (get_subexp): Likewise.
53303         * posix/Makefile (tests): Add bug-regex34.
53304         (bug-regex34-ENV): Define.
53305         * posix/bug-regex34.c: New file.
53307         [BZ #11561]
53308         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53309         elements compare against the byte sequence of it, not its name.
53310         * posix/Makefile (tests): Add bug-regex35.
53311         (bug-regex35-ENV): Define.
53312         * posix/bug-regex35.c: New file.
53314 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53316         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53317         comment.
53318         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53319         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53320         (CHECK_EOL): Add undef.
53322 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53324         * bits/stdlib-bsearch.h: New file.
53325         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53326         * stdlib/stdlib.h: Likewise.
53328 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53330         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53331         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53332         declaration.
53333         * manual/search.texi (Array Search Function): Add missing const in
53334         lfind prototype.
53335         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53336         declaration to use rlim_t.
53337         (Basic Scheduling Functions): Remove erroneous const from
53338         sched_getparam prototype.  Remove erroneous * from
53339         sched_get_priority_max and sched_get_priority_min prototypes.
53340         (Resource Usage): Fix summary @comment on vtimes to refer to
53341         sys/vtimes.h rather than vtimes.h.
53342         Add missing *s in vtimes prototype.
53343         (Limits on Resources): Fix ulimit prototype to return long int.
53344         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53345         prototypes to use long int rather than double.
53346         (BSD Random): Fix initstate and setstate to use char *, not void *.
53347         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53348         prototype to make second argument 'struct aiocb64 *const[]'.
53349         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53350         (Status of AIO Operations): Remove erroneous const in aio_return and
53351         aio_return64 prototypes.
53352         (Synchronizing I/O): Fix sync prototype to return void.
53353         * manual/startup.texi (Suboptions): Remove an erroneous const in
53354         getsubopt prototype.
53355         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53356         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53357         use size_t rather than int.
53358         (Scanning All Users): Likewise for getpwent_r.
53359         (Setting Groups): Add missing const to setgroups prototype.
53360         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53361         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53362         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53363         'const void *' rather than 'const char *'.
53364         (Host Address Functions): Likewise for inet_ntop.
53365         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53366         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53367         ssize_t for return value.
53368         (Sending Data): Likewise for send, sendto, sendmsg.
53369         (Socket Option Functions): Add a missing const in setsockopt prototype.
53370         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53371         use wchar_t for the argument.
53372         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53373         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53374         take no arguments.
53375         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53376         double/float/long double for second argument.
53377         Fix return types of significand, significandf, significandl.
53378         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53379         argument in fchmod prototype.
53380         (File Owner): Use uid_t and gid_t in fchown prototype.
53381         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53382         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53383         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53384         use 'const struct dirent **' as argument types to CMP function pointer
53385         argument.
53386         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53387         (File Times): Fix summary magic @comment for struct utimbuf and utime
53388         to refer to utime.h, not time.h.
53389         * manual/string.texi (Argz Functions): Add missing const in
53390         argz_extract and argz_next prototypes.
53391         (Finding Tokens in a String): Likewise for basename.
53392         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53393         (Copying and Concatenation): Fix typo in wmemmove prototype.
53394         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53395         (Signal Stack): Remove erroneous const in sigstack prototype.
53396         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53397         prototype.
53398         (Simple Calendar Time): Likewise for stime.
53399         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53400         prototype.
53401         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53402         say sys/sysctl.h instead.
53403         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53404         and vsyslog prototypes.
53406 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53408         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53409         Remove.
53411 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53413         * misc/sys/mman.h: Fix typo in mremap comment.
53415 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53417         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53418         the '\0' terminator.
53420 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53422         [BZ #13550]
53423         * debug/segfault.c: Don't include <bp-checks.h>.
53424         * sysdeps/generic/bp-checks.h: Remove file.
53425         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53426         (__GETDENTS): Don't use CHECK_N.
53427         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53428         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53429         (__getgroups): Don't use CHECK_N.
53430         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53431         (setgroups): Don't use CHECK_N.
53432         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53433         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53434         (__libc_msgrcv): Don't use CHECK_N.
53435         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53436         (__libc_msgsnd): Don't use CHECK_N.
53437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53438         <bp-checks.h>.
53439         (__libc_pread): Don't use CHECK_N.
53440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53441         include <bp-checks.h>.
53442         (__libc_pread64): Don't use CHECK_N.
53443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53444         include <bp-checks.h>.
53445         (__libc_pwrite): Don't use CHECK_N.
53446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53447         include <bp-checks.h>.
53448         (__libc_pwrite64): Don't use CHECK_N.
53449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53450         <bp-checks.h>.
53451         (__libc_pread): Don't use CHECK_N.
53452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53453         include <bp-checks.h>.
53454         (__libc_pread64): Don't use CHECK_N.
53455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53456         include <bp-checks.h>.
53457         (__libc_pwrite): Don't use CHECK_N.
53458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53459         include <bp-checks.h>.
53460         (__libc_pwrite64): Don't use CHECK_N.
53461         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53462         (do_pread): Don't use CHECK_N.
53463         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53464         (do_pread64): Don't use CHECK_N.
53465         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53466         (do_pwrite): Don't use CHECK_N.
53467         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53468         (do_pwrite64): Don't use CHECK_N.
53469         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53470         (__libc_readv): Don't use CHECK_N.
53471         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53472         (semop): Don't use CHECK_N.
53473         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53474         <bp-checks.h>.
53475         (semtimedop): Don't use CHECK_N.
53476         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53477         (__libc_pread): Don't use CHECK_N.
53478         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53479         <bp-checks.h>.
53480         (__libc_pread64): Don't use CHECK_N.
53481         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53482         <bp-checks.h>.
53483         (__libc_pwrite): Don't use CHECK_N.
53484         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53485         <bp-checks.h>.
53486         (__libc_pwrite64): Don't use CHECK_N.
53487         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53488         <bp-checks.h>.
53489         (__libc_msgrcv): Don't use CHECK_N.
53490         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53491         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53492         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53493         (__libc_writev): Don't use CHECK_N.
53495 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53497         * string/strcpy.c: Removed unused variable.
53499         * Makeconfig (+sysdep-includes): Define with := rather than =.
53500         Use an existing include/ subdir of each sysdeps dir before it.
53502 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53504         * nscd/connection.c (register_traced_file): Comment function.
53505         [HAVE_INOTIFY] (union __inev): Define.
53506         [HAVE_INOTIFY] (inotify_check_files): New function.
53507         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53508         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53509         clear_db_cache.
53510         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53512 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53514         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53515         loaded if not already and that a failure is permanent.
53517 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53519         [BZ #15006]
53520         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53521         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53523 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53525         [BZ #13550]
53526         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53527         (CHECK_1_NULL_OK): Likewise.
53528         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53529         (__fxstat): Do not use CHECK_1.
53530         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53531         <bp-checks.h>.
53532         (___fxstat64): Do not use CHECK_1.
53533         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53534         <bp-checks.h>.
53535         (__fxstatat): Do not use CHECK_1.
53536         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53537         <bp-checks.h>.
53538         (__fxstatat64): Do not use CHECK_1.
53539         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53540         <bp-checks.h>.
53541         (__fxstat): Do not use CHECK_1.
53542         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53543         <bp-checks.h>.
53544         (__fxstatat): Do not use CHECK_1.
53545         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53546         <bp-checks.h>.
53547         (__getresgid): Do not use CHECK_1.
53548         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53549         <bp-checks.h>.
53550         (__getresuid): Do not use CHECK_1.
53551         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53552         <bp-checks.h>.
53553         (__lxstat): Do not use CHECK_1.
53554         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53555         <bp-checks.h>.
53556         (__old_msgctl): Do not use CHECK_1.
53557         (__new_msgctl): Likewise.
53558         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53559         <bp-checks.h>.
53560         (__new_setrlimit): Do not use CHECK_1.
53561         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53562         <bp-checks.h>.
53563         (__old_shmctl): Do not use CHECK_1.
53564         (__new_shmctl): Likewise.
53565         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53566         <bp-checks.h>.
53567         (__xstat): Do not use CHECK_1.
53568         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53569         (__lxstat): Do not use CHECK_1.
53570         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53571         <bp-checks.h>.
53572         (___lxstat64): Do not use CHECK_1.
53573         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53574         (__old_msgctl): Do not use CHECK_1.
53575         (__new_msgctl): Likewise.
53576         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53577         <bp-checks.h>.
53578         (__gettimeofday): Do not use CHECK_1.
53579         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53580         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53581         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53582         <bp-checks.h>.
53583         (__gettimeofday): Do not use CHECK_1.
53584         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53585         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53586         (__new_shmctl): Do not use CHECK_1.
53587         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53588         <bp-checks.h>.
53589         (do_sigtimedwait): Do not use CHECK_1.
53590         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53591         <bp-checks.h>.
53592         (do_sigwaitinfo): Do not use CHECK_1.
53593         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53594         <bp-checks.h>.
53595         (msgctl): Do not use CHECK_1.
53596         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53597         <bp-checks.h>.
53598         (shmctl): Do not use CHECK_1.
53599         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53600         (ustat): Do not use CHECK_1.
53601         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53602         <bp-checks.h>.
53603         (__fxstat): Do not use CHECK_1.
53604         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53605         <bp-checks.h>.
53606         (__fxstatat): Do not use CHECK_1.
53607         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53608         <bp-checks.h>.
53609         (__lxstat): Do not use CHECK_1.
53610         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53611         <bp-checks.h>.
53612         (__xstat): Do not use CHECK_1.
53613         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53614         (__xstat): Do not use CHECK_1.
53615         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53616         (___xstat64): Do not use CHECK_1.
53618         [BZ #13550]
53619         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53620         definitions.
53621         (CHECK_BOUNDS_HIGH): Likewise.
53622         * string/strcpy.c: Do not include <bp-checks.h>.
53623         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53625 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53627         * nscd/nscd-client.h (__nscd_drop_map_ref):
53628         Add __attribute__ ((unused)).
53629         * nis/nss-nisplus.h (niserr2nss): Likewise.
53631         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53632         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53634         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53635         Remove inline keyword.
53636         * include/rounding-mode.h (round_away): Likewise.
53637         * libio/wfileops.c (adjust_wide_data): Likewise.
53638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53639         (__m128i_strloadu_tolower): Likewise.
53640         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53641         (__m128i_strloadu_tolower): Likewise.
53642         * time/mktime.c (ydhms_diff): Likewise.
53643         * locale/elem-hash.h (elem_hash): Likewise.
53644         * locale/setlocale.c (setdata): Likewise.
53645         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53646         (re_string_wchar_at): Likewise.
53647         (bitset_not, bitset_merge, bitset_mask): Likewise.
53648         [!(__GNUC__ > 3)] (inline): Remove macro.
53649         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53650         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53651         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53652         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53653         * string/memcmp.c (memcmp_bytes): Likewise.
53654         * locale/programs/locarchive.c (compute_hashval): Likewise.
53655         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53656         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53657         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53658         * nss/getent.c (print_rpc, print_protocols): Likewise.
53659         (print_passwd, print_group, print_aliases): Likewise.
53660         * nis/nss-nisplus.h (niserr2nss): Likewise.
53661         * nscd/connections.c (restart_p): Likewise.
53662         Change return type to bool.
53664 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53666         * Makeconfig (all-Depend-files): Add existing
53667         $(sorted-subdirs:=/Depend) files.
53668         (all-subdirs): Remove nss.
53669         * sysdeps/unix/inet/Subdirs: Add it here instead.
53670         * hesiod/Depend: New file.
53672         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53673         instead of calling alloca.
53675         * io/lseek.c (__lseek): Rename to __libc_lseek.
53676         Define __lseek as an alias.
53678         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53680 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53682         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53683         else clause and remove check for non-standard endianness.
53685 2013-02-04  David S. Miller  <davem@davemloft.net>
53687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53689 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53691         [BZ #13550]
53692         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53693         (__ubp_memchr): Remove prototype.
53694         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53695         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53696         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53697         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53698         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53699         Remove alias.
53700         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53701         (__ubp_memchr): Likewise.
53702         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53703         (__ubp_memchr): Likewise.
53704         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53705         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53706         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53707         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53708         CHECK_STRING.
53709         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53710         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53711         (__getcwd): Do not use CHECK_STRING.
53712         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53713         <bp-checks.h>.
53714         (__real_chown): Do not use CHECK_STRING.
53715         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53716         <bp-checks.h>.
53717         (fchownat): Do not use CHECK_STRING.
53718         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53719         CHECK_STRING.
53720         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53721         <bp-checks.h>.
53722         (__lchown): Do not use CHECK_STRING.
53723         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53724         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53725         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53726         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53728         include <bp-checks.h>.
53729         (truncate64): Do not use CHECK_STRING.
53730         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53731         <bp-checks.h>.
53732         (__real_chown): Do not use CHECK_STRING.
53733         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53734         <bp-checks.h>.
53735         (__lchown): Do not use CHECK_STRING.
53736         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53737         <bp-checks.h>.
53738         (__chown): Do not use CHECK_STRING.
53739         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53740         <bp-checks.h>.
53741         (truncate64): Do not use CHECK_STRING.
53742         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53743         Likewise.
53744         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53745         (__xmknod): Do not use CHECK_STRING.
53746         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53747         <bp-checks.h>.
53748         (__xmknodat): Do not use CHECK_STRING.
53749         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53750         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53752 2013-02-04  Andreas Schwab  <schwab@suse.de>
53754         [BZ #14142]
53755         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53756         * include/netdb.h: Likewise for h_errno.
53757         * elf/tst-stackguard1.c: Include <tls.h>.
53759 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53761         * elf/link.h (struct link_map): Extend the l_addr comment.
53762         * include/link.h (struct link_map): Likewise.
53764 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53766         [BZ #13550]
53767         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53768         (BOUNDED_1): Remove macro.
53769         * debug/backtrace.c: Don't include <bp-checks.h>.
53770         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53771         (__backtrace): Likewise.
53772         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53773         <bp-checks.h>.
53774         (__backtrace): Don't use BOUNDED_1.
53775         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53776         <bp-checks.h>.
53777         (__backtrace): Don't use BOUNDED_1.
53778         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53779         (__backtrace): Don't use BOUNDED_1.
53780         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53781         (shmat): Don't use BOUNDED_N.
53783 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53785         [BZ #13550]
53786         * sysdeps/generic/bp-start.h: Remove file.
53787         * csu/libc-start.c: Don't include <bp-start.h>.
53788         (LIBC_START_MAIN): Set up __environ directly instead of using
53789         INIT_ARGV_and_ENVIRON.
53790         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53791         <bp-start.h>.
53793         [BZ #13550]
53794         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53795         definitions.
53796         (CHECK_FCNTL): Likewise.
53797         (CHECK_N_PAGES): Likewise.
53799         [BZ #13550]
53800         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53801         definitions.
53802         (CHECK_SIGSET_NULL_OK): Likewise.
53803         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53804         <bp-checks.h>.
53805         (sigpending): Don't use CHECK_SIGSET.
53806         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53807         <bp-checks.h>.
53808         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53809         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53810         <bp-checks.h>.
53811         (do_sigsuspend): Don't use CHECK_SIGSET.
53812         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53813         use CHECK_SIGSET.
53814         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53815         (do_sigwait): Don't use CHECK_SIGSET.
53816         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53817         use CHECK_SIGSET.
53818         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53819         include <bp-checks.h>.
53820         (sigpending): Don't use CHECK_SIGSET.
53821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53822         include <bp-checks.h>.
53823         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53824         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53825         <bp-checks.h>.
53826         (sigpending): Don't use CHECK_SIGSET.
53827         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53828         <bp-checks.h>.
53829         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53831         [BZ #13550]
53832         * sysdeps/generic/bp-semctl.h: Remove file.
53833         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53834         <bp-checks.h> and <bp-semctl.h>.
53835         (__old_semctl): Don't use CHECK_SEMCTL.
53836         (__new_semctl): Likewise.
53837         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53838         and <bp-semctl.h>.
53839         (__old_semctl): Don't use CHECK_SEMCTL.
53840         (__new_semctl): Likewise.
53841         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53842         <bp-checks.h> and <bp-semctl.h>.
53843         (__old_semctl): Don't use CHECK_SEMCTL.
53844         (__new_semctl): Likewise.
53845         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53846         <bp-checks.h> and <bp-semctl.h>.
53847         (semctl): Don't use CHECK_SEMCTL.
53849         [BZ #13550]
53850         * Makerules (elide-bp-thunks): Remove variable.
53851         (elide-routines.oS): Don't use $(elide-bp-thunks).
53852         (elide-routines.os): Likewise.
53853         (elide-routines.o): Likewise.
53854         (elide-routines.op): Likewise.
53855         (elide-routines.og): Likewise.
53856         (objects): Don't use $(bp-thunks).
53857         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53858         include.
53859         (common-generated): Do not add s-proto-bp.d.
53860         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53861         (int): Likewise.
53862         (typ): Likewise.
53863         Do not generate makefile rules for bounded-pointer thunks.
53864         * sysdeps/generic/bp-thunks.h: Remove file.
53865         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53866         * sysdeps/unix/s-proto-bp.S: Likewise.
53868         [BZ #15062]
53869         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53870         parts of result separately when argument is not close to line from
53871         -i to i and one part of argument is small.
53872         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53873         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53874         * math/libm-test.inc (cacos_test): Add more tests.
53875         (casin_test): Likewise.
53876         (casinh_test): Likewise.
53877         * sysdeps/i386/fpu/libm-test-ulps: Update.
53878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53880 2013-01-31  David S. Miller  <davem@davemloft.net>
53882         * po/de.po: Update from translation team.
53884 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53886         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53888 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53890         * configure.in (_AC_PROG_CC_C89): New definition.
53891         * configure: Regenerate.
53893         * configure.in (AC_PROG_CPP): New definition.
53894         * configure: Regenerate.
53896 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53898         * debug/tst-backtrace.h: New file.
53899         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53900         (ret): Remove variable.
53901         (x): Likewise.
53902         (FAIL): Remove macro.
53903         (NO_INLINE): Likewise.
53904         (fn1): Use match function instead of strstr.
53905         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53906         (ret): Remove variable.
53907         (x): Likewise.
53908         (FAIL): Remove macro.
53909         (NO_INLINE): Likewise.
53910         (fn): Use match function instead of strstr.
53911         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53912         (ret): Remove variable.
53913         (x): Likewise.
53914         (FAIL): Remove macro.
53915         (NO_INLINE): Likewise.
53916         (handle_signal): Use match function instead of strstr.
53917         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53918         (ret): Remove variable.
53919         (x): Likewise.
53920         (FAIL): Remove macro.
53921         (NO_INLINE): Likewise.
53922         (handle_signal): Use match function instead of strstr.
53924 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53926         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53928 2013-01-23  David S. Miller  <davem@davemloft.net>
53930         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53931         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53932         argument of CAS if possible.
53933         * sysdeps/sparc/sparc64/bits/atomic.h
53934         (__arch_compare_and_exchange_val_32_acq): Likewise.
53935         (__arch_compare_and_exchange_val_64_acq): Likewise.
53937 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53939         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53940         * sysdeps/posix/ulimit.c: ... this.
53941         Include <limits.h>.
53942         * sysdeps/unix/bsd/ulimit.c: Remove file.
53944 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53946         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53947         (LDFLAGS-tst-array5): Likewise.
53949 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53951         [BZ #15036]
53952         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53953         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53954         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53955         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53957 2013-01-21  David S. Miller  <davem@davemloft.net>
53959         * sysdeps/sparc/backtrace.c: New file.
53960         * sysdeps/sparc/sparc32/backtrace.h: New file.
53961         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53962         * sysdeps/sparc/sparc64/backtrace.h: New file.
53963         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53964         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53965         -funwind-tables.
53967 2013-01-21  Andreas Schwab  <schwab@suse.de>
53969         [BZ #15020]
53970         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53971         closed its stdout.
53973 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53975         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53976         "mpa2.h".
53977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53979 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53980             Mark Mitchell  <mark@codesourcery.com>
53981             Tom de Vries  <tom@codesourcery.com>
53982             Paul Pluzhnikov  <ppluzhnikov@google.com>
53984         * debug/tst-backtrace2.c: New file.
53985         * debug/tst-backtrace3.c: Likewise.
53986         * debug/tst-backtrace4.c: Likewise.
53987         * debug/tst-backtrace5.c: Likewise.
53988         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53989         (CFLAGS-tst-backtrace3.c): Likewise.
53990         (CFLAGS-tst-backtrace4.c): Likewise.
53991         (CFLAGS-tst-backtrace5.c): Likewise.
53992         (LDFLAGS-tst-backtrace2): Likewise.
53993         (LDFLAGS-tst-backtrace3): Likewise.
53994         (LDFLAGS-tst-backtrace4): Likewise.
53995         (LDFLAGS-tst-backtrace5): Likewise.
53996         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53997         tst-backtrace4 and tst-backtrace5.
53999 2013-01-18  Anton Blanchard  <anton@samba.org>
54000             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54002         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54003         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54004         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54005         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54007         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54008         "+r" and remove output regs list as redundant.  Add explicit inline
54009         asm to specify register of return val to work around compiler codegen
54010         bug.  Remove (int) cast on return value.  Add return type parameter to
54011         use in macro so that this macro does not truncate return value for
54012         64-bit values.
54013         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54014         pass to INTERNAL_VSYSCALL_NCS.
54015         (INLINE_VSYSCALL): Add 'long int' as return type to
54016         INTERNAL_VSYSCALL_NCS macro invocation.
54017         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54018         INTERNAL_VSYSCALL_NCS macro invocation.
54019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54021 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54023         [BZ #14496]
54024         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54025         Fix application of SIMD FP exception mask.
54027         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54028         mp_no from a power of two.
54029         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54030         __mpexp_twomm1.  Use __pow_mp.
54032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54033         multiplication.
54035 2013-01-17  David S. Miller  <davem@davemloft.net>
54037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54039 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54041         [BZ #15023]
54042         * include/complex.h: Condition contents on [!_COMPLEX_H].
54043         (__kernel_casinhf): New prototype.
54044         (__kernel_casinh): Likewise.
54045         (__kernel_casinhl): Likewise.
54046         * math/Makefile (libm_calls): Add k_casinh.
54047         * math/k_casinh.c: New file.
54048         * math/k_casinhf.c: Likewise.
54049         * math/k_casinhl.c: Likewise.
54050         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54051         finite nonzero arguments.
54052         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54053         finite nonzero arguments.
54054         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54055         finite nonzero arguments.
54056         * math/s_casinh.c: Do not include <float.h>.
54057         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54058         * math/s_casinhf.c: Do not include <float.h>.
54059         (__casinhf): Move code for finite nonzero arguments to
54060         k_casinhf.c.
54061         * math/s_casinhl.c: Do not include <float.h>.
54062         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54063         redefine.
54064         (__casinhl): Move code for finite nonzero arguments to
54065         k_casinhl.c.
54066         * math/libm-test.inc (cacos_test): Add more tests.
54067         * sysdeps/i386/fpu/libm-test-ulps: Update.
54068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54070 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54072         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54073         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54074         [!HAVE_MREMAP]: Remove [defined linux] case.
54075         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54077 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54079         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54081 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54083         * elf/elf.h (R_386_SIZE32): New relocation.
54084         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54085         R_386_SIZE32.
54086         (elf_machine_rela): Likewise.
54087         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54088         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54090 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54092         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54093         (FP_FAST_FMA): Do not define.
54094         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54095         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54096         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54097         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54098         !_SOFT_FLOAT]: Likewise.
54099         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54101         value.
54102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54103         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54105         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54106         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54107         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54108         file.
54110 2013-01-16  Andreas Schwab  <schwab@suse.de>
54112         [BZ #14327]
54113         * include/stdlib.h (__mktemp): Add declaration.
54114         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54115         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54117 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54119         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54120         definitions.
54121         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54122         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54123         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54124         definitions here.
54125         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54126         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54127         definitions.
54128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54129         and ONE.
54130         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54131         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54132         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54133         definitions.
54134         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54135         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54136         definitions.
54137         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54139         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54141 2013-01-15  David S. Miller  <davem@davemloft.net>
54143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54144         trunc{,f} to libm-sysdep_routes.
54145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54147         file.
54148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54150         file.
54151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54152         file.
54153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54155         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54156         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54157         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54158         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54159         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54160         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54163         nearbyint{,f} to libm-sysdep_routes.
54164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54166         New file.
54167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54168         file.
54169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54170         New file.
54171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54172         file.
54173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54176         file.
54177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54179         file.
54180         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54181         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54182         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54184         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54185         libc_feholdexcept and libc_fesetenv.
54187 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54189         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54191 2013-01-14  David S. Miller  <davem@davemloft.net>
54193         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54194         (SPARC_ASM_VIS2_IFUNC): Likewise.
54195         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54197         use of 'siam' instruction.
54198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54199         Likewise.
54200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54201         Likewise.
54202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54203         Likewise.
54204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54205         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54207         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54209         file.
54210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54211         file.
54212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54213         file.
54214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54215         file.
54216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54218         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54219         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54221         new VIS2 routines.
54222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54225         Likewise.
54226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54231         routines to libm-sysdep_routines.
54232         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54235         fdim/fdimf to libm-sysdep_routines.
54236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54237         file.
54238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54240         file.
54241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54244         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54245         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54246         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54247         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54249 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54251         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54252         to optimize copies.
54254         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54259         local variable MPTWO.
54260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54261         Likewise.
54263 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54265         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54266         GLOB_NOESCAPE.
54268 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54270         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54272 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54274         * manual/pattern.texi (glob_t): Document gl_flags.
54275         (glob64_t): Likewise.
54277 2013-01-11  David S. Miller  <davem@davemloft.net>
54279         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54280         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54281         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54282         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54283         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54284         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54285         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54286         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54287         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54288         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54289         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54290         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54291         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54293         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54294         sparc V9 rather than using V8 code.
54295         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54296         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54298         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54299         Move to...
54300         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54301         Here.
54303 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54305         [BZ #14941]
54306         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54307         not in the main loop.
54308         * configure: Regenerated.
54310 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54312         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54313         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54314         to just #else.
54315         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54316         [!__GLIBC_HAVE_LONG_LONG] case.
54317         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54318         condition to just #else.
54319         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54320         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54321         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54322         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54323         unconditional.
54324         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54325         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54326         #elif condition to just #else.
54327         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54328         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54329         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54330         #elif condition to just #else.
54332 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54334         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54335         (EF_MIPS_ARCH_64): Fix value.
54336         (EF_MIPS_ARCH_32R2): New.
54337         (EF_MIPS_ARCH_64R2): New.
54339 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54341         * Makeconfig (+link-pie-before-libc): New.
54342         (+link-pie-after-libc): Likewise.
54343         (+link-pie-tests): Likewise.
54344         (+link-pie): Rewritten.
54345         (link-before-libc): Remove $(config-LDFLAGS).
54346         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54347         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54348         (config-LDFLAGS): Renamed to ...
54349         (rtld-LDFLAGS): This.
54350         (rtld-tests-LDFLAGS): New macro.
54351         (link-libc-rpath-link): Likewise.
54352         (link-libc-tests-rpath-link): Likewise.
54353         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54354         (link-libc): Prepand $(link-libc-rpath-link).
54355         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54356         (test-program-prefix): New macro.
54357         (test-via-rtld-prefix): Likewise.
54358         (test-program-cmd): Likewise.
54359         (host-test-program-cmd): Likewise.
54360         * Makefile ($(common-objpfx)testrun.sh): Replace
54361         $(run-program-prefix) with $(test-program-prefix).
54362         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54363         $(rtld-LDFLAGS).
54364         ($(common-objpfx)shlib.lds): Likewise.
54365         (build-module-helper): Likewise.
54366         ($(common-objpfx)format.lds): Likewise.
54367         * Rules (binaries-pie-tests): New.
54368         (binaries-pie-notests): Likewise.
54369         (binaries-pie): Rewritten.
54370         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54371         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54372         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54373         (make-test-out): Replace $(host-built-program-cmd) with
54374         $(host-test-program-cmd).
54375         * config.make.in (build-hardcoded-path-in-tests): New variable.
54376         * configure.in (--enable-hardcoded-path-in-tests): New configure
54377         option.
54378         (hardcoded_path_in_tests): New AC_SUBST.
54379         * configure: Regenerated.
54380         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54381         $(built-program-cmd) with $(test-program-cmd).
54382         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54383         (test_program_cmd): This.
54384         * elf/Makefile ($(objpfx)order.out): Run test with
54385         $(test-program-prefix).
54386         ($(objpfx)order2.out): Likewise.
54387         ($(objpfx)tst-initorder.out): Likewise.
54388         ($(objpfx)tst-initorder2.out): Likewise.
54389         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54390         $(test-program-cmd).
54391         ($(objpfx)tst-array1-static.out): Likewise.
54392         ($(objpfx)tst-array2.out): Likewise.
54393         ($(objpfx)tst-array3.out): Likewise.
54394         ($(objpfx)tst-array4.out): Likewise.
54395         ($(objpfx)tst-array5.out): Likewise.
54396         ($(objpfx)tst-array5-static.out): Likewise.
54397         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54398         $(test-program-cmd).
54399         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54400         $(run-program-prefix) with $(test-program-prefix).
54401         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54402         (test_program_prefix): This.
54403         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54404         $(run-program-prefix) with $(test-program-prefix).
54405         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54406         (test_program_prefix): This.
54407         * iconvdata/tst-tables.sh: Likewise.
54408         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54409         $(run-program-prefix) with $(test-program-prefix).
54410         ($(objpfx)tst-translit.out): Likewise.
54411         ($(objpfx)tst-gettext2.out): Likewise.
54412         ($(objpfx)tst-gettext4.out): Likewise.
54413         ($(objpfx)tst-gettext6.out): Likewise.
54414         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54415         (test_program_prefix): This.
54416         * intl/tst-gettext2.sh: Likewise.
54417         * intl/tst-gettext4.sh  Likewise.
54418         * intl/tst-gettext6.sh: Likewise.
54419         * intl/tst-translit.sh: Likewise.
54420         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54421         with $(test-program-cmd).
54422         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54423         $(run-program-prefix) with $(test-program-prefix).
54424         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54425         (test_program_prefix): This.
54426         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54427         $(run-program-prefix) with $(test-program-prefix).
54428         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54429         (test_program_prefix): This.
54430         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54431         * posix/Makefile ($(objpfx)globtest.out): Replace
54432         $(run-via-rtld-prefix) and $(test-wrapper) with
54433         $(test-program-prefix) and $(test-via-rtld-prefix).
54434         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54435         $(test-program-prefix).
54436         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54437         $(host-test-program-cmd).
54438         (tst-spawn-ARGS): Likewise.
54439         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54440         $(test-program-prefix).
54441         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54442         (test_via_rtld_prefix): This.
54443         (test_wrapper): Renamed to ...
54444         (test_program_prefix): This.
54445         (run_program_prefix): Replaced by test_program_prefix.
54446         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54447         (test_program_prefix): This.
54448         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54449         with $(host-test-program-cmd).
54450         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54451         $(run-program-prefix) with $(test-program-prefix).
54452         ($(objpfx)tst-printf.out): Likewise.
54453         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54454         $(test-program-cmd).
54455         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54456         (test_program_prefix): This.
54457         * stdio-common/tst-unbputc.sh: Likewise.
54458         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54459         $(run-program-prefix) with $(test-program-prefix).
54460         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54461         (test_program_prefix): This.
54462         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54463         $(built-program-cmd) with $(test-program-cmd).
54465 2013-01-11  Andreas Jaeger  <aj@suse.de>
54467         [BZ #15003]
54468         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54469         value. Sync with Linux 3.7.
54471 2013-01-10  David S. Miller  <davem@davemloft.net>
54473         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54474         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54475         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54477 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54479         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54480         never set.
54481         * configure: Regenerated.
54483 2013-01-10  David S. Miller  <davem@davemloft.net>
54485         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54486         sparc V9 rather than using V8 code.
54487         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54488         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54490 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54492         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54493         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54494         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54495         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54496         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54497         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54498         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54499         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54500         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54501         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54502         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54503         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54504         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54505         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54506         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54507         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54508         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54509         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54510         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54511         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54512         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54513         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54514         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54515         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54516         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54517         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54518         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54520 2013-01-10  David S. Miller  <davem@davemloft.net>
54522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54524 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54526         * posix/Makefile (tests-static): New variable.
54527         (tests): Add $(tests-static).
54528         (tst-exec-static-ARGS): New variable.
54529         (tst-spawn-static-ARGS): Likewise.
54530         * posix/tst-exec-static.c: New file.
54531         * posix/tst-spawn-static.c: Likewise.
54532         * posix/tst-exec.c: Support run directly.
54533         * posix/tst-spawn.c: Likewise.
54535 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54537         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54538         long.
54539         * math/bits/mathcalls.h (llrint): Likewise.
54540         (llround): Likewise.
54541         * stdlib/stdlib.h (struct drand48_data): Likewise.
54542         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54543         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54544         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54545         Likewise.
54546         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54547         Likewise.
54548         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54549         (elf_greg_t): Likewise.
54550         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54551         (__jmp_buf): Likewise.
54552         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54553         definitions.
54554         (llrint): Likewise, for all definitions.
54555         (llrintl): Likewise.
54557         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54558         Remove [__GNUC__] condition.
54559         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54560         condition to just [__USE_ISOC99].
54561         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54563 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54565         [BZ #14200]
54566         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54567         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54568         defined.
54569         (_POSIX_V6_ILP32_OFF32): Likewise.
54570         (_XBS5_ILP32_OFF32): Likewise.
54571         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54572         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54574 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54576         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54578         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54579         doubles __mpexp_twomm1.  Adjust usage.
54580         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54581         Remove.
54583 2013-01-10  Andreas Schwab  <schwab@suse.de>
54585         [BZ #14964]
54586         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54587         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54589 2013-01-09  David S. Miller  <davem@davemloft.net>
54591         [BZ #15003]
54592         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54593         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54594         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54595         (TCP_FASTOPEN): Define.
54596         (tcp_repair_opt): New structure.
54597         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54598         enum values.
54599         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54600         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54601         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54602         (tcp_cookie_transactions): New structure.
54604 2013-01-09  Anton Blanchard  <anton@samba.org>
54606         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54607         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54608         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54609         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54611 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54613         * include/features.h (__USE_ANSI): Remove.
54615 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54617         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54619         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54621 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54623         * sysdeps/s390/fpu/libm-test-ulps: Update.
54625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54627         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54628         (__acr): Likewise.
54629         (__cpy): Likewise.
54630         (norm): Likewise.
54631         (denorm): Likewise.
54632         (__mp_dbl): Likewise.
54633         (__dbl_mp): Likewise.
54634         (add_magnitudes): Likewise.
54635         (sub_magnitudes): Likewise.
54636         (__add): Likewise.
54637         (__sub): Likewise.
54638         (__mul): Likewise.
54639         (__inv): Likewise.
54640         (__dvd): Likewise.
54641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54642         (__acr): Likewise.
54643         (__cpy): Likewise.
54644         (norm): Likewise.
54645         (denorm): Likewise.
54646         (__mp_dbl): Likewise.
54647         (__dbl_mp): Likewise.
54648         (add_magnitudes): Likewise.
54649         (sub_magnitudes): Likewise.
54650         (__add): Likewise.
54651         (__sub): Likewise.
54652         (__mul): Likewise.
54653         (__inv): Likewise.
54654         (__dvd): Likewise.
54655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54656         (__acr): Likewise.
54657         (__cpy): Likewise.
54658         (norm): Likewise.
54659         (denorm): Likewise.
54660         (__mp_dbl): Likewise.
54661         (__dbl_mp): Likewise.
54662         (add_magnitudes): Likewise.
54663         (sub_magnitudes): Likewise.
54664         (__add): Likewise.
54665         (__sub): Likewise.
54666         (__mul): Likewise.
54667         (__inv): Likewise.
54668         (__dvd): Likewise.
54670 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54672         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54673         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54674         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54675         2 && __USE_EXTERN_INLINES]: Likewise.
54677 2013-01-08  Andreas Jaeger  <aj@suse.de>
54679         [BZ# 14985]
54680         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54681         Remove.
54682         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54683         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54685 2013-01-07  Anton Blanchard  <anton@samba.org>
54687         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54688         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54689         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54690         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54691         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54692         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54693         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54694         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54696         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54697         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54698         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54699         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54700         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54701         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54702         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54703         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54704         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54705         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54706         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54707         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54708         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54709         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54710         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54711         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54712         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54713         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54714         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54715         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54716         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54717         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54719         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54720         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54721         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54722         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54723         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54724         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54726         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54727         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54728         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54729         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54731 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54733         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54734         (__MALLOC_PMT): Likewise.
54735         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54736         [__GNUC__], only on [_LIBC].
54737         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54738         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54739         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54740         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54741         forward declaration.
54742         (realloc_hook_ini): Likewise.
54743         (memalign_hook_ini): Likewise.
54744         (__libc_memalign): Do not use __MALLOC_PMT in variable
54745         declaration.
54746         (__libc_valloc): Likewise.
54747         (__libc_pvalloc): Likewise.
54748         (__libc_calloc): Likewise.
54749         (__posix_memalign): Likewise.
54751         [BZ #14996]
54752         * math/s_casinh.c: Include <float.h>.
54753         (__casinh): Do not do computation with squaring and square root
54754         for large arguments.
54755         * math/s_casinhf.c: Include <float.h>.
54756         (__casinhf): Do not do computation with squaring and square root
54757         for large arguments.
54758         * math/s_casinhl.c: Include <float.h>.
54759         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54760         (__casinhl): Do not do computation with squaring and square root
54761         for large arguments.
54762         * math/libm-test.inc (casin_test): Add more tests.
54763         (casinh_test): Likewise.
54764         * sysdeps/i386/fpu/libm-test-ulps: Update.
54765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54767 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54769         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54770         (__x86_64_raw_data_cache_size): Likewise.
54771         (__x86_64_data_cache_size_half): Likewise.
54772         (__x86_64_raw_data_cache_size_half): Likewise.
54773         (__x86_64_shared_cache_size): Likewise.
54774         (__x86_64_raw_shared_cache_size): Likewise.
54775         (__x86_64_shared_cache_size_half): Likewise.
54776         (__x86_64_raw_shared_cache_size_half): Likewise.
54777         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54778         to ...
54779         (__x86_data_cache_size): This.
54780         (__x86_64_raw_data_cache_size): Renamed to ...
54781         (__x86_raw_data_cache_size): This.
54782         (__x86_64_data_cache_size_half): Renamed to ...
54783         (__x86_data_cache_size_half): This.
54784         (__x86_64_raw_data_cache_size_half): Renamed to ...
54785         (__x86_raw_data_cache_size_half): This.
54786         (__x86_64_shared_cache_size): Renamed to ...
54787         (__x86_shared_cache_size): This.
54788         (__x86_64_raw_shared_cache_size): Renamed to ...
54789         (__x86_raw_shared_cache_size): This.
54790         (__x86_64_shared_cache_size_half): Renamed to ...
54791         (__x86_shared_cache_size_half): This.
54792         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54793         (__x86_raw_shared_cache_size_half): This.
54794         * sysdeps/x86_64/memcpy.S: Updated.
54795         * sysdeps/x86_64/memset.S: Likewise.
54796         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54797         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54800 2013-01-04  David S. Miller  <davem@davemloft.net>
54802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54804 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54806         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54807         1 to avoid redefinition warning.
54808         (__USE_GNU): Don't define.
54809         (init_signaling_nan): Protoize.
54811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54813 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54815         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54817         (__cpymn): Likewise.
54818         (norm): Remove commented code.
54819         (denorm): Likewise.
54820         (__mp_dbl): Likewise.
54821         (__inv): Likewise.
54822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54823         (__cpymn): Likewise.
54824         (norm): Remove commented code.
54825         (denorm): Likewise.
54826         (__mp_dbl): Likewise.
54827         (__inv): Likewise.
54829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54830         mp_no value for 1.0 and 2.0.
54831         (norm): Use RADIXI instead of radixi.d.
54832         (denorm): Likewise.
54833         (__mul): Use 0.0 instead of zero.d.
54834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54835         mp_no value for 1.0 and 2.0.
54836         (norm): Use RADIXI instead of radixi.d.
54837         (denorm): Likewise.
54838         (__mul): Use 0.0 instead of zero.d.
54840 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54842         [BZ #14994]
54843         * math/s_casinh.c (__casinh): Reduce finite argument to first
54844         quadrant then set signs of results at the end.
54845         * math/s_casinhf.c (__casinhf): Likewise.
54846         * math/s_casinhl.c (__casinhl): Likewise.
54847         * math/libm-test.inc (casin_test): Add more tests.
54848         (casinh_test): Likewise.
54849         * sysdeps/i386/fpu/libm-test-ulps: Update.
54850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54852 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54854         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54856         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54858         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54859         declarations.
54860         (denorm): Likewise.
54861         (__mp_dbl): Likewise.
54862         (__inv): Likewise.
54864         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54865         and adjust the header comment.
54867         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54868         variable name from declaration.
54870 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54873         Initialize COMMON_CPUID_INDEX_7 element.
54874         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54875         (CPUID_RTM): Likewise.
54876         (HAS_RTM): Likewise.
54877         (COMMON_CPUID_INDEX_7): New enum.
54879 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54881         [BZ #14981]
54882         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54883         size is zero, record memory as freed.
54885 2013-01-03  Andreas Jaeger  <aj@suse.de>
54887         * po/ia.po: Add new Interlingua translation.
54889 2012-01-03  Allan McRae  <allan@archlinux.org>
54891         * locale/programs/localedef.c: Fix description of '--posix' flag.
54893 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54895         * NEWS: Update dates in second copyright notice.
54896         * README: Update copyright dates in example.
54897         * manual/libc.texinfo: Update copyright dates.
54898         * scripts/test-installation.pl: Update copyright date in --version
54899         output.
54901         * hurd/ctty-input.c: Fix copyright notice formatting.
54902         * hurd/ctty-output.c: Likewise.
54903         * hurd/dtable.c: Likewise.
54904         * hurd/hurd-raise.c: Likewise.
54905         * hurd/hurdprio.c: Likewise.
54906         * hurd/msgportdemux.c: Likewise.
54907         * misc/sys/file.h: Likewise.
54908         * misc/sys/ioctl.h: Likewise.
54909         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54910         * sysdeps/mach/hurd/chdir.c: Likewise.
54911         * sysdeps/mach/hurd/fchdir.c: Likewise.
54912         * sysdeps/mach/hurd/rename.c: Likewise.
54913         * sysdeps/mach/hurd/rmdir.c: Likewise.
54914         * sysdeps/mach/hurd/seekdir.c: Likewise.
54915         * sysdeps/mach/hurd/setsid.c: Likewise.
54916         * sysdeps/posix/wait3.c: Likewise.
54918         * All files with FSF copyright notices: Update copyright dates
54919         using scripts/update-copyrights.
54920         * intl/plural.c: Regenerated.
54921         * locale/programs/charmap-kw.h: Likewise.
54922         * locale/programs/locfile-kw.h: Likewise.
54924 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54926         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54927         four values.
54929         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54930         calculation loop and add branch prediction.
54932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54933         check access beyond bounds of m1np.
54935         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54936         MPTWO.
54937         (__inv): Remove local variable MPTWO to use the global
54938         constant.
54939         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54940         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54941         variable MPTWO.
54942         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54943         MP3HALFS static const.
54945 2013-01-01  David S. Miller  <davem@davemloft.net>
54947         * po/ca.po: Update from translation team.
54949 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54951         * scripts/update-copyrights: New file.
54952         * Makeconfig: Reformat copyright notice.
54953         * ctype/ctype.h: Likewise.
54954         * debug/swprintf_chk.c: Likewise.
54955         * elf/dl-cache.c: Likewise.
54956         * elf/dl-debug.c: Likewise.
54957         * elf/dl-object.c: Likewise.
54958         * grp/initgroups.c: Likewise.
54959         * hurd/Makefile: Likewise.
54960         * hurd/hurd/signal.h: Likewise.
54961         * hurd/hurdfault.c: Likewise.
54962         * hurd/hurdioctl.c: Likewise.
54963         * hurd/hurdlookup.c: Likewise.
54964         * hurd/intr-msg.c: Likewise.
54965         * iconv/gconv_open.c: Likewise.
54966         * libio/swprintf.c: Likewise.
54967         * locale/lc-ctype.c: Likewise.
54968         * locale/nl_langinfo.c: Likewise.
54969         * mach/Machrules: Likewise.
54970         * mach/Makefile: Likewise.
54971         * malloc/obstack.h: Likewise.
54972         * manual/Makefile: Likewise.
54973         * manual/tsort.awk: Likewise.
54974         * misc/bits/stab.def: Likewise.
54975         * nis/nis_print_group_entry.c: Likewise.
54976         * nis/nis_table.c: Likewise.
54977         * nis/nss_compat/compat-pwd.c: Likewise.
54978         * nis/nss_compat/compat-spwd.c: Likewise.
54979         * po/Makefile: Likewise.
54980         * posix/fnmatch.c: Likewise.
54981         * posix/regex.h: Likewise.
54982         * resolv/Makefile: Likewise.
54983         * resolv/nss_dns/dns-network.c: Likewise.
54984         * resolv/res_hconf.c: Likewise.
54985         * scripts/gen-sorted.awk: Likewise.
54986         * soft-fp/soft-fp.h: Likewise.
54987         * stdio-common/printf.h: Likewise.
54988         * stdlib/monetary.h: Likewise.
54989         * stdlib/random.c: Likewise.
54990         * stdlib/random_r.c: Likewise.
54991         * sysdeps/generic/Makefile: Likewise.
54992         * sysdeps/gnu/Makefile: Likewise.
54993         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54995         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55000         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55001         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55002         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55003         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55004         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55005         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55006         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55007         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55009         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55010         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55011         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55012         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55013         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55014         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55015         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55016         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55017         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55018         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55019         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55021         * sysdeps/mach/hurd/errnos.awk: Likewise.
55022         * sysdeps/mach/hurd/fork.c: Likewise.
55023         * sysdeps/mach/hurd/getcwd.c: Likewise.
55024         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55025         * sysdeps/mach/hurd/mmap.c: Likewise.
55026         * sysdeps/mach/hurd/utimes.c: Likewise.
55027         * sysdeps/mach/hurd/xmknod.c: Likewise.
55028         * sysdeps/posix/profil.c: Likewise.
55029         * sysdeps/posix/readdir_r.c: Likewise.
55030         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55031         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55032         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55033         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55035         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55036         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55037         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55038         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55039         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55040         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55041         * sysdeps/pthread/lio_listio.c: Likewise.
55042         * sysdeps/sparc/dl-procinfo.h: Likewise.
55043         * sysdeps/unix/i386/sysdep.S: Likewise.
55044         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55045         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55046         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55047         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55049         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55050         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55051         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55052         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55053         * sysdeps/wordsize-32/divdi3.c: Likewise.
55054         * time/sys/time.h: Likewise.
55055         * wcsmbs/Makefile: Likewise.
55057 2013-01-01  David S. Miller  <davem@davemloft.net>
55059         * po/fr.po: Update from translation team.
55061         * catgets/gencat.c: Update copyright year.
55062         * csu/version.c: Likewise.
55063         * debug/catchsegv.sh: Likewise.
55064         * debug/pcprofiledump.c: Likewise.
55065         * debug/xtrace.sh: Likewise.
55066         * elf/ldconfig.c: Likewise.
55067         * elf/ldd.bash.in: Likewise.
55068         * elf/pldd.c: Likewise.
55069         * elf/sotruss.ksh: Likewise.
55070         * elf/sprof.c: Likewise.
55071         * iconv/iconv_prog.c: Likewise.
55072         * iconv/iconvconfig.c: Likewise.
55073         * locale/programs/locale.c: Likewise.
55074         * locale/programs/localedef.c: Likewise.
55075         * login/programs/pt_chown.c: Likewise.
55076         * malloc/memusage.sh: Likewise.
55077         * malloc/memusagestat.c: Likewise.
55078         * malloc/mtrace.pl: Likewise.
55079         * nscd/nscd.c: Likewise.
55080         * nss/getent.c: Likewise.
55081         * nss/makedb.c: Likewise.
55082         * posix/getconf.c: Likewise.
55084 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55086         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55087         numbers.
55089 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55091         * math/bits/mathcalls.h (modf): Use __nonnull.
55093 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55095         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55096         (split): Use macro CN instead of the bare value.
55097         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55098         could be used.
55099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55100         instead of the bare value.
55101         (power1): Likewise.
55103 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55105         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55106         __ATAN_TWOM.
55107         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55109         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55110         their values.
55111         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55112         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55113         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55114         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55116 2012-12-28  Andreas Jaeger  <aj@suse.de>
55118         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55119         values are from Linux 3.7.
55121         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55122         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55124 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55126         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55127         TRUE case.
55129         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55130         (norm): Likewise.
55131         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55132         variables with preprocessor constants.
55133         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55134         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55135         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55137 2012-12-27  Bruno Haible  <bruno@clisp.org>
55139         [BZ #14317]
55140         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55141         only if needed.
55143 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55146         and use variable directly.
55147         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55149         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55150         MPONE.
55151         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55153         variable MPONE.
55154         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55156         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55157         include directive.  Remove local variable MPONE.
55158         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55159         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55160         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55162 2012-12-25  David S. Miller  <davem@davemloft.net>
55164         * version.h (RELEASE): Set to "development".
55165         (VERSION): Set to "2.17.90".
55166         * NEWS: Add 2.18 section.
55168 2012-12-21  David S. Miller  <davem@davemloft.net>
55170         * po/hr.po: Update from translation team.
55172 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55174         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55176 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55178         * NEWS:  Mention new memcpy for MIPS.
55180 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55182         * manual/contrib.texi (Contributors): Spelling correction.
55184 2012-12-15  David S. Miller  <davem@davemloft.net>
55186         * po/ru.po: Update from translation team.
55188 2012-12-13  David S. Miller  <davem@davemloft.net>
55190         * NEWS: Mention IFUNC testsuite enhancements.
55192         * po/pl.po: Update from translation team.
55193         * po/bg.po: Likewise.
55195         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55196         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55198 2012-12-11  David S. Miller  <davem@davemloft.net>
55200         * po/sv.po: Update from translation team.
55202         * po/vi.po: Update from translation team.
55204         * po/cs.po: Update from translation team.
55206         * po/de.po: Update from translation team.
55207         * po/eo.po: Likewise.
55208         * po/nl.po: Likewise.
55210 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55212         [BZ #14246]
55213         * manual/argp.texi (Argp Helper Functions): Move node to follow
55214         Argp Parsing State.
55216         [BZ #14872]
55217         * manual/conf.texi (Limits on File System Capacity): Mention if
55218         terminating null is included in the max size.
55220 2012-12-10  Andreas Jaeger  <aj@suse.de>
55222         * po/cs.po: Update from translation team.
55224 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55226         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55227         void pointer and cast to uintptr_t.
55228         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55229         path.
55230         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55231         * sysdeps/s390/s390-64/memset.S: Likewise.
55233 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55235         [BZ #14833]
55236         * menual/message.texi (Message Translation): Fix typos.
55237         (Helper programs for gettext): Likewise.
55239 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55241         [BZ #14898]
55242         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55243         Change to -1.
55245 2012-12-07  David S. Miller  <davem@davemloft.net>
55247         * po/libc.pot: Update.
55249 2012-12-07  Richard Henderson  <rth@redhat.com>
55251         [BZ #10114]
55252         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55253         normal/normal case to before the switch.
55254         (_FP_DIV): Likewise.
55256 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55257             Mike Frysinger  <vapier@gentoo.org>
55259         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55260         check for __NR_fadvise64_64.
55262 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55264         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55265         0, not just to plain "0" as a statement.
55266         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55267         with cw.
55269 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55271         * NEWS: Use sourceware.org in Bugzilla URL.
55273 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55276         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55278         * stdio-common/tst-put-error.c (do_test): Add newline to the
55279         padded test to ensure flush.
55281 2012-12-05  Jeff Law  <law@redhat.com>
55283         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55285 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55287         * README: Don't refer to ports add-on as distributed separately.
55288         Mention AArch64 in list of systems supported in the ports add-on.
55290         * LICENSES: Add more non-FSF copyright and license notices.
55292         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55293         ((unused)).
55295         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55297         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55298         10000 as width of padded output.
55300 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55302         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55304         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55305         variable LX with __attribute__ ((unused)).
55306         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55307         Likewise.
55308         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55310         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55311         with __attribute__ ((unused)).
55313 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55315         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55317 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55319         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55320         (CFLAGS-nldbl-acos.c): New variable.
55321         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55322         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55323         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55324         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55325         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55326         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55327         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55328         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55329         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55330         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55331         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55332         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55333         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55334         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55335         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55336         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55337         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55338         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55339         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55340         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55341         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55342         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55343         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55344         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55345         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55346         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55347         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55348         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55349         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55350         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55351         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55352         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55353         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55354         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55355         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55356         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55357         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55358         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55359         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55360         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55361         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55362         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55363         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55364         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55365         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55366         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55367         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55368         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55369         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55370         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55371         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55372         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55373         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55374         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55375         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55376         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55377         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55378         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55379         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55380         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55381         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55382         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55383         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55384         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55385         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55386         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55387         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55388         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55389         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55390         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55391         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55392         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55393         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55394         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55395         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55396         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55397         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55398         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55399         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55400         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55401         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55402         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55403         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55404         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55405         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55406         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55407         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55408         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55409         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55410         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55411         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55412         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55413         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55414         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55415         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55416         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55417         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55420         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55422         [BZ #14914]
55423         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55424         whole low double instead of just low 47 bits when splitting values
55425         into two parts.
55427 2012-12-03  Allan McRae  <allan@archlinux.org>
55429         * manual/stdio.texi (Predefined Printf Handlers): Remove
55430         @hsep and @vsep usage.
55432 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55434         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55435         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55437 2012-12-03  Jeff Law  <law@redhat.com>
55439         * time/sys/time.h (settimeofday): Do not mark TV argument
55440         as __nonnull.
55442 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55444         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55445         when currently writing and seek to current position when not.
55446         * libio/Makefile (tests): Remove bug-fclose1.
55447         * libio/bug-fclose1.c: Delete.
55449 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55451         * manual/arith.texi (feenableexcept): Fix typo.
55452         (fedisableexcept): Likewise.
55454 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55456         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55457         second, differently-typed declaration, rather than a cast.
55459 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55461         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55462         * include/rpc/svc.h: ... here.
55464 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55466         [BZ #13013]
55467         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55468         depending n and resplen2 to catch cases where answer
55469         equals answerp2.
55471 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55473         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55474         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55476 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55478         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55480 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55482         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55484 2012-11-28  Jeff Law  <law@redhat.com>
55486         [BZ #13761]
55487         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55488         dataset_temporary.  Track alloca usage into alloca_used.
55489         If dataset is large allocate and release it via malloc/free.
55491 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55493         [BZ #14197]
55494         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55496 2012-11-28  David S. Miller  <davem@davemloft.net>
55498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55500 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55502         [BZ #14803]
55503         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55504         of pi/2 rounded to nearest to 64 bits.
55505         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55506         nearest to 64 bits.
55507         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55508         bits.
55510 2012-11-28  Jeff Law <law@redhat.com>
55511             Martin Osvald <mosvald@redhat.com>
55513         [BZ #14889]
55514         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55515         * sunrpc/svc.c: Include time.h.
55516         (__svc_accept_failed): New function.
55517         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55518         any reason other than EINTR, call __svc_accept_failed.
55519         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55520         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55522 2012-11-28  Andreas Schwab  <schwab@suse.de>
55524         * scripts/abilist.awk: Also handle indirect functions in .opd
55525         section.
55527 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55529         [BZ #13881]
55530         * sysdeps/x86/fpu/powl_helper.c: New file.
55531         * sysdeps/x86/fpu/Makefile: Likewise.
55532         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55533         (p3): New object.
55534         (__ieee754_powl): Use __powl_helper for finite arguments except
55535         integer exponents below 8.
55536         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55537         (p3): New object.
55538         (__ieee754_powl): Use __powl_helper for finite arguments except
55539         integer exponents below 8.
55540         * math/libm-test.inc (pow_test): Add more tests and enable some
55541         previously disabled tests.
55542         * sysdeps/i386/fpu/libm-test-ulps: Update.
55543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55545 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55546             Carlos O'Donell  <carlos_odonell@mentor.com>
55548         * nss/makedb.c (is_prime): Assert that input is odd and greater
55549         than 4.  Note that fact in a comment too.
55550         (next_prime): Add 4 to input.
55552 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55554         [BZ #11741]
55555         * libio/Makefile (tests): Add test case tst-fwrite-error.
55556         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55557         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55558         * libio/tst-fwrite-error.c: New test case.
55560 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55562         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55563         before casting to void *.
55564         * include/libc-internal.h (__pointer_type): New macro.
55565         (__integer_if_pointer_type_sub): Likewise.
55566         (__integer_if_pointer_type): Likewise.
55567         (cast_to_integer): Likewise.
55568         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55569         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55570         before casting to atomic64_t.
55571         (atomic_exchange_acq): Likewise.
55572         (__arch_exchange_and_add_body): Likewise.
55573         (__arch_add_body): Likewise.
55574         (atomic_add_negative): Likewise.
55575         (atomic_add_zero): Likewise.
55577 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55579         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55580         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55581         (add_fdes): Likewise.
55582         (linear_search_fdes): Likewise.
55583         (binary_search_unencoded_fdes): Likewise.
55585 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55587         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55589 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55591         * configure.in: Autodetect C++ header directories.
55592         * configure: Regenerated.
55594 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55596         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55598 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55602 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55604         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55605         LDBL_MANT_DIG == 106]: Disable some tests.
55606         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55607         Likewise.
55608         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55609         Likewise.
55611         [BZ #14871]
55612         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55613         input for small inputs.  Return +/- pi/2 for large inputs.
55614         * math/libm-test.inc (atan_test): Add more tests.
55616         * sysdeps/generic/unwind-dw2-fde-glibc.c
55617         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55618         __attribute__ ((unused)).
55620         [BZ #14645]
55621         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55622         x * y if x and y are nonzero and z is zero.
55624         [BZ #14811]
55625         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55626         nonzero exponents with absolute value below 0x1p-117 to +/-
55627         0x1p-117.
55629         [BZ #14869]
55630         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55631         up arguments below 2**-450, not just those below 2**-500.
55632         * math/libm-test.inc (hypot_test): Add another test.
55634         [BZ #14868]
55635         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55636         Return a+b for ratio over 2**120, not 2**60.
55637         * math/libm-test.inc (hypot_test): Add another test.
55639         * math/libm-test.inc (clog_test): Use
55640         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55641         (clog10_test): Likewise.
55643         [BZ #6778]
55644         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55646 2012-11-22  Andreas Schwab  <schwab@suse.de>
55648         * sysdeps/i386/fpu/libm-test-ulps: Update.
55650 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55652         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55653         printf output with newline.
55655 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55657         [BZ #14865]
55658         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55659         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55660         -z nodlopen, -z initfirst and -z execstack support.
55661         * configure: Regenerated.
55663         * elf/elf.h (DF_1_NODIRECT): New macro.
55664         (DF_1_IGNMULDEF): Likewise.
55665         (DF_1_NOKSYMS): Likewise.
55666         (DF_1_NOHDR): Likewise.
55667         (DF_1_EDITED): Likewise.
55668         (DF_1_NORELOC): Likewise.
55669         (DF_1_SYMINTPOSE): Likewise.
55670         (DF_1_GLOBAUDIT): Likewise.
55671         (DF_1_SINGLETON): Likewise.
55672         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55673         DT_1_SUPPORTED_MASK bits.
55674         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55676 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55678         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55680 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55682         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55683         macro.
55685         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55686         (sendmmsg): Move declarations...
55687         * socket/sys/socket.h: ... here.
55688         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55689         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55690         include it from...
55691         * socket/recvmmsg.c: ... this new file.
55692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55693         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55694         definition of __sendmmsg hidden.
55695         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55696         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55697         Move ENOSYS stub into and include it from...
55698         * socket/sendmmsg.c: ... this new file.
55699         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55700         (sysdep_routines): Move recvmmsg and sendmmsg...
55701         * socket/Makefile (routines): ... here.
55702         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55703         (GLIBC_PRIVATE): Add __sendmmsg.
55704         * include/sys/socket.h (__sendmmsg): Add declarations.
55705         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55706         sendmmsg.
55708 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55710         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55711         variable I1 with __attribute__ ((unused)).
55712         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55714 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55716         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55717         DUMMY variables with __attribute__ ((unused)).
55719         * bits/byteswap.h: Include <bits/types.h>.
55720         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55722 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55724         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55725         string_t.  Do not manually set errno.
55726         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55727         length with __strnlen.  Make sure to both set errno and return it on
55728         failure.
55730 2012-11-19  David S. Miller  <davem@davemloft.net>
55732         With help from Joseph Myers.
55733         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55734         very large arguments properly.
55735         * math/libm-test.inc (atan_test): New tests.
55736         (atan2_test): New tests.
55737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55740 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55742         [BZ #14856]
55743         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55744         Define to 3.
55746         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55747         [POSIX] (EADDRNOTAVAIL): Likewise.
55748         [POSIX] (EAFNOSUPPORT): Likewise.
55749         [POSIX] (EALREADY): Likewise.
55750         [POSIX] (ECONNABORTED): Likewise.
55751         [POSIX] (ECONNREFUSED): Likewise.
55752         [POSIX] (ECONNRESET): Likewise.
55753         [POSIX] (EDESTADDRREQ): Likewise.
55754         [POSIX] (EDQUOT): Likewise.
55755         [POSIX] (EHOSTUNREACH): Likewise.
55756         [POSIX] (EIDRM): Likewise.
55757         [POSIX] (EISCONN): Likewise.
55758         [POSIX] (ELOOP): Likewise.
55759         [POSIX] (EMULTIHOP): Likewise.
55760         [POSIX] (ENETDOWN): Likewise.
55761         [POSIX] (ENETUNREACH): Likewise.
55762         [POSIX] (ENOBUFS): Likewise.
55763         [POSIX] (ENODATA): Likewise.
55764         [POSIX] (ENOLINK): Likewise.
55765         [POSIX] (ENOMSG): Likewise.
55766         [POSIX] (ENOPROTOOPT): Likewise.
55767         [POSIX] (ENOSR): Likewise.
55768         [POSIX] (ENOSTR): Likewise.
55769         [POSIX] (ENOTCONN): Likewise.
55770         [POSIX] (ENOTSOCK): Likewise.
55771         [POSIX] (EOPNOTSUPP): Likewise.
55772         [POSIX] (EOVERFLOW): Likewise.
55773         [POSIX] (EPROTO): Likewise.
55774         [POSIX] (EPROTONOSUPPORT): Likewise.
55775         [POSIX] (EPROTOTYPE): Likewise.
55776         [POSIX] (ESTALE): Likewise.
55777         [POSIX] (ETIME): Likewise.
55778         [POSIX] (ETXTBSY): Likewise.
55779         [POSIX] (EWOULDBLOCK): Likewise.
55780         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55781         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55782         [POSIX] (SEEK_CUR): Likewise.
55783         [POSIX] (SEEK_END): Likewise.
55784         [POSIX || UNIX98] (mode_t): Do not require.
55785         [POSIX] (off_t): Likewise.
55786         [POSIX] (pid_t): Likewise.
55787         [POSIX] (sys/stat.h): Do not allow header.
55788         [POSIX] (unistd.h): Likewise.
55789         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55790         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55791         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55792         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55793         require.
55794         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55795         sigevent): Specify elements.
55796         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55797         entry.
55798         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55799         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55801         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55802         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55803         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55804         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55805         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55806         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55807         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55808         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55809         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55810         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55811         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55812         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55813         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55815         Likewise.
55816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55817         Likewise.
55818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55819         Likewise.
55820         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55821         Likewise.
55822         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55823         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55824         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55825         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55826         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55827         Specify lower bound on value.
55828         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55829         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55830         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55831         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55832         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55833         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55834         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55835         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55836         value.
55837         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55838         as optional.
55839         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55840         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55841         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55842         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55843         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55844         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55845         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55846         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55847         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55848         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55849         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55850         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55851         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55852         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55853         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55854         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55855         entry.
55856         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55857         optional.
55858         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55859         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55860         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55861         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55862         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55863         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55864         Likewise.
55865         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55866         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55867         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55868         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55869         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55870         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55871         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55872         as optional.
55873         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55874         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55875         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55876         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55877         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55878         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55879         specify as optional.
55880         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55881         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55882         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55883         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55884         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55885         [XPG3] (NL_LANGMAX): Likewise.
55886         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55887         [POSIX || XPG3] (NL_NMAX): Likewise.
55888         [POSIX || XPG3] (NL_SETMAX): Likewise.
55889         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55890         [XPG3] (NZERO): Likewise.
55891         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55892         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55893         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55894         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55895         (REG_ERANGE): Expect.
55896         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55897         optional-constant.
55898         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55899         Use (void) in prototype.
55900         [POSIX] (*_t): Allow.
55901         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55902         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55903         (WRDE_BADVAL): Expect.
55905         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55906         expect.
55907         [XPG3 || XPG4] (O_RSYNC): Likewise.
55908         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55909         Likewise.
55910         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55911         [XPG3 || XPG4] (sigqueue): Likewise.
55912         [XPG3 || XPG4] (sigtimedwait): Likewise.
55913         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55914         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55915         [XPG3 || XPG4] (vsnprintf): Likewise.
55916         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55917         Likewise.
55918         [XPG3 || XPG4] (blksize_t): Likewise.
55919         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55920         Likewise.
55921         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55922         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55923         [XPG3 || XPG4] (struct itimerspec): Likewise.
55924         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55925         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55926         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55927         [XPG3 || XPG4] (clockid_t): Likewise.
55928         [XPG3 || XPG4] (timer_t): Likewise.
55929         [XPG3 || XPG4] (clock_getres): Likewise.
55930         [XPG3 || XPG4] (clock_gettime): Likewise.
55931         [XPG3 || XPG4] (clock_settime): Likewise.
55932         [XPG3 || XPG4] (nanosleep): Likewise.
55933         [XPG3 || XPG4] (timer_create): Likewise.
55934         [XPG3 || XPG4] (timer_delete): Likewise.
55935         [XPG3 || XPG4] (timer_gettime): Likewise.
55936         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55937         [XPG3 || XPG4] (timer_settime): Likewise.
55938         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55939         [XPG3 || XPG4] (getlogin_r): Likewise.
55940         [XPG3 || XPG4] (pread): Likewise.
55941         [XPG3 || XPG4] (pthread_atfork): Likewise.
55942         [XPG3 || XPG4] (pwrite): Likewise.
55944         [BZ #14835]
55945         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55946         <bits/siginfo.h>.
55948 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55950         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55951         finalizing MALLSTREAM.
55953         * sysdeps/mach/hurd/syncfs.c: New file.
55955 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55957         [BZ #14719]
55958         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55959         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55960         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55961         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55962         (_nss_dns_gethostbyname4_r): Likewise.
55963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55964         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55966 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55968         [BZ #13763]
55969         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55971 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55973         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55974         * elf/cache.c (print_entry): Print ",AArch64" for
55975         FLAG_AARCH64_LIB64
55977         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55978         * elf/cache.c (print_entry): Print ",hard-float" for
55979         FLAG_ARM_LIBHF.
55981 2012-11-18  David S. Miller  <davem@davemloft.net>
55983         With help from Joseph Myers.
55984         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55985         cutoff to 2**-13.
55986         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55987         cutoff to 2**-25.
55988         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55989         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55990         small.
55991         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55992         * math/libm-test.inc (y0_test): New tests.
55993         (y1_test): New tests.
55994         * sysdeps/i386/fpu/libm-test-ulps: Update.
55995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55998 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56000         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56001         64-bit targets.
56002         * configure: Regenerated.
56004 2012-11-17  David S. Miller  <davem@davemloft.net>
56006         [BZ #14811]
56007         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56008         nonzero exponents with absolute value below 0x1p-128 to +/-
56009         0x1p-128.
56011 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56013         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56015         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56017         * posix/getconf-speclist.c: New file.
56018         * posix/posix-envs.def: Likewise.
56019         * posix/confstr.c (START_ENV_GROUP): New macro.
56020         (END_ENV_GROUP): Likewise.
56021         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56022         (KNOWN_PRESENT_ENV_STRING): Likewise.
56023         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56024         (UNKNOWN_ENVIRONMENT): Likewise.
56025         (confstr): Include posix-envs.def instead of handling
56026         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56027         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56028         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56029         (END_ENV_GROUP): Likewise.
56030         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56031         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56032         (UNKNOWN_ENVIRONMENT): Likewise.
56033         (__sysconf): Include posix-envs.def instead of handling associated
56034         cases directly here.
56035         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56036         preprocessing getconf-speclist.c rather than running getconf or
56037         generating empty file.
56039 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56041         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56043 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56045         [BZ #14672]
56046         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56048 2012-11-16  David S. Miller  <davem@davemloft.net>
56050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56051         smaller than LDBL_EPSILON/2.0L, just return xm1.
56053 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56055         * elf/tst-array1.c (init): Set constructor priority to 1000.
56056         (fini): Set destructor priority to 1000.
56057         * elf/tst-array2dep.c: Likewise.
56059 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56061         [BZ #11741]
56062         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56063         (_IO_new_file_xsputn): Also return EOF if none of the input
56064         data was written when overflow failed.
56065         * libio/iopadn.c (_IO_padn): Likewise.
56066         * libio/iowpadn.c (_IO_wpadn): Likewise.
56067         * stdio-common/tst-put-error.c: Add copyright notice.
56068         (do_test): Add case for printing padded string.
56069         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56070         _IO_padn returned error.
56071         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56072         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56073         return EOF.
56075 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56077         * libio/libioP.h: Add comment note that the references to C++
56078         bits are now obsolete.
56080 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56082         * math/libm-test.inc (check_complex): Use asprintf.
56084 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56086         * debug/pcprofiledump.c (print_version): Update copyright year.
56087         * malloc/memusagestat.c (print_version): Likewise.
56089 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56091         [BZ #14831]
56092         * elf/Makefile (tests): Add tst-audit8.
56093         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56094         ($(objpfx)tst-audit8.out): New target.
56095         (tst-audit8-ENV): New variable.
56096         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56097         audit if l_reloc_result is NULL.
56098         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56099         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56100         * elf/tst-audit8.c: New file.
56102 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56104         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56105         * misc/Makefile (CFLAGS-select.c): Define.
56106         * posix/Makefile (CFLAGS-pause.c): Define.
56108 2012-11-13  David S. Miller  <davem@davemloft.net>
56110         * crypt/Makefile: Move test targets after toplevel Rules
56111         inclusion.  Grab any necessary sysdep routines when linking.
56112         * crypt/md5.c (md5_process_block): Remove define, we will always
56113         name it __md5_process_block.
56114         (md5_finish_ctx): Update md5_process_block call.
56115         (md5_stream): Likewise.
56116         (md5_process_bytes): Likewise.
56117         (md5_process_block): Rename to __md5_process_block and move to ...
56118         * crypt/md5-block.c: ... here.
56119         * crypt/sha256.c (sha256_process_block): Move to ...
56120         * crypt/sha256-block.c: ... here.
56121         * crypt/sha512.c (sha512_process_block): Move to ...
56122         * crypt/sha512-block.c: ... here.
56123         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56124         path.
56125         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56126         * sysdeps/sparc/sparc64/multiarch/Makefile
56127         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56128         crypt subdir.
56129         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56130         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56131         multiarch changes.
56132         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56133         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56134         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56135         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56136         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56137         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56138         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56139         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56140         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56141         file.
56142         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56144         file.
56145         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56147 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56149         * timezone/tzselect.ksh: Update from tzcode git revision
56150         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56151         * timezone/zdump.c: Likewise.
56152         * timezone/zic.c: Likewise.
56153         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56154         in TZVERSION setting, not $(PKGVERSION).
56155         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56156         REPORT_BUGS_TO settings.
56158         [BZ #14838]
56159         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56160         macro.
56162 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56164         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56165         detection to immediately after _FP_ROUND().
56166         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56167         bits are 0.
56169 2012-11-11  David S. Miller  <davem@davemloft.net>
56171         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56172         inttypes.h
56173         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56174         __close rather than their public counterparts.
56176 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56178         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56179         file.
56180         [UNIX98] (sem_timedwait): Do not expect.
56181         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56182         [XPG4 || UNIX98] (sockatmark): Do not expect.
56183         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56184         (clock_getcpuclockid): Do not expect.
56185         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56186         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56187         Do not expect.
56188         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56189         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56190         [UNIX98] (vwscanf): Likewise.
56191         [UNIX98] (vswscanf): Likewise.
56193 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56195         * timezone/version.h: Remove file.
56196         * timezone/README: Do not refer to version.h.
56197         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56198         $(objpfx)version.h.
56199         ($(objpfx)zdump.o): Likewise.
56200         ($(objpfx)version.h): New target.
56202         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56203         2012i.
56204         * timezone/README: Don't mention modification to tzselect.ksh.
56205         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56206         work on unmodified tzselect.ksh.  Substitute version numbers in
56207         tzselect.ksh.
56209         * Makefile (format-me): Remove.
56210         (INSTALL): Adjust indentation.  Use commands directly instead of
56211         using $(format-me).
56213         * aclocal.m4 (ACX_PKGVERSION): New macro.
56214         (ACX_BUGURL): Likewise.
56215         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56216         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56217         (REPORT_BUGS_TO): Likewise.
56218         * configure: Regenerated.
56219         * config.h.in (PKGVERSION): New macro.
56220         (REPORT_BUGS_TO): Likewise.
56221         * config.make.in (PKGVERSION): New variable.
56222         (PKGVERSION_TEXI): Likewise.
56223         (REPORT_BUGS_TO): Likewise.
56224         (REPORT_BUGS_TEXI): Likewise.
56225         * Makefile (format-me): Use -I$(common-objpfx)manual.
56226         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56227         ($(common-objpfx)manual/%): New target.
56228         (manual/%): Remove target.
56229         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56230         (print_version): Use PKGVERSION.
56231         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56232         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56233         and REPORT_BUGS_TO.
56234         ($(objpfx)xtrace): Likewise.
56235         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56236         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56237         (print_version): Use PKGVERSION.
56238         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56239         (do_version): Use PKGVERSION.
56240         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56241         REPORT_BUGS_TO.
56242         (common-ldd-rewrite): Likewise.
56243         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56244         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56245         (print_version): Use PKGVERSION.
56246         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56247         * elf/pldd.c (argp_program_bug_address): Remove variable.
56248         (more_help): New function.
56249         (argp): Use more_help.
56250         (print_version): Use PKGVERSION.
56251         * elf/sln.c (main): Use PKGVERSION.
56252         (usage): Use REPORT_BUGS_TO.
56253         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56254         (top level): Use PKGVERSION.
56255         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56256         (print_version): Use PKGVERSION.
56257         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56258         (print_version): Use PKGVERSION.
56259         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56260         (print_version): Use PKGVERSION.
56261         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56262         (print_version): Use PKGVERSION.
56263         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56264         (print_version): Use PKGVERSION.
56265         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56266         (print_version): Use PKGVERSION.
56267         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56268         and BUGURL.
56269         ($(objpfx)memusage): Likewise.
56270         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56271         (do_version): Use PKGVERSION.
56272         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56273         (print_version): Use PKGVERSION.
56274         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56275         ($PKGVERSION): New variable.
56276         ($REPORT_BUGS_TO): Likewise.
56277         (usage): Use $REPORT_BUGS_TO.
56278         (top level): Use $PKGVERSION.
56279         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56280         ($(objpfx)pkgvers.texi): New rule.
56281         ($(objpfx)stamp-pkgvers): Likewise.
56282         * manual/install.texi: Include pkgvers.texi.
56283         (--with-pkgversion): Document new configure option.
56284         (--with-bugurl): Likewise.
56285         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56286         than necessarily for this particular distribution.  Use
56287         REPORT_BUGS_TO for where to report bugs.
56288         * INSTALL: Regenerated.
56289         * manual/libc.texinfo: Include pkgvers.texi.
56290         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56291         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56292         (print_version): Use PKGVERSION.
56293         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56294         (print_version): Use PKGVERSION.
56295         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56296         (print_version): Use PKGVERSION.
56297         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56298         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56299         macro.
56300         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56301         (print_version): Use PKGVERSION.
56302         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56303         (print_version): Use PKGVERSION.
56304         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56305         and PKGVERSION.
56307         * timezone/checktab.awk: Update from tzcode 2012i.
56308         * timezone/ialloc.c: Likewise.
56309         * timezone/private.h: Likewise.
56310         * timezone/scheck.c: Likewise.
56311         * timezone/tzfile.h: Likewise.
56312         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56313         (TZVERSION): Hardcode tzcode version number.
56314         * timezone/zdump.c: Update from tzcode 2012i.
56315         * timezone/zic.c: Likewise.
56316         * timezone/version.h: New file.
56317         * timezone/README: Describe version.h.  Update upstream location.
56319         [BZ #14824]
56320         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56321         (mktemp): Enable declaration.
56322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56326         Likewise.
56327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56328         Likewise.
56329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56330         Likewise.
56331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56332         Likewise.
56333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56334         Likewise.
56335         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56336         Likewise.
56338         [BZ #14821]
56339         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56340         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56341         for copies of such integer values.
56342         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56343         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56345 2012-11-09  Andreas Jaeger  <aj@suse.de>
56347         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56348         definitions and declarations that are provided by
56349         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56351 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56353         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56354         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56355         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56356         definition.
56358 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56360         * elf/elf.h: Update comment before AArch64 relocations.
56362 2012-11-07  David S. Miller  <davem@davemloft.net>
56364         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56365         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56366         (__start_context): Declare.
56367         (__makecontext_ret): Delete.
56368         (__makecontext): Hook up __start_context instead of
56369         __makecontext_ret.
56370         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56371         (sysdep_routines): Add __start_context when in stdlib.
56373 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56375         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56376         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56377         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56378         hardcoded "nm".
56379         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56380         (READELF): New variable.  Use it instead of hardcoded "readelf".
56382 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56384         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56385         * sysdeps/x86/Makefile: Here.
56386         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56387         * sysdeps/x86/tst-xmmymm.sh: This.
56389 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56391         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56392         expectations.
56393         [UNIX98] (pthread_barrier_t): Do not expect.
56394         [UNIX98] (pthread_barrierattr_t): Likewise.
56395         [UNIX98] (pthread_spinlock_t): Likewise.
56396         [UNIX98] (pthread_barrier_destroy): Likewise.
56397         [UNIX98] (pthread_barrier_init): Likewise.
56398         [UNIX98] (pthread_barrier_wait): Likewise.
56399         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56400         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56401         [UNIX98] (pthread_barrierattr_init): Likewise.
56402         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56403         [UNIX98] (pthread_getcpuclockid): Likewise.
56404         [UNIX98] (pthread_mutex_timedlock): Likewise.
56405         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56406         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56407         [UNIX98] (pthread_sigmask): Likewise.
56408         [UNIX98] (pthread_spin_destroy): Likewise.
56409         [UNIX98] (pthread_spin_init): Likewise.
56410         [UNIX98] (pthread_spin_lock): Likewise.
56411         [UNIX98] (pthread_spin_trylock): Likewise.
56412         [UNIX98] (pthread_spin_unlock): Likewise.
56413         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56414         Do not expect.
56415         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56416         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56417         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56418         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56419         [XPG3 || XPG4] (pthread_key_t): Likewise.
56420         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56421         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56422         [XPG3 || XPG4] (pthread_once_t): Likewise.
56423         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56424         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56425         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56426         [XPG3 || XPG4] (pthread_t): Likewise.
56428         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56429         not expect.
56430         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56432         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56433         Change function return type to int.
56435         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56436         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56437         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56438         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56439         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56440         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56441         [!POSIX] (posix_madvise): Likewise.
56442         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56443         && !UNIX98].
56444         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56445         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56446         (mode_t): Likewise.
56447         (posix_mem_offset): Likewise.
56448         (posix_typed_mem_get_info): Likewise.
56449         (posix_typed_mem_open): Likewise.
56451         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56452         Change condition to [XOPEN2K8].
56454         * conform/conformtest.pl: Preprocess allow-header data with -x c
56455         instead of from stdin.
56456         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56457         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56458         [C99-based standards] (cerfc): Likewise.
56459         [C99-based standards] (cexp2): Likewise.
56460         [C99-based standards] (cexpm1): Likewise.
56461         [C99-based standards] (clog10): Likewise.
56462         [C99-based standards] (clog1p): Likewise.
56463         [C99-based standards] (clog2): Likewise.
56464         [C99-based standards] (clgamma): Likewise.
56465         [C99-based standards] (ctgamma): Likewise.
56466         [C99-based standards] (cerff): Likewise.
56467         [C99-based standards] (cerfcf): Likewise.
56468         [C99-based standards] (cexp2f): Likewise.
56469         [C99-based standards] (cexpm1f): Likewise.
56470         [C99-based standards] (clog10f): Likewise.
56471         [C99-based standards] (clog1pf): Likewise.
56472         [C99-based standards] (clog2f): Likewise.
56473         [C99-based standards] (clgammaf): Likewise.
56474         [C99-based standards] (ctgammaf): Likewise.
56475         [C99-based standards] (cerfl): Likewise.
56476         [C99-based standards] (cerfcl): Likewise.
56477         [C99-based standards] (cexp2l): Likewise.
56478         [C99-based standards] (cexpm1l): Likewise.
56479         [C99-based standards] (clog10l): Likewise.
56480         [C99-based standards] (clog1pl): Likewise.
56481         [C99-based standards] (clog2l): Likewise.
56482         [C99-based standards] (clgammal): Likewise.
56483         [C99-based standards] (ctgammal): Likewise.
56484         * conform/data/inttypes.h-data [C99-based standards]: Include
56485         stdint.h-data.  Remove all expectations for stdint.h contents.
56486         [C99-based standards] (PRI*): Do not allow.
56487         [C99-based standards] (SCN*): Likewise.
56488         [C99-based standards] (*_t): Likewise.
56489         [C99-based-standards] (PRId8): Expect macro.
56490         [C99-based-standards] (PRIi8): Likewise.
56491         [C99-based-standards] (PRIo8): Likewise.
56492         [C99-based-standards] (PRIu8): Likewise.
56493         [C99-based-standards] (PRIx8): Likewise.
56494         [C99-based-standards] (PRIX8): Likewise.
56495         [C99-based-standards] (SCNd8): Likewise.
56496         [C99-based-standards] (SCNi8): Likewise.
56497         [C99-based-standards] (SCNo8): Likewise.
56498         [C99-based-standards] (SCNu8): Likewise.
56499         [C99-based-standards] (SCNx8): Likewise.
56500         [C99-based-standards] (PRIdLEAST8): Likewise.
56501         [C99-based-standards] (PRIiLEAST8): Likewise.
56502         [C99-based-standards] (PRIoLEAST8): Likewise.
56503         [C99-based-standards] (PRIuLEAST8): Likewise.
56504         [C99-based-standards] (PRIxLEAST8): Likewise.
56505         [C99-based-standards] (PRIXLEAST8): Likewise.
56506         [C99-based-standards] (SCNdLEAST8): Likewise.
56507         [C99-based-standards] (SCNiLEAST8): Likewise.
56508         [C99-based-standards] (SCNoLEAST8): Likewise.
56509         [C99-based-standards] (SCNuLEAST8): Likewise.
56510         [C99-based-standards] (SCNxLEAST8): Likewise.
56511         [C99-based-standards] (PRIdFAST8): Likewise.
56512         [C99-based-standards] (PRIiFAST8): Likewise.
56513         [C99-based-standards] (PRIoFAST8): Likewise.
56514         [C99-based-standards] (PRIuFAST8): Likewise.
56515         [C99-based-standards] (PRIxFAST8): Likewise.
56516         [C99-based-standards] (PRIXFAST8): Likewise.
56517         [C99-based-standards] (SCNdFAST8): Likewise.
56518         [C99-based-standards] (SCNiFAST8): Likewise.
56519         [C99-based-standards] (SCNoFAST8): Likewise.
56520         [C99-based-standards] (SCNuFAST8): Likewise.
56521         [C99-based-standards] (SCNxFAST8): Likewise.
56522         [C99-based-standards] (PRId16): Likewise.
56523         [C99-based-standards] (PRIi16): Likewise.
56524         [C99-based-standards] (PRIo16): Likewise.
56525         [C99-based-standards] (PRIu16): Likewise.
56526         [C99-based-standards] (PRIx16): Likewise.
56527         [C99-based-standards] (PRIX16): Likewise.
56528         [C99-based-standards] (SCNd16): Likewise.
56529         [C99-based-standards] (SCNi16): Likewise.
56530         [C99-based-standards] (SCNo16): Likewise.
56531         [C99-based-standards] (SCNu16): Likewise.
56532         [C99-based-standards] (SCNx16): Likewise.
56533         [C99-based-standards] (PRIdLEAST16): Likewise.
56534         [C99-based-standards] (PRIiLEAST16): Likewise.
56535         [C99-based-standards] (PRIoLEAST16): Likewise.
56536         [C99-based-standards] (PRIuLEAST16): Likewise.
56537         [C99-based-standards] (PRIxLEAST16): Likewise.
56538         [C99-based-standards] (PRIXLEAST16): Likewise.
56539         [C99-based-standards] (SCNdLEAST16): Likewise.
56540         [C99-based-standards] (SCNiLEAST16): Likewise.
56541         [C99-based-standards] (SCNoLEAST16): Likewise.
56542         [C99-based-standards] (SCNuLEAST16): Likewise.
56543         [C99-based-standards] (SCNxLEAST16): Likewise.
56544         [C99-based-standards] (PRIdFAST16): Likewise.
56545         [C99-based-standards] (PRIiFAST16): Likewise.
56546         [C99-based-standards] (PRIoFAST16): Likewise.
56547         [C99-based-standards] (PRIuFAST16): Likewise.
56548         [C99-based-standards] (PRIxFAST16): Likewise.
56549         [C99-based-standards] (PRIXFAST16): Likewise.
56550         [C99-based-standards] (SCNdFAST16): Likewise.
56551         [C99-based-standards] (SCNiFAST16): Likewise.
56552         [C99-based-standards] (SCNoFAST16): Likewise.
56553         [C99-based-standards] (SCNuFAST16): Likewise.
56554         [C99-based-standards] (SCNxFAST16): Likewise.
56555         [C99-based-standards] (PRId32): Likewise.
56556         [C99-based-standards] (PRIi32): Likewise.
56557         [C99-based-standards] (PRIo32): Likewise.
56558         [C99-based-standards] (PRIu32): Likewise.
56559         [C99-based-standards] (PRIx32): Likewise.
56560         [C99-based-standards] (PRIX32): Likewise.
56561         [C99-based-standards] (SCNd32): Likewise.
56562         [C99-based-standards] (SCNi32): Likewise.
56563         [C99-based-standards] (SCNo32): Likewise.
56564         [C99-based-standards] (SCNu32): Likewise.
56565         [C99-based-standards] (SCNx32): Likewise.
56566         [C99-based-standards] (PRIdLEAST32): Likewise.
56567         [C99-based-standards] (PRIiLEAST32): Likewise.
56568         [C99-based-standards] (PRIoLEAST32): Likewise.
56569         [C99-based-standards] (PRIuLEAST32): Likewise.
56570         [C99-based-standards] (PRIxLEAST32): Likewise.
56571         [C99-based-standards] (PRIXLEAST32): Likewise.
56572         [C99-based-standards] (SCNdLEAST32): Likewise.
56573         [C99-based-standards] (SCNiLEAST32): Likewise.
56574         [C99-based-standards] (SCNoLEAST32): Likewise.
56575         [C99-based-standards] (SCNuLEAST32): Likewise.
56576         [C99-based-standards] (SCNxLEAST32): Likewise.
56577         [C99-based-standards] (PRIdFAST32): Likewise.
56578         [C99-based-standards] (PRIiFAST32): Likewise.
56579         [C99-based-standards] (PRIoFAST32): Likewise.
56580         [C99-based-standards] (PRIuFAST32): Likewise.
56581         [C99-based-standards] (PRIxFAST32): Likewise.
56582         [C99-based-standards] (PRIXFAST32): Likewise.
56583         [C99-based-standards] (SCNdFAST32): Likewise.
56584         [C99-based-standards] (SCNiFAST32): Likewise.
56585         [C99-based-standards] (SCNoFAST32): Likewise.
56586         [C99-based-standards] (SCNuFAST32): Likewise.
56587         [C99-based-standards] (SCNxFAST32): Likewise.
56588         [C99-based-standards] (PRId64): Likewise.
56589         [C99-based-standards] (PRIi64): Likewise.
56590         [C99-based-standards] (PRIo64): Likewise.
56591         [C99-based-standards] (PRIu64): Likewise.
56592         [C99-based-standards] (PRIx64): Likewise.
56593         [C99-based-standards] (PRIX64): Likewise.
56594         [C99-based-standards] (SCNd64): Likewise.
56595         [C99-based-standards] (SCNi64): Likewise.
56596         [C99-based-standards] (SCNo64): Likewise.
56597         [C99-based-standards] (SCNu64): Likewise.
56598         [C99-based-standards] (SCNx64): Likewise.
56599         [C99-based-standards] (PRIdLEAST64): Likewise.
56600         [C99-based-standards] (PRIiLEAST64): Likewise.
56601         [C99-based-standards] (PRIoLEAST64): Likewise.
56602         [C99-based-standards] (PRIuLEAST64): Likewise.
56603         [C99-based-standards] (PRIxLEAST64): Likewise.
56604         [C99-based-standards] (PRIXLEAST64): Likewise.
56605         [C99-based-standards] (SCNdLEAST64): Likewise.
56606         [C99-based-standards] (SCNiLEAST64): Likewise.
56607         [C99-based-standards] (SCNoLEAST64): Likewise.
56608         [C99-based-standards] (SCNuLEAST64): Likewise.
56609         [C99-based-standards] (SCNxLEAST64): Likewise.
56610         [C99-based-standards] (PRIdFAST64): Likewise.
56611         [C99-based-standards] (PRIiFAST64): Likewise.
56612         [C99-based-standards] (PRIoFAST64): Likewise.
56613         [C99-based-standards] (PRIuFAST64): Likewise.
56614         [C99-based-standards] (PRIxFAST64): Likewise.
56615         [C99-based-standards] (PRIXFAST64): Likewise.
56616         [C99-based-standards] (SCNdFAST64): Likewise.
56617         [C99-based-standards] (SCNiFAST64): Likewise.
56618         [C99-based-standards] (SCNoFAST64): Likewise.
56619         [C99-based-standards] (SCNuFAST64): Likewise.
56620         [C99-based-standards] (SCNxFAST64): Likewise.
56621         [C99-based-standards] (PRIdMAX): Likewise.
56622         [C99-based-standards] (PRIiMAX): Likewise.
56623         [C99-based-standards] (PRIoMAX): Likewise.
56624         [C99-based-standards] (PRIuMAX): Likewise.
56625         [C99-based-standards] (PRIxMAX): Likewise.
56626         [C99-based-standards] (PRIXMAX): Likewise.
56627         [C99-based-standards] (SCNdMAX): Likewise.
56628         [C99-based-standards] (SCNiMAX): Likewise.
56629         [C99-based-standards] (SCNoMAX): Likewise.
56630         [C99-based-standards] (SCNuMAX): Likewise.
56631         [C99-based-standards] (SCNxMAX): Likewise.
56632         [C99-based-standards] (PRIdPTR): Likewise.
56633         [C99-based-standards] (PRIiPTR): Likewise.
56634         [C99-based-standards] (PRIoPTR): Likewise.
56635         [C99-based-standards] (PRIuPTR): Likewise.
56636         [C99-based-standards] (PRIxPTR): Likewise.
56637         [C99-based-standards] (PRIXPTR): Likewise.
56638         [C99-based-standards] (SCNdPTR): Likewise.
56639         [C99-based-standards] (SCNiPTR): Likewise.
56640         [C99-based-standards] (SCNoPTR): Likewise.
56641         [C99-based-standards] (SCNuPTR): Likewise.
56642         [C99-based-standards] (SCNxPTR): Likewise.
56643         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56644         allow.
56645         * conform/data/stdint.h-data: Update comments to clarify
56646         requirements.
56647         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56648         type.
56649         [C99-based standards] (INT8_MAX): Likewise.
56650         [C99-based standards] (INT16_MIN): Likewise.
56651         [C99-based standards] (INT16_MAX): Likewise.
56652         [C99-based standards] (INT32_MIN): Likewise.
56653         [C99-based standards] (INT32_MAX): Likewise.
56654         [C99-based standards] (INT64_MIN): Likewise.
56655         [C99-based standards] (INT64_MAX): Likewise.
56656         [C99-based standards] (UINT8_MAX): Likewise.
56657         [C99-based standards] (UINT16_MAX): Likewise.
56658         [C99-based standards] (UINT32_MAX): Likewise.
56659         [C99-based standards] (UINT64_MAX): Likewise.
56660         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56661         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56662         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56663         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56664         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56665         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56666         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56667         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56668         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56669         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56670         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56671         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56672         [C99-based standards] (INT_FAST8_MIN): Likewise.
56673         [C99-based standards] (INT_FAST8_MAX): Likewise.
56674         [C99-based standards] (INT_FAST16_MIN): Likewise.
56675         [C99-based standards] (INT_FAST16_MAX): Likewise.
56676         [C99-based standards] (INT_FAST32_MIN): Likewise.
56677         [C99-based standards] (INT_FAST32_MAX): Likewise.
56678         [C99-based standards] (INT_FAST64_MIN): Likewise.
56679         [C99-based standards] (INT_FAST64_MAX): Likewise.
56680         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56681         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56682         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56683         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56684         [C99-based standards] (INTPTR_MIN): Likewise.
56685         [C99-based standards] (INTPTR_MAX): Likewise.
56686         [C99-based standards] (UINTPTR_MAX): Likewise.
56687         [C99-based standards] (INTMAX_MIN): Likewise.
56688         [C99-based standards] (INTMAX_MAX): Likewise.
56689         [C99-based standards] (UINTMAX_MAX): Likewise.
56690         [C99-based standards] (PTRDIFF_MIN): Likewise.
56691         [C99-based standards] (PTRDIFF_MAX): Likewise.
56692         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56693         [C99-based standards] (SIZE_MAX): Likewise.
56694         [C99-based standards] (WCHAR_MAX): Likewise.
56695         [C99-based standards] (WINT_MAX): Likewise.
56696         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56697         constraint on value.
56698         [C99-based standards] (WCHAR_MIN): Likewise.
56699         [C99-based standards] (WINT_MIN): Likewise.
56700         [C99-based standards] (*_t): Allow.
56701         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56702         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56703         Include math.h-data and complex.h-data.  Remove all expectations
56704         of math.h and complex.h contents.
56705         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56706         at end of line.
56707         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56708         (struct tm): Expect tag.
56709         [C99-based-standards] (wcstof): Expect function.
56710         [C99-based-standards] (wcstold): Likewise.
56711         [C99-based-standards] (wcstoll): Likewise.
56712         [C99-based-standards] (wcstoull): Likewise.
56713         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56714         macro-int-constant.  Specify type.
56715         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56716         constraint on value.
56717         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56718         Specify type.
56719         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56720         Specify value.
56721         [ISO C standards]: Do not allow headers.
56722         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56723         wcs[abcdefghijklmnopqrstuvwxyz]*.
56724         [ISO C standards] (*_t): Do not allow.
56725         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56726         Expect function.
56727         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56728         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56729         Specify type.
56730         [ISO C standards]: Do not allow headers.
56731         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56732         is[abcdefghijklmnopqrstuvwxyz]*.
56733         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56734         to[abcdefghijklmnopqrstuvwxyz]*.
56735         [ISO C standards] (*_t): Do not allow.
56736         * conform/data/stdalign.h-data: New file.
56737         * conform/data/stdbool.h-data: Likewise.
56738         * conform/data/stdnoreturn.h-data: Likewise.
56740 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56742         [BZ #14815]
56743         * manual/filesys.texi (Directory Entries): Typo fix.
56744         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56746 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56748         * elf/elf.h (EM_AARCH64): New macro.
56749         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56750         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56751         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56752         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56753         (R_AARCH64_TLSDESC): Likewise.
56754         (NT_ARM_TLS): Likewise.
56755         (NT_ARM_HW_BREAK): Likewise.
56756         (NT_ARM_HW_WATCH): Likewise.
56758 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56760         [BZ #14811]
56761         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56762         (__ieee754_powl): Saturate nonzero exponents with absolute value
56763         below 0x1p-79 to +/- 0x1p-79.
56764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56765         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56766         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56767         nonzero exponents with absolute value below 0x1p-32 to +/-
56768         0x1p-32.
56769         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56770         (__ieee754_powl): Saturate nonzero exponents with absolute value
56771         below 0x1p-79 to +/- 0x1p-79.
56772         * math/libm-test.inc (pow_test): Add more tests.
56774 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56776         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56777         _dl_s390_cap_flags with kernel. Increase string length.
56778         (_dl_s390_platforms): Add z196 and zEC12.
56780 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56782         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56783         Change XOPEN21K to XOPEN2K.
56785 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56787         * string/memmove.c: Use memcpy when possible.
56789 2012-11-06  Andreas Jaeger  <aj@suse.de>
56791         * po/eo.po: Update from translation team.
56793 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56795         [BZ #14793]
56796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56797         exponent and small x and y exponents, scale x or y up.  Increase
56798         by 2 the exponent used in scaling up.
56799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56800         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56801         * math/libm-test.inc (fma_test): Add more tests.
56802         (fma_test_towardzero): Likewise.
56803         (fma_test_downward): Likewise.
56804         (fma_test_upward): Likewise.
56806 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56808         [BZ #14805]
56809         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56810         fenv_t *.
56812         [BZ #14801]
56813         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56814         namespace for names of struct fields.
56815         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56816         fenv_t fields.
56817         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56818         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56820 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56822         [BZ #3665]
56823         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56825 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56827         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56828         PTR_DEMANGLE.
56830         [BZ #5246]
56831         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56832         PTR_DEMANGLE.
56834 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56836         [BZ #14797]
56837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56838         definitely overflow as x * y not x * y + z.
56839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56841         * math/libm-test.inc (fma_test): Add more tests.
56842         (fma_test_towardzero): Likewise.
56843         (fma_test_downward): Likewise.
56844         (fma_test_upward): Likewise.
56846 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56848         [BZ #157]
56850         * include/stub-tag.h: Remove file.
56851         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56852         '#include' of it.
56853         * manual/maint.texi (Porting): Don't reference it.
56854         * Makerules ($(objpfx)stubs): Likewise.
56855         * dirent/closedir.c: Don't include <stub-tag.h>.
56856         * dirent/dirfd.c: Likewise.
56857         * dirent/fdopendir.c: Likewise.
56858         * dirent/getdents.c: Likewise.
56859         * dirent/getdents64.c: Likewise.
56860         * dirent/opendir.c: Likewise.
56861         * dirent/readdir.c: Likewise.
56862         * dirent/readdir64.c: Likewise.
56863         * dirent/readdir64_r.c: Likewise.
56864         * dirent/readdir_r.c: Likewise.
56865         * dirent/rewinddir.c: Likewise.
56866         * dirent/seekdir.c: Likewise.
56867         * dirent/telldir.c: Likewise.
56868         * gmon/profil.c: Likewise.
56869         * grp/setgroups.c: Likewise.
56870         * inet/if_index.c: Likewise.
56871         * io/access.c: Likewise.
56872         * io/chdir.c: Likewise.
56873         * io/chmod.c: Likewise.
56874         * io/chown.c: Likewise.
56875         * io/close.c: Likewise.
56876         * io/dup.c: Likewise.
56877         * io/dup2.c: Likewise.
56878         * io/dup3.c: Likewise.
56879         * io/euidaccess.c: Likewise.
56880         * io/faccessat.c: Likewise.
56881         * io/fchdir.c: Likewise.
56882         * io/fchmod.c: Likewise.
56883         * io/fchmodat.c: Likewise.
56884         * io/fchown.c: Likewise.
56885         * io/fchownat.c: Likewise.
56886         * io/fcntl.c: Likewise.
56887         * io/flock.c: Likewise.
56888         * io/fstatfs.c: Likewise.
56889         * io/fstatfs64.c: Likewise.
56890         * io/fstatvfs.c: Likewise.
56891         * io/fstatvfs64.c: Likewise.
56892         * io/futimens.c: Likewise.
56893         * io/fxstat.c: Likewise.
56894         * io/fxstat64.c: Likewise.
56895         * io/fxstatat.c: Likewise.
56896         * io/fxstatat64.c: Likewise.
56897         * io/getcwd.c: Likewise.
56898         * io/isatty.c: Likewise.
56899         * io/lchmod.c: Likewise.
56900         * io/lchown.c: Likewise.
56901         * io/link.c: Likewise.
56902         * io/linkat.c: Likewise.
56903         * io/lseek.c: Likewise.
56904         * io/lseek64.c: Likewise.
56905         * io/lxstat64.c: Likewise.
56906         * io/mkdir.c: Likewise.
56907         * io/mkdirat.c: Likewise.
56908         * io/mkfifo.c: Likewise.
56909         * io/mkfifoat.c: Likewise.
56910         * io/open.c: Likewise.
56911         * io/open64.c: Likewise.
56912         * io/openat.c: Likewise.
56913         * io/openat64.c: Likewise.
56914         * io/pipe.c: Likewise.
56915         * io/pipe2.c: Likewise.
56916         * io/poll.c: Likewise.
56917         * io/posix_fadvise.c: Likewise.
56918         * io/posix_fadvise64.c: Likewise.
56919         * io/posix_fallocate.c: Likewise.
56920         * io/posix_fallocate64.c: Likewise.
56921         * io/read.c: Likewise.
56922         * io/readlink.c: Likewise.
56923         * io/readlinkat.c: Likewise.
56924         * io/rmdir.c: Likewise.
56925         * io/sendfile.c: Likewise.
56926         * io/sendfile64.c: Likewise.
56927         * io/statfs.c: Likewise.
56928         * io/statfs64.c: Likewise.
56929         * io/statvfs.c: Likewise.
56930         * io/statvfs64.c: Likewise.
56931         * io/symlink.c: Likewise.
56932         * io/symlinkat.c: Likewise.
56933         * io/ttyname.c: Likewise.
56934         * io/ttyname_r.c: Likewise.
56935         * io/umask.c: Likewise.
56936         * io/unlink.c: Likewise.
56937         * io/unlinkat.c: Likewise.
56938         * io/utime.c: Likewise.
56939         * io/utimensat.c: Likewise.
56940         * io/write.c: Likewise.
56941         * io/xmknod.c: Likewise.
56942         * io/xmknodat.c: Likewise.
56943         * io/xstat.c: Likewise.
56944         * io/xstat64.c: Likewise.
56945         * login/getpt.c: Likewise.
56946         * login/grantpt.c: Likewise.
56947         * login/unlockpt.c: Likewise.
56948         * math/e_acoshl.c: Likewise.
56949         * math/e_acosl.c: Likewise.
56950         * math/e_asinl.c: Likewise.
56951         * math/e_atan2l.c: Likewise.
56952         * math/e_atanhl.c: Likewise.
56953         * math/e_coshl.c: Likewise.
56954         * math/e_expl.c: Likewise.
56955         * math/e_fmodl.c: Likewise.
56956         * math/e_gammal_r.c: Likewise.
56957         * math/e_hypotl.c: Likewise.
56958         * math/e_j0l.c: Likewise.
56959         * math/e_j1l.c: Likewise.
56960         * math/e_jnl.c: Likewise.
56961         * math/e_lgammal_r.c: Likewise.
56962         * math/e_log10l.c: Likewise.
56963         * math/e_log2l.c: Likewise.
56964         * math/e_logl.c: Likewise.
56965         * math/e_powl.c: Likewise.
56966         * math/e_rem_pio2l.c: Likewise.
56967         * math/e_sinhl.c: Likewise.
56968         * math/e_sqrtl.c: Likewise.
56969         * math/fclrexcpt.c: Likewise.
56970         * math/fedisblxcpt.c: Likewise.
56971         * math/feenablxcpt.c: Likewise.
56972         * math/fegetenv.c: Likewise.
56973         * math/fegetexcept.c: Likewise.
56974         * math/fegetround.c: Likewise.
56975         * math/feholdexcpt.c: Likewise.
56976         * math/fesetenv.c: Likewise.
56977         * math/fesetround.c: Likewise.
56978         * math/feupdateenv.c: Likewise.
56979         * math/fgetexcptflg.c: Likewise.
56980         * math/fraiseexcpt.c: Likewise.
56981         * math/fsetexcptflg.c: Likewise.
56982         * math/ftestexcept.c: Likewise.
56983         * math/k_cosl.c: Likewise.
56984         * math/k_rem_pio2l.c: Likewise.
56985         * math/k_sinl.c: Likewise.
56986         * math/k_tanl.c: Likewise.
56987         * math/s_asinhl.c: Likewise.
56988         * math/s_atanl.c: Likewise.
56989         * math/s_cbrtl.c: Likewise.
56990         * math/s_erfl.c: Likewise.
56991         * math/s_expm1l.c: Likewise.
56992         * math/s_log1pl.c: Likewise.
56993         * math/s_tanhl.c: Likewise.
56994         * misc/acct.c: Likewise.
56995         * misc/brk.c: Likewise.
56996         * misc/chflags.c: Likewise.
56997         * misc/chroot.c: Likewise.
56998         * misc/fchflags.c: Likewise.
56999         * misc/fgetxattr.c: Likewise.
57000         * misc/flistxattr.c: Likewise.
57001         * misc/fremovexattr.c: Likewise.
57002         * misc/fsetxattr.c: Likewise.
57003         * misc/fsync.c: Likewise.
57004         * misc/ftruncate.c: Likewise.
57005         * misc/futimes.c: Likewise.
57006         * misc/futimesat.c: Likewise.
57007         * misc/getdomain.c: Likewise.
57008         * misc/getdtsz.c: Likewise.
57009         * misc/gethostid.c: Likewise.
57010         * misc/gethostname.c: Likewise.
57011         * misc/getloadavg.c: Likewise.
57012         * misc/getpagesize.c: Likewise.
57013         * misc/getsysstats.c: Likewise.
57014         * misc/getxattr.c: Likewise.
57015         * misc/gtty.c: Likewise.
57016         * misc/ioctl.c: Likewise.
57017         * misc/lgetxattr.c: Likewise.
57018         * misc/listxattr.c: Likewise.
57019         * misc/llistxattr.c: Likewise.
57020         * misc/lremovexattr.c: Likewise.
57021         * misc/lsetxattr.c: Likewise.
57022         * misc/lutimes.c: Likewise.
57023         * misc/madvise.c: Likewise.
57024         * misc/mincore.c: Likewise.
57025         * misc/mlock.c: Likewise.
57026         * misc/mlockall.c: Likewise.
57027         * misc/mmap.c: Likewise.
57028         * misc/mprotect.c: Likewise.
57029         * misc/msync.c: Likewise.
57030         * misc/munlock.c: Likewise.
57031         * misc/munlockall.c: Likewise.
57032         * misc/munmap.c: Likewise.
57033         * misc/preadv.c: Likewise.
57034         * misc/preadv64.c: Likewise.
57035         * misc/ptrace.c: Likewise.
57036         * misc/pwritev.c: Likewise.
57037         * misc/pwritev64.c: Likewise.
57038         * misc/readv.c: Likewise.
57039         * misc/reboot.c: Likewise.
57040         * misc/remap_file_pages.c: Likewise.
57041         * misc/removexattr.c: Likewise.
57042         * misc/revoke.c: Likewise.
57043         * misc/select.c: Likewise.
57044         * misc/setdomain.c: Likewise.
57045         * misc/setegid.c: Likewise.
57046         * misc/seteuid.c: Likewise.
57047         * misc/sethostid.c: Likewise.
57048         * misc/sethostname.c: Likewise.
57049         * misc/setregid.c: Likewise.
57050         * misc/setreuid.c: Likewise.
57051         * misc/setxattr.c: Likewise.
57052         * misc/sstk.c: Likewise.
57053         * misc/stty.c: Likewise.
57054         * misc/swapoff.c: Likewise.
57055         * misc/swapon.c: Likewise.
57056         * misc/sync.c: Likewise.
57057         * misc/syncfs.c: Likewise.
57058         * misc/syscall.c: Likewise.
57059         * misc/truncate.c: Likewise.
57060         * misc/ualarm.c: Likewise.
57061         * misc/usleep.c: Likewise.
57062         * misc/ustat.c: Likewise.
57063         * misc/utimes.c: Likewise.
57064         * misc/vhangup.c: Likewise.
57065         * misc/writev.c: Likewise.
57066         * posix/_exit.c: Likewise.
57067         * posix/alarm.c: Likewise.
57068         * posix/execve.c: Likewise.
57069         * posix/fexecve.c: Likewise.
57070         * posix/fork.c: Likewise.
57071         * posix/fpathconf.c: Likewise.
57072         * posix/getaddrinfo.c: Likewise.
57073         * posix/getegid.c: Likewise.
57074         * posix/geteuid.c: Likewise.
57075         * posix/getgid.c: Likewise.
57076         * posix/getgroups.c: Likewise.
57077         * posix/getlogin.c: Likewise.
57078         * posix/getlogin_r.c: Likewise.
57079         * posix/getpgid.c: Likewise.
57080         * posix/getpid.c: Likewise.
57081         * posix/getppid.c: Likewise.
57082         * posix/getresgid.c: Likewise.
57083         * posix/getresuid.c: Likewise.
57084         * posix/getsid.c: Likewise.
57085         * posix/getuid.c: Likewise.
57086         * posix/glob64.c: Likewise.
57087         * posix/nanosleep.c: Likewise.
57088         * posix/pathconf.c: Likewise.
57089         * posix/pause.c: Likewise.
57090         * posix/posix_madvise.c: Likewise.
57091         * posix/pread.c: Likewise.
57092         * posix/pread64.c: Likewise.
57093         * posix/pwrite.c: Likewise.
57094         * posix/pwrite64.c: Likewise.
57095         * posix/sched_getaffinity.c: Likewise.
57096         * posix/sched_getp.c: Likewise.
57097         * posix/sched_gets.c: Likewise.
57098         * posix/sched_primax.c: Likewise.
57099         * posix/sched_primin.c: Likewise.
57100         * posix/sched_rr_gi.c: Likewise.
57101         * posix/sched_setaffinity.c: Likewise.
57102         * posix/sched_setp.c: Likewise.
57103         * posix/sched_sets.c: Likewise.
57104         * posix/sched_yield.c: Likewise.
57105         * posix/setgid.c: Likewise.
57106         * posix/setlogin.c: Likewise.
57107         * posix/setpgid.c: Likewise.
57108         * posix/setresgid.c: Likewise.
57109         * posix/setresuid.c: Likewise.
57110         * posix/setsid.c: Likewise.
57111         * posix/setuid.c: Likewise.
57112         * posix/sleep.c: Likewise.
57113         * posix/spawni.c: Likewise.
57114         * posix/sysconf.c: Likewise.
57115         * posix/times.c: Likewise.
57116         * posix/wait.c: Likewise.
57117         * posix/wait3.c: Likewise.
57118         * posix/wait4.c: Likewise.
57119         * posix/waitpid.c: Likewise.
57120         * resolv/gai_sigqueue.c: Likewise.
57121         * resource/getpriority.c: Likewise.
57122         * resource/getrlimit.c: Likewise.
57123         * resource/getrusage.c: Likewise.
57124         * resource/nice.c: Likewise.
57125         * resource/setpriority.c: Likewise.
57126         * resource/setrlimit.c: Likewise.
57127         * resource/ulimit.c: Likewise.
57128         * rt/aio_cancel.c: Likewise.
57129         * rt/aio_fsync.c: Likewise.
57130         * rt/aio_read.c: Likewise.
57131         * rt/aio_sigqueue.c: Likewise.
57132         * rt/aio_suspend.c: Likewise.
57133         * rt/aio_write.c: Likewise.
57134         * rt/clock_getres.c: Likewise.
57135         * rt/clock_gettime.c: Likewise.
57136         * rt/clock_nanosleep.c: Likewise.
57137         * rt/clock_settime.c: Likewise.
57138         * rt/lio_listio.c: Likewise.
57139         * rt/mq_close.c: Likewise.
57140         * rt/mq_getattr.c: Likewise.
57141         * rt/mq_notify.c: Likewise.
57142         * rt/mq_open.c: Likewise.
57143         * rt/mq_receive.c: Likewise.
57144         * rt/mq_send.c: Likewise.
57145         * rt/mq_setattr.c: Likewise.
57146         * rt/mq_timedreceive.c: Likewise.
57147         * rt/mq_timedsend.c: Likewise.
57148         * rt/mq_unlink.c: Likewise.
57149         * rt/shm_open.c: Likewise.
57150         * rt/shm_unlink.c: Likewise.
57151         * rt/timer_create.c: Likewise.
57152         * rt/timer_delete.c: Likewise.
57153         * rt/timer_getoverr.c: Likewise.
57154         * rt/timer_gettime.c: Likewise.
57155         * rt/timer_settime.c: Likewise.
57156         * setjmp/__longjmp.c: Likewise.
57157         * setjmp/setjmp.c: Likewise.
57158         * signal/kill.c: Likewise.
57159         * signal/killpg.c: Likewise.
57160         * signal/raise.c: Likewise.
57161         * signal/sigaction.c: Likewise.
57162         * signal/sigaltstack.c: Likewise.
57163         * signal/sigblock.c: Likewise.
57164         * signal/sigignore.c: Likewise.
57165         * signal/sigintr.c: Likewise.
57166         * signal/signal.c: Likewise.
57167         * signal/sigpause.c: Likewise.
57168         * signal/sigpending.c: Likewise.
57169         * signal/sigqueue.c: Likewise.
57170         * signal/sigreturn.c: Likewise.
57171         * signal/sigset.c: Likewise.
57172         * signal/sigsetmask.c: Likewise.
57173         * signal/sigstack.c: Likewise.
57174         * signal/sigsuspend.c: Likewise.
57175         * signal/sigtimedwait.c: Likewise.
57176         * signal/sigvec.c: Likewise.
57177         * signal/sigwait.c: Likewise.
57178         * signal/sigwaitinfo.c: Likewise.
57179         * signal/sysv_signal.c: Likewise.
57180         * socket/accept.c: Likewise.
57181         * socket/accept4.c: Likewise.
57182         * socket/bind.c: Likewise.
57183         * socket/connect.c: Likewise.
57184         * socket/getpeername.c: Likewise.
57185         * socket/getsockname.c: Likewise.
57186         * socket/getsockopt.c: Likewise.
57187         * socket/isfdtype.c: Likewise.
57188         * socket/listen.c: Likewise.
57189         * socket/recv.c: Likewise.
57190         * socket/recvfrom.c: Likewise.
57191         * socket/recvmsg.c: Likewise.
57192         * socket/send.c: Likewise.
57193         * socket/sendmsg.c: Likewise.
57194         * socket/sendto.c: Likewise.
57195         * socket/setsockopt.c: Likewise.
57196         * socket/shutdown.c: Likewise.
57197         * socket/sockatmark.c: Likewise.
57198         * socket/socket.c: Likewise.
57199         * socket/socketpair.c: Likewise.
57200         * stdio-common/ctermid.c: Likewise.
57201         * stdio-common/cuserid.c: Likewise.
57202         * stdio-common/remove.c: Likewise.
57203         * stdio-common/rename.c: Likewise.
57204         * stdio-common/renameat.c: Likewise.
57205         * stdio-common/tempname.c: Likewise.
57206         * stdlib/getcontext.c: Likewise.
57207         * stdlib/makecontext.c: Likewise.
57208         * stdlib/setcontext.c: Likewise.
57209         * stdlib/swapcontext.c: Likewise.
57210         * stdlib/system.c: Likewise.
57211         * streams/fattach.c: Likewise.
57212         * streams/fdetach.c: Likewise.
57213         * streams/getmsg.c: Likewise.
57214         * streams/getpmsg.c: Likewise.
57215         * streams/putmsg.c: Likewise.
57216         * streams/putpmsg.c: Likewise.
57217         * sysdeps/unix/bsd/getpt.c: Likewise.
57218         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57219         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57220         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57222         Likewise.
57223         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57224         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57225         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57226         * sysvipc/msgctl.c: Likewise.
57227         * sysvipc/msgget.c: Likewise.
57228         * sysvipc/msgrcv.c: Likewise.
57229         * sysvipc/msgsnd.c: Likewise.
57230         * sysvipc/semctl.c: Likewise.
57231         * sysvipc/semget.c: Likewise.
57232         * sysvipc/semop.c: Likewise.
57233         * sysvipc/semtimedop.c: Likewise.
57234         * sysvipc/shmat.c: Likewise.
57235         * sysvipc/shmctl.c: Likewise.
57236         * sysvipc/shmdt.c: Likewise.
57237         * sysvipc/shmget.c: Likewise.
57238         * termios/tcdrain.c: Likewise.
57239         * termios/tcflow.c: Likewise.
57240         * termios/tcflush.c: Likewise.
57241         * termios/tcgetattr.c: Likewise.
57242         * termios/tcgetpgrp.c: Likewise.
57243         * termios/tcsendbrk.c: Likewise.
57244         * termios/tcsetattr.c: Likewise.
57245         * termios/tcsetpgrp.c: Likewise.
57246         * time/adjtime.c: Likewise.
57247         * time/clock.c: Likewise.
57248         * time/getitimer.c: Likewise.
57249         * time/gettimeofday.c: Likewise.
57250         * time/setitimer.c: Likewise.
57251         * time/settimeofday.c: Likewise.
57252         * time/stime.c: Likewise.
57253         * time/time.c: Likewise.
57255 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57257         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57258         /usr/old/bin.
57260         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57261         instead of spaces.
57262         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57264 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57266         [BZ #14796]
57267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57268         FE_TONEAREST before applying Dekker multiplication and Knuth
57269         addition.  Clear inexact exceptions and check for exact zero
57270         results afterwards.
57271         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57272         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57273         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57274         * math/libm-test.inc (fma_test): Add more tests.
57275         (fma_test_towardzero): Likewise.
57276         (fma_test_downward): Likewise.
57277         (fma_test_upward): Likewise.
57278         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57279         function.
57280         (libc_fesetround): New macro.
57281         (libc_fesetroundf): Likewise.
57282         (libc_fesetroundl): Likewise.
57283         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57284         function.
57285         (libc_fesetround_387): Likewise.
57286         (libc_fesetroundf): New macro.
57287         (libc_fesetround): Likewise.
57288         (libc_fesetroundl): Likewise.
57289         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57290         function.
57291         (libc_fesetroundf): New macro.
57292         (libc_fesetround): Likewise.
57293         (libc_fesetroundl): Likewise.
57294         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57295         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57296         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57297         libm_hidden_ver.
57298         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57299         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57300         libm_hidden_def.
57301         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57302         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57303         libm_hidden_ver.
57304         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57305         libm_hidden_def.
57307         [BZ #3439]
57308         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57309         integer constant usable in #if and use that to give value to enum
57310         constant.
57311         (FE_DIVBYZERO): Likewise.
57312         (FE_UNDERFLOW): Likewise.
57313         (FE_OVERFLOW): Likewise.
57314         (FE_INVALID): Likewise.
57315         (FE_INVALID_SNAN): Likewise.
57316         (FE_INVALID_ISI): Likewise.
57317         (FE_INVALID_IDI): Likewise.
57318         (FE_INVALID_ZDZ): Likewise.
57319         (FE_INVALID_IMZ): Likewise.
57320         (FE_INVALID_COMPARE): Likewise.
57321         (FE_INVALID_SOFTWARE): Likewise.
57322         (FE_INVALID_SQRT): Likewise.
57323         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57324         (FE_TONEAREST): Likewise.
57325         (FE_TOWARDZERO): Likewise.
57326         (FE_UPWARD): Likewise.
57327         (FE_DOWNWARD): Likewise.
57328         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57329         (FE_DIVBYZERO): Likewise.
57330         (FE_OVERFLOW): Likewise.
57331         (FE_UNDERFLOW): Likewise.
57332         (FE_INEXACT): Likewise.
57333         (FE_TONEAREST): Likewise.
57334         (FE_DOWNWARD): Likewise.
57335         (FE_UPWARD): Likewise.
57336         (FE_TOWARDZERO): Likewise.
57337         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57338         (FE_UNDERFLOW): Likewise.
57339         (FE_OVERFLOW): Likewise.
57340         (FE_DIVBYZERO): Likewise.
57341         (FE_INVALID): Likewise.
57342         (FE_TONEAREST): Likewise.
57343         (FE_TOWARDZERO): Likewise.
57344         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57345         (FE_OVERFLOW): Likewise.
57346         (FE_UNDERFLOW): Likewise.
57347         (FE_DIVBYZERO): Likewise.
57348         (FE_INEXACT): Likewise.
57349         (FE_TONEAREST): Likewise.
57350         (FE_TOWARDZERO): Likewise.
57351         (FE_UPWARD): Likewise.
57352         (FE_DOWNWARD): Likewise.
57353         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57354         (FE_DIVBYZERO): Likewise.
57355         (FE_OVERFLOW): Likewise.
57356         (FE_UNDERFLOW): Likewise.
57357         (FE_INEXACT): Likewise.
57358         (FE_TONEAREST): Likewise.
57359         (FE_DOWNWARD): Likewise.
57360         (FE_UPWARD): Likewise.
57361         (FE_TOWARDZERO): Likewise.
57363 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57365         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57367 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57369         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57370         commands.  Quote $PWD.
57371         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57372         -x" by "export".
57373         (remove_newlines): Remove.
57375 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57377         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57378         * stdlib/stdlib.h (atof): Moved to ...
57379         * include/bits/stdlib-float.h: Here.  New file.
57380         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57381         * stdlib/bits/stdlib-float.h: New file.
57382         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57383         -mno-sse -mno-mmx.
57384         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57385         <xmmintrin.h>.
57387 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57389         * conform/conformtest.pl (@headers): Add fenv.h.
57390         * conform/data/fenv.h-data: New file.
57391         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57392         include of <math/fenv.h>.
57394         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57395         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57396         && !UNIX98].  Enables tests for XOPEN2K8.
57397         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57398         POSIX2008]: Likewise.
57400         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57401         (struct rusage): Do not expect type or its members.
57403         [BZ #3439]
57404         * math/math.h (FP_NAN): Define macro to integer constant usable in
57405         #if and use that to give value to enum constant.
57406         (FP_INFINITE): Likewise.
57407         (FP_ZERO): Likewise.
57408         (FP_SUBNORMAL): Likewise.
57409         (FP_NORMAL): Likewise.
57411 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57413         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57414         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57415         arguments.
57417 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57419         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57420         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57421         autoconf-time if not.
57422         * configure.in: Remove AC_PREREQ.
57424 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57426         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57427         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57428         of the internal implementation.
57430 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57432         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57433         except include of <misc/sys/syslog.h>.
57435 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57438         function returns with a NULL context exit with zero.
57440 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57442         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57444 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57446         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57447         (run_program_cmd): This.
57448         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57449         (tst_langinfo): New variable.  Use it.
57451 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57453         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57454         floating point opcodes.
57456 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57458         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57459         variable.
57461         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57463         * sysdeps/mach/hurd/powerpc: Remove directory.
57464         * sysdeps/mach/powerpc: Likewise.
57466 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57468         * scripts/check-local-headers.sh: Ignore c++ headers.
57470 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57472         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57473         __libc_cleanup_region_start argument.
57475 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57477         [BZ #14784]
57478         [BZ #14785]
57479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57480         x * y using scaling, not as x * y + z.
57481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57482         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57483         * math/libm-test.inc (fma_test): Add more tests.
57484         (fma_test_towardzero): Likewise.
57485         (fma_test_downward): Likewise.
57486         (fma_test_upward): Likewise.
57488 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57490         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57492 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57494         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57495         New variable.
57497 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57499         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57501 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57504         Fix sort order.
57505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57506         Likewise.
57508 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57511         Fix the order of the list for glibc 2.17.
57512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57513         Likewise.
57515 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57519 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57521         [BZ #14610]
57522         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57523         for low part of x being zero before using __atanl (y).
57524         * math/libm-test.inc (atan2_test): Add another test.
57526         * manual/install.texi (Configuring and compiling): Document
57527         general use of test-wrapper and test-wrapper-env.
57528         * INSTALL: Regenerated.
57530         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57531         (__fma): Do not extract and scale down low bits on after-rounding
57532         systems when result rounded to normal precision would have normal
57533         exponent.
57534         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57535         (__fmal): Do not extract and scale down low bits on after-rounding
57536         systems when result rounded to normal precision would have normal
57537         exponent.
57538         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57539         (__fmal): Do not extract and scale down low bits on after-rounding
57540         systems when result rounded to normal precision would have normal
57541         exponent.
57542         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57543         macro.
57544         (fma_test): Add more tests.
57545         (fma_test_towardzero): Likewise.
57546         (fma_test_downward): Likewise.
57547         (fma_test_upward): Likewise.
57549 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57551         * sysdeps/i386/tininess.h: Renamed to ...
57552         * sysdeps/x86/tininess.h: This.
57553         * sysdeps/x86_64/tininess.h: Removed.
57555 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57557         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57558         input.  Use $(build-program-cmd).
57559         ($(objpfx)tst-array1-static.out): Likewise.
57560         ($(objpfx)tst-array2.out): Likewise.
57561         ($(objpfx)tst-array3.out): Likewise.
57562         ($(objpfx)tst-array4.out): Likewise.
57563         ($(objpfx)tst-array5.out): Likewise.
57564         ($(objpfx)tst-array5-static.out): Likewise.
57566 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57568         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57569         if defined.
57571         * nss/nsswitch.h (nss_interface_function): Provide new
57572         macro for use with NSS functions.
57573         * grp/initgroups.c: Use new macro.
57574         * nss/getXXbyYY.c: Likewise.
57575         * nss/getXXbyYY_r.c: Likewise.
57576         * nss/getXXent.c: Likewise.
57577         * nss/getXXent_r.c: Likewise.
57578         * sysdeps/posix/getaddrinfo.c: Likewise.
57580 2012-10-30  Andreas Jaeger  <aj@suse.de>
57582         * po/ru.po: Update Russion translation from translation project.
57584 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57586         [BZ #14152]
57587         [BZ #14783]
57588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57589         result and shift together with sticky bit instead of replicating
57590         round-to-nearest rounding.
57591         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57593         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57594         missing underflow exceptions.
57595         (fma_test_towardzero): Add more tests.
57596         (fma_test_downward): Likewise.
57597         (fma_test_upward): Likewise.
57599         [BZ #14047]
57600         * sysdeps/generic/tininess.h: New file.
57601         * sysdeps/i386/tininess.h: Likewise.
57602         * sysdeps/sh/tininess.h: Likewise.
57603         * sysdeps/x86_64/tininess.h: Likewise.
57604         * stdlib/tst-strtod-underflow.c: Likewise.
57605         * stdlib/tst-tininess.c: Likewise.
57606         * stdlib/strtod_l.c: Include <tininess.h>.
57607         (round_and_return): Do not set errno for exact underflow cases.
57608         Force an underflow exception when setting errno for underflow.
57609         Determine underflow based on rounding to normal precision if
57610         TININESS_AFTER_ROUNDING.
57611         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57612         ERANGE for exact underflow cases.
57613         * stdlib/Makefile (tests): Add tst-tininess and
57614         tst-strtod-underflow.
57615         ($(objpfx)tst-tininess): Use $(link-libm).
57616         ($(objpfx)tst-strtod-underflow): Likewise.
57618 2012-10-30  Andreas Jaeger  <aj@suse.de>
57620         [BZ#14767]
57621         * elf/Makefile (tests): Remove conditional for have-initfini-array
57622         since this is now always required and the variable does not exist
57623         anymore.
57624         (tests-static): Likewise.
57625         (modules-names): Likewise.
57627         * po/eo.po: Add Esperanto translation from translation project.
57629         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57630         merged with constructor/destructor.
57631         (init_array): Likewise.
57632         * elf/tst-array2dep.c (fini_array): Likewise.
57633         (init_array): Likewise.
57635 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57637         * manual/message.texi: Delete @cartouche tags.
57639 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57641         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57642         EOPNOTSUPP.
57643         * sysdeps/mach/hurd/fsync.c: Likewise.
57645         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57646         [_POSIX_REALTIME_SIGNALS]: Change condition to
57647         [_POSIX_REALTIME_SIGNALS > 0].
57649 2012-10-27  Andreas Jaeger  <aj@suse.de>
57651         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57652         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57653         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57654         [__WORDSIZE != 64]: Likewise.
57656 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57658         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57659         *  iconvdata/tst-tables.sh: Likewise.
57661 2012-10-25  David S. Miller  <davem@davemloft.net>
57663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57664         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57665         of strtoull.
57667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57668         ifunc-impl-list.c
57669         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57670         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57671         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57672         file.
57674 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57677         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57678         __getdirentries.
57680 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57681             Jim Blandy  <jimb@codesourcery.com>
57683         * scripts/cross-test-ssh.sh: New file.
57684         * manual/install.texi (Configuring and compiling): Document use of
57685         cross-test-ssh.sh.
57686         * INSTALL: Regenerated.
57688 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57690         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57691         EOPNOTSUPP.
57693 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57695         * Makeconfig (run-program-prefix): Fix comment.
57697 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57698             Jim Blandy  <jimb@codesourcery.com>
57700         * Makeconfig (test-wrapper): New variable,
57701         (test-wrapper-env): Likewise.
57702         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57703         (run-built-tests): Define to yes.
57704         (run-program-prefix): Use $(test-wrapper).
57705         (built-program-cmd): Likewise.
57706         * Rules (make-test-out): Use $(test-wrapper-env) and
57707         $(host-built-program-cmd).
57708         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57709         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57710         tst-pathopt.sh.
57711         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57712         $(test-wrapper-env) to tst-rtld-load-self.sh.
57713         ($(objpfx)order2.out): Use $(test-wrapper).
57714         ($(objpfx)tst-initorder.out): Likewise.
57715         ($(objpfx)tst-initorder2.out): Likewise.
57716         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57717         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57718         (test_wrapper_env): New variable.  Use it to run ld.so.
57719         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57720         Use it to run ld.so.
57721         (test_wrapper_env): Likewise.
57722         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57723         $(test-wrapper) to run-iconv-test.sh.
57724         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57725         (ICONV): Use $test_wrapper.
57726         * posix/Makefile ($(objpfx)globtest.out): Pass
57727         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57728         globtest.sh, not $(run-program-prefix).
57729         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57730         (test_wrapper): Likewise.
57731         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57732         set together with run_via_rtld_prefix.
57733         (run_program_prefix): Define in terms of test_wrapper and
57734         run_via_rtld_prefix.
57736 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57738         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57739         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57740         Targets removed.
57742         [BZ #14743]
57743         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57744         Declare __clock_getres, __clock_gettime, __clock_settime,
57745         __clock_nanosleep, and __clock_getcpuclockid.
57746         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57747         Remove librt_hidden_def (clock_gettime).
57748         * sysdeps/unix/clock_gettime.c: Likewise.
57749         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57750         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57751         * rt/clock_getres.c: Define __clock_getres as an alias.
57752         * sysdeps/posix/clock_getres.c: Likewise.
57753         * rt/clock_settime.c: Define __clock_settime as an alias.
57754         * sysdeps/unix/clock_settime.c: Likewise.
57755         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57756         * sysdeps/unix/clock_nanosleep.c: Likewise.
57757         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57758         * rt/clock-compat.c: New file.
57759         * rt/Makefile (librt-routines): Add clock-compat and move
57760         $(clock-routines) to ...
57761         (routines): ... here, new variable.
57762         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57763         Don't add get_clockfreq here.
57764         * rt/Versions (libc: GLIBC_2.17): New version set.
57765         Add clock_* symbols here.
57766         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57767         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57768         (GLIBC_2.17): Add clock_* symbols.
57769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57773         Likewise.
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57775         Likewise.
57776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57780         * NEWS: Mention the move.
57782         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57783         Use __open, __read, __close rather than their public counterparts.
57784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57785         (__get_clockfreq_via_cpuinfo): Likewise.
57786         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57787         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57789         * config.h.in (HAVE_IFUNC): New #undef.
57790         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57791         was successful.
57792         * configure: Regenerated.
57794 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57796         * configure.in: Move READELF check to start of file.
57797         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57798         libc_cv_asm_gnu_indirect_function in the process.
57799         * configure: Regenerated.
57801 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57803         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57804         send the output to /dev/null.
57805         (libc_cv_cc_with_libunwind): Likewise.
57806         (libc_cv_as_noexecstack): Likewise.
57807         * configure: Regenerate.
57809 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57811         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57813         * posix/globtest.sh (TMPDIR): Do not set.
57814         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57815         (testout): Likewise.
57817 2012-10-24  Andreas Jaeger  <aj@suse.de>
57819         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57820         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57821         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57822         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57823         posix_fadvise64, posix_fallocate64.
57825         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57826         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57827         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57828         Likewise.
57829         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57830         Likewise.
57831         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57834         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57835         <bits/fcntl-linux.h>.
57836         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57839         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57840         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57841         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57842         [__WORDSIZE != 64]: Likewise.
57844 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57846         * Makeconfig (run-built-tests): New variable.
57847         * Rules [$(cross-compiling) = yes]: Change condition to
57848         [$(run-built-tests) = no].
57849         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57850         to [$(run-built-tests) = yes].
57851         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57852         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57853         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57854         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57855         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57856         * io/Makefile [$(cross-compiling) = no]: Likewise.
57857         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57858         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57859         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57860         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57861         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57862         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57863         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57864         * string/Makefile [$(cross-compiling) = no]: Likewise.
57866         * posix/Makefile ($(objpfx)globtest.out): Pass
57867         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57868         $(rtld-installed-name).
57869         * posix/globtest.sh (elf_objpfx): Remove variable.
57870         (rtld_installed_name): Likewise.
57871         (library_path): Likewise.
57872         (run_program_prefix): New variable.  Use for running globtest
57873         binary.
57875 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57876             Joseph Myers  <joseph@codesourcery.com>
57878         * Makeconfig (host-built-program-cmd): New variable.
57879         * elf/Makefile (tst-stackguard1-ARGS): Use
57880         $(host-built-program-cmd).
57881         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57882         (tst-spawn-ARGS): Likewise.
57883         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57885 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57886             Jim Blandy  <jimb@codesourcery.com>
57888         * Makeconfig (run-via-rtld-prefix): New variable.
57889         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57890         (built-program-cmd): Likewise.
57892 2012-10-22  Andreas Jaeger  <aj@suse.de>
57894         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57895         __O_RSYNC if it exists, otherwise to O_SYNC.
57897 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57898             Joseph Myers  <joseph@codesourcery.com>
57900         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57901         /dev/null.
57902         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57903         from /dev/null
57904         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57905         /dev/null.
57907 2012-10-22  Andreas Jaeger  <aj@suse.de>
57909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57910         Define always.
57911         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57913         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57914         bits/fcntl-linux.h.
57916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57917         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57920         to __O_LARGEFILE.
57921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57922         to __O_LARGEFILE.
57924 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57925             Joseph Myers  <joseph@codesourcery.com>
57927         * config.make.in (NM): New variable.
57929 2012-10-21  Andreas Jaeger  <aj@suse.de>
57931         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57932         definitions and declarations that are provided by
57933         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57935 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57937         [BZ #14683]
57938         * elf/Makefile (tests-static): Add tst-leaks1-static.
57939         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57940         ($(objpfx)tst-leaks1-static): New rule.
57941         ($(objpfx)tst-leaks1-static-mem): Likewise.
57942         (tst-leaks1-static-ENV): New macro.
57943         * elf/dl-open.c (dl_open_worker): Check the main application
57944         only if SHARED is defined.
57945         * elf/tst-leaks1-static.c: New file.
57947 2012-10-20  Andreas Jaeger  <aj@suse.de>
57949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57950         generic values for Linux.
57951         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57952         and declarations that are provided by <bits/fcntl-linux.h> and
57953         include <bits/fcntl-linux.h>.
57954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57957 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57959         * io/fcntl.h: Move include of <bits/types.h> to the top and
57960         include it unconditionally.
57962 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57964         * wcsmbs/Makefile (tests-ifunc): New variable.
57965         (tests): Add $(tests-ifunc).
57966         * wcsmbs/test-wcschr-ifunc.c: New file.
57967         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57968         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57969         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57970         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57971         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57973         * string/Makefile (tests-ifunc): New variable.
57974         (tests): Add $(tests-ifunc).
57975         * string/test-memccpy.c (TEST_NAME): New macro.
57976         * string/test-memchr.c (TEST_NAME): Likewise.
57977         * string/test-memcmp.c (TEST_NAME): Likewise.
57978         * string/test-memcpy.c (TEST_NAME): Likewise.
57979         * string/test-memmem.c (TEST_NAME): Likewise.
57980         * string/test-memmove.c (TEST_NAME): Likewise.
57981         * string/test-memset.c (TEST_NAME): Likewise.
57982         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57983         * string/test-stpcpy.c (TEST_NAME): Likewise.
57984         * string/test-stpncpy.c (TEST_NAME): Likewise.
57985         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57986         * string/test-strcasestr.c (TEST_NAME): Likewise.
57987         * string/test-strcat.c (TEST_NAME): Likewise.
57988         * string/test-strchr.c (TEST_NAME): Likewise.
57989         * string/test-strcmp.c(TEST_NAME): Likewise.
57990         * string/test-strcpy.c (TEST_NAME): Likewise.
57991         * string/test-strcspn.c (TEST_NAME): Likewise.
57992         * string/test-strlen.c (TEST_NAME): Likewise.
57993         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57994         * string/test-strncmp.c (TEST_NAME): Likewise.
57995         * string/test-strncpy.c (TEST_NAME): Likewise.
57996         * string/test-strnlen.c (TEST_NAME): Likewise.
57997         * string/test-strpbrk.c (TEST_NAME): Likewise.
57998         * string/test-strrchr.c (TEST_NAME): Likewise.
57999         * string/test-strspn.c (TEST_NAME): Likewise.
58000         * string/test-strstr.c (TEST_NAME): Likewise.
58001         * string/test-bcopy-ifunc.c: New file.
58002         * string/test-bzero-ifunc.c: Likewise.
58003         * string/test-memccpy-ifunc.c: Likewise.
58004         * string/test-memchr-ifunc.c: Likewise.
58005         * string/test-memcmp-ifunc.c: Likewise.
58006         * string/test-memcpy-ifunc.c: Likewise.
58007         * string/test-memmem-ifunc.c: Likewise.
58008         * string/test-memmove-ifunc.c: Likewise.
58009         * string/test-mempcpy-ifunc.c: Likewise.
58010         * string/test-memset-ifunc.c: Likewise.
58011         * string/test-rawmemchr-ifunc.c: Likewise.
58012         * string/test-stpcpy-ifunc.c: Likewise.
58013         * string/test-stpncpy-ifunc.c: Likewise.
58014         * string/test-strcasecmp-ifunc.c: Likewise.
58015         * string/test-strcasestr-ifunc.c: Likewise.
58016         * string/test-strcat-ifunc.c: Likewise.
58017         * string/test-strchr-ifunc.c: Likewise.
58018         * string/test-strchrnul-ifunc.c: Likewise.
58019         * string/test-strcmp-ifunc.c: Likewise.
58020         * string/test-strcpy-ifunc.c: Likewise.
58021         * string/test-strcspn-ifunc.c: Likewise.
58022         * string/test-strlen-ifunc.c: Likewise.
58023         * string/test-strncasecmp-ifunc.c: Likewise.
58024         * string/test-strncat-ifunc.c: Likewise.
58025         * string/test-strncmp-ifunc.c: Likewise.
58026         * string/test-strncpy-ifunc.c: Likewise.
58027         * string/test-strnlen-ifunc.c: Likewise.
58028         * string/test-strpbrk-ifunc.c: Likewise.
58029         * string/test-strrchr-ifunc.c: Likewise.
58030         * string/test-strspn-ifunc.c: Likewise.
58031         * string/test-strstr-ifunc.c: Likewise.
58033         * debug/Makefile (tests-ifunc): New variable.
58034         (tests): Add $(tests-ifunc).
58035         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58036         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58037         * debug/test-stpcpy_chk-ifunc.c: New file.
58038         * debug/test-strcpy_chk-ifunc.c: Likewise.
58040 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58042         [BZ #13601]
58043         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58044         header is not read in.
58046 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58048         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58049         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58050         directly.  Pass built executable to script as
58051         $(built-program-cmd).
58052         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58053         $testprogram without using LD_LIBRARY_PATH and $ldso.
58055         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58056         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58057         $(rtld-installed-name).
58058         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58059         (rtld_installed_name): Likewise.
58060         (library_path): Likewise.
58061         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58062         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58063         $(run-program-prefix) to tst-tables.sh.
58064         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58065         it to run tst-table-from and tst-table-to.
58066         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58067         Pass it to tst-table.sh.
58068         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58069         $(run-program-prefix) to tst-gettext.sh.
58070         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58071         tst-translit.sh.
58072         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58073         tst-gettext2.sh.
58074         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58075         to run tst-gettext.
58076         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58077         to run tst-gettext2.
58078         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58079         to run tst-translit.
58080         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58081         $(run-program-prefix) to tst-mtrace.sh.
58082         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58083         to run tst-mtrace.
58084         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58085         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58086         $(rtld-installed-name).
58087         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58088         (rtld_installed_name): Likewise.
58089         (run_program_prefix): New variable.  Use it to run wordexp-test.
58091         * Makeconfig (ARCH): Remove all definitions.
58092         (machine): Likewise.
58093         [ARCH]: Remove conditional code.
58094         [!objdir]: Give error.
58095         [!objdir] (objpfx): Remove.
58096         [!objdir] (common-objpfx): Likewise.
58097         [!objdir] (common-objdir): Likewise.
58098         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58099         AC_CONFIG_FILES call.
58100         * configure: Regenerated.
58102         [BZ #13888]
58103         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58104         or TMPDIR.
58105         (testout): Likewise.
58107         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58108         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58109         $(rtld-installed-name).
58110         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58111         (rtld_installed_name): Likwise.
58112         (runit): Remove function.
58113         (run_getconf): New variable,  Use it for running getconf binary.
58115 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58117         [BZ #14716]
58118         * string/test-memmem.c (check_result): New function.
58119         (do_one_test): Use it.
58120         (check1): New function.
58121         (test_main): Use it.
58123 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58125         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58127 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58129         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58130         (_G_LSEEK64): Likewise.
58131         (_G_MMAP64): Likewise.
58132         (_G_FSTAT64): Likewise.
58133         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58134         (_G_LSEEK64): Likewise.
58135         (_G_MMAP64): Likewise.
58136         (_G_FSTAT64): Likewise.
58137         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58138         unconditional.  Call __mmap64 directly.
58139         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58140         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58141         __lseek64 directly.
58142         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58143         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58144         __mmap64 directly.
58145         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58146         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58147         __lseek64 directly.
58148         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58149         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58150         __lseek64 directly.
58151         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58152         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58153         __lseek64 directly.
58154         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58155         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58156         __fxstat64 directly.
58157         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58158         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58159         unconditional.
58160         (freopen64) [!_G_OPEN64]: Remove conditional code.
58161         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58162         unconditional.
58163         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58164         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58165         unconditional.
58166         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58167         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58168         unconditional.
58169         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58170         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58171         unconditional.
58172         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58173         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58174         unconditional.
58175         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58176         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58177         unconditional.
58178         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58179         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58180         unconditional.
58181         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58183 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58185         [BZ #12140]
58186         * manual/memory.texi (Malloc Tunable Parameters): Add note
58187         about free list pointers overwriting some perturb bytes.
58188         Wording suggested by Roland McGrath.
58190 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58192         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58193         (lgamma_test): Likewise.
58194         (tgamma_test): Likewise.
58196 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58198         [BZ #14700]
58199         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58200         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58202 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58204         * NEWS: Mention BZ #14716.
58205         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58206         when removing AVAILABLE1_USES_J macro.
58208 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58210         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58211         (__bswap_64): __uint64_t for unsigned 64-bit int.
58213 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58215         * include/string.h (memmem): Declare libc hidden alias.
58216         * string/memmem.c (memmem): Define libc hidden alias.
58217         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58218         __read, __close instead of open, read, close.
58220 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58223         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58224         global and hidden.
58225         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58226         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58227         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58228         Likewise.
58229         (__rawmemchr_sse2): Likewise.
58230         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58231         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58232         (__strchr_sse2): Likewise.
58233         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58234         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58235         (__strcasecmp_sse2): Likewise.
58236         (__strncasecmp_sse2): Likewise.
58237         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58238         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58239         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58240         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58241         (__strrchr_sse2): Likewise.
58242         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58243         ifunc-impl-list.c.
58244         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58245         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58246         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58247         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58248         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58249         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58250         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58251         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58252         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58253         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58254         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58255         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58256         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58257         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58258         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58259         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58260         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58261         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58262         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58263         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58264         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58265         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58266         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58267         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58268         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58269         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58270         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58271         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58272         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58273         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58275         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58276         global and hidden.
58277         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58278         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58279         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58280         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58281         Likewise.
58282         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58283         Likewise.
58284         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58285         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58286         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58287         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58288         ifunc-impl-list.c.
58289         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58290         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58291         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58292         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58293         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58294         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58295         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58296         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58297         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58298         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58299         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58300         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58301         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58302         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58303         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58304         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58305         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58306         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58307         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58308         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58309         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58310         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58311         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58312         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58313         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58314         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58315         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58316         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58317         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58318         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58319         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58320         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58321         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58322         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58323         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58324         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58325         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58326         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58327         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58328         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58329         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58331         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58332         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58333         * include/ifunc-impl-list.h: New file.
58334         * misc/ifunc-impl-list.c: Likewise.
58335         * misc/Makefile (routines): Add ifunc-impl-list.
58336         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58337         * string/test-string.h: Include <ifunc-impl-list.h>.
58338         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58339         TEST_NAME]: New variables.
58340         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58341         are defined.
58342         (test_init): Call __libc_ifunc_impl_list to initialize
58343         func_list if TEST_IFUNC and TEST_NAME are defined.
58345         * string/Makefile (strop-tests): Add bcopy and bzero.
58346         * string/test-bcopy.c: New file.
58347         * string/test-bzero.c: Likewise.
58348         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58349         defined.
58350         * string/test-memset.c: Support bzero test if TEST_BZERO is
58351         defined.
58352         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58353         __libc_memmove.
58354         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58355         __libc_memset.
58356         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58357         of memset.
58359 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58361         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58362         * configure: Regenerated.
58364         * Makeconfig (+link-static-before-libc): Don't include
58365         $(link-static-libc).
58367         * libio/libio.h (_IO_pos_t): Remove.
58369 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58371         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58372         McGrath.
58374 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58376         * crypt/crypt-entry.c: Include fips-private.h.
58377         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58378         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58379         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58380         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58382 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58384         * crypt/crypt-private.h: Include stdbool.h.
58385         (_ufc_setup_salt_r): Return bool.
58386         * crypt/crypt-entry.c: Include errno.h.
58387         (__crypt_r): Return NULL with EINVAL for bad salt.
58388         * crypt/crypt_util.c (bad_for_salt): New.
58389         (_ufc_setup_salt_r): Check that salt is long enough and within
58390         the specified alphabet.
58391         * crypt/badsalttest.c: New file.
58392         * crypt/Makefile (tests): Add it.
58393         ($(objpfx)badsalttest): New.
58395 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58397         * NEWS: Add entry for BZ #14602.
58399 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58401         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58402         type-generic.
58403         * math/libm-test.inc: Update comment listing what functions and
58404         macros are tested.
58405         (isgreater_test): New function.
58406         (isgreaterequal_test): Likewise.
58407         (isless_test): Likewise.
58408         (islessequal_test): Likewise.
58409         (islessgreater_test): Likewise.
58410         (isunordered_test): Likewise.
58411         (main): Call the new functions.
58413 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58415         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58416         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58417         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58418         * sysdeps/i386/configure: Regenerated.
58419         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58420         * sysdeps/mach/configure: Regenerated.
58421         * sysdeps/mach/hurd/configure: Regenerated.
58422         * sysdeps/powerpc/configure: Regenerated.
58423         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58424         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58425         * sysdeps/s390/s390-32/configure: Regenerated.
58426         * sysdeps/s390/s390-64/configure: Regenerated.
58427         * sysdeps/sh/configure: Regenerated.
58428         * sysdeps/sparc/configure: Regenerated.
58429         * sysdeps/unix/sysv/linux/configure: Regenerated.
58430         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58431         * sysdeps/x86_64/configure: Regenerated.
58433         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58434         defined.  Don't check if MAP is NULL.
58436 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58438         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58439         (_G_stat64): Likewise.
58440         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58441         (_G_stat64): Likewise.
58442         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58443         instead of struct _G_stat64.
58444         * libio/fileops.c (mmap_remap_check): Likewise.
58445         (decide_maybe_mmap): Likewise.
58446         (_IO_new_file_seekoff): Likewise.
58447         (_IO_file_stat): Likewise.
58448         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58449         _G_off64_t.
58450         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58451         instead of struct _G_stat64.
58452         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58454 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58456         [BZ #14602]
58457         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58458         Replace with ...
58459         (CHECK_EOL): New macro.
58460         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58461         CHECK_EOL.
58462         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58463         Replace with CHECK_EOL.
58464         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58465         Replace with CHECK_EOL.
58467 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58469         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58470         type-generic.
58471         * math/libm-test.inc: Update comment listing what functions and
58472         macros are tested.
58473         (finite_test): New function.
58474         (isinf_test): Likewise.
58475         (isnan_test): Likewise.
58476         (fpclassify_test): Test subnormal input.
58477         (isfinite_test): Likewise.
58478         (isnormal_test): Likewise.
58479         (main): Call the new functions.
58481 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58483         [BZ #14660]
58484         * Makerules (%.dynsym): Force C locale when running
58485         $(OBJDUMP) --dynamic-syms.
58487 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58489         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58490         <stdint.h>.
58492 2012-10-06  David S. Miller  <davem@davemloft.net>
58494         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58495         upper 32-bits of the length value in %o2 since we use branch-on-register
58496         tests which consider the entire 64-bit register.
58498 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58500         * string/test-strstr.c (check2): Add a test for page boundary.
58502 2012-10-05  David S. Miller  <davem@davemloft.net>
58504         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58505         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58506         file.
58507         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58508         sysdep_routines.
58509         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58510         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58511         and bzero when HWCAP_SPARC_CRYPTO is present.
58513 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58515         [BZ #14602]
58516         * string/test-strstr.c (check2): New function.
58517         (test_main): Call check2.
58519         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58520         and bug-strchr1.
58521         * string/bug-strcasestr1.c (do_test): Moved to ...
58522         * string/test-strcasestr.c (check1): Here.  New function.
58523         (do_one_test): Break out result checking code into ...
58524         (check_result): This.  New function.
58525         (do_one_test): Call check_result.
58526         (test_main): Call check1.
58527         * string/bug-strchr1.c (do_test): Moved to ...
58528         * string/test-strchr.c (check1): Here.  New function.
58529         (do_one_test): Break out result checking code into ...
58530         (check_result): This.  New function.
58531         (do_one_test): Call check_result.
58532         (test_main): Call check1.
58533         * string/bug-strstr1.c (main): Moved to ...
58534         * string/test-strstr.c (check1): Here.  New function.
58535         (do_one_test): Break out result checking code into ...
58536         (check_result): This.  New function.
58537         (do_one_test): Call check_result.
58538         (test_main): Call check1.
58539         * string/bug-strcasestr1.c: Removed.
58540         * string/bug-strchr1.c: Likewise.
58541         * string/bug-strstr1.c: Likewise.
58543         * elf/Makefile (dl-routines): Add hwcaps.
58544         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58545         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58546         (_dl_important_hwcaps): Moved to ...
58547         * elf/dl-hwcaps.c: Here.  New file.
58548         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58550         [BZ #14557]
58551         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58552         if IS_IN_rtld isn't defined.
58554         * elf/dl-support.c (_dl_sysinfo_map): New.
58555         Include "get-dynamic-info.h" and "setup-vdso.h".
58556         (_dl_non_dynamic_init): Call setup_vdso.
58557         * elf/dynamic-link.h: Don't include <assert.h>.
58558         (elf_get_dynamic_info): Moved to ...
58559         * elf/get-dynamic-info.h: Here.  New file.
58560         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58561         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58562         * elf/setup-vdso.h: Here.  New file.
58563         * elf/rtld.c: Include "setup-vdso.h".
58564         (dl_main): Call setup_vdso.
58566 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58568         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58569         creal in comment listing functions tested.  List finite, isinf,
58570         isnan, isless, islessequal, isgreater, isgreaterequal,
58571         islessgreater, isunordered, lgamma_r and pow10 as functions and
58572         macros not tested.  Mention which functions not tested are aliases
58573         for other functions.  Fix typo.  Note that signs of NaNs are not
58574         tested.
58576         * scripts/config.guess: Update from config.git.
58577         * scripts/config.sub: Likewise.
58579 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58581         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58582         * misc/madvise.c (madvise): Renamed to __madvise.
58583         Make madvise a weak alias.
58584         * include/sys/mman.h: Declare __madvise.
58585         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58586         * sysdeps/unix/syscalls.list
58587         (madvise): Make __madvise the strong name, and madvise a weak alias.
58588         * sysdeps/unix/sysv/linux/syscalls.list
58589         (madvise, mmap): Remove redundant entries.
58590         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58591         * malloc/malloc.c (mtrim): Likewise.
58592         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58594 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58596         * sysdeps/mach/hurd/dl-cache.c: File removed.
58597         * config.h.in (USE_LDCONFIG): New #undef.
58598         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58599         * configure: Regenerated.
58600         * elf/Makefile (dl-routines): Add dl-cache only under
58601         [$(use-ldconfig) = yes].
58602         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58603         cache on [USE_LDCONFIG].
58604         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58605         [USE_LDCONFIG].
58606         * elf/rtld.c (dl_main): Likewise.
58608 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58610         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58611         _SC_LEVEL4_CACHE_LINESIZE.
58613 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58615         * sysdeps/unix/bsd/confstr.h: File removed.
58617 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58619         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58620         sys/sdt-config.h.
58622 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58624         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58625         Make 'mapoff' field ElfW(Off) rather than off_t.
58627 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58629         * nscd/Makefile: Remove nscd-cflags and all its users.
58630         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58631         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58633         [BZ #10631]
58634         * malloc.c (malloc_printerr): Clarify error message.
58636 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58638         [BZ #14648]
58639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58640         Set bit_FMA_Usable if FMA is supported.
58641         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58642         macro.
58643         (bit_FMA4_Usable): Updated.
58644         (index_FMA_Usable): New macro.
58645         (CPUID_FMA): Likewise.
58646         (HAS_FMA): Defined with bit_FMA_Usable.
58648 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58650         * bits/types.h (__swblk_t): Type removed.
58651         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58652         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58654         (__SWBLK_T_TYPE): Likewise.
58655         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58656         (__SWBLK_T_TYPE): Likewise.
58657         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58658         (__SWBLK_T_TYPE): Likewise.
58659         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58660         (__SWBLK_T_TYPE): Likewise.
58662 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58663             Honza Horak <hhorak@redhat.com>
58665         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58666         (xdr_mapname): Use YPMAXMAP as maxsize.
58667         (xdr_peername): Use YPMAXPEER as maxsize.
58668         (xdr_keydat): Use YPAXRECORD as maxsize.
58669         (xdr_valdat): Use YPMAXRECORD as maxsize.
58671 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58673         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58675         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58676         * csu/init-first.c: ... here.
58677         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58678         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58679         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58681         * sysdeps/i386/init-first.c: File removed.
58682         * sysdeps/sh/init-first.c: File removed.
58684 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58686         [BZ #14645]
58687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58688         if x * y might underflow to zero and z is zero.
58689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58691         * math/libm-test.inc (min_subnorm_value): New variable.
58692         (fma_test): Add more tests.
58693         (fma_test_towardzero): Likewise.
58694         (fma_test_downward): Likewise.
58695         (fma_test_upward): Likewise.
58696         (initialize): Set min_subnorm_value.
58698 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58700         [BZ #14638]
58701         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58702         0 + 0.
58703         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58704         mode for addition resulting in exact zero.
58705         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58707         exact 0 + 0.
58708         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58710         * math/libm-test.inc (fma_test): Add more tests.
58711         (fma_test_towardzero): New function.
58712         (fma_test_downward): Likewise.
58713         (fma_test_upward): Likewise.
58714         (main): Call the new functions.
58716 2012-09-28  David S. Miller  <davem@davemloft.net>
58718         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58720 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58722         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58723         instead of SIGALRM.
58725         * sysdeps/gnu/_G_config.h: Moved to ...
58726         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58727         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58728         * sysdeps/generic/_G_config.h: ... here.
58730         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58732         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58734         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58735         Conditionalize target on [libnss_test1.so-version].
58737         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58739         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58740         (elfobjdir): Move out of conditionals.
58742         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58743         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58744         (__nss_lookup_function): Conditionalize label remove_from_tree on
58745         [!DO_STATIC_NSS || SHARED], matching its only use.
58747 2012-09-28  David S. Miller  <davem@davemloft.net>
58749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58750         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58751         file.
58752         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58753         sysdep_routines.
58754         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58755         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58756         when HWCAP_SPARC_CRYPTO is present.
58758 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58760         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58762 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58764         [BZ #6530]
58765         * stdio-common/vfprintf.c (process_string_arg): Revert
58766         2000-07-22 change.
58768 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58770         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58771         for testcase.
58772         * stdio-common/tst-sprintf.c: Include <locale.h>
58773         (main): Test sprintf's handling of incomplete multibyte
58774         characters.
58776 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58778         * elf/dl-runtime.c (VERSYMIDX): Removed.
58779         * elf/dl-version.c (VERSYMIDX): Likewise.
58780         * elf/do-rel.h (VERSYMIDX): Likewise.
58781         (VALIDX): Likewise.
58782         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58783         * elf/rtld.c (VALIDX): Likewise.
58784         (ADDRIDX): Likewise.
58785         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58786         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58787         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58788         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58789         (VALIDX): Likewise.
58790         (ADDRIDX): Likewise.
58792 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58794         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58796 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58798         [BZ #11438]
58799         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58800         to global scope.
58801         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58802         addresses are in the same scope as 192.0.2/24.
58803         * posix/gai.conf: Document new scope table defaults.
58805 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58807         [BZ #5298]
58808         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58809         for ftell.  Compute offsets from write pointers instead.
58810         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58812 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58814         [BZ #14543]
58815         * libio/Makefile (tests): New test case tst-fseek.
58816         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58817         combination works in wide mode.
58818         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58819         state when the external buffer state changes.
58821 2012-09-27  David S. Miller  <davem@davemloft.net>
58823         [BZ #14376]
58824         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58825         pass reloc->r_addend in as the 'high' argument to
58826         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58830 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58832         * rt/tst-aio2.c: Include <pthread.h>.
58833         * rt/tst-aio3.c: Likewise.
58835 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58837         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58839 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58841         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58842         contents on [SHARED].
58844 2012-09-26  Marek Polacek  <polacek@redhat.com>
58846         [BZ #14530]
58847         [BZ #13741]
58848         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58849         for C++ and GCC <4.3 as well as for non GCC compilers.
58851 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58855 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58857         * Makefile.in (all, install): Declare with .PHONY.
58858         Reported by Michael Hope <michael.hope@linaro.org>.
58860 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58862         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58863         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58864         system header.
58865         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58866         Likewise.
58867         (sydep_routines): Add the new and the internal functions.
58868         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58869         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58871         (GLIBC_2.17): Add the new function.
58872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58873         (GLIBC_2.17): Likewise.
58874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58875         (GLIBC_2.17): Likewise.
58876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58877         (GLIBC_2.17): Likewise.
58878         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58880 2012-09-25  Alan Modra  <amodra@gmail.com>
58882         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58883         Add release barrier before setting once_control to say
58884         initialisation is done.  Add hints on lwarx.  Use macro in
58885         place of isync.
58886         (clear_once_control): Add release barrier.
58888 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58890         [BZ #13629]
58891         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58892         specially.
58893         * math/s_clog10.c (__clog10): Likewise.
58894         * math/s_clog10f.c (__clog10f): Likewise.
58895         * math/s_clog10l.c (__clog10l): Likewise.
58896         * math/s_clogf.c (__clogf): Likewise.
58897         * math/s_clogl.c (__clogl): Likewise.
58898         * math/Makefile (libm-calls): Add x2y2m1.
58899         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58900         (__x2y2m1): Likewise.
58901         (__x2y2m1l): Likewise.
58902         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58903         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58904         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58905         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58906         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58907         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58908         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58909         * sysdeps/i386/fpu/libm-test-ulps: Update.
58910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58912         [BZ #14621]
58913         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58914         int as type of variable DEPTH.
58915         (glob): Use size_t instead of int as type of variables NEWCOUNT
58916         and OLD_PATHC.
58918 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58920         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58921         Add s_sincosf-sse2.
58922         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58923         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58924         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58925         macros for using routine as __sincosf_ia32.
58926         Use macro for function declaration and weak_alias.
58927         * sysdeps/i386/fpu/libm-test-ulps: Update.
58929         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58932         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58933         subnormal argument.
58934         * math/s_cexpf.c (__cexpf): Likewise.
58935         * math/s_csinf.c (__csinf): Likewise.
58936         * math/s_csinhf.c (__csinhf): Likewise.
58937         * math/s_ctanf.c (__ctanf): Likewise.
58938         * math/s_ctanhf.c (__ctanhf): Likewise.
58939         * math/s_ccosh.c (__ccoshf): Likewise.
58940         * math/s_cexp.c (__cexpl): Likewise.
58941         * math/s_csin.c (__csin): Likewise.
58942         * math/s_csinh.c (__csinh): Likewise.
58943         * math/s_ctan.c (__ctan): Likewise.
58944         * math/s_ctanh.c (ctanh): Likewise.
58945         * math/s_ccoshl.c (__ccoshl): Likewise.
58946         * math/s_cexpl.c (__cexpl): Likewise.
58947         * math/s_csinl.c (__csinl): Likewise.
58948         * math/s_csinhl.c (__csinhl): Likewise.
58949         * math/s_ctanl.c (__ctanl): Likewise.
58950         * math/s_ctanhl.c (__ctanhl): Likewise.
58952 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58954         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58955         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58956         (_IO_off_t): Define to __off_t, not _G_off_t.
58957         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58958         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58959         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58960         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58961         type of __dummy and __dummy2 fields.
58962         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58963         (_G_ssize_t): Likewise.
58964         (_G_off_t): Likewise.
58965         (_G_pid_t): Likewise.
58966         (_G_uid_t): Likewise.
58967         (_G_wchar_t): Likewise.
58968         (_G_wint_t): Likewise.
58969         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58970         (_G_ssize_t): Likewise.
58971         (_G_off_t): Likewise.
58972         (_G_pid_t): Likewise.
58973         (_G_uid_t): Likewise.
58974         (_G_wchar_t): Likewise.
58975         (_G_wint_t): Likewise.
58976         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58977         (_G_ssize_t): Likewise.
58978         (_G_off_t): Likewise.
58979         (_G_pid_t): Likewise.
58980         (_G_uid_t): Likewise.
58981         (_G_wchar_t): Likewise.
58982         (_G_wint_t): Likewise.
58984 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58986         * malloc/arena.c: Include malloc-sysdep.h.
58987         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58988         is sufficient to shrink the heap or an unmap is needed.
58989         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58990         new function check_may_shrink_heap.
58991         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58992         new function check_may_shrink_heap.
58994 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58996         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58997         comments.
58999 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59001         * catgets/test-gencat.sh: Add "set -e".
59002         * elf/tst-pathopt.sh: Likewise.
59003         * grp/tst_fgetgrent.sh: Likewise.
59004         * iconvdata/run-iconv-test.sh: Likewise.
59005         * intl/tst-gettext.sh: Likewise.
59006         * intl/tst-gettext2.sh: Likewise.
59007         * intl/tst-gettext4.sh: Likewise.
59008         * intl/tst-gettext6.sh: Likewise.
59009         * intl/tst-translit.sh: Likewise.
59010         * io/ftwtest-sh: Likewise.
59011         * libio/test-freopen.sh: Likewise.
59012         * malloc/tst-mtrace.sh: Likewise.
59013         * posix/globtest.sh: Likewise.
59014         * posix/tst-getconf.sh: Likewise.
59015         * posix/wordexp-tst.sh: Likewise.
59016         * stdio-common/tst-printf.sh: Likewise.
59017         * stdio-common/tst-unbputc.sh: Likewise.
59018         * stdlib/tst-fmtmsg.sh: Likewise.
59019         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59020         * catgets/Makefile: Do not specify -e option when running
59021         testsuite shell scripts.
59022         * elf/Makefile: Likewise.
59023         * grp/Makefile: Likewise.
59024         * iconvdata/Makefile: Likewise.
59025         * intl/Makefile: Likewise.
59026         * io/Makefile: Likewise.
59027         * libio/Makefile: Likewise.
59028         * malloc/Makefile: Likewise.
59029         * posix/Makefile: Likewise.
59030         * stdio-common/Makefile: Likewise.
59031         * stdlib/Makefile: Likewise.
59032         * sysdeps/x86_64/Makefile: Likewise.
59034         * io/ftwtest-sh: Add copyright header.
59035         * posix/globtest.sh: Likewise.
59036         * posix/tst-getconf.sh: Likewise.
59037         * posix/wordexp-tst.sh: Likewise.
59038         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59040 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59042         [BZ #13679]
59043         * Makeconfig (+link): Defined as $(+link-static) if
59044         $(build-shared) isn't yes.
59045         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59046         isn't yes.
59047         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59049         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59051         [BZ #14562]
59052         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59053         new chunk size with MALLOC_ALIGN_MASK.
59055 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59057         [BZ #5044]
59058         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59059         <rounding-mode.h>.
59060         (__printf_fphex): Determine rounding using get_rounding_mode and
59061         round_away.
59062         * stdio-common/tst-printf-round.c (struct hex_test): New
59063         structure.
59064         (hex_tests): New variable.
59065         (test_hex_in_one_mode): New function.
59066         (do_test): Also run tests for hex float output.
59068 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59070         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59071         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59072         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59073         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59074         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59075         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59076         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59077         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59079 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59081         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59082         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59083         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59084         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59086 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59088         [BZ #14579]
59089         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59090         mode only.
59091         * elf/tst-rtld-load-self.sh: New test.
59092         * elf/Makefile: Run it.
59094 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59096         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59097         (tst-writev-ENV): Remove.
59098         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59100 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59102         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59104 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59106         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59107         unconditional.
59108         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59109         Likewise.
59110         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59111         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59112         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59113         Likewise.
59115 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59117         [BZ #14587]
59118         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59119         * config.make.in (have-cpp-asm-debuginfo): Removed.
59120         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59121         * configure: Regenerated.
59123 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59125         [BZ #5044]
59126         * stdio-common/printf_fp.c: Include <stdbool.h> and
59127         <rounding-mode.h>.
59128         (___printf_fp): Determine rounding using get_rounding_mode and
59129         round_away.
59130         * stdio-common/tst-printf-round.c: New file.
59131         * stdio-common/Makefile (tests): Add tst-printf-round.
59132         (link-libm): New variable.
59133         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59135 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59137         [BZ #14576]
59138         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59139         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59140         Likewise.
59141         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59142         Likewise.
59144 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59146         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59147         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59148         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59149         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59151 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59153         [BZ #14518]
59154         * include/rounding-mode.h: New file.
59155         * sysdeps/generic/get-rounding-mode.h: Likewise.
59156         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59157         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59158         (MAX_VALUE): New macro.
59159         (MIN_VALUE): Likewise.
59160         (overflow_value): New function.
59161         (underflow_value): Likewise.
59162         (round_and_return): Use overflow_value and underflow_value to
59163         determine return values in overflow and underflow cases.  Use
59164         round_away to determine rounding depending on rounding mode.
59165         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59166         determine return values in overflow and underflow cases.
59167         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59168         (struct test_results): New structure.
59169         (struct test): Use struct test_results to store expected results
59170         for all rounding modes.
59171         (TEST): Include expected results for all rounding modes.
59172         (test_in_one_mode): New function.
59173         (do_test): Use test_in_one_mode to compute and check results.
59174         Check results for all rounding modes.
59175         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59176         $(link-libm).
59178 2012-12-09  Allan McRae  <allan@archlinux.org>
59180         * sysdeps/i386/fpu/libm-test-ulps: Update
59182 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59184         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59185         (_G_int32_t): Likewise.
59186         (_G_uint16_t): Likewise.
59187         (_G_uint32_t): Likewise.
59188         (_G_HAVE_BOOL): Likewise.
59189         (_G_HAVE_ATEXIT): Likewise.
59190         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59191         (_G_HAVE_IO_FILE_OPEN): Likewise.
59192         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59193         (_G_int32_t): Likewise.
59194         (_G_uint16_t): Likewise.
59195         (_G_uint32_t): Likewise.
59196         (_G_HAVE_BOOL): Likewise.
59197         (_G_HAVE_ATEXIT): Likewise.
59198         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59199         (_G_HAVE_IO_FILE_OPEN): Likewise.
59200         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59201         (_G_int32_t): Likewise.
59202         (_G_uint16_t): Likewise.
59203         (_G_uint32_t): Likewise.
59204         (_G_HAVE_BOOL): Likewise.
59205         (_G_HAVE_ATEXIT): Likewise.
59206         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59207         (_G_HAVE_IO_FILE_OPEN): Likewise.
59209 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59211         * csu/libc-tls.c: Update copyright years.
59213 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59215         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59216         [!_G_USING_THUNKS]: Remove conditional code.
59217         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59218         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59220         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59221         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59222         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59223         (_G_VTABLE_LABEL_PREFIX): Likewise.
59224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59225         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59226         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59227         (_G_VTABLE_LABEL_PREFIX): Likewise.
59228         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59229         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59230         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59231         (_G_VTABLE_LABEL_PREFIX): Likewise.
59232         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59234 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59236         * libio/Makefile: Include ../Makeconfig before tests.
59237         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59238         only if $(build-shared) is yes.
59240         * iconv/gconv_db.c: Update copyright years.
59242 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59244         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59245         unwind info if defined PIC. Fix special cases description.
59246         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59248         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59249         DP_HI_MASK entry.
59250         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59252 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59254         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59256         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59257         is NULL.
59259         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59260         (LDLIBS-tst-chk4): This.
59261         (LDFLAGS-tst-chk5): Renamed to ...
59262         (LDLIBS-tst-chk5): This.
59263         (LDFLAGS-tst-chk6): Renamed to ...
59264         (LDLIBS-tst-chk6): This.
59265         (LDFLAGS-tst-lfschk4): Renamed to ...
59266         (LDLIBS-tst-lfschk4): This.
59267         (LDFLAGS-tst-lfschk5): Renamed to ...
59268         (LDLIBS-tst-lfschk5): This.
59269         (LDFLAGS-tst-lfschk6): Renamed to ...
59270         (LDLIBS-tst-lfschk6): This.
59272         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59273         on $(common-objpfx)soversions.mk.
59275 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59277         [BZ #10014]
59278         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59279         example host name.
59281 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59283         * malloc/arena.c (arena_get_retry): New function that gets
59284         another arena for the caller to try its request on.
59285         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59286         current arena cannot fulfill the request.
59287         (__libc_memalign): Likewise.
59288         (__libc_memalign): Likewise.
59289         (__libc_pvalloc): Likewise.
59290         (__libc_calloc): Likewise.
59292 2012-09-05  John Tobey  <john.tobey@gmail.com>
59294         [BZ #13542]
59295         * manual/arith.texi (Operations on Complex): Fix description
59296         of carg branch cut.
59298 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59300         [BZ #10014]
59301         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59302         host name.
59304         [BZ #10038]
59305         * manual/memory.texi (Memory): Make order of menu items match
59306         order of sections.
59308 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59310         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59311         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59312         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59314 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59316         * csu/libc-tls.c (static_dtv): Renamed to ...
59317         (_dl_static_dtv): This.  Make it global.
59318         (_dl_initial_dtv): Removed.
59319         (__libc_setup_tls): Updated.
59320         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59321         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59322         DL_INITIAL_DTV.
59324 2012-09-06  Petr Machata  <pmachata@redhat.com>
59326         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59327         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59328         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59329         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59331 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59333         [BZ #14545]
59334         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59335         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59336         freeing dtv[-1].
59338 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59340         [BZ #14544]
59341         * Makeconfig (link-static-before-libc): Replace $(+prector)
59342         with $(+prectorT).
59343         (link-static-after-libc): Replace $(+postctor) with
59344         $(+postctorT).
59345         (link-bounded): Replace $(+prector)/$(+postctor) with
59346         $(+prectorT)/$(+postctorT).
59347         (+prectorT): New macro.
59348         (+postctorT): Likewise.
59350 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59352         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59353         (round_str): Handle values above the maximum for IBM long double
59354         as inexact.
59355         * stdlib/tst-strtod-round.c (tests): Regenerated.
59357 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59359         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59360         assembler flag.
59361         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59362         zarch_nohighgprs around the zarch optimized routines.
59363         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59364         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59365         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59366         for zarch.
59368 2012-09-05  David S. Miller  <davem@davemloft.net>
59370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59372         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59373         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59374         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59375         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59376         entries.
59378 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59380         * malloc/arena.c: Fold copyright years.
59381         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59385         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59389         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59391 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59393         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59394         change internal state upon failure.
59396 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59398         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59399         * malloc/memusage.c (mmap): Likewise.
59400         (mmap64, mremap): Likewise.  Adjust name in comment.
59402 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         * libio/fileops.c: Fix typos in comments.
59405         * libio/oldfileops.c: Likewise.
59406         * libio/wfileops.c: Likewise.
59408 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59410         [BZ #1349]
59411         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59412         (tst-malloc-usable-ENV): Set environment for test case.
59413         * malloc/hooks.c (malloc_check_get_size): New function to get
59414         requested size.
59415         * malloc/malloc.c (musable): Use malloc_check_get_size.
59416         * malloc/tst-malloc-usable.c: New test case.
59418 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59420         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59422 2012-09-05  Allan McRae  <allan@archlinux.org>
59424         [BZ #13966]
59425         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59426         determine header location.
59427         * configure: Regenerated.
59429 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59431         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59432         float format.
59433         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59434         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59435         format.
59436         (test): Regenerate.
59438 2012-09-04  David S. Miller  <davem@davemloft.net>
59440         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59441         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59442         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59444 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59446         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59447         failures.
59449         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59451 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59453         [BZ #9914]
59454         * libio/iogetdelim.c: Include <limits.h>.
59455         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59456         + len + 1 would overflow.
59458 2012-09-03  Andreas Jaeger  <aj@suse.de>
59460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59461         * sysdeps/i386/fpu/libm-test-ulps: Update.
59463 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59465         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59466         Add s_sinf-sse2, s_conf-sse2.
59468         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59469         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59470         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59471         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59473         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59474         for using routine as __sinf_ia32.
59475         Use macro for function declaration and weak_alias.
59476         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59477         for using routine as __cosf_ia32.
59478         Use macro for function declaration and weak_alias.
59480         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59481         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59483         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59484         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59487         * math/libm-test.inc (cos_test): Add more test cases.
59488         (sin_test): Likewise.
59489         (sincos_test): Likewise.
59491 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59494         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59495         hidden.
59496         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59498 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59500         [BZ #14538]
59501         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59502         first element of the GOT.
59503         (elf_machine_load_address): Return the difference between
59504         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59506 2012-09-01  Allan McRae  <allan@archlinux.org>
59508         [BZ #13412]
59509         * configure.in (AWK): Require gawk version 3.0 or later.
59510         * configure: Regenerated.
59512 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59514         * sysdeps/unix/sysv/linux/kernel-features.h
59515         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59517         [__NR_clock_getres]: Make code unconditional.
59518         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59519         (clock_getcpuclockid): Remove code left unreachable by removal of
59520         conditionals.
59521         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59522         code unconditional.
59523         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59524         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59525         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59526         Make code unconditional.
59527         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59528         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59529         * sysdeps/unix/sysv/linux/clock_settime.c
59530         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59531         conditional code.
59532         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59533         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59535 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59537         [BZ #14476]
59538         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59539         scripts/test-installation.pl.
59541         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59542         and $ld_so_version if it is set.
59544 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59546         [BZ #14516]
59547         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59548         failure if reading from procfs failed.
59549         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59551 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59553         * sysdeps/unix/sysv/linux/kernel-features.h
59554         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59555         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59556         Remove conditional code.
59557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59558         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59559         Remove conditional code.
59560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59561         * sysdeps/unix/sysv/linux/i386/fxstat.c
59562         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59564         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59565         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59567         * sysdeps/unix/sysv/linux/i386/lxstat.c
59568         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59570         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59571         Remove conditional code.
59572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59573         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59574         Remove conditional code.
59575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59576         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59577         <kernel-features.h>.
59578         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59579         Remove.
59580         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59581         Remove conditional code.
59582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59583         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59584         Remove conditional.
59586 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59588         [BZ #5400]
59589         * NEWS: Add fixed bug number.
59591 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59593         [BZ #14519]
59594         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59595         underflowing exponent in case of negative sign.
59596         * stdlib/tst-strtod-round-data: Add more tests.
59597         * stdlib/tst-strtod-round.c (tests): Regenerated.
59599         [BZ #3479]
59600         * stdlib/strtod_l.c (NDIG): Remove.
59601         (HEXNDIG): Likewise.
59602         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59603         smallest representable value.
59604         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59605         lie within an exact representation of 1/2 ulp of the result.
59606         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59607         unconditionally.
59608         (TENS_P9_IDX): Define unconditionally.
59609         (TENS_P9_SIZE): Likewise.
59610         (TENS_P10_IDX): Likewise.
59611         (TENS_P10_SIZE): Likewise.
59612         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59613         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59614         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59615         entries for 10^2^13 and 10^2^14.
59616         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59617         (TENS_P13_IDX): Define.
59618         (TENS_P13_SIZE): Likewise.
59619         (TENS_P14_IDX): Likewise.
59620         (TENS_P14_SIZE): Likewise.
59621         (_fpioconst_pow10): Change array size to
59622         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59623         unconditional.
59624         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59625         1024]: Add entries for 10^2^13 and 10^2^14.
59626         [LAST_POW10 > _LAST_POW10]: Remove #error.
59627         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59628         (_fpioconst_pow10): Change array size to
59629         FPIOCONST_POW10_ARRAY_SIZE.
59630         * stdlib/gen-fpioconst.c: New file.
59631         * stdlib/gen-tst-strtod-round.c: Likewise.
59632         * stdlib/tst-strtod-round-data: Likewise.
59633         * stdlib/tst-strtod-round.c: Likewise.
59634         * stdlib/Makefile (tests): Add tst-strtod-round.
59636         [BZ #14459]
59637         * stdlib/strtod_l.c: Include <stdint.h>.
59638         (NDEBUG): Do not define.
59639         (round_and_return): Change EXPONENT parameter to type intmax_t.
59640         Rearrange calculations to avoid internal overflow possibilities.
59641         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59642         Rearrange calculations to avoid internal overflow possibilities.
59643         Assert that number fits inside MPNSIZE limbs.
59644         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59645         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59646         calculations and add assertions to avoid internal overflow
59647         possibilities.  Add casts to avoid signed/unsigned operations.
59648         * stdlib/tst-strtod-overflow.c: New file.
59649         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59651 2012-08-25  Marek Polacek  <polacek@redhat.com>
59653         * time/time.h: Fix some typos in comments.
59655 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59657         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59658         * posix/tst-rfc3484-2.c: Likewise.
59659         * posix/tst-rfc3484-3.c: Likewise.
59661 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59663         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59664         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59666 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59668         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59669         #include of fxstatat64.c.
59671 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59673         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59674         * shadow/getspent_r.c: Likewise.
59675         * shadow/getspnam.c: Likewise.
59676         * shadow/getspnam_r.c: Likewise.
59677         * gshadow/getsgent.c: Likewise.
59678         * gshadow/getsgent_r.c: Likewise.
59679         * gshadow/getsgnam.c: Likewise.
59680         * gshadow/getsgnam_r.c: Likewise.
59681         * inet/getnetbyad.c: Likewise.
59682         * inet/getnetbyad_r.c: Likewise.
59683         * inet/getnetbynm.c: Likewise.
59684         * inet/getnetbynm_r.c: Likewise.
59685         * inet/getnetent.c: Likewise.
59686         * inet/getnetent_r.c: Likewise.
59687         * inet/getproto.c: Likewise.
59688         * inet/getproto_r.c: Likewise.
59689         * inet/getprtent.c: Likewise.
59690         * inet/getprtent_r.c: Likewise.
59691         * inet/getprtname.c: Likewise.
59692         * inet/getprtname_r.c: Likewise.
59693         * inet/getrpcbyname.c: Likewise.
59694         * inet/getrpcbyname_r.c: Likewise.
59695         * inet/getrpcbynumber.c: Likewise.
59696         * inet/getrpcbynumber_r.c: Likewise.
59697         * inet/getrpcent.c: Likewise.
59698         * inet/getrpcent_r.c: Likewise.
59699         * inet/getaliasent.c: Likewise.
59700         * inet/getaliasent_r.c: Likewise.
59701         * inet/getaliasname.c: Likewise.
59702         * inet/getaliasname_r.c: Likewise.
59703         * nscd/getgrgid_r.c: Likewise.
59704         * nscd/getgrnam_r.c: Likewise.
59705         * nscd/gethstbyad_r.c: Likewise.
59706         * nscd/gethstbynm3_r.c: Likewise.
59707         * nscd/getpwnam_r.c: Likewise.
59708         * nscd/getpwuid_r.c: Likewise.
59709         * nscd/getsrvbynm_r.c: Likewise.
59710         * nscd/getsrvbypt_r.c: Likewise.
59711         * nscd/gai.c: Likewise.
59713         * configure.in (build_nscd): New substituted variable, set
59714         by --disable-build-nscd and defaults to $use_nscd.
59715         * configure: Regenerated.
59716         * config.make.in (build-nscd): New substituted variable.
59717         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59718         Change conditional to require [$(build-nscd) = yes] as well.
59719         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59721         [BZ# 13696]
59722         * configure.in (use_nscd): New substituted variable, set by
59723         --disable-nscd.  If enabled, define USE_NSCD.
59724         * configure: Regenerated.
59725         * config.h.in: Add USE_NSCD.
59726         * config.make.in (use-nscd): New substituted variable.
59727         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59728         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59729         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59730         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59731         (CFLAGS-getgrnam_r.c): Likewise.
59732         (CFLAGS-initgroups.c): Likewise.
59733         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59734         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59735         Variables removed.
59736         * inet/getnetgrent_r.c
59737         (nscd_setnetgrent): New function, broken out of ...
59738         (setnetgrent): ... here.  Call it.
59739         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59740         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59741         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59742         * nscd/Makefile (routines, aux): Move definitions after include of
59743         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59744         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59745         Conditionalize on [USE_NSCD].
59746         (is_nscd, nscd_init_cb): Likewise.
59747         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59748         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59749         * nss/nss_db/db-init.c: Likewise.
59750         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59751         [USE_NSCD].
59752         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59753         (make_request): Use it.
59754         (cache_valid_p): New function.
59755         (__check_pf): Use it.
59756         * NEWS: Add item for --disable-nscd.
59758 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59760         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59761         to support sed >= 4.2.1-20-ga9bf076.
59762         * configure: Regenerated.
59764 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59766         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59767         Conditionalize whole body on [IREL].
59769 2012-08-22  Jeff Law <law@redhat.com>
59771         [BZ #14505]
59772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59773         if the family is PF_UNSPEC.
59775 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59777         * Makerules (lib-version): Rename from V.
59778         (install-lib-nosubdir): Change V to lib-version.
59780 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59782         [BZ #14252]
59783         * powerpc32/power6/wcschr.c: New file.
59784         * powerpc32/power6/wcscpy.c: New file.
59785         * powerpc32/power6/wcsrchr.c: New file.
59786         * powerpc64/power6/wcschr.c: New file.
59787         * powerpc64/power6/wcscpy.c: New file.
59788         * powerpc64/power6/wcsrchr.c: New file.
59790 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59792         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59793         (two_way_short_needle): Use it.
59794         * string/strstr.c (AVAILABLE1_USES_J): Define.
59795         * string/strcasestr.c: Likewise.
59797         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59798         array references.
59799         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59801         [BZ #11607]
59802         * NEWS: Add an entry.
59803         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59804         define their defaults.
59805         (two_way_short_needle): Detect end-of-string on-the-fly.
59806         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59807         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59808         * string/bug-strcasestr1.c: New test.
59809         * string/Makefile: Run it.
59811 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59813         [BZ #11607]
59814         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59815         the first character.
59817 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59819         * csu/elf-init.c (__libc_csu_irel): Function removed.
59820         * csu/libc-start.c (apply_irel): New function.
59821         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59823 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59825         * sysdeps/unix/sysv/linux/kernel-features.h
59826         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59827         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59828         <kernel-features.h>.
59829         [__NR_fadvise64_64]: Make code unconditional.
59830         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59831         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59832         !__NR_fadvise64_64)]: Likewise.
59833         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59834         !__NR_fadvise64_64))]: Likewise.
59835         [__NR_fadvise64]: Make code unconditional.
59836         [!__NR_fadvise64]: Remove conditional code.
59837         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59838         <kernel-features.h>.
59839         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59840         unconditional.
59841         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59842         conditional code.
59843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59844         not include <kernel-features.h>.
59845         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59846         unconditional.
59847         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59848         conditional code.
59849         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59850         include <kernel-features.h>.
59851         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59852         unconditional.
59853         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59854         conditional code.
59856 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59858         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59859         slight instruction rearrangements per scrollpipe analysis.
59860         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59862 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59864         * manual/syslog.texi (syslog; vsyslog, closelog):
59865         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59866         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59868         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59869         DSOCAPS to match condition on defining it.
59871 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59873         * sysdeps/unix/sysv/linux/kernel-features.h
59874         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59876         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59877         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59879         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59880         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59882         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59883         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59885         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59886         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59888         * sysdeps/unix/sysv/linux/kernel-features.h
59889         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59890         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59891         unconditional.
59892         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59893         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59894         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59895         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59896         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59897         Make code unconditional.
59898         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59899         (__mmap64) [!__NR_mmap2]: Likewise.
59900         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59901         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59902         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59904         [__NR_mmap2]: Make code unconditional.
59905         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59906         (__mmap64) [!__NR_mmap2]: Likewise.
59908 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59910         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59912 2012-08-18  Andreas Jaeger  <aj@suse.de>
59914         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59916 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59918         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59919         * include/unistd.h (__have_sock_cloexec): Likewise.
59920         (__have_pipe2): Likewise.
59921         (__have_dup3): Likewise.
59923 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59925         [BZ #9685]
59926         * include/unistd.h (__have_pipe2): Change define into an extern int.
59927         (__have_dup3): Likewise.
59928         * socket/have_sock_cloexec.c: Include fcntl.h.
59929         (__have_pipe2): New variable.
59930         (__have_dup3): Likewise.
59932 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59934         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59936 2012-08-17  Marek Polacek  <polacek@redhat.com>
59938         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59939         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59941 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59943         * configure.in: Add AC_SUBST for sysheaders.
59944         * configure: Regenerated.
59945         * config.make.in (sysheaders): New substituted variable.
59947         * sysdeps/unix/mkfifo.c: Moved ...
59948         * sysdeps/posix/mkfifo.c: ... here.
59949         * sysdeps/unix/mkfifoat.c: Moved ...
59950         * sysdeps/posix/mkfifoat.c: ... here.
59952         * sysdeps/unix/utime.c: Moved ...
59953         * sysdeps/posix/utime.c: ... here.
59955         * sysdeps/unix/time.c: Moved ...
59956         * sysdeps/posix/time.c: ... here.
59957         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59958         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59960         * sysdeps/unix/nice.c: Moved ...
59961         * sysdeps/posix/nice.c: ... here.
59963         * sysdeps/unix/alarm.c: Moved ...
59964         * sysdeps/posix/alarm.c: ... here.
59966         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59968 2012-08-17  Jeff Law <law@redhat.com>
59970         * intl/Makefile (codeset_mo): New variable.
59971         ($(codeset_mo)): New target.
59972         (tst-codeset.out): Depend on that.  Remove explicit rule.
59973         (tst-gettext3.out, tst-gettext5.out): Likewise.
59974         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59975         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59976         * intl/tst-codeset.sh: Remove.
59977         * intl/tst-gettext3.sh: Likewise.
59978         * intl/tst-gettext5.sh: Likewise.
59980 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59982         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59983         * sysdeps/unix/syscalls.list: ... here.
59985         * sysdeps/posix/getaddrinfo.c
59986         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59987         (gaiconf_init, gaiconf_reload): Use them.
59988         [!_STATBUF_ST_NSEC]
59989         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59990         Define using time_t rather than struct timespec.
59992         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59993         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59994         Macros removed.
59995         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59996         [!NO_THREADS].
59997         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59998         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59999         Likewise.
60001         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60002         __libc_cleanup_push argument.
60004         * bits/param.h: New file.
60005         * misc/sys/param.h: New file.
60006         * include/sys/param.h: New file.
60007         * misc/Makefile (headers): Add bits/param.h.
60008         * sysdeps/generic/sys/param.h: File removed.
60009         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60010         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60011         * sysdeps/mach/hurd/bits/param.h: New file.
60012         * sysdeps/mach/hurd/sys/param.h: File removed.
60014         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60015         last change.
60017         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60018         [_IO_MTSAFE_IO].
60019         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60020         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60021         New macros.
60023         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60024         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60025         rather than -D_IO_MTSAFE_IO conditionally.
60026         * stdio-common/Makefile (CPPFLAGS): Likewise.
60027         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60028         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60029         Use $(libio-mtsafe).
60030         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60031         of -D_IO_MTSAFE_IO.
60032         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60033         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60034         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60035         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60036         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60037         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60038         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60039         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60040         (CFLAGS-fread_u_chk.c): Likewise.
60041         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60042         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60043         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60044         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60045         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60046         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60047         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60048         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60049         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60051         * libio/Makefile: Test [$(libc-reentrant) = yes]
60052         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60054         * Makeconfig
60055         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60056         * sysdeps/pthread/configure: File removed.
60057         * sysdeps/pthread/Makeconfig: New file.
60058         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60059         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60061 2012-08-16  Gary Benson  <gbenson@redhat.com>
60063         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60064         unmapping the first object in a namespace.
60066 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60068         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60069         (__internal_setnetgrent): ... this.  Add internal_function to
60070         definition.  Add libc_hidden_def.
60071         (setnetgrent): Update caller.
60072         (internal_endnetgrent): Renamed to ...
60073         (__internal_endnetgrent): ... this.  Add internal_function to
60074         definition.  Add libc_hidden_def.
60075         (endnetgrent): Update caller.
60076         (internal_getnetgrent_r): Renamed to ...
60077         (__internal_getnetgrent_r): ... this.  Add internal_function to
60078         definition.  Add libc_hidden_def.
60079         (__getnetgrent_r): Update caller.
60080         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60082 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60084         * stdlib/longlong.h: Update from GCC.
60086 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60088         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60089         on _QL, which is set by umul_ppmm but never used.
60090         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60091         variables, which are set by GMP macros but never used.
60092         * stdio-common/_itowa.c (_itowa): Likewise.
60093         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60094         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60096 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60098         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60099         struct La_sh_regs is not constant.
60100         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60101         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60102         and struct La_sparc64_regs are not constant.
60104 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60106         * sysdeps/unix/sysv/linux/kernel-features.h
60107         (__ASSUME_POSIX_TIMERS): Remove.
60108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60110         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60111         Make code unconditional.
60112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60113         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60114         Make code unconditional.
60115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60116         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60117         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60119         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60120         Make code unconditional.
60121         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60122         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60123         (__libc_missing_posix_timers): Remove.
60125 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60127         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60128         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60130         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60132         * elf/dl-sym.c: Include <stdlib.h>.
60134         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60135         constants, which avoids warnings in 32-bit builds.
60137         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60138         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60140         * misc/lseek.c: File moved to ...
60141         * io/lseek.c: ... here.
60143         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60145         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60146         shifting LEN more than 31 bits at once.
60148 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60150         [BZ #14195]
60151         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60152         segmentation fault for a case of two empty input strings.
60153         * string/test-strncasecmp.c (check1): Renamed to...
60154         (bz12205): ...this.
60155         (bz14195): Add new testcase for two empty input strings and N > 0.
60156         (test_main): Call new testcase, adapt for renamed function.
60158 2012-08-15  Andreas Jaeger  <aj@suse.de>
60160         [BZ #14090]
60161         * crypt/md5test2.c: New test, based on test supplied by Serge
60162         Belyshev <belyshev@depni.sinp.msu.ru>.
60163         * crypt/Makefile (xtests): Add md5test-giant..
60164         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60166 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60168         [BZ #14090]
60169         * crypt/md5.c (md5_process_block): Don't assume the buffer
60170         length is less than 2**32.
60171         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60172         length is less than 2**64.
60174 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60176         * string/str-two-way.h: Include <sys/param.h>.
60177         (MAX): Macro removed.
60179         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60180         Move #define and #undef of memmove to just before and after
60181         including <string.h>.
60183         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60184         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60185         and after including <string.h>.  Move declarations of
60186         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60187         to before #include "string/memmove.c".
60189         * include/dirent.h: Declare __getdirentries.
60191         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60192         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60194 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60196         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60197         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60198         * sysdeps/i386/configure: Regenerated.
60199         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60200         STABS_CURRENT_FILE, and STABS_FUN.
60201         (END): Remove call to STABS_FUN_END.
60202         (STABS_CURRENT_FILE1): Delete.
60203         (STABS_CURRENT_FILE): Likewise.
60204         (STABS_FUN): Likewise.
60205         (STABS_FUN_END): Likewise.
60206         (STABS_FUN2): Likewise.
60207         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60208         * sysdeps/x86_64/configure: Regenerated.
60210 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60212         * elf/dl-open.c: Include <atomic.h>.
60213         * elf/dl-lookup.c: Likewise.
60215 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60217         * sysdeps/unix/sysv/linux/kernel-features.h
60218         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60219         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60220         unconditionally.
60221         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60222         unconditionally.
60223         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60224         condition on __ASSUME_CLONE_THREAD_FLAGS.
60226 2012-08-14  Andreas Jaeger  <aj@suse.de>
60228         * sysdeps/i386/fpu/libm-test-ulps: Update.
60230 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60232         * include/atomic.h (atomic_exchange_and_add): Split into ...
60233         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60234         New atomic macros.
60236 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60240 2012-08-13  Jeff Law <law@redhat.com>
60242         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60243         null byte in the output string.
60245 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60247         * sysdeps/unix/sysv/linux/kernel-features.h
60248         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60249         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60250         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60251         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60252         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60253         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60254         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60256 2012-08-09  Jeff Law <law@redhat.com>
60258         [BZ #13939]
60259         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60260         When avoid_arena is set, don't retry in the that arena.  Pick the
60261         next one, whatever it might be.
60262         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60263         (arena_lock): Pass in new parameter to arena_get2.
60264         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60265         arena_get2.
60266         (__libc_malloc): Unify retrying after main arena failure with
60267         __libc_memalign version.
60268         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60270 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60272         [BZ #14166]
60273         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60274         to __redirect_strstr.
60275         (__strstr_sse42): Use typeof __redirect_strstr.
60276         (__strstr_ia32): Likewise.
60277         (__libc_strstr): New prototype.
60278         (strstr): Renamed to ...
60279         (__libc_strstr): This.
60280         (strstr): New strong alias of __libc_strstr.
60281         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60282         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60283         __redirect_time.
60284         Include <time.h>.
60285         (__libc_time): New prototype.
60286         (time_ifunc): Replace time with __libc_time.
60287         (time): New strong alias and hidden definition of __libc_time.
60288         (__GI_time): Remove strong alias.
60289         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60290         Include <stddef.h>.
60291         (memmove): Redefined to __redirect_memmove.
60292         (__memmove_sse2): Use typeof __redirect_memmove.
60293         (__memmove_ssse3): Likewise.
60294         (__memmove_ssse3_back): Likewise.
60295         (__libc_memmove): New prototype.
60296         (memmove): Renamed to ...
60297         (__libc_memmove): This.
60298         (memmove): New strong alias of __libc_memmove.
60300 2012-08-08  Mark Salter  <msalter@redhat.com>
60302         * elf/elf.h
60303         (R_MN10300_TLS_GD): Define.
60304         (R_MN10300_TLS_LD): Likewise.
60305         (R_MN10300_TLS_LDO): Likewise.
60306         (R_MN10300_TLS_GOTIE): Likewise.
60307         (R_MN10300_TLS_IE): Likewise.
60308         (R_MN10300_TLS_LE): Likewise.
60309         (R_MN10300_TLS_DTPMOD): Likewise.
60310         (R_MN10300_TLS_DTPOFF): Likewise.
60311         (R_MN10300_TLS_TPOFF): Likewise.
60312         (R_MN10300_SYM_DIFF): Likewise.
60313         (R_MN10300_ALIGN): Likewise.
60314         (R_MN10300_NUM): Update.
60316 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60319         Remove.
60321 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60323         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60325         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60326         sysdeps/unix -> sysdeps/posix move.
60327         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60329 2012-08-07      Allan McRae     <allan@archlinux.org>
60331         [BZ #14303]
60332         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60333         (SUNOS_CPP): Likewise.
60334         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60335         not found.
60336         (open_input): Call CPP using execvp.
60338 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60340         * sysdeps/unix/sysv/linux/kernel-features.h
60341         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60342         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60343         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60344         (__ASSUME_WAITID_SYSCALL): Likewise.
60345         * sysdeps/unix/sysv/linux/dl-execstack.c
60346         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60347         code unconditional.
60348         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60349         conditional code.
60350         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60351         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60352         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60353         code.
60354         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60355         unconditional.
60356         [__ASSUME_WAITID_SYSCALL]: Likewise.
60357         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60359 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60361         * sysdeps/unix/closedir.c: Renamed to ...
60362         * sysdeps/posix/closedir.c: ... here.
60363         * sysdeps/unix/dirfd.c: Renamed to ...
60364         * sysdeps/posix/dirfd.c: ... here.
60365         * sysdeps/unix/dirstream.h: Renamed to ...
60366         * sysdeps/posix/dirstream.h: ... here.
60367         * sysdeps/unix/fdopendir.c: Renamed to ...
60368         * sysdeps/posix/fdopendir.c: ... here.
60369         * sysdeps/unix/opendir.c: Renamed to ...
60370         * sysdeps/posix/opendir.c: ... here.
60371         * sysdeps/unix/readdir.c: Renamed to ...
60372         * sysdeps/posix/readdir.c: ... here.
60373         * sysdeps/unix/readdir_r.c: Renamed to ...
60374         * sysdeps/posix/readdir_r.c: ... here.
60375         * sysdeps/unix/rewinddir.c: Renamed to ...
60376         * sysdeps/posix/rewinddir.c: ... here.
60377         * sysdeps/unix/seekdir.c: Renamed to ...
60378         * sysdeps/posix/seekdir.c: ... here.
60379         * sysdeps/unix/telldir.c: Renamed to ...
60380         * sysdeps/posix/telldir.c: ... here.
60381         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60382         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60383         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60384         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60386         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60387         * bits/fcntl.h: ... here.
60389         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60390         not 0.
60391         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60392         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60393         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60394         (struct flock): Move l_start, l_len to the beginning.
60395         Use __pid_t for l_pid.
60396         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60397         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60398         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60399         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60400         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60401         [__USE_LARGEFILE64] (struct flock64): New type.
60402         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60404         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60405         * bits/dirent.h: ... here.
60407         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60408         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60410 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60412         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60413         Change from 2.6.0 to 2.6.16.
60414         * sysdeps/unix/sysv/linux/configure: Regenerated.
60415         * sysdeps/unix/sysv/linux/kernel-features.h
60416         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60417         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60418         version.
60419         (__ASSUME_UTIMES): Likewise.
60420         (__ASSUME_CLONE_STOPPED): Remove.
60421         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60422         architectures, not kernel version.
60423         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60424         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60425         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60426         (__ASSUME_WAITID_SYSCALL): Likewise.
60427         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60428         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60429         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60430         refer to older versions.
60432 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60434         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60435         Define alphasort64 as an alias.
60436         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60437         Define versionsort64 as an alias.
60438         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60439         Define scandir64 as an alias.
60440         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60441         Define scandirat64 as an alias.
60442         * dirent/alphasort64.c (alphasort64):
60443         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60444         * dirent/versionsort64.c: Likewise.
60445         * dirent/scandir64.c: Likewise.
60446         * dirent/scandirat64.c: Likewise.
60447         * sysdeps/wordsize-64/alphasort.c: File removed.
60448         * sysdeps/wordsize-64/alphasort64.c: File removed.
60449         * sysdeps/wordsize-64/scandir.c: File removed.
60450         * sysdeps/wordsize-64/scandir64.c: File removed.
60451         * sysdeps/wordsize-64/scandirat.c: File removed.
60452         * sysdeps/wordsize-64/scandirat64.c: File removed.
60453         * sysdeps/wordsize-64/versionsort.c: File removed.
60454         * sysdeps/wordsize-64/versionsort64.c: File removed.
60455         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60456         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60457         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60458         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60459         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60460         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60461         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60462         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60464         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60466         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60468         [defined __arch64__ || defined __sparcv9]
60469         (__INO_T_MATCHES_INO64_T): New macro.
60470         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60471         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60472         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60473         * sysdeps/unix/sysv/linux/bits/dirent.h
60474         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60475         (_DIRENT_MATCHES_DIRENT64): New macro.
60477         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60478         Define lockf64 as an alias.
60479         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60480         Define fseeko64 as an alias.
60481         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60482         Define ftello64 as an alias.
60483         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60484         Define _IO_fgetpos64 and fgetpos64 as aliases.
60485         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60486         Define _IO_fsetpos64 and fsetpos64 as aliases.
60487         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60488         Conditionalize body on this.
60489         * libio/fseeko64.c: Likewise.
60490         * libio/ftello64.c: Likewise.
60491         * libio/iofgetpos64.c: Likewise.
60492         * libio/iofsetpos64.c: Likewise.
60493         * sysdeps/wordsize-64/lockf.c: File removed.
60494         * sysdeps/wordsize-64/lockf64.c: File removed.
60495         * sysdeps/wordsize-64/fseeko.c: File removed.
60496         * sysdeps/wordsize-64/fseeko64.c: File removed.
60497         * sysdeps/wordsize-64/ftello.c: File removed.
60498         * sysdeps/wordsize-64/ftello64.c: File removed.
60499         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60500         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60501         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60502         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60503         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60504         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60505         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60506         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60507         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60508         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60509         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60510         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60511         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60512         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60514         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60515         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60516         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60517         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60518         [defined __arch64__ || defined __sparcv9]
60519         (__OFF_T_MATCHES_OFF64_T): New macro.
60520         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60521         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60522         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60523         (__OFF_T_MATCHES_OFF64_T): New macro.
60525 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60527         * stdlib/secure-getenv.c (__secure_getenv): Replace
60528         GLIBC_2_16 with GLIBC_2_17.
60530 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60532         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60533         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60535 2012-08-03  David S. Miller  <davem@davemloft.net>
60537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60539 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60541         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60542         Remove.
60543         (__ASSUME_CORRECT_SI_PID): Likewise.
60544         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60545         (__ASSUME_TMPFS_NAME): Likewise.
60546         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60547         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60548         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60549         (HAVE_AUX_SECURE): Make definition unconditional.
60550         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60551         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60553 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60555         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60556         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60557         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60558         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60559         __eloop_threshold instead of SYMLOOP_MAX.
60561         * sysdeps/generic/eloop-threshold.h: New file.
60562         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60563         of MAXSYMLINKS.
60564         * elf/chroot_canon.c (chroot_canon): Likewise.
60566 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60568         [BZ #13717]
60569         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60570         Change to 2.6.0 everywhere.
60571         * sysdeps/unix/sysv/linux/configure: Regenerated.
60572         * sysdeps/unix/sysv/linux/kernel-features.h
60573         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60574         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60575         kernel versions.
60576         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60577         (__ASSUME_FUTEX_REQUEUE): Remove.
60578         (__ASSUME_STATFS64): Define unconditionally.
60579         (__ASSUME_AT_SECURE): Likewise.
60580         (__ASSUME_CORRECT_SI_PID): Likewise.
60581         (__ASSUME_TGKILL): Define without depending on kernel version for
60582         i386.
60583         (__ASSUME_UTIMES): Likewise.
60584         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60585         kernel version.
60586         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60587         (__ASSUME_TMPFS_NAME): Likewise.
60588         * README: Update reference to Linux kernel versions.
60590 2012-08-02  Marek Polacek  <polacek@redhat.com>
60592         [BZ# 14150]
60593         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60594         libc_cv_asm_type_prefix with %.
60595         * configure: Regenerated.
60596         * include/libc-symbols.h: Remove comment about
60597         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60598         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60599         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60600         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60601         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60602         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60603         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60604         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60605         * elf/tst-unique2mod1.c: Likewise.
60606         * elf/tst-unique1mod2.c: Likewise.
60607         * elf/tst-unique1mod1.c: Likewise.
60608         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60609         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60610         Replace ASM_TYPE_DIRECTIVE with .type.
60611         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60612         * sysdeps/i386/sysdep.h: Likewise.
60613         * sysdeps/x86_64/sysdep.h: Likewise.
60614         * sysdeps/sh/sysdep.h: Likewise.
60615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60616         Do not define ASM_TYPE_DIRECTIVE.
60617         * sysdeps/powerpc/sysdep.h: Likewise.
60618         * sysdeps/powerpc/powerpc32/sysdep.h:
60619         Replace ASM_TYPE_DIRECTIVE with .type.
60620         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60621         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60622         * sysdeps/i386/fpu/e_powf.S: Likewise.
60623         * sysdeps/i386/fpu/e_expl.S: Likewise.
60624         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60625         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60626         * sysdeps/i386/fpu/e_pow.S: Likewise.
60627         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60628         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60629         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60630         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60631         * sysdeps/i386/fpu/e_log2.S: Likewise.
60632         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60633         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60634         * sysdeps/i386/fpu/e_powl.S: Likewise.
60635         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60636         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60637         * sysdeps/i386/fpu/e_logl.S: Likewise.
60638         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60639         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60640         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60641         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60642         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60643         * sysdeps/i386/fpu/e_log.S: Likewise.
60644         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60645         * sysdeps/i386/fpu/e_logf.S: Likewise.
60646         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60647         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60648         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60649         * sysdeps/i386/fpu/e_log10.S: Likewise.
60650         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60651         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60652         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60653         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60654         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60656         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60657         * sysdeps/i386/i686/strtok.S: Likewise.
60658         * sysdeps/i386/i386-mcount.S: Likewise.
60659         * sysdeps/i386/strtok.S: Likewise.
60660         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60661         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60662         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60663         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60664         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60665         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60666         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60667         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60668         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60669         * sysdeps/x86_64/_mcount.S: Likewise.
60670         * sysdeps/x86_64/strtok.S: Likewise.
60671         * sysdeps/sh/_mcount.S: Likewise.
60673 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60675         * libio/iofopen.c: Include <fcntl.h>.
60676         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60677         (_IO_fopen64, fopen64): Define as aliases.
60678         * libio/iofopen64.c: Include <fcntl.h>.
60679         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60680         Conditionalize body on this.
60681         * sysdeps/wordsize-64/iofopen.c: File removed.
60682         * sysdeps/wordsize-64/iofopen64.c: File removed.
60684 2012-08-01  Marek Polacek  <polacek@redhat.com>
60686         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60687         Use dlfcn directly instead of a variable.
60688         (binfmt-subdir): Do not define.
60689         (dlfcn): Likewise.
60691 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60693         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60694         Remove all definitions.
60695         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60696         <kernel-features.h>.
60697         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60698         (miss_F_GETOWN_EX): Remove all definitions.
60699         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60700         macro definition.
60701         [!__ASSUME_FCNTL64]: Remove conditional code.
60702         [__ASSUME_FCNTL64]: Make code unconditional.
60703         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60704         <kernel-features.h>.
60705         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60706         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60707         (lockf64) [__NR_fcntl64]: Make code unconditional.
60708         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60710         * sysdeps/unix/sysv/linux/kernel-features.h
60711         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60712         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60713         Make code unconditional.
60714         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60715         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60717         [__NR_vfork]: Make code unconditional.
60718         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60719         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60721         [__NR_vfork]: Make code unconditional.
60722         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60723         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60725 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60727         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60728         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60730         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60731         Define mkstemp64 as an alias.
60732         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60733         Define mkstemps64 as an alias.
60734         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60735         Define mkostemp64 as an alias.
60736         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60737         Define mkostemps64 as an alias.
60738         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60739         Conditionalize body on this.
60740         * misc/mkostemp64.c: Likewise.
60741         * misc/mkostemps64.c: Likewise.
60742         * misc/mkstemps64.c: Likewise.
60743         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60744         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60745         * sysdeps/wordsize-64/mkostemp.c: File removed.
60746         * sysdeps/wordsize-64/mkstemp.c: File removed.
60747         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60748         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60749         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60750         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60752         [BZ #14138]
60753         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60754         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60755         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60756         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60758         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60759         compat_symbol macros from <shlib-compat.h> rather than the underlying
60760         default_symbol_version and symbol_version macros, so that DEFAULT
60761         lines in shlib-versions are respected.
60762         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60764 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60766         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60767         Declare with warn_unused_result.
60768         (setgid, setregid, setegid, setresgid): Likewise.
60769         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60770         Likewise.
60771         * WUR-REPORT: Remove set*id functions.
60773 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60775         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60777 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60779         [BZ #10191]
60780         * include/sys/socket.h (__libc_accept, __libc_accept4):
60781         Add attribute_hidden.
60782         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60784         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60785         use of PTR_MANGLE.
60786         * inet/getnetgrent_r.c (setup): Likewise.
60788         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60790 2012-07-31  David S. Miller  <davem@davemloft.net>
60792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60794 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60796         [BZ #13629]
60797         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60798         value between 1.0 and 2.0 and smaller part has absolute value less
60799         than 1.0.
60800         * math/s_clog10.c (__clog10): Likewise.
60801         * math/s_clog10f.c (__clog10f): Likewise.
60802         * math/s_clog10l.c (__clog10l): Likewise.
60803         * math/s_clogf.c (__clogf): Likewise.
60804         * math/s_clogl.c (__clogl): Likewise.
60805         * math/libm-test.inc (clog_test): Add more tests.
60806         (clog10_test): Likewise.
60807         * sysdeps/i386/fpu/libm-test-ulps: Update.
60808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60810 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60812         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60813         Exit with zero in case no suitable GID is found, and write a
60814         message to standard error.
60816 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60818         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60819         rather than to 1.
60820         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60821         (MAXPATHLEN): Removed.
60822         (NOGROUP, NODEV): New macros.
60823         (setbit, clrbit, isset, isclr): New macros.
60824         (howmany, roundup, powerof2): New macros.
60825         (DEV_BSIZE): New macro.
60827         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60828         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60830         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60831         definition on [!__NO_LONG_DOUBLE_MATH].
60833         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60834         PTR_MANGLE and PTR_DEMANGLE.
60836         * socket/accept4.c (accept4): Rename to __libc_accept4.
60837         Define accept4 as a weak alias.
60839         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60840         on [_DIRENT_HAVE_D_TYPE].
60841         * io/ftw.c (ftw_dir): Likewise.
60843         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60845         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60847         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60848         Use the BSD numbers rather than the arbitrary ones we had.
60849         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60850         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60851         (SIGXCPU, SIGXFSZ): New macros.
60852         (_NSIG): Now 32.
60854         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60855         initializer on [_LIBC_REENTRANT].
60857         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60858         definitions inside [_POSIX_MAPPED_FILES].
60860         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60862         * dirent/opendir.c: Include <fcntl.h>.
60864         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60865         (__libc_getspecific): Likewise.
60866         (__libc_key_create): Likewise.
60868         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60869         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60870         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60871         (tmpfile64): Define as alias.
60872         * sysdeps/wordsize-64/tmpfile.c: File removed.
60873         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60874         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60875         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60877         * stdio-common/vfscanf.c: Include <stdbool.h>.
60878         * nss/makedb.c: Likewise.
60879         * stdio-common/_i18n_number.h: Likewise.
60880         * argp/argp-help.c: Likewise.
60881         * posix/wordexp.c: Likewise.
60882         * sysdeps/posix/spawni.c: Likewise.
60883         * nss/nss_files/files-initgroups.c: Likewise.
60884         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60885         * nss/nss_files/files-initgroups.c: Likewise.
60886         * nss/nss_db/db-netgrp.c: Likewise.
60887         * nss/nss_db/db-initgroups.c: Likewise.
60888         * io/fchmodat.c: Include <sys/stat.h>.
60890         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60891         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60893         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60894         [HAVE_MMAP].
60896         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60897         Add multiple inclusion protection.
60899 2012-07-27  David S. Miller  <davem@davemloft.net>
60901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60903 2012-07-27  Gary Benson  <gbenson@redhat.com>
60905         [BZ #14298]
60906         * elf/rtld.c: Include <stap-probe.h>.
60907         (dl_main): Added static probes "init_start" and "init_complete".
60908         * elf/dl-load.c: Include <stap-probe.h>.
60909         (lose): Take new parameter "nsid".
60910         Added static probe "map_failed".
60911         (_dl_map_object_from_fd): Pass namespace id to lose.
60912         Added static probe "map_start".
60913         (open_verify): Pass namespace id to lose.
60914         * elf/dl-open.c: Include <stap-probe.h>.
60915         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60916         and "reloc_complete".
60917         * elf/dl-close.c: Include <stap-probe.h>.
60918         (_dl_close_worker): Added static probes "unmap_start" and
60919         "unmap_complete".
60920         * elf/rtld-debugger-interface.txt: New file documenting the above.
60922 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60924         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60925         rather than a string variable.
60926         * sunrpc/rpc_main.c (h_output): Likewise.
60927         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60929 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60931         * inet/check_native.c: New file.
60933 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60935         [BZ #13629]
60936         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60937         if larger part has absolute value 1.0.
60938         * math/s_clog10.c (__clog10): Likewise.
60939         * math/s_clog10f.c (__clog10f): Likewise.
60940         * math/s_clog10l.c (__clog10l): Likewise.
60941         * math/s_clogf.c (__clogf): Likewise.
60942         * math/s_clogl.c (__clogl): Likewise.
60943         * math/libm-test.inc (clog_test): Add more tests.
60944         (clog10_test): Likewise.
60945         * sysdeps/i386/fpu/libm-test-ulps: Update.
60946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60948         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60949         (pltexit): Likewise.
60950         (La_regs): Likewise.
60951         (La_retval): Likewise.
60952         (int_retval): Likewise.
60953         Update #error for removed macros to refer only to definitions in
60954         tst-audit.h.
60955         * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
60962         macro.
60963         (pltexit): Likewise.
60964         (La_regs): Likewise.
60965         (La_retval): Likewise.
60966         (int_retval): Likewise.
60967         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60968         macro.
60969         (pltexit): Likewise.
60970         (La_regs): Likewise.
60971         (La_retval): Likewise.
60972         (int_retval): Likewise.
60973         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60974         macro.
60975         (pltexit): Likewise.
60976         (La_regs): Likewise.
60977         (La_retval): Likewise.
60978         (int_retval): Likewise.
60979         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60980         macro.
60981         (pltexit): Likewise.
60982         (La_regs): Likewise.
60983         (La_retval): Likewise.
60984         (int_retval): Likewise.
60985         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60986         macro.
60987         (pltexit): Likewise.
60988         (La_regs): Likewise.
60989         (La_retval): Likewise.
60990         (int_retval): Likewise.
60991         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60992         macro definitions in tst-audit.h.
60993         * sysdeps/i386/tst-audit.h: New file.
60994         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60995         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60996         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60997         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60998         * sysdeps/sh/tst-audit.h: Likewise.
60999         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61000         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61001         * sysdeps/x86_64/tst-audit.h: Likewise.
61003 2012-07-26  Andreas Jaeger  <aj@suse.de>
61005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61006         ptrace.
61008         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61009         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61010         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61011         PTRACE_O_MASK.
61012         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61013         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61014         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61016         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61017         value.
61019         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61020         _sigsys.
61021         (si_call_addr, si_syscall, si_arch): Define new macro.
61022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61023         _sigsys.
61024         (si_call_addr, si_syscall, si_arch): Define new marcro.
61025         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61026         _sigsys.
61027         (si_call_addr, si_syscall, si_arch): Define new macro.
61028         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61029         _sigsys.
61030         (si_call_addr, si_syscall, si_arch): Define new macro.
61032 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61034         [BZ #13717]
61035         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61036         Change to 2.4.21 where previously 2.4.1.
61037         * sysdeps/unix/sysv/linux/configure: Regenerated.
61038         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61039         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61040         Linux kernel version.
61041         (__ASSUME_STD_AUXV): Remove.
61042         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61043         kernel version.
61044         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61045         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61046         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61047         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61048         (__ASSUME_NETLINK_SUPPORT): Likewise.
61049         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61050         (__no_netlink_support): Remove conditional definition.
61051         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61052         Remove.
61053         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61054         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61055         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61056         (if_nameindex_ioctl): Remove.
61057         (if_nameindex_netlink): Do not handle __no_netlink_support.
61058         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61059         code.
61060         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61061         Remove conditional code.
61062         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61063         code.
61064         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61065         unconditional.
61066         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61067         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61068         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61069         Remove.
61070         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61071         [!__ASSUME_STD_AUXV]: Remove conditional code.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61073         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61074         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61076         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61077         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61078         code.
61079         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61081         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61082         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61083         conditional code.
61084         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61086         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61087         code.
61088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61089         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61090         conditional code.
61091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61092         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61093         code unconditional.
61094         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61095         conditional code.
61096         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61097         unconditional.
61098         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61099         conditional code.
61100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61101         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61102         unconditional.
61103         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61104         conditional code.
61105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61106         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61107         code unconditional.
61108         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61109         conditional code.
61110         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61111         unconditional.
61112         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61113         conditional code.
61114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61115         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61116         code unconditional.
61117         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61118         conditional code.
61119         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61120         unconditional.
61121         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61122         conditional code.
61124 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61126         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61127         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61128         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61129         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61130         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61131         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61132         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61133         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61134         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61135         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61136         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61137         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61138         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61139         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61141         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61142         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61143         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61144         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61146         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61147         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61148         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61150 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61152         * Versions.def: Add GLIBC_2.17.
61153         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61154         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61155         Introduce __libc_secure_getenv.
61156         * stdlib/Versions (2.17): Add secure_getenv
61157         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61158         * stdlib/secure-getenv.c: Rename __secure_getenv to
61159         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61160         symbol __secure_getenv for GLIBC_2.0.
61161         * stdlib/tst-secure-getenv.c: New.
61162         * stdlib/Makefile (tests): Add testcase.
61163         * manual/startup.texi (Environment Access): Document
61164         secure_getenv.
61165         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61166         __libc_secure_getenv.
61167         * inet/ruserpass.c (ruserpass): Likewise.
61168         * malloc/mtrace.c (mtrace): Likewise.
61169         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61170         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61171         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61172         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61173         HAVE_SECURE_GETENV.
61174         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61175         __secure_getenv to __libc_secure_getenv.
61176         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61178         Likewise.
61179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61180         Likewise.
61181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61189 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61191         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61192         (struct La_i86_retval): Likewise.
61193         (struct La_x86_64_regs): Likewise.
61194         (struct La_x86_64_retval): Likewise.
61195         (struct La_x32_regs): Likewise.
61196         (struct La_x32_retval): Likewise.
61197         (struct La_ppc32_regs): Likewise.
61198         (struct La_ppc32_retval): Likewise.
61199         (struct La_ppc64_regs): Likewise.
61200         (struct La_ppc64_retval): Likewise.
61201         (struct La_sh_regs): Likewise.
61202         (struct La_sh_retval): Likewise.
61203         (struct La_s390_32_regs): Likewise.
61204         (struct La_s390_32_retval): Likewise.
61205         (struct La_s390_64_regs): Likewise.
61206         (struct La_s390_64_retval): Likewise.
61207         (struct La_sparc32_regs): Likewise.
61208         (struct La_sparc32_retval): Likewise.
61209         (struct La_sparc64_regs): Likewise.
61210         (struct La_sparc64_retval): Likewise.
61211         (struct audit_ifaces): Remove architecture-specific pltenter and
61212         pltexit members.
61213         * sysdeps/i386/ldsodefs.h: New file.
61214         * sysdeps/powerpc/ldsodefs.h: Likewise.
61215         * sysdeps/s390/ldsodefs.h: Likewise.
61216         * sysdeps/sh/ldsodefs.h: Likewise.
61217         * sysdeps/sparc/ldsodefs.h: Likewise.
61218         * sysdeps/x86_64/ldsodefs.h: Likewise.
61220 2012-07-25  Marek Polacek  <polacek@redhat.com>
61222         [BZ #6808]
61223         * math/libm-test.inc (yn_test): Add another test.
61224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61225         to ERANGE when the result is +-Inf.
61226         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61227         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61228         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61229         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61231 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61233         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61234         equal to 0.
61235         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61236         clock_t.
61237         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61239 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61241         * configure.in <sysdeps resolving>: Correct printing
61242         Implies_before.
61243         * configure: Regenerate.
61245 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61247         * math/w_ilogb.c: Include <limits.h>.
61248         * math/w_ilogbl.c: Likewise.
61250 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61252         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61253         va_copy.  Document allowing for unavailable va_copy only as
61254         pre-C99 compatibility.
61255         * manual/string.texi (Copying and Concatenation): Use va_copy
61256         instead of __va_copy in concat example.
61258 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61260         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61261         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61262         it if not null.
61264         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61265         with O_NOLINK passed to __file_name_lookup.
61267         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61268         with O_NOLINK passed to __file_name_lookup.
61270         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61271         negative N or less than NGIDS.
61273         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61274         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61275         enough.  Use memcpy instead of strncpy.
61277 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61279         * elf/Makefile (check-data): Remove.
61280         (localplt.data): New vpath directive.
61281         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61282         instead of $(check-data).
61283         * scripts/data/localplt-generic.data: Move to ...
61284         * sysdeps/generic/localplt.data: ... here.
61285         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61286         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61287         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61289         ... here.
61290         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61292         ... here.
61293         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61295         ... here.
61296         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61298         ... here.
61299         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61301         ... here.
61302         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61304         ... here.
61306 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61308         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61309         PPC32 and PPC64 files.
61310         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61311         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61313 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61315         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61316         __makecontext_ret to ...
61317         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61318         ... here and call exit if uc_link is NULL.  New file.
61319         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61320         __makecontext_ret.S.
61321         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61322         __makecontext_ret to ...
61323         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61324         ... here and call exit if uc_link is NULL.  New file.
61325         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61326         __makecontext_ret.S.
61328 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61330         * elf/elf.h (R_390_IRELATIVE): New definition.
61331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61332         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61333         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61334         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61335         (elf_machine_lazy_rel): Likewise.
61336         * sysdeps/s390/dl-irel.h: New file.
61337         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61338         * sysdeps/s390/s390-64/memset.S: New asm code.
61339         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61340         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61341         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61342         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61343         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61344         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61345         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61346         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61347         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61348         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61349         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61350         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61351         * sysdeps/s390/s390-32/memset.S: New asm code.
61352         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61354 2012-07-17  Marek Polacek  <polacek@redhat.com>
61356         [BZ #14349]
61357         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61358         * sysdeps/s390/s390-64/configure.in: Likewise.
61359         * sysdeps/sparc/configure.in: Likewise.
61360         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61361         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61362         * sysdeps/i386/configure.in: Likewise.
61363         * sysdeps/x86_64/configure.in: Likewise.
61364         * sysdeps/sh/configure.in: Likewise.
61365         * sysdeps/s390/s390-32/configure: Regenerated.
61366         * sysdeps/s390/s390-64/configure: Likewise.
61367         * sysdeps/x86_64/configure: Likewise.
61368         * sysdeps/sh/configure: Likewise.
61369         * sysdeps/powerpc/powerpc64/configure: Likewise.
61370         * sysdeps/powerpc/powerpc32/configure: Likewise.
61371         * sysdeps/sparc/configure: Likwise.
61372         * sysdeps/i386/configure: Likewise.
61374         * elf/dl-open.c: Comment fixes.
61376 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61378         * Makefile [CXX] (check-data): Remove.
61379         [CXX] (c++-types.data): New vpath directive.
61380         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61381         vpath.  Do not allow for C++ type data being missing.
61382         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61383         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61384         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61385         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61386         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61387         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61388         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61390         ... here.
61391         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61393         ... here.
61394         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61396         ... here.
61397         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61399         ... here.
61400         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61402         ... here.
61403         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61405         ... here.
61406         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61408         ... here.
61409         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61412         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61413         definitions to architecture-specific files.
61414         (TLS_IE): Likewise.
61415         (TLS_LD): Likewise.
61416         (TLS_GD): Likewise.
61417         * sysdeps/i386/tls-macros.h: New file.
61418         * sysdeps/powerpc/tls-macros.h: Likewise.
61419         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61420         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61421         * sysdeps/sh/tls-macros.h: Likewise.
61422         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61423         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61424         * sysdeps/x86_64/tls-macros.h: Likewise.
61426 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61428         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61429         zero value for regular exit case.
61431         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61432         (__start_context): Preserve zero value for regular exit case.
61434 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61435             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61437         * manual/setjmp.texi (setcontext): Clarify normal process
61438         termination when uc_link is the null pointer.
61439         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61440         exit call.
61442 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61444         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61445         preprocessor.  Test for each exception mask separately.
61447 2012-07-16  Andreas Jaeger  <aj@suse.de>
61449         * po/ru.po: Update from translation team.
61451 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61453         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61454         equal to 0.
61455         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61456         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61457         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61458         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61459         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61461 2012-07-13  Andreas Jaeger  <aj@suse.de>
61463         * po/fr.po: Update from translation team.
61465 2012-07-12  Marek Polacek  <polacek@redhat.com>
61467         [BZ #14173]
61468         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61469         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61470         loop condition.
61472 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61474         [BZ #13717]
61475         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61476         Change to 2.4.1 where previously 2.4.0.
61477         * sysdeps/unix/sysv/linux/configure: Regenerated.
61478         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61479         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61480         version.
61481         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61482         (__ASSUME_AT_CLKTCK): Remove.
61483         (__ASSUME_AT_PAGESIZE): Likewise.
61484         (__ASSUME_AT_XID): Likewise.
61485         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61486         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61487         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61488         unconditionally.
61489         (HAVE_AUX_PAGESIZE): Likewise.
61490         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61491         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61492         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61494 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61496         [BZ #14307]
61497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61498         the temporary buffer used to invoke __gethostbyname2_r,
61499         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61500         host_data / struct gaih_addrtuple.
61501         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61502         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61503         header file nss/nsswitch.h.
61504         * nss/nsswitch.h (global scope): Add definition of implementation
61505         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61506         resolv/nss_dns/dns-host.c).
61508 2012-07-11  Andreas Jaeger  <aj@suse.de>
61510         * po/fr.po: Update from translation team.
61512         * po/sv.po: Update from translation team
61513         * po/fr.po: Another update from translation team.
61515 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61518         for subnormals or multiply small sinh result by itself.
61519         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61522 2012-07-11  David S. Miller  <davem@davemloft.net>
61524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61526 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61528         [BZ #14347]
61529         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61530         (INTERNAL_MARK): Shift it here.
61532 2012-07-10  Marek Polacek  <polacek@redhat.com>
61534         [BZ #14151]
61535         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61536         libc_cv_asm_global_directive with .globl.
61537         * configure: Regenerated.
61538         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61539         with .globl.
61540         * sysdeps/i386/configure: Regenerated.
61541         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61542         with .globl.
61543         * sysdeps/x86_64/configure: Regenerated.
61544         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61545         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61546         * elf/tst-unique2mod2.c: Likewise.
61547         * elf/tst-unique2mod1.c: Likewise.
61548         * elf/tst-unique1mod2.c: Likewise.
61549         * elf/tst-unique1mod1.c: Likewise.
61550         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61551         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61552         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61553         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61554         * sysdeps/mach/sysdep.h: Likewise.
61555         * sysdeps/i386/sysdep.h: Likewise.
61556         * sysdeps/i386/i386-mcount.S: Likewise.
61557         * sysdeps/x86_64/_mcount.S: Likewise.
61558         * sysdeps/x86_64/sysdep.h: Likewise.
61559         * sysdeps/sh/_mcount.S: Likewise.
61560         * sysdeps/sh/sysdep.h: Likewise.
61561         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61562         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61563         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61564         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61565         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61566         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61567         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61568         * locale/localeinfo.h: Likewise.
61569         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61570         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61572 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61574         [BZ #14336]
61575         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61576         system".
61577         * manual/message.texi (The Uniforum approach): Likewise.
61578         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61579         (glibc iconv Implementation): Likewise.
61581 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61583         [BZ #14337]
61584         * math/s_clog.c (__clog): Avoid scaling a value down where that
61585         could result in underflow.
61586         * math/s_clog10.c (__clog10): Likewise.
61587         * math/s_clog10f.c (__clog10f): Likewise.
61588         * math/s_clog10l.c (__clog10l): Likewise.
61589         * math/s_clogf.c (__clogf): Likewise.
61590         * math/s_clogl.c (__clogl): Likewise.
61591         * math/libm-test.inc (clog_test): Add more tests.
61592         (clog10_test): Likewise.
61593         * sysdeps/i386/fpu/libm-test-ulps: Update.
61594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61596 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61598         [BZ #14283]
61599         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61600         by 7 not 8 to examine high bit of fractional part.
61602         [BZ #14042]
61603         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61604         for call to __mcount_internal.
61605         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61606         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61607         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61609 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61611         [BZ #14154]
61612         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61613         approximation for values within 0x1p-13f of an odd multiple of
61614         pi/4.
61615         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61616         exception.  Add more tests.
61617         * sysdeps/i386/fpu/libm-test-ulps: Update.
61619         [BZ #6778]
61620         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61621         inputs and return -1 for them.  Do not check for +Inf in case not
61622         reachable for +Inf.
61623         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61624         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61625         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61626         and return -1 for them.  Do not check for +Inf in case not
61627         reachable for +Inf.
61628         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61629         define.
61630         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61631         and return -1 for them.  Do not check for +Inf in case not
61632         reachable for +Inf.
61633         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61634         spurious underflow.
61635         * sysdeps/i386/fpu/libm-test-ulps: Update.
61636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61638 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61640         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61642 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61644         [BZ #14157]
61645         [BZ #14331]
61646         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61647         could result in spurious underflow.  Scale down values above
61648         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61649         * math/s_csqrtf.c (__csqrtf): Likewise.
61650         * math/s_csqrtl.c (__csqrtl): Likewise.
61651         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61652         spurious underflow.
61653         * sysdeps/i386/fpu/libm-test-ulps: Update.
61654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61656 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61658         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61659         xopen-msg.sed.
61660         * catgets/xopen-msg.awk: New file.
61661         * catgets/xopen-msg.sed: Removed.
61663         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61664         po2text.sed.
61665         * intl/po2test.awk: New file.
61666         * intl/po2test.sed: Removed.
61668 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61670         [BZ #14328]
61671         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61672         or multiply small sinh result by itself.
61673         * math/s_ctanf.c (__ctanf): Likewise.
61674         * math/s_ctanh.c (__ctanh): Likewise.
61675         * math/s_ctanhf.c (__ctanhf): Likewise.
61676         * math/s_ctanhl.c (__ctanhl): Likewise.
61677         * math/s_ctanl.c (__ctanl): Likewise.
61678         * math/libm-test.inc (ctan_test_tonearest): New function.
61679         (ctan_test_towardzero): Likewise.
61680         (ctan_test_downward): Likewise.
61681         (ctan_test_upward): Likewise.
61682         (ctanh_test_tonearest): Likewise.
61683         (ctanh_test_towardzero): Likewise.
61684         (ctanh_test_downward): Likewise.
61685         (ctanh_test_upward): Likewise.
61686         (main): Call these new functions.
61687         * sysdeps/i386/fpu/libm-test-ulps: Update.
61688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61690 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61692         * .gitignore: Delete /ports entry.
61694 2012-07-03  Andreas Jaeger  <aj@suse.de>
61696         * po/bg.po: Update from translation team.
61697         * po/cs.po: Likewise.
61698         * po/de.po: Likewise.
61699         * po/hr.po: Likewise.
61700         * po/nl.pl: Likewise.
61701         * po/pl.po: Likewise.
61702         * po/vi.po: Likewise.
61704 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61706         * Makeconfig [!+link] (+link-before-libc): New variable.
61707         [!+link] (+link-after-libc): Likewise.
61708         [!+link] (+link-tests): Likewise.
61709         [!+link] (+link): Define in terms of $(+link-before-libc) and
61710         $(+link-after-libc).
61711         [!+link-static] (+link-static-before-libc): New variable.
61712         [!+link-static] (+link-static-after-libc): Likewise.
61713         [!+link-static] (+link-static-tests): Likewise.
61714         [!+link-static] (+link-static): Define in terms of
61715         $(+link-static-before-libc) and $(+link-static-after-libc).
61716         [build-shared] (link-libc-before-gnulib): New variable.
61717         [build-shared] (link-libc-tests): Likewise.
61718         [build-shared] (link-libc): Define in terms of
61719         $(link-libc-before-gnulib).
61720         [!build-shared] (link-libc-tests): New variable.
61721         (link-libc-static-tests): New variable.
61722         [!gnulib] (gnulib-arch): New variable.
61723         [!gnulib] (gnulib-tests): Likewise.
61724         [!gnulib] (static-gnulib-arch): Likewise.
61725         [!gnulib] (static-gnulib-tests): Likewise.
61726         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61727         Define with "=" instead of ":=".
61728         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61729         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61730         * Rules (binaries-all-notests): New variable.
61731         (binaries-all-tests): Likewise.
61732         (binaries-static-notests): Likewise.
61733         (binaries-static-tests): Likewise.
61734         (binaries-all): Define using $(binaries-all-notests) and
61735         $(binaries-all-tests).
61736         (binaries-static): Define using $(binaries-static-notests) and
61737         $(binaries-static-tests).
61738         (binaries-shared-tests): New variable.
61739         (binaries-shared-notests): Likewise.
61740         (binaries-shared): Remove variable.
61741         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61742         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61743         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61744         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61745         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61746         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61747         * elf/Makefile (sln-modules): New variable.
61748         (extra-objs): Add $(sln-modules:=.o).
61749         (ldconfig-modules): Add static-stubs.
61750         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61751         * elf/static-stubs.c: New file.
61753         [BZ #14283]
61754         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61755         by 7 not 8 to examine high bit of fractional part.  Use volatile
61756         variables when splitting into final array of floats if
61757         __FLT_EVAL_METHOD__ != 0.
61758         * math/libm-test.inc (cos_test): Add another test.
61759         (sin_test): Likewise.
61760         * sysdeps/i386/fpu/libm-test-ulps: Update.
61762         [BZ #14273]
61763         * math/libm-test.inc (cosh_test): Add more tests.
61765         * version.h (RELEASE): Set to "development".
61766         (VERSION): Set to "2.16.90".
61768 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61770         * NEWS: Update copyright. Remove last-updated date.
61771         Mention math library bug fixes and timezone data changes.
61772         * README: Mention GNU/Hurd, x32, and HPPA support status.
61774 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61776         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61778 2012-06-27  Andreas Jaeger  <aj@suse.de>
61780         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61782 2012-06-25  Andreas Jaeger  <aj@suse.de>
61784         * sysdeps/s390/fpu/libm-test-ulps: Update.
61786 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61787             Thomas Schwinge  <thomas@codesourcery.com>
61789         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61790         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61791         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61792         fanotify_mark.
61794 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61796         * sysdeps/mach/start.c: Remove file.
61797         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61798         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61799         * sysdeps/sh/init-first.c: Likewise.
61801         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61802         registers for frame unwinding purposes, add CFI directives.
61803         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61804         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61805         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61806         Likewise.
61808         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61809         __fortify_fail returning.
61810         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61812         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61813         sysdeps/sh/____longjmp_chk.S.
61814         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61815         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61816         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61817         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61819         * sysdeps/sh/abort-instr.h: New file.
61820         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61821         process in case exit returns.
61823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61824         initialize the GOT register before use.
61826         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61827         calculation of ARGC > 4.
61829         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61830         meaningful names to some local labels.
61832 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61833             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61835         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61836         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61837         (__arch_compare_and_exchange_val_16_acq): Likewise.
61838         (__arch_compare_and_exchange_val_32_acq): Likewise.
61839         (atomic_exchange_and_add): Fix gUSA sequence.
61840         (atomic_add): Likewise.
61841         (atomic_add_negative): Likewise.
61842         (atomic_add_zero): Likewise.
61843         (atomic_bit_test_set): Likewise.
61845 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61847         [BZ #13579]
61848         * include/link.h (struct link_map): Add l_free_initfini.
61849         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61850         l_initfini.
61851         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61852         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61853         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61854         set.
61856 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61858         * configure.in: Use AC_LANG_SOURCE.
61859         * configure: Regenerate.
61861 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61863         * configure.in (libc_cv_localstatedir): New substituted variable.
61864         * configure: Regenerated.
61865         * config.make.in (localstatedir): New variable, substituted from
61866         libc_cv_localstatedir.
61867         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61868         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61869         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61870         * sysdeps/gnu/configure: Regenerated.
61872 2012-06-21  Jeff Law  <law@redhat.com>
61874         [BZ #14277]
61875         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61876         free.  Simplify list management for _LIBC case.
61878 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61880         [BZ #14273]
61881         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61882         Clear sign bit of 64-bit integer value before comparing against
61883         overflow value.
61885         * sysdeps/mach/configure: Regenerated.
61887 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61889         [BZ #14278]
61890         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61892 2012-06-21  Jeff Law  <law@redhat.com>
61894         [BZ #13882]
61895         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61896         uint16_t for elements in the "seen" array to avoid char overflows.
61897         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61898         * elf/dl-open.c (dl_open_worker): Likewise.
61900 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61902         * scripts/list-sources.sh: Scan PORTS for translations.
61903         * po/libc.pot: Regenerated.
61905 2012-06-21  Andreas Jaeger  <aj@suse.de>
61907         [BZ #12194]
61908         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61909         warning.
61910         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61911         * bits/byteswap-16.h (__bswap_16): Likewise.
61912         * bits/byteswap.h (__bswap_constant_16): Likewise.
61914 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61916         [BZ #14117]
61917         * sysdeps/i386/fpu_control.h: Removed.
61918         * sysdeps/x86_64/fpu_control.h: Moved to ...
61919         * sysdeps/x86/fpu_control.h: Here.
61921         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61922         (_FPU_SETCW): Likewise.
61924 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61926         [BZ #14117]
61927         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61928         * sysdeps/x86/fpu/bits/mathinline.h: This.
61929         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61931         [BZ #14050]
61932         [BZ #14117]
61933         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61934         functions if __x86_64__ is defined.
61936 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61938         * string/endian.h: Add !__ASSEMBLER__ condition for including
61939         conversion interfaces.
61941 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61943         [BZ #14241]
61944         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61945         of ABS(x) in calculating zero to negative powers other than odd
61946         integers.
61947         * math/libm-test.inc (pow_test): Add more tests.
61949 2012-06-15  Andreas Jaeger  <aj@suse.de>
61951         * manual/contrib.texi (Contributors): Update entry of Liubov
61952         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61953         Machado Filho.
61955 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61957         * string/string.h: Add __wur to GNU version of strerror_r.
61959 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61961         [BZ #14229]
61962         * string/Makefile (tests): Add tst-strtok_r.
61963         * string/tst-strtok_r.c: New file.
61964         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61965         RAX_LP/RDX_LP on SAVE_PTR.
61967 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61969         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61971 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61973         * libm_test.inc (csqrt_test): Allow more spurious underflow
61974         exceptions.
61975         (j0_test): Likewise.
61976         (j1_test): Likewise.
61977         (y0_test): Likewise.
61978         (y1_test): Likewise.
61980 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61982         * po/Makefile (libc.pot): Use UTF-8 charset.
61984 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61986         [BZ #14210]
61987         Suppress sign-conversion warning from FD_SET.
61988         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61989         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61990         not unsigned long int.
61991         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61993 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61995         [BZ #14050]
61996         [BZ #14117]
61997         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61998         __extern_always_inline instead of __extern_inline.
61999         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62000         (__signbit): Likewise.
62001         (__signbitl): Support C++ namespace.
62002         (lrintf): New inline function.
62003         (lrint): Likewise.
62004         (llrintf): Likewise.
62005         (llrint): Likewise.
62006         (fmaxf): Likewise.
62007         (fmax): Likewise.
62008         (fminf): Likewise.
62009         (fmin): Likewise.
62010         (rint): Likewise.
62011         (rintf): Likewise.
62012         (ceil): Likewise.
62013         (ceilf): Likewise.
62014         (floor): Likewise.
62015         (floorf): Likewise.
62016         (nearbyint): Likewise.
62017         (nearbyintf): Likewise.
62019 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62022         non-default versions.
62024 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62026         [BZ #14218]
62027         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62029 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62031         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62032         (FE_UPWARD, FE_DOWNWARD): Don't define.
62033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62034         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62036         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62037         reading it.
62038         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62039         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62041 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62043         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62044         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62045         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62046         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62048 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62050         [BZ #14117]
62051         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62052         * sysdeps/i386/fpu/Implies: New file.
62053         * sysdeps/x86_64/fpu/Implies: Likewise.
62054         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62055         * sysdeps/x86/fpu/bits/fenv.h: This.
62057         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62058         __SSE_MATH__.
62060 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62062         [BZ #14134]
62063         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62064         character 0xffff that matches the last element of the
62065         conversion table.
62067 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62069         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62070         fmodl commit.
62072 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62075         values higher than 25.6283.
62077 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62079         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62080         subnormal exponent extraction and add some __builtin_expect.
62081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62082         Fix for subnormal mantissa calculation.
62084 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62086         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62087         cpu2 is -1 and errno is not ENOSYS.
62089 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62091         [BZ #14117]
62092         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62093         * sysdeps/x86/bits/string.h: This.
62094         * sysdeps/x86_64/bits/string.h: Removed.
62096         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62097         if not compiling for x86-64, but compiling for >= i486.
62099         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62100         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62102         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62103         New macro from Linux kernel 3.4.0.
62104         (FP_XSTATE_MAGIC2): Likewise.
62105         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62106         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62107         (struct _fpx_sw_bytes): New struct.
62108         (struct _xsave_hdr): Likewise.
62109         (struct _ymmh_state): Likewise.
62110         (struct _xstate): Likewise.
62112         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62113         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62114         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62115         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62116         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62117         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62119         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62120         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62121         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62122         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62123         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62124         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62126 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62128         [BZ #13743]
62129         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62130         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62131         (sysdep_headers): Include sys/platform/ppc.h.
62132         * sysdeps/powerpc/test-gettimebase.c: Test for
62133         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62134         * manual/Makefile (appendices): Include platform.texi.
62135         * manual/contrib.texi (Contributors): Update @node pointers.
62136         * manual/maint.texi (Maintenance): Likewise.
62137         (Platform): New node.
62138         * manual/platform.texi: New file.  Document the new features.
62140 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62141             Jakub Jelinek  <jakub@redhat.com>
62143         [BZ #14188]
62144         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62145         where __builtin_expect is unavailable.
62147 2012-06-03  David S. Miller  <davem@davemloft.net>
62149         * stdlib/longlong.h: Updated from GCC.
62151 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62153         [BZ #14042]
62154         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62155         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62156         __mcount_internal.
62157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62158         (GLIBC_2.16): Likewise.
62160 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62162         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62164 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62167         (default-abi): New variable.
62168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62169         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62170         variable.
62171         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62172         Likewise.
62173         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62174         Likewise.
62175         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62176         Likewise.
62178         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62179         definition.  Document in comment.
62181 2012-06-01  David S. Miller  <davem@davemloft.net>
62183         * stdlib/longlong.h: Updated from GCC.
62185 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62187         [BZ #14117]
62188         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62189         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62190         sys/debugreg.h sys/io.h here.
62191         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62192         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62193         sys/io.h.
62194         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62195         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62196         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62197         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62198         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62199         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62201         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62202         Define only if __x86_64__ is defined.
62204 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62206         [BZ #14048]
62207         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62208         Use int64_t for variable i.
62209         * math/libm-test.inc (fmod_test): Add more tests.
62211         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62212         z computation is not scheduled after fetestexcept.
62213         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62214         Use math_force_eval instead of asm to ensure calculation scheduled
62215         before exception test.
62216         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62217         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62219 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62222         computation is not scheduled after fetestexcept.
62224 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62226         [BZ #14117]
62227         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62228         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62230 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62232         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62233         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62235 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62237         [BZ #14117]
62238         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62239         <bits/wordsize.h>.
62240         (__WCHAR_MIN): Support __WORDSIZE == 64.
62241         (__WCHAR_MAX): Likewise.
62243         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62244         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62246         [BZ #14183]
62247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62248         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62250         [BZ #14117]
62251         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62254         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62255         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62257         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62258         Defined to 1 if __x86_64__ isn't defined.
62259         (_STAT_VER_LINUX_OLD): New.
62260         (st_atime): Remove duplicate.
62261         (st_mtime): Likewise.
62262         (st_ctime): Likewise.
62264 2012-05-31  David S. Miller  <davem@davemloft.net>
62266         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62267         entries.
62269 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62271         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62272         gen-libm-test.pl.
62274         [BZ #14132]
62275         * elf/dl-reloc.c: Include <_itoa.h>.
62276         (_dl_reloc_bad_type): Remove use of INTUSE.
62277         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62278         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62279         * stdio-common/psiginfo.c (psiginfo): Likewise.
62280         * stdio-common/psignal.c (psignal): Likewise.
62281         * string/strsignal.c (strsignal): Likewise.
62282         * include/signal.h (_sys_siglist): Declare hidden proto.
62283         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62284         INTVARDEF with libc_hidden_data_def.
62285         * stdio-common/itoa-udigits.c: Likewise.
62286         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62287         (_itoa_lower_digits_internal): Remove declaration.
62288         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62289         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62290         (_sys_sigabbrev_internal): Remove aliases.
62291         (_sys_siglist): Define hidden alias.
62293 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62296         bits/sysctl.h.
62298 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62300         [BZ #14117]
62301         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62302         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62304         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62305         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62306         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62307         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62308         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62309         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62311         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62312         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62313         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62315         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62316         with __addr.
62317         (insw): Likewise.
62318         (insl): Likewise.
62319         (outsb): Likewise.
62320         (outsw): Likewise.
62321         (outsl): Likewise.
62323         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62324         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62325         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62327         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62328         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62329         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62330         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62331         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62332         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62334         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62335         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62337         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62338         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62342         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62344         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62345         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62346         to ...
62347         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62349         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62350         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62351         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62353         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62354         for x86-64.
62355         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62357 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62359         * math/math.h (M_El): Use two more decimal places.
62360         (M_LOG2El): Likewise.
62361         (M_LOG10El): Likewise.
62362         (M_LN2l): Likewise.
62363         (M_LN10l): Likewise.
62364         (M_PIl): Likewise.
62365         (M_PI_2l): Likewise.
62366         (M_PI_4l): Likewise.
62367         (M_1_PIl): Likewise.
62368         (M_2_PIl): Likewise.
62369         (M_2_SQRTPIl): Likewise.
62370         (M_SQRT2l): Likewise.
62371         (M_SQRT1_2l): Likewise.
62373 2012-05-31  David S. Miller  <davem@davemloft.net>
62375         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62376         values between float registers.
62377         * sysdeps/sparc/sparc64/memset.S: Likewise.
62378         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62380 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62382         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62383         -D_FORTIFY_SOURCE=1.
62384         (CPPFLAGS-tst-longjmp_chk.c): Define.
62385         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62386         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62387         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62388         CFLAGS-tst-wchar-h.c.
62390 2012-05-31  Marek Polacek  <polacek@redhat.com>
62392         [BZ #14132]
62393         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62394         __endmntent_internal): Remove declaration.
62395         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62396         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62397         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62399 2012-05-30  David S. Miller  <davem@davemloft.net>
62401         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62402         (___Q_simulate_exceptions): Use real FP ops rather than writing
62403         into the %fsr.
62404         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62405         Likewise.
62407 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62409         [BZ #14117]
62410         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62411         * sysdeps/x86/bits/xtitypes.h: This.
62413         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62414         * sysdeps/x86/bits/wordsize.h: This.
62416         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62417         * sysdeps/x86/bits/huge_vall.h: This.
62419         * sysdeps/i386/bits/select.h: Removed.
62420         * sysdeps/x86_64/bits/select.h: Renamed to ...
62421         * sysdeps/x86/bits/select.h: This.
62423         * sysdeps/i386/bits/setjmp.h: Removed.
62424         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62425         * sysdeps/x86/bits/setjmp.h: This.
62427         * sysdeps/i386/bits/mathdef.h: Removed.
62428         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62429         * sysdeps/x86/bits/mathdef.h: This.
62431 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62433         [BZ #14132]
62434         * include/sys/socket.h (__connect_internal)
62435         (__libc_sa_len_internal): Remove declaration.
62436         (__connect, __libc_sa_len): Declare hidden_proto.
62437         (SA_LEN): Remove use of INTUSE.
62438         * socket/connect.c: Add libc_hidden_def.
62439         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62440         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62441         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62442         alias.
62443         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62444         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62445         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62446         of adding _internal alias.
62448 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62450         [BZ #14117]
62451         * sysdeps/i386/bits/link.h: Removed.
62452         * sysdeps/i386/bits/linkmap.h: Likewise.
62453         * sysdeps/x86_64/bits/link.h: Renamed to ...
62454         * sysdeps/x86/bits/link.h: This.
62455         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62456         * sysdeps/x86/bits/linkmap.h: This.
62458         * sysdeps/i386/bits/endian.h: Removed.
62459         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62460         * sysdeps/x86/bits/endian.h: This.
62462         * sysdeps/i386/bits/byteswap.h: Removed.
62463         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62464         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62465         * sysdeps/x86/bits/byteswap.h: This.
62466         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62467         * sysdeps/x86/bits/byteswap-16.h: This.
62468         * sysdeps/i386/Implies: Add x86.
62469         * sysdeps/x86_64/Implies: Likewise.
62471 2012-05-30  David S. Miller  <davem@davemloft.net>
62473         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62474         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62475         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62476         (FP_TRAPPING_EXCEPTIONS): Define.
62477         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62478         (FP_TRAPPING_EXCEPTIONS): Define.
62479         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62480         subnormals only when inexact has been signalled or underflow
62481         exceptions are enabled.
62482         (_FP_PACK_CANONICAL): Likewise.
62484 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62486         [BZ #14183]
62487         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62488         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62490 2012-05-30  Richard Henderson  <rth@twiddle.net>
62492         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62493         with #ifndef NOT_IN_libc.
62495         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62496         marked to avoid plt entry.
62498 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62500         [BZ #14112]
62501         * Makeconfig (default-abi): New macro.
62502         (abi-includes): Likewise.
62503         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62504         $(abi-$(default-abi)-lib-soname) for soname if defined.
62505         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62506         abi-variants.
62507         * Makefile (installed-stubs): Likewise.
62508         * include/stubs-biarch.h: Removed.
62509         * scripts/lib-names.awk: Only handle one library at a time.
62510         * scripts/soversions.awk: Remove WORDSIZE support.
62511         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62512         entries.
62513         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62514         Removed.
62515         (syscall-list-default-condition): Likewise.
62516         (syscall-list-default-condition): Likewise.
62517         (syscall-list-includes): Likewise.
62518         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62519         syscall-list-* with abi-*.  Handle undefined abi-variants.
62520         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62521         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62522         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62523         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62524         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62525         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62526         Removed.
62527         (syscall-list-32-options): Likewise.
62528         (syscall-list-32-condition): Likewise.
62529         (syscall-list-64-options): Likewise.
62530         (syscall-list-64-condition): Likewise.
62531         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62532         macro.
62533         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62534         Renamed to ...
62535         (abi-*): This.
62536         (abi-64-ld-soname): New macro.
62537         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62538         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62539         Renamed to ...
62540         (abi-*): This.
62541         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62542         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62544 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62546         * sysdeps/unix/sysv/linux/kernel-features.h
62547         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62548         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62549         include <kernel-features.h>.
62550         [!__NR_ftruncate64]: Remove conditional code.
62551         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62552         [__NR_ftruncate64]: Make code unconditional.
62553         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62554         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62555         include <kernel-features.h>.
62556         [!__NR_ftruncate64]: Remove conditional code.
62557         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62558         [__NR_ftruncate64]: Make code unconditional.
62559         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62561         include <kernel-features.h>.
62562         [!__NR_ftruncate64]: Remove conditional code.
62563         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62564         [__NR_ftruncate64]: Make code unconditional.
62565         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62567         include <kernel-features.h>.
62568         [!__NR_ftruncate64]: Remove conditional code.
62569         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62570         [__NR_ftruncate64]: Make code unconditional.
62571         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62573         * configure.in (libc_cv_fpie): Weaken to a compile test using
62574         LIBC_TRY_CC_OPTION.
62575         * configure: Regenerated.
62577 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62583         Refreshed.
62584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62590         Refreshed.
62592 2012-05-27  David S. Miller  <davem@davemloft.net>
62594         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62595         (___Q_zero): New.
62596         (__Q_simulate_exceptions): Return void.  Change to simulate
62597         exceptions by writing into the %fsr.
62598         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62599         (__Qp_handle_exceptions): Likewise.
62600         (numbers): Delete.
62601         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62602         __Qp_handle_exceptions.
62603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62604         __Qp_handle_exceptions.
62605         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62606         as unused and give dummy FP_RND_NEAREST initializer.
62607         (FP_INHIBIT_RESULTS): Define.
62608         (___Q_simulate_exceptions): Update declaration.
62609         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62610         formatting.
62611         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62612         as unused and give dummy FP_RND_NEAREST initializer.
62613         (__Qp_handle_exceptions): Update declaration.
62614         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62615         formatting.
62617 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62619         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62620         the temporary FPU control word.
62621         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62622         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62623         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62624         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62625         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62626         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62627         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62628         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62629         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62630         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62631         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62633 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62635         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62636         fields.
62638 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62640         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62641         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62642         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62643         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62644         Likewise.
62645         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62646         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62647         Likewise.
62649 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62651         * po/h.po: Update from translation team.
62653 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62655         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62657         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62658         handling of denormals.
62659         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62660         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62661         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62662         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62663         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62666         Likewise.
62668 2012-05-26  Marek Polacek  <polacek@redhat.com>
62670         [BZ #14152]
62671         * math/libm-test.inc (fma_test): Don't always expect underflow
62672         exception.
62674 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62676         [BZ #12416]
62677         * elf/tst-execstack.c: Include stackinfo.h.
62678         (do_test): Adjust test case to ensure that pthread_getattr_np
62679         behaviour remains the same after marking stack executable.
62681 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62683         * sysdeps/unix/sysv/linux/kernel-features.h
62684         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62685         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62686         kernel-features.h.
62687         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62688         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62689         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62690         kernel-features.h.
62691         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62692         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62694 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62696         * configure.in: Define the default includes to being none.
62697         * configure: Regenerated.
62699 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62701         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62702         * sysdeps/x86_64/setjmp.S: Likewise.
62703         * sysdeps/i386/bsd-setjmp.S: Likewise.
62704         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62705         * sysdeps/i386/setjmp.S: Likewise.
62706         * sysdeps/i386/__longjmp.S: Likewise.
62707         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62708         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62710         * include/stap-probe.h: New file.
62711         * configure.in: Handle --enable-systemtap.
62712         * configure: Regenerated.
62713         * config.h.in (USE_STAP_PROBE): New #undef.
62714         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62715         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62716         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62718 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62720         [BZ #13717]
62721         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62722         to 2.4.0 where earlier.
62723         * sysdeps/unix/sysv/linux/configure: Regenerated.
62724         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62725         <kernel-features.h>.
62726         [__ASSUME_32BITUIDS]: Make code unconditional.
62727         [!__ASSUME_32BITUIDS]: Remove conditional code.
62728         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62729         <kernel-features.h>.
62730         [__ASSUME_32BITUIDS]: Make code unconditional.
62731         [!__ASSUME_32BITUIDS]: Remove conditional code.
62732         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62733         [__ASSUME_32BITUIDS]: Make code unconditional.
62734         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62735         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
62752         <kernel-features.h>.
62753         [__ASSUME_32BITUIDS]: Make code unconditional.
62754         [!__ASSUME_32BITUIDS]: Remove conditional code.
62755         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62756         <kernel-features.h>.
62757         [__ASSUME_32BITUIDS]: Make code unconditional.
62758         [!__ASSUME_32BITUIDS]: Remove conditional code.
62759         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62760         <kernel-features.h>.
62761         [__ASSUME_32BITUIDS]: Make code unconditional.
62762         [!__ASSUME_32BITUIDS]: Remove conditional code.
62763         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62764         <kernel-features.h>.
62765         [__ASSUME_32BITUIDS]: Make code unconditional.
62766         [!__ASSUME_32BITUIDS]: Remove conditional code.
62767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62768         <kernel-features.h>.
62769         [__ASSUME_32BITUIDS]: Make code unconditional.
62770         [!__ASSUME_32BITUIDS]: Remove conditional code.
62771         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62772         <kernel-features.h>.
62773         [__ASSUME_32BITUIDS]: Make code unconditional.
62774         [!__ASSUME_32BITUIDS]: Remove conditional code.
62775         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62776         <kernel-features.h>.
62777         [__NR_setresgid] (__setresgid): Do not declare.
62778         [__ASSUME_32BITUIDS]: Make code unconditional.
62779         [!__ASSUME_32BITUIDS]: Remove conditional code.
62780         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62781         <kernel-features.h>.
62782         [__NR_setresuid] (__setresuid): Do not declare.
62783         [__ASSUME_32BITUIDS]: Make code unconditional.
62784         [!__ASSUME_32BITUIDS]: Remove conditional code.
62785         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
62802         <kernel-features.h>.
62803         [__ASSUME_32BITUIDS]: Make code unconditional.
62804         [!__ASSUME_32BITUIDS]: Remove conditional code.
62805         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62806         <kernel-features.h>.
62807         [__ASSUME_32BITUIDS]: Make code unconditional.
62808         [!__ASSUME_32BITUIDS]: Remove conditional code.
62809         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62810         <kernel-features.h>.
62811         [__ASSUME_32BITUIDS]: Make code unconditional.
62812         [!__ASSUME_32BITUIDS]: Remove conditional code.
62813         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62814         <kernel-features.h>.
62815         [__ASSUME_32BITUIDS]: Make code unconditional.
62816         [!__ASSUME_32BITUIDS]: Remove conditional code.
62817         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62818         <kernel-features.h>.
62819         [__ASSUME_32BITUIDS]: Make code unconditional.
62820         [!__ASSUME_32BITUIDS]: Remove conditional code.
62821         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62822         <kernel-features.h>.
62823         [__ASSUME_32BITUIDS]: Make code unconditional.
62824         [!__ASSUME_32BITUIDS]: Remove conditional code.
62825         * sysdeps/unix/sysv/linux/kernel-features.h
62826         (__ASSUME_SETRESUID_SYSCALL): Remove.
62827         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62828         (__ASSUME_32BITUIDS): Likewise.
62829         (__ASSUME_LDT_WORKS): Likewise.
62830         (__ASSUME_O_DIRECTORY): Likewise.
62831         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62832         architecture but not kernel version.
62833         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62834         (__ASSUME_MMAP2_SYSCALL): Likewise.
62835         (__ASSUME_STAT64_SYSCALL): Likewise.
62836         (__ASSUME_IPC64): Likewise.
62837         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62838         <kernel-features.h>.
62839         [__ASSUME_32BITUIDS]: Make code unconditional.
62840         [!__ASSUME_32BITUIDS]: Remove conditional code.
62841         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62842         <kernel-features.h>.
62843         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62844         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62845         132096]: Remove conditional code.
62846         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62847         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62848         <kernel-features.h>.
62849         [__ASSUME_32BITUIDS]: Make code unconditional.
62850         [!__ASSUME_32BITUIDS]: Remove conditional code.
62851         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62852         <kernel-features.h>.
62853         [__ASSUME_32BITUIDS]: Make code unconditional.
62854         [!__ASSUME_32BITUIDS]: Remove conditional code.
62855         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62856         <kernel-features.h>.
62857         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62858         unconditional.
62859         (__setresgid): Do not declare.
62860         [__ASSUME_32BITUIDS]: Make code unconditional.
62861         [!__ASSUME_32BITUIDS]: Remove conditional code.
62862         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62863         <kernel-features.h>.
62864         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62865         unconditional.
62866         (__setresuid): Do not declare.
62867         [__ASSUME_32BITUIDS]: Make code unconditional.
62868         [!__ASSUME_32BITUIDS]: Remove conditional code.
62869         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62870         <kernel-features.h>.
62871         [__ASSUME_32BITUIDS]: Make code unconditional.
62872         [!__ASSUME_32BITUIDS]: Remove conditional code.
62873         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62874         <kernel-features.h>.
62875         [__ASSUME_32BITUIDS]: Make code unconditional.
62876         [!__ASSUME_32BITUIDS]: Remove conditional code.
62878 2012-05-25  Richard Henderson  <rth@twiddle.net>
62880         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62881         dl_hwcap to ifunc resolver.
62882         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62883         elf_ifunc_invoke.
62884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62885         dl_hwcap to ifunc resolver.
62886         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62888 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62890         [BZ #14153]
62891         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62892         for |x| <= 2**-26, not 2**-57.
62893         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62894         exception.
62896 2012-05-24  Jeff Law  <law@redhat.com>
62898         * stdio-common/Makefile (tests): Add bug25.
62899         * stdio-common/bug25.c: New test.
62901 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62903         [BZ #13576]
62904         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62905         multiple of MALLOC_ALIGNMENT in size.
62906         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62908 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62910         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62911         Require >= 256.
62912         (FILENAME_MAX): Use macro-int-constant.
62913         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62914         (_IOFBF): Use macro-int-constant.
62915         (_IOLBF): Likewise.
62916         (_IONBF): Likewise.
62917         (SEEK_CUR): Likewise.
62918         (SEEK_END): Likewise.
62919         (SEEK_SET): Likewise.
62920         (TMP_MAX): Likewise.
62921         (EOF): Use macro-int-constant.  Require < 0.
62922         (NULL): Use macro-constant.  Require == 0.
62923         (stdin): Require type to be FILE *.
62924         (stdout): Likewise.
62925         (stderr): Likewise.
62926         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62927         macro-int-constant.
62928         (EXIT_SUCCESS): Likewise.
62929         (NULL): Use macro-constant.  Require == 0.
62930         (RAND_MAX): Use macro-int-constant.
62931         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62932         [C99-based standards] (strtof): Require function.
62933         [C99-based standards] (strtold): Likewise.
62934         [C99-based standards] (strtoll): Likewise.
62935         [C99-based standards] (strtoull): Likewise.
62936         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62937         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62938         [ISO || ISO99 || ISO11] (math.h): Likewise.
62939         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62940         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62943 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62945         [BZ #14132]
62946         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62947         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62948         * intl/dgettext.c (DCGETTEXT): Likewise.
62949         * intl/gettext.c (DCGETTEXT): Likewise.
62950         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62951         * posix/regex_internal.h (gettext): Likewise.
62952         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62953         Remove declaration.
62954         * include/argz.h (__argz_count_internal)
62955         (__argz_stringify_internal): Remove declaration.
62956         (__argz_count, __argz_stringify): Declare hidden proto.
62957         * intl/dcgettext.c: Remove use of INTDEF.
62958         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62959         * string/argz-stringify.c: Likewise.
62960         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62961         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62962         Declare hidden proto.
62963         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62964         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62965         Declare hidden proto.
62966         * include/stdio.h (__asprintf_internal): Don't declare.
62967         (__asprintf): Don't define as macro.  Declare hidden proto.
62968         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62969         (__fsetlocking): Declare hidden proto.
62970         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62971         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62972         hidden proto.
62973         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62974         (_IO_setlinebuf): Remove use of INTUSE.
62975         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62976         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62977         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62978         Remove declaration.
62979         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62980         (_IO_do_flush): Remove use of INTUSE.
62981         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62982         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62983         (_IO_adjust_column, _IO_least_wmarker)
62984         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62985         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62986         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62987         (_IO_default_doallocate, _IO_wdefault_doallocate)
62988         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62989         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62990         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62991         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62992         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62993         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62994         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62995         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62996         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62997         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62998         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62999         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63000         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63001         proto.
63002         (_IO_flush_all_internal, _IO_adjust_column_internal)
63003         (_IO_default_uflow_internal, _IO_default_finish_internal)
63004         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63005         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63006         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63007         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63008         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63009         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63010         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63011         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63012         (_IO_file_close_internal, _IO_file_close_it_internal)
63013         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63014         (_IO_file_init_internal, _IO_file_attach_internal)
63015         (_IO_file_fopen_internal, _IO_file_read_internal)
63016         (_IO_file_sync_internal, _IO_file_seek_internal)
63017         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63018         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63019         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63020         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63021         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63022         (_IO_list_all_internal, _IO_link_in_internal)
63023         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63024         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63025         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63026         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63027         (_IO_do_write_internal, _IO_padn_internal)
63028         (_IO_getline_info_internal, _IO_getline_internal)
63029         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63030         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63031         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63032         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63033         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63034         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63035         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63036         with libc_hidden_ver, remove use of INTUSE.
63037         * libio/genops.c: Likewise.
63038         * libio/freopen.c: Likewise.
63039         * libio/freopen64.c: Likewise.
63040         * libio/iofclose.c: Likewise.
63041         * libio/iofdopen.c: Likewise.
63042         * libio/iofflush.c: Likewise.
63043         * libio/iofflush_u.c: Likewise.
63044         * libio/iofgets.c: Likewise.
63045         * libio/iofgets_u.c: Likewise.
63046         * libio/iofopen.c: Likewise.
63047         * libio/iofopncook.c: Likewise.
63048         * libio/iofread.c: Likewise.
63049         * libio/iofread_u.c: Likewise.
63050         * libio/ioftell.c: Likewise.
63051         * libio/iofwrite.c: Likewise.
63052         * libio/iogetline.c: Likewise.
63053         * libio/iogets.c: Likewise.
63054         * libio/iogetwline.c: Likewise.
63055         * libio/iopadn.c: Likewise.
63056         * libio/iopopen.c: Likewise.
63057         * libio/ioseekoff.c: Likewise.
63058         * libio/ioseekpos.c: Likewise.
63059         * libio/iosetbuffer.c: Likewise.
63060         * libio/iosetvbuf.c: Likewise.
63061         * libio/ioungetc.c: Likewise.
63062         * libio/ioungetwc.c: Likewise.
63063         * libio/iovdprintf.c: Likewise.
63064         * libio/iovsprintf.c: Likewise.
63065         * libio/iovsscanf.c: Likewise.
63066         * libio/memstream.c: Likewise.
63067         * libio/obprintf.c: Likewise.
63068         * libio/oldfileops.c: Likewise.
63069         * libio/oldiofclose.c: Likewise.
63070         * libio/oldiofdopen.c: Likewise.
63071         * libio/oldiofopen.c: Likewise.
63072         * libio/oldiopopen.c: Likewise.
63073         * libio/oldstdfiles.c: Likewise.
63074         * libio/putc.c: Likewise.
63075         * libio/setbuf.c: Likewise.
63076         * libio/setlinebuf.c: Likewise.
63077         * libio/stdfiles.c: Likewise.
63078         * libio/strops.c: Likewise.
63079         * libio/vasprintf.c: Likewise.
63080         * libio/vscanf.c: Likewise.
63081         * libio/vsnprintf.c: Likewise.
63082         * libio/vswprintf.c: Likewise.
63083         * libio/wfiledoalloc.c: Likewise.
63084         * libio/wfileops.c: Likewise.
63085         * libio/wgenops.c: Likewise.
63086         * libio/wmemstream.c: Likewise.
63087         * libio/wstrops.c: Likewise.
63088         * libio/__fpurge.c: Likewise.
63089         * libio/__fsetlocking.c: Likewise.
63090         * assert/assert.c: Likewise.
63091         * debug/fgets_chk.c: Likewise.
63092         * debug/fgets_u_chk.c: Likewise.
63093         * debug/fread_chk.c: Likewise.
63094         * debug/fread_u_chk.c: Likewise.
63095         * debug/gets_chk.c: Likewise.
63096         * debug/obprintf_chk.c: Likewise.
63097         * debug/vasprintf_chk.c: Likewise.
63098         * debug/vdprintf_chk.c: Likewise.
63099         * debug/vsnprintf_chk.c: Likewise.
63100         * debug/vsprintf_chk.c: Likewise.
63101         * malloc/mtrace.c: Likewise.
63102         * misc/error.c: Likewise.
63103         * misc/syslog.c: Likewise.
63104         * stdio-common/asprintf.c: Likewise.
63105         * stdio-common/fxprintf.c: Likewise.
63106         * stdio-common/getw.c: Likewise.
63107         * stdio-common/isoc99_fscanf.c: Likewise.
63108         * stdio-common/isoc99_scanf.c: Likewise.
63109         * stdio-common/isoc99_vfscanf.c: Likewise.
63110         * stdio-common/isoc99_vscanf.c: Likewise.
63111         * stdio-common/isoc99_vsscanf.c: Likewise.
63112         * stdio-common/printf-prs.c: Likewise.
63113         * stdio-common/printf_fp.c: Likewise.
63114         * stdio-common/printf_fphex.c: Likewise.
63115         * stdio-common/printf_size.c: Likewise.
63116         * stdio-common/putw.c: Likewise.
63117         * stdio-common/scanf.c: Likewise.
63118         * stdio-common/sprintf.c: Likewise.
63119         * stdio-common/tmpfile.c: Likewise.
63120         * stdio-common/vfprintf.c: Likewise.
63121         * stdio-common/vfscanf.c: Likewise.
63122         * stdlib/strfmon_l.c: Likewise.
63123         * sunrpc/openchild.c: Likewise.
63124         * sunrpc/xdr_stdio.c: Likewise.
63125         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63126         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63128 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63130         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63132         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63133         in the third column, to generate for the shared library an IFUNC
63134         that uses _dl_vdso_vsym.
63135         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63136         * Makeconfig (object-suffixes-noshared): New variable.
63138         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63139         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63140         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63141         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63143         [BZ #14132]
63144         * include/sys/time.h (__gettimeofday): Remove macro.
63145         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63146         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63147         Remove INTDEF.
63148         (__gettimeofday): Add libc_hidden_def.
63149         (gettimeofday): Add libc_hidden_weak.
63150         * sysdeps/mach/gettimeofday.c: Likewise.
63151         * sysdeps/posix/gettimeofday.c: Likewise.
63152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63153         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63155         (__gettimeofday_internal): Remove strong_alias.
63156         (__gettimeofday): Add libc_hidden_def.
63157         (gettimeofday): Add libc_hidden_weak.
63158         * sysdeps/unix/syscalls.list (gettimeofday):
63159         Remove __gettimeofday_internal alias.
63161 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63162             H.J. Lu  <hongjiu.lu@intel.com>
63164         [BZ #12495]
63165         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63166         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63167         (largebin_index_32_big): New.
63168         (largebin_index): Use it for 16-byte alignment.
63169         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63170         correction with front_misalign.
63172 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63176         Likewise.
63177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63178         Likewise.
63179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63180         Likewise.
63181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63182         Likewise.
63183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63184         Likewise.
63185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63186         Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63188         Likewise.
63189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63190         Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63192         Likewise.
63193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63194         Likewise.
63195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63196         Likewise.
63197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63198         Likewise.
63200         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63201         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63203 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63205         [BZ #10846]
63206         [BZ #14036]
63207         * math/libm-test.inc (exp_test): Add test from bug 14036.
63208         (pow_test): Add test from bug 10846.
63210         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63211         and other flags.
63212         (special_function): Do not include flags in test name.
63213         (parse_args): Likewise.
63214         * sysdeps/i386/fpu/libm-test-ulps: Update.
63215         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63216         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63217         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63220         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63221         exceptions.
63222         * math/libm-test.inc ("Philosophy"): Update comment about
63223         exception testing.
63224         (UNDERFLOW_EXCEPTION): New macro.
63225         (UNDERFLOW_EXCEPTION_OK): Likewise.
63226         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63227         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63228         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63229         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63230         (INVALID_EXCEPTION_OK): Update value.
63231         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63232         (OVERFLOW_EXCEPTION_OK): Likewise.
63233         (IGNORE_ZERO_INF_SIGN): Likewise.
63234         (test_exceptions): Handle underflow exceptions.
63235         (acos_test): Update for underflow exception expectations.
63236         (cexp_test): Likewise.
63237         (clog_test): Likewise.
63238         (clog10_test): Likewise.
63239         (csqrt_test): Likewise.
63240         (ctan_test): Likewise.
63241         (ctanh_test): Likewise.
63242         (exp_test): Likewise.
63243         (exp10_test): Likewise.
63244         (exp2_test): Likewise.
63245         (expm1_test): Likewise.
63246         (fma_test): Likewise.
63247         (j0_test): Likewise.
63248         (jn_test): Likewise.
63249         (nexttoward_test): Likewise.
63250         (pow_test): Likewise.
63251         (scalbn_test): Likewise.
63252         (scalbln_test): Likewise.
63253         (tan_test): Likewise.
63254         (y1_test): Likewise.
63255         * sysdeps/i386/fpu/libm-test-ulps: Update.
63256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63258 2012-05-23  David S. Miller  <davem@davemloft.net>
63260         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63261         (__libc_sigaction): Remove unused local variables.
63263 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63265         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63267 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63269         mktime: avoid signed integer overflow
63270         * time/mktime.c (__mktime_internal): Do not mishandle the case
63271         where diff == INT_MIN.
63273         mktime: simplify computation of average
63274         * time/mktime.c (ranged_convert): Use new time_t_avg function
63275         instead of rolling our own (probably-slower) code.
63277         mktime: do not assume signed right shift propagates sign bit
63278         * time/mktime.c (isdst_differ): New static function.
63279         (__mktime_internal): No need to normalize tm_isdst now.
63280         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63281         tm_isdst values.
63283         mktime: merge another wrapv change from gnulib
63284         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63285         from some compilers.
63287         mktime: remove incorrect attempt at unusual arithmetics
63288         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63289         The code didn't really work on such machines anyway.
63290         (TYPE_MINIMUM): Assume two's complement.
63291         (twos_complement_arithmetic): Verify that long_int and time_t
63292         are two's complement (or unsigned, in the latter case).
63294         mktime: check signed shifts on long_int and time_t, too
63295         * time/mktime.c (SHR): Check that shifts work as desired
63296         on the types long_int and time_t too, as SHR is used on
63297         such types.
63299         mktime: do not assume 'long' is wide enough
63300         * time/mktime.c (verify): Move decl up.
63301         (long_int): New type.
63302         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63303         to remove assumption in the code that 'long' is wide enough to
63304         store year values.  This assumption is not true on x32 and on
63305         some non-glibc platforms.
63307         mktime: merge wrapv change from gnulib
63308         * time/mktime.c (WRAPV): New macro.
63309         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63310         (guess_time_tm, __mktime_internal): Do not assume that signed
63311         integer overflow wraps around; modern compilers generate code
63312         where this assumption is no longer valid.
63314 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63316         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63317         Replace "jmp L(pseudo_end)" with "ret".
63318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63319         Likewise.
63321 2012-05-23  Andreas Jaeger  <aj@suse.de>
63323         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63324         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63326 2012-05-23  Andreas Jaeger  <aj@suse.de>
63327             Maximilian Attems  <max@stro.at>
63329         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63330         New macros.
63332 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63335         code so that pseudo_end is just ret and the stack pointer is
63336         correct also for static library in error case.
63338 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63340         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63341         move to syscalls.list.
63342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63347         * manual/install.texi (Running make install): Do not mention Linux
63348         kernel version for which pt_chown is not needed.
63349         (Linux): Do not mention problems with nscd with 2.0 kernels.
63350         * INSTALL: Regenerated.
63352 2012-05-23  Andreas Jaeger  <aj@suse.de>
63354         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63355         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63356         macro.
63357         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63359         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63361         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63363         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63365         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63366         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63367         * sysdeps/unix/sysv/linux/bits/in.h
63368         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63370 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63372         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63373         (PREPARE_VERSION): Just use assert instead, it will be elided
63374         under [NDEBUG] anyway.
63376 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63378         * sysdeps/unix/sysv/linux/Makefile: Include
63379         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63380         (sysdep_routines): Remove sysctl.
63381         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63382         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63383         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63384         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63385         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63387 2012-05-22  Andreas Jaeger  <aj@suse.de>
63389         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63390         that pseudo_end is just ret and the stack pointer is correct also
63391         for static library in error case.
63393 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63395         [BZ #14122]
63396         * nss/nsswitch.c (defconfig_entries): New variable.
63397         (__nss_database_lookup): Don't leak defconfig entries.
63398         (nss_parse_service_list): Don't leak on error paths.
63399         (free_database_entries): New function.
63400         (free_defconfig): New function.
63401         (free_mem): Move common code to free_database_entries.
63403 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63405         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63406         Add arch_prctl.
63407         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63409         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63410         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63412         New macro.
63413         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63414         (INTERNAL_SYSCALL_TYPES): Likewise.
63415         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63416         (LOAD_REGS_TYPES_[1-6]): Likewise.
63417         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63418         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63420 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63422         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63423         copysignl for GLIBC_2_0.
63424         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63425         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63427         logbl for GLIBC_2_0.
63428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63429         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63431 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63434         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63436         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63437         Use "neg %eax".
63439         * time/mktime.c: Update copyright years.
63441 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63443         mktime: merge comment-quoting-style change from gnulib
63444         * time/mktime.c: Quote 'like this' in comments.
63445         The GNU coding standards suggest that we no longer quote `like this',
63446         as "`" and "'" are typically rendered asymmetrically nowadays.
63447         The typical gnulib style is to quote 'like this' when quoting
63448         code, and "like this" when quoting English.
63450         * time/mktime.c (compile-command): Add "-I.".
63452         mktime: merge mktime-internal.h change from gnulib
63453         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63455         mktime: merge time_r change from gnulib
63456         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63458         mktime: merge DEBUG change from gnulib
63459         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63460         case system <time.h> has a #define.
63462         mktime: merge <sys/types.h> change from gnulib
63463         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63464         since <time.t> is now guaranteed to define time_t.
63466         mktime: merge HAVE_CONFIG_H change from gnulib
63467         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63471         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63472         Use "neg %eax".
63474         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63475         __rlim_t cast.
63476         (struct rusage): Use anonymous union to pad each field to
63477         __syscall_slong_t.
63479 2012-05-21  David S. Miller  <davem@davemloft.net>
63481         * Makefules (o-iterator): Remove .s cases.
63482         (compile-command.s): Delete.
63483         (COMPILE.s): Delete.
63484         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63486 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63488         * configure.in (libc_cv_predef_stack_protector): Only consider
63489         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63490         * configure: Regenerated.
63492 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63495         New macro.  Use R*LP on int and pointer.
63496         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63497         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63498         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63499         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63501         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63502         [__WORDSIZE_TIME64_COMPAT32] instead of
63503         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63504         (struct utmp): Likewise.
63505         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63506         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63507         Renamed to ...
63508         (__WORDSIZE_TIME64_COMPAT32): This.
63509         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63510         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63511         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63512         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63513         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63514         (__WORDSIZE_TIME64_COMPAT32): New macro.
63516 2012-05-21  Andreas Jaeger  <aj@suse.de>
63518         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63519         only if [SHARED]. Add prototype for __wcschr_ia32.
63521 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63523         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63524         of %rbp unmolested in the jmp_buf while mangling the low bits.
63525         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63526         unmolested high bits of %rbp while demangling the low bits.
63527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63529 2012-05-21  Andreas Jaeger  <aj@suse.de>
63531         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63532         * sunrpc/svc_simple.c: Use it for registerrpc.
63533         * sunrpc/xcrypt.c: Use it for passwd2des.
63535         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63537 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63539         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63540         Don't define if [__SYSCALL_WORDSIZE != 32].
63541         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63542         New macro.
63544 2012-05-21  Bruno Haible  <bruno@clisp.org>
63545             Andreas Jaeger  <aj@suse.de>
63547         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63548         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63549         inptr and inend for must_buffer_ch.
63550         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63551         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63552         * stdio-common/Makefile (tests): Remove bug15.
63553         (bug15-ENV): Remove macro.
63554         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63555         anymore.
63557 2012-05-19  Andreas Jaeger  <aj@suse.de>
63558             Roland McGrath  <roland@hack.frob.com>
63560         * manual/contrib.texi: Completely rewritten. It contains now an
63561         alphabetical list of contributors and their contributions.
63563 2012-05-21  Richard Henderson  <rth@twiddle.net>
63565         * misc/getauxval.c (__getauxval): Use unsigned long int.
63566         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63567         (getauxval): Use unsigned long int.
63569 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63571         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63573 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63575         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63576         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63577         __alignof__ (long double).
63579 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63583 2012-05-20  Richard Henderson  <rth@twiddle.net>
63585         * misc/getauxval.c: New file.
63586         * misc/sys/auxv.h: New file.
63587         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63588         (routines): Add getauxval.
63589         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63590         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63591         * elf/dl-sysdep.c (_dl_auxv): Remove.
63592         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63593         * elf/dl-support.c (_dl_auxv): New variable.
63594         (_dl_aux_init): Initialize it.
63595         * manual/startup.texi (Auxiliary Vector): New node.
63596         * sysdeps/generic/bits/hwcap.h: New file.
63597         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63598         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63599         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63600         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63601         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63604         Update.
63605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63614 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63618 2012-05-19  David S. Miller  <davem@davemloft.net>
63620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63622 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63624         [BZ #14123]
63625         * math/s_ccosh.c: Include <float.h>
63626         (__ccosh): Avoid internal overflow calculating sinh and cosh
63627         values before multiplying by sin and cos values.
63628         * math/s_ccoshf.c: Likewise.
63629         * math/s_ccoshl.c: Likewise.
63630         * math/s_csin.c: Likewise.
63631         * math/s_csinf.c: Likewise.
63632         * math/s_csinl.c: Likewise.
63633         * math/s_csinh.c: Likewise.
63634         * math/s_csinhf.c: Likewise.
63635         * math/s_csinhl.c: Likewise.
63636         * math/libm-test.inc (ccos_test): Add more tests.
63637         (ccosh_test): Likewise.
63638         (csin_test): Likewise.
63639         (csinh_test): Likewise.
63640         * sysdeps/i386/fpu/libm-test-ulps: Update.
63641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63643 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63645         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63646         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63648         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63650 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63652         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63653         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63654         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63655         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63656         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63657         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63658         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63659         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63660         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63661         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63662         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63663         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63664         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63665         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63666         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63667         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63668         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63669         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63670         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63671         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63672         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63673         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63674         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63675         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63676         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63677         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63678         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63679         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63680         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63681         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63682         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63684 2012-05-18  Andreas Jaeger  <aj@suse.de>
63686         * csu/.gitignore: Delete.
63688 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63690         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63691         (timex): Use __syscall_slong_t.
63693 2012-05-18  Andreas Jaeger  <aj@suse.de>
63694             Carlos O'Donell  <carlos_odonell@mentor.com>
63696         * manual/install.texi (Configuring and compiling): Update
63697         description about files modified in the source directory.
63698         * INSTALL: Regenerated.
63700 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63702         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63703         value.  Use "or" to set return value to -1.
63704         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63705         negate return value.
63707 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63709         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63710         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63711         failure if the compiler has Graphite support disabled.
63712         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63713         Likewise.
63714         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63715         (CFLAGS-memmove.c): Likewise.
63716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63717         Likewise.
63719 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63721         * sysdeps/x86_64/x32/_itoa.h: New file.
63723         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63724         getdents system call only if kernel and user dirents have the
63725         same d_ino and d_off.
63727         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63728         LLONG_MAX != LONG_MAX.
63729         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63730         (_fitoa_word): Likewise.
63732         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63733         years.
63734         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63735         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63736         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63738         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63739         include <bits/wordsize.h>.  Check __x86_64__ instead of
63740         __WORDSIZE.
63741         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63742         if __x86_64__ is defined.  Use anonymous union on fpstate.
63744         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63745         anonymous union.
63747 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63749         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63750         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63752         Refer to _rtld_local_ro instead of _rtld_global_ro.
63753         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63754         Likewise.
63755         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63756         Likewise.
63757         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63758         Likewise.
63759         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63760         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63761         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63763         [BZ #10882]
63764         * sysdeps/powerpc/powerpc32/dl-machine.c
63765         (__elf_machine_runtime_setup) [PROF]: Don't reference
63766         _dl_prof_resolve.
63768 2012-05-18  Andreas Jaeger  <aj@suse.de>
63770         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63771         function only available for GCCs before 3.4 since GCC 3.4
63772         introduced a builtin.
63773         (lrint): Likewise.
63774         (llrintf): Likewise.
63775         (llrint): Likewise.
63776         (fmaxf): Likewise.
63777         (fmax): Likewise.
63778         (fminf): Likewise.
63779         (fmin): Likewise.
63780         (rint): Likewise.
63781         (rintf): Likewise.
63782         (nearbyint): Likewise.
63783         (nearbyintf): Likewise.
63784         (ceil): Likewise.
63785         (ceilf): Likewise.
63786         (floor): Likewise.
63787         (floorf): Likewise.
63789 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63791         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63792         on both fields and cast pointer to __syscall_ulong_t.
63794         * bits/types.h (__fsword_t): New type.
63795         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63796         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63798         (__FSWORD_T_TYPE): Likewise.
63799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63800         (__FSWORD_T_TYPE): Likewise.
63801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63802         (__FSWORD_T_TYPE): Likewise.
63803         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63804         (__FSWORD_T_TYPE): Likewise.
63805         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63806         __SWORD_TYPE with __fsword_t.
63807         (statfs64): Likewise.
63809 2012-05-17  David S. Miller  <davem@davemloft.net>
63811         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63813 2012-05-17  Andreas Jaeger  <aj@suse.de>
63815         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63816         warning.
63818 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63820         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63822 2012-05-17  Andreas Jaeger  <aj@suse.de>
63824         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63825         when it is used.
63827 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63829         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63831 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63833         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63834         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63836 2012-05-17  Andreas Jaeger  <aj@suse.de>
63837             Carlos O'Donell  <carlos_odonell@mentor.com>
63839         [BZ #14059]
63840         * sysdeps/x86_64/multiarch/init-arch.h
63841         (bit_YMM_Usable): Rename to...
63842         (bit_AVX_Usable): ... this.
63843         (bit_FMA4_Usable): New macro.
63844         (bit_XMM_state): New macro.
63845         (bit_YMM_state): New macro.
63846         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63847         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63848         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63849         (CPUID_OSXSAVE): New macro.
63850         (CPUID_AVX): New macro.
63851         (CPUID_FMA4): New macro.
63852         (index_YMM_Usable): Rename to...
63853         (index_AVX_Usable): ... this.
63854         (HAS_AVX): Use HAS_ARCH_FEATURE.
63855         (HAS_FMA4): Likewise.
63856         (HAS_YMM_USABLE): Remove.
63857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63858         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63859         are present.
63860         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63861         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63862         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63863         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63864         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63866 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63868         * math/libm-test.c: Support platforms without multiple rounding modes.
63869         * math/bug-nextafter.c: Support platforms without FP exceptions.
63870         * math/bug-nexttoward.c: Likewise.
63871         * math/test-fenv.c: Likewise.
63872         * math/test-misc.c: Likewise.
63873         * stdlib/bug-getcontext.c: Likewise.
63875 2012-05-17  Andreas Jaeger  <aj@suse.de>
63877         * manual/examples/search.c (critter_cmp): Change signature to
63878         avoid warnings.
63879         * manual/string.texi (Collation Functions): Likewise.
63881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63883         * bits/types.h: Fold copyright years.
63884         * bits/typesizes.h: Likewise.
63885         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63886         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63887         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63888         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63889         * time/time.h: Likewise.
63891 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63893         [BZ #208]
63894         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63895         in instead of returning them.  Return void.
63896         (__libc_mallinfo): Accumulate over all arenas.
63897         (__malloc_stats): Adjust for change in int_mallinfo interface.
63899 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63901         [BZ #10375]
63902         * configure.in (NM): Add AC_CHECK_TOOL for it.
63903         (libc_extra_cflags): New substituted variable.
63904         Check for -fstack-protector being used implicitly.
63905         * configure: Regenerated.
63906         * config.make.in (config-extra-cflags): New variable,
63907         gets @libc_extra_cflags@.
63908         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63910         [BZ #10375]
63911         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63912         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63913         * configure: Regenerated.
63914         * config.make.in (CPPUNDEFS): New substituted variable.
63915         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63916         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63917         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63919 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63921         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63922         (mq_attr): Use __syscall_slong_t.
63924 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63926         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63927         Check __x86_64__ instead of __WORDSIZE.
63928         (_STAT_VER_LINUX): Likewise.
63929         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63930         __syscall_ulong_t and __syscall_slong_t.
63931         (stat64): Likewise.
63933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63935         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63939         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63941 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63943         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63944         __syscall_ulong_t.
63946         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63947         include <bits/wordsize.h>.  Check __x86_64__ instead of
63948         __WORDSIZE.
63949         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63950         defined.
63951         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63953         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63954         include <bits/wordsize.h>.  Check __x86_64__ instead of
63955         __WORDSIZE.
63956         (user_regs_struct): Use "__extension__ unsigned long long"
63957         instead of "unsigned long" if __x86_64__ is defined.
63958         (user): Likewise.  Pad after pointer field if __ILP32__ is
63959         defined.
63961 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63963         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63964         versions 5 to 9.
63965         * configure: Regenerated.
63966         * manual/install.texi (texinfo): Increase version requirement to
63967         4.5 or later.
63968         * INSTALL: Regenerated.
63970         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63974         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63976         * sysdeps/x86_64/x32/ffs.c: New file.
63978         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63979         __syscall_ulong_t.
63980         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63981         defined.  Use __syscall_ulong_t.
63982         (shminfo): Use __syscall_ulong_t.
63983         (shm_info): Likewise.
63985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63986         __syscall_ulong_t.
63988         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63989         <bits/wordsize.h>.
63990         (msgqnum_t): Use __syscall_ulong_t.
63991         (msglen_t): Likewise.
63992         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63993         __syscall_ulong_t.
63995         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63996         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63998         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64000         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64001         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64003         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64004         __syscall_slong_t.
64006         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64007         include <bits/wordsize.h>.  Check __x86_64__ instead of
64008         __WORDSIZE.
64010         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64011         "unsigned long long int" if __x86_64__ is defined.
64012         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64014         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64015         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64016         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64018         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64019         <stdint.h>.
64020         (GET_PC): Cast to uintptr_t first.
64021         (GET_FRAME): Likewise.
64022         (GET_STACK): Likewise.
64024         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64025         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64026         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64027         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64028         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64029         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64030         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64031         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64032         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64033         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64034         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64036         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64040         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64043         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64045         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64046         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64047         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64048         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64050         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64051         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64052         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64054 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64056         * Makerules (+depfiles): Also collect depfiles from .oS in
64057         $(extra-objs).
64058         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64059         .oS, $(libnldbl-routines)).
64061         * Makerules (native-compile-mkdep-flags): Define.
64062         * sunrpc/Makefile (extra-objs): Add $(addprefix
64063         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64064         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64065         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64066         calling $(make-target-directory).
64068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64070         * bits/types.h (__snseconds_t): Removed.
64071         * time/time.h (struct timespec): Replace __snseconds_t with
64072         __syscall_slong_t.
64073         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64074         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64075         Likewise.
64076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64077         (__SNSECONDS_T_TYPE): Likewise.
64078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64079         (__SNSECONDS_T_TYPE): Likewise.
64080         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64081         (__SNSECONDS_T_TYPE): Likewise.
64083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64085         * sysdeps/mach/hurd/bits/typesizes.h
64086         (__SYSCALL_SLONG_TYPE): New macro.
64087         (__SYSCALL_ULONG_TYPE): Likewise.
64089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64091         * bits/types.h (__syscall_slong_t): New type.
64092         (__syscall_ulong_t): Likewise.
64094         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64095         (__SYSCALL_ULONG_TYPE): Likewise.
64096         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64097         (__SYSCALL_SLONG_TYPE): Likewise.
64098         (__SYSCALL_ULONG_TYPE): Likewise.
64099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64100         (__SYSCALL_SLONG_TYPE): Likewise.
64101         (__SYSCALL_ULONG_TYPE): Likewise.
64102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64103         (__SYSCALL_SLONG_TYPE): Likewise.
64104         (__SYSCALL_ULONG_TYPE): Likewise.
64106 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64108         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64109         Add sigaltstack-offsets.sym.
64110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64111         <sigaltstack-offsets.h>.
64112         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64113         longjmp_msg pointer.
64114         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64115         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64116         signal stack.
64117         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64119 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64121         * elf/stackguard-macros.h: Remove file.
64122         * sysdeps/generic/stackguard-macros.h: New file.
64123         * sysdeps/i386/stackguard-macros.h: Likewise.
64124         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64125         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64126         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64128         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64129         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64130         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64131         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64132         <elf/stackguard-macros.h>.
64134         [BZ #14109]
64135         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64136         __aligned__ in attribute.
64137         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64138         (gregset_t): Likewise.
64140 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64142         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64143         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64144         * sysdeps/x86_64/x32/Implies-after: New file.
64146 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64148         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64149         and access return value for _dl_profile_fixup.  Use R10_LP to
64150         load frame size.
64152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64154         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64158         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64159         * sysdeps/x86_64/x32/sysdep.h: New file.
64161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64163         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64164         * sysdeps/x86_64/setjmp.S: Likewise.
64166 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64168         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64169         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64170         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64171         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64172         remove unused global constant.
64174 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64176         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64177         include of <not-cancel.h>.
64179 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64181         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64183 2012-05-15  Jeff Law  <law@redhat.com>
64184             Andreas Jaeger  <aj@suse.de>
64186         [BZ #13594]
64187         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64188         out from...
64189         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64190         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64191         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64192         code changing __hst_map_handle.map.
64194 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64196         * configure.in (sysnames): Look for Implies-before and Implies-after
64197         files.
64198         * configure: Regenerated.
64200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64202         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64203         8-byte data alignment with LP_SIZE alignment.
64205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64207         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64208         into R10_LP.
64210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64212         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64216         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64217         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64218         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64219         Likewise.
64220         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64224         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64225         (stackinfo_sub_sp): Likewise.
64227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64230         RAX_LP.
64232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64235         into R*_LP.
64237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64239         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64240         sizes into R*_LP.
64242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64244         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64248         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64249         into R11_LP and load __x86_64_shared_cache_size_half into
64250         R8_LP.
64252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64254         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64255         R8_LP.
64257 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64260         logb for POWER7.
64261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64262         logbf for POWER7.
64263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64264         logbl for POWER7.
64265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64266         powerpc32/power7/fpu/s_logb.c via #include.
64267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64268         powerpc32/power7/fpu/s_logbf.c via #include.
64269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64270         powerpc32/power7/fpu/s_logbl.c via #include.
64272 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64274         * README.libm: Remove file.
64276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64278         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64279         count for x32.  Use R*_LP and omit operand-size suffix.
64281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64283         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64284         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64285         * sysdeps/x86_64/x32/shlib-versions: New file.
64287 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64289         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64290         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64291         Use _dl_fatal_printf instead.
64293 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64295         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64296         set if not set by the user.  Do not allow for being unset.
64297         * sysdeps/unix/sysv/linux/configure: Regenerated.
64299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64301         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64302         the `q' suffix from lea and replace .quad with ASM_ADDR.
64304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64307         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64308         instead of $17.
64309         (PTR_DEMANGLE): Likewise.
64311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64313         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64314         (LP_OP): Likewise.
64315         (ASM_ADDR): Likewise.
64316         (RAX_LP): Likewise.
64317         (RBP_LP): Likewise.
64318         (RBX_LP): Likewise.
64319         (RCX_LP): Likewise.
64320         (RDI_LP): Likewise.
64321         (RSI_LP): Likewise.
64322         (RSP_LP): Likewise.
64323         (R8_LP): Likewise.
64324         (R9_LP): Likewise.
64325         (R10_LP): Likewise.
64326         (R10_LP): Likewise.
64327         (R11_LP): Likewise.
64328         (R12_LP): Likewise.
64329         (R13_LP): Likewise.
64330         (R14_LP): Likewise.
64331         (R15_LP): Likewise.
64333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64335         * sysdeps/x86_64/x32/dl-machine.h: New file.
64337 2012-05-14  Andreas Jaeger  <aj@suse.de>
64339         * manual/Makefile (subdir): Remove export of subdir.
64340         (all): Remove target.
64341         (.PHONY): Remove all from list.
64342         (mkinstalldirs): Remove.
64343         (.PHONY): Remove installdirs from list.
64344         ($(inst_infodir)/libc.info): Use make-target-directory.
64345         (installdirs): Remove.
64346         (subdir_%): Remove.
64347         (glibc-targets): Remove.
64348         (lib): Remove.
64349         (stubs): Remove.
64350         ($(objpfx)stubs ../po/manual.pot): Remove.
64351         ($(objpfx)stamp%): Remove.
64352         (make-target-directory): Remove.
64353         (subdir_install): Remove.
64354         (routines): Remove.
64355         (aux): Remove.
64356         (sources): Remove.
64357         (objects): Remove.
64358         (headers): Remove.
64360         [BZ #13750]
64361         * manual/.gitignore: Remove, it's not needed anymore.
64362         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64363         all files in it.
64364         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64365         directory.
64366         (texis): Renamed to $(objpfx)texis.
64367         (texis-path): New, contains path to generated files.
64368         (chapters.%): Use texis-path for complete path, add extra argument
64369         libc-texinfo.sh.
64370         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64371         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64372         (summary,texi, stamp-summary): Use complete path of
64373         files. Generate files in build dir.
64374         (dir-add.texi): Build in build dir.
64375         (libm-err.texi,stamp-libm-err): Likewise.
64376         (version.texi, stamp-version): Likewise.
64377         (.%c.texi): Likewise.
64378         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64379         (mostlyclean): Remove target.
64380         (realclean): Remove target.
64381         (generated): Add new variable with contents from mostlyclean and
64382         realclean, remove entries duplicated in common-mostlyclean, add
64383         stamp-libm-err and stamp-version.
64384         (generated-dirs): Add libc directory.
64385         ($(inst_infodir)/libc.info): Install files from build dir.
64387         * manual/install.texi (Configuring and compiling): Adjust since
64388         the info files are not part of the tar ball anymore.
64390 2012-05-14  Andreas Jaeger  <aj@suse.de>
64392         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64393         variable.
64395 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64397         [BZ #13717]
64398         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64399         to 2.2.0 where earlier.
64400         * sysdeps/unix/sysv/linux/configure: Regenerated.
64401         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64402         Remove conditional code.
64403         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64404         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64405         Remove conditional code.
64406         [!__NR_lchown]: Likewise.
64407         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64408         [__NR_lchown]: Likewise.
64409         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64410         comment referencing __ASSUME_LCHOWN_SYSCALL.
64411         * sysdeps/unix/sysv/linux/i386/sigaction.c
64412         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64413         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64414         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64415         Remove conditional code.
64416         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64417         (__protocol_available): Remove #if 0 code.
64418         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64419         conditional code.
64420         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64421         * sysdeps/unix/sysv/linux/kernel-features.h
64422         (__ASSUME_GETCWD_SYSCALL): Don't define.
64423         (__ASSUME_REALTIME_SIGNALS): Likewise.
64424         (__ASSUME_PREAD_SYSCALL): Likewise.
64425         (__ASSUME_PWRITE_SYSCALL): Likewise.
64426         (__ASSUME_POLL_SYSCALL): Likewise.
64427         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64428         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64429         non-SPARC.
64430         (__ASSUME_SIOCGIFNAME): Don't define.
64431         (__ASSUME_MSG_NOSIGNAL): Likewise.
64432         (__ASSUME_SENDFILE): Define unconditionally.
64433         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64434         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64435         conditional code.
64436         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64437         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64438         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64439         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64440         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64441         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64442         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64444         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64445         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64450         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64451         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64467         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64468         Remove conditional code.
64469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64470         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64471         Remove conditional code.
64472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64473         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64474         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64475         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64476         Remove conditional code.
64477         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64478         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64479         Remove conditional code.
64480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64481         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64482         Remove conditional code.
64483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64484         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64485         Remove conditional code.
64486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64487         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64488         Remove conditional code.
64489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64490         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64493         * sysdeps/unix/sysv/linux/sigaction.c
64494         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64495         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64496         * sysdeps/unix/sysv/linux/sigpending.c
64497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64499         * sysdeps/unix/sysv/linux/sigprocmask.c
64500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64502         * sysdeps/unix/sysv/linux/sigsuspend.c
64503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64505         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64506         (__libc_missing_rt_sigs): Remove.
64507         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64508         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64509         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64510         Remove conditional code.
64511         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64512         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64513         return 1.
64514         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64515         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64516         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64517         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64519 2012-05-14  Andreas Jaeger  <aj@suse.de>
64521         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64522         it's not used in glibc.
64523         (__coshm1): Likewise.
64524         (__acosh1p): Likewise.
64525         (__sgn): Likewise.
64527         * manual/string.texi (Copying and Concatenation): Add missing
64528         variable in concat example.
64529         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64533         [BZ #14103]
64534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64535         __builtin_clzl with __builtin_clzll.
64537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64539         [BZ #14104]
64540         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64541         libc_freeres_ptr.
64543 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64545         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64546         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64547         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64548         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64550 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64552         * NEWS: Update ia64 info.
64554 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64556         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64557         used as bcopy.
64559 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64561         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64562         * sysdeps/unix/syscalls.list (dup3): Likewise.
64563         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64564         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64566 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64568         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64569         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64571 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64573         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64574         thread pointer.
64575         (TLS_IE): Use mov/add instead of movq/addq to load thread
64576         pointer.
64577         (TLS_GD_PREFIX): New.
64578         (TLS_GD): Use it.
64580 2012-05-11  David S. Miller  <davem@davemloft.net>
64582         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64583         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64584         (_FPU_SETCW): Likewise.
64586 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64588         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64589         is 32-byte aligned.
64591 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64593         [BZ #11837]
64594         * iconvdata/gb18030.c: Update tables.
64595         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64596         characters specially.
64597         (BODY for TO_LOOP): Add encoding of missing ranges.
64599 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64601         [BZ #13673]
64602         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64603         * sysdeps/mach/hurd/dup3.c: Likewise.
64604         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64605         * sysdeps/powerpc/memmove.c:: Likewise.
64607 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64610         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64612 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64614         * elf/elf.h (R_X86_64_RELATIVE64): New.
64615         (R_X86_64_NUM): Updated.
64616         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64617         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64618         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64619         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64620         tst-quad1pie tst-quad2pie
64621         (modules-names): Add tst-quadmod1 tst-quadmod2.
64622         ($(objpfx)tst-quad1): New dependency.
64623         ($(objpfx)tst-quad2): Likewise.
64624         ($(objpfx)tst-quad1pie): Likewise.
64625         ($(objpfx)tst-quad2pie): Likewise.
64626         * sysdeps/x86_64/tst-quad1.c: New file.
64627         * sysdeps/x86_64/tst-quad1pie.c: New file.
64628         * sysdeps/x86_64/tst-quad2.c: Likewise.
64629         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64630         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64631         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64632         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64633         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64637         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64638         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64639         * streams/stropts.h (t_scalar_t): Define type.
64641         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64642         (_PATH_PRESERVE): Set to "/var/lib".
64643         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64645         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64646         instead of int.
64648         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64649         if __dir_mkfile succeeded.
64651         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64652         checking for _hurd_dtablesize.  Unlock it right after having
64653         finished _hurd_dtable allocation.
64655 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64657         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64658         * sysdeps/mach/hurd/configure: Regenerated.
64659         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64660         special-casing to...
64661         * sysdeps/gnu/configure.in: ... this new file.
64662         * sysdeps/unix/sysv/linux/configure: Regenerated.
64663         * sysdeps/gnu/configure: New generated file.
64665         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64666         for Linux: use nsec instead of usec, as well as:
64667         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64668         members of type struct timespec.
64669         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64670         New macros.
64671         (struct stat64): Likewise.
64672         (_STATBUF_ST_NSEC): New macro.
64673         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64675         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64676         __strtoul_internal rather than strtoul.
64678 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64680         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64681         and reject them.
64683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64685         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64686         which preserves existing values.
64687         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64689 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64691         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64692         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64693         greater than FD_SETSIZE.
64695 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64697         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64698         allocated, call __vm_protect to finish enabling the existing space, and
64699         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64700         allocate the remainder.
64702 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64704         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64705         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64709         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64710         sysdeps/mach/hurd/readlink.c.
64712         * posix/tst-sysconf.c (posix_options): Only use
64713         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64714         _POSIX_SYNCHRONIZED_IO when they are defined
64715         * sysdeps/mach/hurd/bits/posix_opt.h:
64716         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64717         (_XOPEN_REALTIME): Undefine macro.
64718         (_XOPEN_REALTIME_THREADS): Undefine macro.
64719         (_XOPEN_SHM): Undefine macro.
64720         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64721         macro to -1.
64722         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64723         macro to -1.
64724         (_POSIX_ASYNC_IO): Undefine macro.
64725         (_POSIX_PRIORITIZED_IO): Undefine macro.
64726         (_POSIX_SPIN_LOCKS): Define macro to -1.
64728         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64729         SA_NODEFER, SA_RESETHAND.
64730         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64731         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64732         F_DUPFD_CLOEXEC.
64734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64736         * elf/Makefile (pldd-modules): Define unconditionally.
64738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64740         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64744         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64745         Return ENOENT when name is empty.
64746         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64750         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64752         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64754 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64756         Fix mlock in all cases except non-readable pages.
64757         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64758         instead of VM_PROT_ALL as parameter to __vm_wire function.
64760         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64761         (__mkdir): When path is `/', just fail with EEXIST.
64762         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64766         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64767         <sys/uio.h> (for writev).
64768         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64769         and <sys/param.h> (for MIN).
64771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64773         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64774         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64775         if interrupted.
64777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64779         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64780         Depend on against $(link-rpcuserlibs).
64782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64784         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64785         (__libc_stack_end): Do not use attribute_relro.
64786         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64787         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64788         to libthread-provided value.
64789         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64790         attribute_relro.
64792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64794         [BZ #3748]
64795         * bits/libc-lock.h (__libc_once_get): New macro.
64796         * sysdeps/mach/bits/libc-lock.h: Likewise.
64797         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64799         instead of using implementation details.
64801         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64802         * libio/freopen.c: Likewise.
64803         * libio/freopen64.c: Likewise.
64804         * misc/syslog.c: Likewise.
64805         * nscd/connections.c: Likewise.
64806         * nscd/netgroupcache.c: Likewise.
64807         * sysdeps/posix/getcwd.c: Likewise.
64809 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64811         * math/w_ilogbf.c: Add #include <limits.h>.
64813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64815         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64816         path instead of returning without unlocking.
64818         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64819         immediate-write ioctls.
64820         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64824         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64825         __builtin_frame_address instead of making assumptions about the
64826         location of the return address relative to DATA.  Force early load of
64827         the return address.
64828         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64829         __builtin_frame_address.
64831         dup3 for GNU Hurd.
64832         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64833         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64834         implement dup3 and do some further code clean-ups.
64835         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64836         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64840         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64842         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64843         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64844         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64845         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64846         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64847         d->port.lock.
64849         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64850         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64851         when handler == SIG_ERR, not when handler != SIG_ERR.
64853 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64855         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64856         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64857         definitions.
64859         accept4 for GNU Hurd.
64860         * include/sys/socket.h (__libc_accept4): New prototype.
64861         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64862         to implement __libc_accept4.
64863         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64864         __libc_accept4.
64865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64867         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64868         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64869         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64870         signal-defines.sym.
64872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64874         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64878         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64879         assertion on O_CLOEXEC flag.
64880         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64881         * hurd/intern-fd.c: Likewise.
64882         * hurd/port2fd.c: Likewise.
64884 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64886         [BZ #3906]
64887         * bits/in.h (IPV6_PKTINFO): Define new macro.
64888         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64890 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64892         [BZ #13954]
64893         [BZ #13955]
64894         [BZ #13956]
64895         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64896         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64897         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64898         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64899         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64900         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64901         * math/libm-test.inc (logb_test) : Additional logb tests.
64903 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64904             Andreas Jaeger  <aj@suse.de>
64906         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64907         * configure: Regenerated.
64908         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64909         * config.make.in (link-obsolete-rpc): New substituted variable.
64910         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64911         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64912         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64913         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64914         so that libc.a contains the symbols.
64915         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64916         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64917         * sunrpc/auth_none.c: Likewise.
64918         * sunrpc/auth_unix.c: Likewise.
64919         * sunrpc/authdes_prot.c: Likewise.
64920         * sunrpc/authuxprot.c: Likewise.
64921         * sunrpc/clnt_gen.c: Likewise.
64922         * sunrpc/clnt_perr.c: Likewise.
64923         * sunrpc/clnt_raw.c: Likewise.
64924         * sunrpc/clnt_simp.c: Likewise.
64925         * sunrpc/clnt_tcp.c: Likewise.
64926         * sunrpc/clnt_udp.c: Likewise.
64927         * sunrpc/clnt_unix.c: Likewise.
64928         * sunrpc/des_crypt.c: Likewise.
64929         * sunrpc/des_soft.c: Likewise.
64930         * sunrpc/get_myaddr.c: Likewise.
64931         * sunrpc/key_call.c: Likewise.
64932         * sunrpc/key_prot.c: Likewise.
64933         * sunrpc/netname.c: Likewise.
64934         * sunrpc/pm_getmaps.c: Likewise.
64935         * sunrpc/pm_getport.c: Likewise.
64936         * sunrpc/pmap_clnt.c: Likewise.
64937         * sunrpc/pmap_prot.c: Likewise.
64938         * sunrpc/pmap_prot2.c: Likewise.
64939         * sunrpc/pmap_rmt.c: Likewise.
64940         * sunrpc/publickey.c: Likewise.
64941         * sunrpc/rpc_cmsg.c: Likewise.
64942         * sunrpc/rpc_common.c: Likewise.
64943         * sunrpc/rpc_dtable.c: Likewise.
64944         * sunrpc/rpc_prot.c: Likewise.
64945         * sunrpc/rpc_thread.c: Likewise.
64946         * sunrpc/rtime.c: Likewise.
64947         * sunrpc/svc.c: Likewise.
64948         * sunrpc/svc_auth.c: Likewise.
64949         * sunrpc/svc_raw.c: Likewise.
64950         * sunrpc/svc_run.c: Likewise.
64951         * sunrpc/svc_tcp.c: Likewise.
64952         * sunrpc/svc_udp.c: Likewise.
64953         * sunrpc/svc_unix.c: Likewise.
64954         * sunrpc/svcauth_des.c: Likewise.
64955         * sunrpc/xcrypt.c: Likewise.
64956         * sunrpc/xdr.c: Likewise.
64957         * sunrpc/xdr_array.c: Likewise.
64958         * sunrpc/xdr_float.c: Likewise.
64959         * sunrpc/xdr_intXX_t.c: Likewise.
64960         * sunrpc/xdr_mem.c: Likewise.
64961         * sunrpc/xdr_rec.c: Likewise.
64962         * sunrpc/xdr_ref.c: Likewise.
64963         * sunrpc/xdr_sizeof.c: Likewise.
64964         * sunrpc/xdr_stdio.c: Likewise.
64966 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64968         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64969         change.  Update copyright years.
64971 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64973         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64975 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64976             Joseph Myers  <joseph@codesourcery.com>
64977             Paul Pluzhnikov  <ppluzhnikov@google.com>
64979         [BZ #14012]
64980         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64981         requiring rpcgen.
64982         [cross-compiling] (extra-libs): Likewise.
64983         [cross-compiling] (extra-libs-others): Likewise.
64984         [cross-compiling] (librpcsvc-routines): Likewise.
64985         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64986         [cross-compiling] (omit-deps): Likewise.
64987         (sunrpc-CPPFLAGS): New variable.
64988         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64989         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64990         (cross-rpcgen-objs): New variable.
64991         (extra-objs): Append $(cross-rpcgen-objs).
64992         ($(cross-rpcgen-objs)): New rule.
64993         ($(objpfx)cross-rpcgen): Likewise.
64994         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64995         comment.
64996         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64997         ($(objpfx)x%.stmp): Likewise.
64998         * sunrpc/proto.h [IS_IN_build] (_): Define.
64999         [IS_IN_build] (_libc_intl_domainname): Likewise.
65001 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65003         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65004         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65005         and R_X86_64_TPOFF64.
65007 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65009         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65010         sysdeps/unix/sysv/syscalls.list.
65011         (stime): Likewise.
65012         (utime): Likewise.
65013         * sysdeps/unix/sysv/syscalls.list: Remove file.
65015 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65017         [BZ #3440]
65018         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65019         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65020         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65021         (__LC_IDENTIFICATION): Make these macros useful in #if
65022         expressions, as required by C99.
65024 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65026         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65027         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65028         after this.
65030 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65032         * stdlib/longlong.h: Updated from GCC.
65034 2012-05-09  Andreas Jaeger  <aj@suse.de>
65036         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65037         default is first entry.
65038         (run_mode): Set type.
65039         (main): Remove informal message about syslog.
65040         (options): Fix typo.
65042         [BZ #14053]
65043         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65044         to asm.
65045         (lrint): Likewise.
65046         (llrintf): Likewise.
65047         (llrint): Likewise.
65048         (rint): Likewise.
65049         (rintf): Likewise.
65050         (nearbyint): Likewise.
65051         (nearbyintf): Likewise.
65053 2012-05-09  Andreas Jaeger  <aj@suse.de>
65054             Pedro Alves  <palves@redhat.com>
65056         * nscd/nscd.c (run_mode): Use enum.
65057         (main): Cleanup coding style issue.
65059 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65060             Andreas Jaeger  <aj@suse.de>
65062         * nscd/nscd.c (go_background): Replaced with...
65063         (run_mode): ... this.
65064         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65065         (options): Add -F --foreground.
65066         (main): Implement it.
65067         (parse_opt): Parse it.
65069 2012-05-09  Andreas Jaeger  <aj@suse.de>
65071         [BZ #14083]
65072         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65073         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65074         -Wconversion warning.
65075         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65076         Likewise.
65078 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65080         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65081         == 0.
65082         (LC_ALL): Use macro-int-constant.
65083         (LC_COLLATE): Likewise.
65084         (LC_CTYPE): Likewise.
65085         (LC_MESSAGES): Likewise.
65086         (LC_MONETARY): Likewise.
65087         (LC_NUMERIC): Likewise.
65088         (LC_TIME): Likewise.
65089         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65090         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65091         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65092         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65093         Specify type.
65094         [C99-based standards] (float_t): Expect type.
65095         [C99-based standards] (double_t): Expect type.
65096         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65097         type.
65098         [C99-based standards] (HUGE_VALL): Likewise.
65099         [C99-based standards] (INFINITY): Likewise.
65100         [C99-based standards] (NAN): Likewise.
65101         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65102         [C99-based standards] (FP_NAN): Likewise.
65103         [C99-based standards] (FP_NORMAL): Likewise.
65104         [C99-based standards] (FP_SUBNORMAL): Likewise.
65105         [C99-based standards] (FP_ZERO): Likewise.
65106         [C99-based standards] (FP_FAST_FMA): Use
65107         optional-macro-int-constant.  Specify type.  Require == 1.
65108         [C99-based standards] (FP_FAST_FMAF): Likewise.
65109         [C99-based standards] (FP_FAST_FMAL): Likewise.
65110         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65111         [C99-based standards] (FP_ILOGBNAN): Likewise.
65112         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65113         Specify type.
65114         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65115         [C99-based standards] (math_errhandling): Specify type.
65116         [ISO99 || ISO11] (signgam): Do not allow.
65117         [non-C99-based standards] (copysignf): Do not allow.
65118         [non-C99-based standards] (exp2f): Likewise.
65119         [non-C99-based standards] (log2f): Likewise.
65120         [non-C99-based standards] (modff): Allow.
65121         [non-C99-based standards] (erff): Do not allow.
65122         [non-C99-based standards] (erfcf): Likewise.
65123         [non-C99-based standards] (gammaf): Likewise.
65124         [non-C99-based standards] (hypotf): Likewise.
65125         [non-C99-based standards] (j0f): Likewise.
65126         [non-C99-based standards] (j1f): Likewise.
65127         [non-C99-based standards] (jnf): Likewise.
65128         [non-C99-based standards] (lgammaf): Likewise.
65129         [non-C99-based standards] (tgammaf): Likewise.
65130         [non-C99-based standards] (y0f): Likewise.
65131         [non-C99-based standards] (y1f): Likewise.
65132         [non-C99-based standards] (ynf): Likewise.
65133         [non-C99-based standards] (isnanf): Likewise.
65134         [non-C99-based standards] (acoshf): Likewise.
65135         [non-C99-based standards] (asinhf): Likewise.
65136         [non-C99-based standards] (atanhf): Likewise.
65137         [non-C99-based standards] (cbrtf): Likewise.
65138         [non-C99-based standards] (expm1f): Likewise.
65139         [non-C99-based standards] (ilogbf): Likewise.
65140         [non-C99-based standards] (log1pf): Likewise.
65141         [non-C99-based standards] (logbf): Likewise.
65142         [non-C99-based standards] (nextafterf): Likewise.
65143         [non-C99-based standards] (remainderf): Likewise.
65144         [non-C99-based standards] (rintf): Likewise.
65145         [non-C99-based standards] (scalbf): Likewise.
65146         [non-C99-based standards] (copysignl): Likewise.
65147         [non-C99-based standards] (exp2l): Likewise.
65148         [non-C99-based standards] (log2l): Likewise.
65149         [non-C99-based standards] (modfl): Allow.
65150         [non-C99-based standards] (erfl): Do not allow.
65151         [non-C99-based standards] (erfcl): Likewise.
65152         [non-C99-based standards] (gammal): Likewise.
65153         [non-C99-based standards] (hypotl): Likewise.
65154         [non-C99-based standards] (j0l): Likewise.
65155         [non-C99-based standards] (j1l): Likewise.
65156         [non-C99-based standards] (jnl): Likewise.
65157         [non-C99-based standards] (lgammal): Likewise.
65158         [non-C99-based standards] (tgammal): Likewise.
65159         [non-C99-based standards] (y0l): Likewise.
65160         [non-C99-based standards] (y1l): Likewise.
65161         [non-C99-based standards] (ynl): Likewise.
65162         [non-C99-based standards] (isnanl): Likewise.
65163         [non-C99-based standards] (acoshl): Likewise.
65164         [non-C99-based standards] (asinhl): Likewise.
65165         [non-C99-based standards] (atanhl): Likewise.
65166         [non-C99-based standards] (cbrtl): Likewise.
65167         [non-C99-based standards] (expm1l): Likewise.
65168         [non-C99-based standards] (ilogbl): Likewise.
65169         [non-C99-based standards] (log1pl): Likewise.
65170         [non-C99-based standards] (logbl): Likewise.
65171         [non-C99-based standards] (nextafterl): Likewise.
65172         [non-C99-based standards] (remainderl): Likewise.
65173         [non-C99-based standards] (rintl): Likewise.
65174         [non-C99-based standards] (scalbl): Likewise.
65175         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65176         [non-C99-based standards] (FP_*): Do not allow.
65177         [C99-based standards] (FP_*): Change to
65178         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65179         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65180         allow.
65181         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65182         (SIG_ERR): Likewise.
65183         [X/Open-based standards] (SIG_HOLD): Likewise.
65184         (SIG_IGN): Likewise.
65185         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65186         positive value.
65187         (SIGFPE): Likewise.
65188         (SIGILL): Likewise.
65189         (SIGINT): Likewise.
65190         (SIGSEGV): Likewise.
65191         (SIGTER): Likewise.
65192         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65193         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65194         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65195         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65196         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65197         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65198         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65199         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65200         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65201         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65202         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65203         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65204         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65206         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65207         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65208         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65209         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65210         [X/Open-based standards] (SIGTRAP): Likewise.
65211         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65212         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65213         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65214         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65215         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65216         allow.
65218 2012-05-08  Ian Wienand  <ianw@vmware.com>
65220         [BZ #14080]
65221         * time/tzset.c (__tzset_parse_tz): Update default rules for
65222         daylight time changes in the Energy Policy Act of 2005.
65224 2012-05-09  Andreas Jaeger  <aj@suse.de>
65226         [BZ #13983]
65227         * elf/ldconfig.c (parse_conf): Change string to make clear that
65228         ldconfig only issued a warning if ld.so.conf does not exist.
65230 2012-05-08  David S. Miller  <davem@davemloft.net>
65232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65233         movxtod instead of popping the value on the stack.
65235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65237 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65239         * config.h.in: Add HAVE_ARM_PCS_VFP.
65241 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65243         [BZ #13979]
65244         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65245         checking but the checks are disabled for any reason.
65247 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65249         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65250         and ELF64_R_TYPE with ELFW(R_TYPE).
65252 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65254         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65255         (ulimit): Likewise.
65257         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65258         (settimeofday): Likewise.
65260 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65262         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65263         a struct th_u2 inside the union, and move tu_block/tu_code into
65264         a new th_u3 union of tu_block/tu_code inside of that.  Move
65265         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65266         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65267         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65268         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65269         (th_stuff): Change to th_u1.tu_stuff.
65270         (th_data): Define.
65271         (th_msg): Change to th_u1.th_u2.tu_data.
65273 2012-05-07  David S. Miller  <davem@davemloft.net>
65275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65277         [BZ #14074]
65278         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65279         (SETUP_PIC_REG): Use it.
65280         (SETUP_PIC_REG_LEAF): Use it.
65282 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65284         [BZ #13885]
65285         [BZ #13923]
65286         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65287         USE_AS_EXPM1L.
65288         (EXPL_FINITE): Likewise.
65289         (FLDLOG): Likewise.
65290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65291         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65292         e_expl.S.
65293         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65294         USE_AS_EXPM1L.
65295         (EXPL_FINITE): Likewise.
65296         (FLDLOG): Likewise.
65297         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65298         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65299         e_expl.S.
65300         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65301         test of -max_value argument for long double.
65302         * sysdeps/i386/fpu/libm-test-ulps: Update.
65303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65305 2012-05-06  David S. Miller  <davem@davemloft.net>
65307         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65308         quad soft-float symbols whose references which are compiler
65309         generated.
65310         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65312 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65314         [BZ #13884]
65315         [BZ #13914]
65316         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65317         USE_AS_EXP10L.
65318         (EXPL_FINITE): Likewise.
65319         (FLDLOG): Likewise.
65320         (c0): Likewise.
65321         (c1): Likewise.
65322         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65323         Adjust comments for base varying.
65324         (__expl_finite): Change alias to EXPL_FINITE.
65325         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65326         e_expl.S.
65327         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65328         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65329         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65330         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65332         USE_AS_EXP10L.
65333         (EXPL_FINITE): Likewise.
65334         (FLDLOG): Likewise.
65335         (c0): Likewise.
65336         (c1): Likewise.
65337         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65338         Adjust comments for base varying.
65339         (__expl_finite): Change alias to EXPL_FINITE.
65340         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65341         tests for bugs.
65342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65344         [BZ #14064]
65345         * math/libm-test.inc (check_float_internal): Correct ulp
65346         calculation for subnormal expected results.
65348 2012-05-06  Andreas Jaeger  <aj@suse.de>
65350         * Makeconfig (+math-flags): New, set to -frounding-math.
65351         (+cflags): Add +math-flags so that all of glibc gets compiled with
65352         it.
65354         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65356 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65358         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65359         Disable one test.
65361         [BZ #13787]
65362         [BZ #13922]
65363         [BZ #14036]
65364         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65365         (__ieee754_expl): Allow for and saturate large arguments.
65366         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65367         (u_threshold): Likewise.
65368         (__exp): Call __ieee754_exp before checking for overflow and
65369         underflow.
65370         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65371         (u_threshold): Likewise.
65372         (__expf): Call __ieee754_expf before checking for overflow and
65373         underflow.
65374         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65375         (u_threshold): Likewise.
65376         (__expl): Call __ieee754_expl before checking for overflow and
65377         underflow.
65378         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65379         (__ieee754_expl): Allow for and saturate large arguments.
65380         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65381         missing overflow exception on overflow.
65382         (expm1_test): Do not allow missing overflow exception on overflow.
65384         * sysdeps/i386/fpu/e_expl.c: Move to ...
65385         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65386         rather than using inline asm.
65387         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65388         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65389         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65391         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65392         (nice): Likewise.
65393         (poll): Likewise.
65394         (signal): Likewise.
65395         (time): Likewise.
65396         (times): Likewise.
65398 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65400         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65401         sysdeps/unix/common/syscalls.list.
65402         (fchmod): Likewise.
65403         (fchown): Likewise.
65404         (ftruncate): Likewise.
65405         (getrusage): Likewise.
65406         (gettimeofday): Likewise.
65407         (setpgid): Likewise.
65408         (setregid): Likewise.
65409         (setreuid): Likewise.
65410         (sigaction): Likewise.
65411         (truncate): Likewise.
65412         (vhangup): Likewise.
65413         * sysdeps/unix/common/syscalls.list: Remove file.
65414         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65415         * sysdeps/unix/sysv/linux/Implies: Likewise.
65417 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65419         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65421         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65422         Moved to ...
65423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65424         Here.
65425         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65426         to ...
65427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65428         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65429         to ...
65430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65431         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65432         to ...
65433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65434         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65435         to ...
65436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65437         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65438         to ...
65439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65440         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65441         to ...
65442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65443         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65444         to ...
65445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65446         Here.
65447         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65448         to ...
65449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65450         Here.
65451         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65452         to ...
65453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65454         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65455         Moved to ...
65456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65457         Here.
65458         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65459         to ...
65460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65462 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65464         * sysdeps/unix/common/bits/dirent.h: Remove file.
65465         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65467         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65468         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65469         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65470         * sysdeps/unix/bsd/isatty.c: Likewise.
65471         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65472         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65473         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65475 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65477         [BZ #13563]
65478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65479         long double comparison inaccuracies.
65480         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65483 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65485         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65486         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65488 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65490         [BZ #14049]
65491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65492         nonzero digits before rounding a hex value.
65493         * stdlib/tst-strtod.c (tests): Add another test.
65495 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65497         * sysdeps/s390/fpu/libm-test-ulps: Update.
65499 2012-05-03  Andreas Jaeger  <aj@suse.de>
65501         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65502         does not get optimized out.
65503         (malloc_opt_barrier): New.
65505 2012-05-03  Andreas Jaeger  <aj@suse.de>
65506             Roland McGrath  <roland@hack.frob.com>
65508         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65509         intermediate file deletion.
65510         (generated): Add .symlist files.
65512 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65514         [BZ #13775]
65515         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65516         Redirect under this condition.
65517         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65518         [__USE_GNU] (__dprintf_chk): Not under this condition.
65519         [__USE_GNU] (__vdprintf_chk): Likewise.
65520         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65521         under this condition.
65522         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65523         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65524         [__USE_XOPEN2K8] (vdprintf): Likewise.
65525         [__USE_GNU] (__dprintf_chk): Not under this condition.
65526         [__USE_GNU] (__vdprintf_chk): Likewise.
65527         [__USE_GNU] (dprintf): Likewise.
65528         [__USE_GNU] (vdprintf): Likewise.
65530 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65532         * elf/Makefile (common-generated): Set this instead of generated for
65533         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65534         $(all-built-dso)-derived lists.
65536 2012-05-03  Andreas Jaeger  <aj@suse.de>
65538         * sysdeps/i386/fpu/libm-test-ulps: Update.
65540         * FAQ: Removed.
65541         * FAQ.in: Likewise.
65542         * scripts/gen-FAQ.pl: Likewise.
65543         * manual/install.texi (Installation): Point to online location of
65544         FAQ.
65545         * Makefile (files-for-dist): Remove FAQ.
65546         (FAQ): Remove.
65548 2012-05-02  Allan McRae  <allan@archlinux.org>
65550         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65551         (LDFLAGS-reldepmod5.so): Likewise.
65552         (LDFLAGS-reldep6mod1.so): Likewise.
65553         (LDFLAGS-reldep6mod4.so): Likewise.
65554         (LDFLAGS-reldep8mod3.so): Likewise.
65555         (LDFLAGS-unload4mod1.so): Likewise.
65556         (LDFLAGS-unload4mod2.so): Likewise.
65557         (LDFLAGS-tst-initorder): Likewise.
65558         (LDFLAGS-tst-initordera2.so): Likewise.
65559         (LDFLAGS-tst-initordera3.so): Likewise.
65560         (LDFLAGS-tst-initordera4.so): Likewise.
65561         (LDFLAGS-tst-initorderb2.so): Likewise.
65562         (LDFLAGS-noload): Likewise.
65563         (LDFLAGS-next): Likewise.
65564         (LDFLAGS-order2mod1.so): Likewise.
65565         (LDFLAGS-order2mod2.so): Likewise.
65566         (LDFLAGS-tst-initorder2): Likewise.
65567         (LDFLAGS-tst-initorder2a.so): Likewise.
65568         (LDFLAGS-tst-initorder2b.so): Likewise.
65569         (LDFLAGS-tst-initorder2c.so): Likewise.
65570         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65572 2012-05-02  David S. Miller  <davem@davemloft.net>
65574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65576 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65578         [BZ #14055]
65579         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65581 2012-05-02  Andreas Jaeger  <aj@suse.de>
65583         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65584         since we manipulate rounding mode.
65585         (CPPFLAGS-test-idouble.c): Likewise.
65586         (CPPFLAGS-test-ifloat.c): Likewise.
65587         (CFLAGS-test-ldouble.c): Likewise.
65588         (CFLAGS-test-double.c): Likewise.
65589         (CFLAGS-test-float.c): Likewise.
65590         (CFLAGS-test-misc.c): Likewise.
65591         (CFLAGS-test-test-fenv.c): Likewise.
65593 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65595         [BZ #2550]
65596         [BZ #2570]
65597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65598         comparisons to determine direction to adjust input.
65600 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65602         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65603         output to the target.
65605         * scripts/localplt.awk: New file.
65606         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65607         (check-localplt-CFLAGS): Variable removed.
65608         ($(all-built-dso:=.jmprel)): New static pattern rule.
65609         (generated): Add those targets.
65610         (localplt-built-dso): New variable.
65611         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65613         * elf/check-localplt.c: File removed.
65615         * scripts/check-execstack.awk: New file.
65616         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65617         (check-execstack-CFLAGS): Variable removed.
65618         ($(objpfx)check-execstack.h): Target removed.
65619         ($(objpfx)execstack-default): New target.
65620         (generated): Add that instead of check-execstack.h.
65621         ($(all-built-dso:=.phdr)): New static pattern rule.
65622         (generated): Add those targets.
65623         * elf/check-execstack.c: File removed.
65625         * scripts/check-textrel.awk: New file.
65626         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65627         (check-textrel-CFLAGS): Variable removed.
65628         (all-built-dso): Use := to define.o
65629         ($(all-built-dso:=.dyn)): New static pattern rule.
65630         (generated): Add those targets.
65631         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65632         * config.make.in (READELF): New substituted variable.
65633         * elf/check-textrel.c: File removed.
65635 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65637         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65638         allow.
65639         * conform/data/ctype.h-data [C99-based standards] (isblank):
65640         Expect function.
65641         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65642         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65644         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65645         Specify type.  Require positive value.
65646         (EILSEQ): Likewise.
65647         (ERANGE): Likewise.
65648         [ISO || POSIX] (EILSEQ): Do not expect.
65649         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65650         Specify type.  Require positive value.
65651         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65652         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65653         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65654         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65655         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65656         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65657         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65658         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65659         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65660         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65661         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65662         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65663         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65664         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65665         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65666         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65667         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65668         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65669         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65670         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65671         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65672         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65673         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65674         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65675         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65676         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65677         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65678         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65679         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65680         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65681         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65682         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65683         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65684         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65685         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65686         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65687         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65688         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65689         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65690         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65691         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65692         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65693         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65694         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65695         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65696         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65697         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65698         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65699         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65700         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65701         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65702         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65703         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65704         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65705         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65706         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65707         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65708         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65709         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65710         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65711         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65712         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65713         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65714         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65715         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65716         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65717         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65718         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65719         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65720         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65721         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65722         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65723         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65724         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65725         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65726         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65727         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65728         Require >= 2.
65729         (FLT_ROUNDS): Expect as macro, not constant.
65730         (FLT_MANT_DIG): Use macro-int-constant.
65731         (DBL_MANT_DIG): Likewise.
65732         (LDBL_MANT_DIG): Likewise.
65733         (FLT_DIG): Likewise.
65734         (DBL_DIG): Likewise.
65735         (LDBL_DIG): Likewise.
65736         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65737         (DBL_MIN_EXP): Likewise.
65738         (LDBL_MIN_EXP): Likewise.
65739         (FLT_MAX_EXP): Use macro-int-constant.
65740         (DBL_MAX_EXP): Likewise.
65741         (LDBL_MAX_EXP): Likewise.
65742         (FLT_MAX_10_EXP): Likewise.
65743         (DBL_MAX_10_EXP): Likewise.
65744         (LDBL_MAX_10_EXP): Likewise.
65745         (FLT_MAX): Use macro-constant.
65746         (DBL_MAX): Likewise.
65747         (LDBL_MAX): Likewise.
65748         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65749         (DBL_EPSILON): Likewise.
65750         (LDBL_EPSILON): Likewise.
65751         (FLT_MIN): Likewise.
65752         (DBL_MIN): Likewise.
65753         (LDBL_MIN): Likewise.
65754         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65755         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65756         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65757         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65758         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65759         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65760         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65761         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65762         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65763         [ISO11] (FLT_TRUE_MIN): Likewise.
65764         [ISO11] (LDBL_TRUE_MIN): Likewise.
65765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65766         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65767         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65768         (SCHAR_MAX): Likewise.
65769         (UCHAR_MAX): Likewise.
65770         (CHAR_MIN): Likewise.
65771         (CHAR_MAX): Likewise.
65772         (MB_LEN_MAX): Use macro-int-constant.
65773         (SHRT_MIN): Use macro-int-constant.  Specify type.
65774         (SHRT_MAX): Likewise.
65775         (USHRT_MAX): Likewise.
65776         (INT_MAX): Likewise.
65777         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65778         bound negative.
65779         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65780         bound with "U".
65781         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65782         bound with "L".
65783         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65784         bound negative.  Suffix upper bound with "L".
65785         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65786         bound with "UL".
65787         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65788         Specify type.
65789         [C99-based standards] (LLONG_MAX): Likewise.
65790         [C99-based standards] (ULLONG_MAX): Likewise.
65791         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65792         == 0.
65793         [ISO11] (max_align_t): Require type.
65794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65796         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65797         from $CFLAGS, without defining away __attribute__ calls.
65798         (checknamespace): Use $CFLAGS_namespace.
65800         * conform/conformtest.pl (@keywords): Only include C99 keywords
65801         for standards based on C99 or C11.
65803         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65804         Disable tests.
65805         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65806         UNIX98]: Likewise.
65808         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65809         usability of symbols in #if.
65811         * conform/conformtest.pl: If macro or constant types start
65812         "promoted:", expect the symbol to be of the following type
65813         promoted by the integer promotions.
65815         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65816         in one place.  Also handle "macro-constant".
65818         * conform/conformtest.pl: Only accept expected macro values with
65819         "==".  Parse all "macro" lines in one place.
65820         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65822         * conform/conformtest.pl: Handle braced types on "constant" lines
65823         instead of handling "typed-constant".
65824         * conform/data/signal.h-data: Use "constant" instead of
65825         "typed-constant".
65827         * conform/conformtest.pl: Handle "optional-" at start of lines in
65828         one place rather than duplicating several cases.  Handle each
65829         format of "macro" line with initial "optional-".
65831         * conform/conformtest.pl: Only accept expected constant or
65832         optional-constant values with "==".  Parse all "constant" lines in
65833         one place.  Parse all "optional-constant" lines in one place.
65834         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65835         * conform/data/fmtmsg.h-data: Likewise.
65836         * conform/data/netinet/in.h-data: Likewise.
65837         * conform/data/tar.h-data: Likewise.
65838         * conform/data/limits.h-data: Use "==" form on "constant" and
65839         "optional-constant" lines.
65841         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65842         Use -std=c99 for XOPEN2K.
65843         (@knownproblems): Remove.
65844         (newtoken): Don't check %isknown.
65846         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65847         Do not expect macro.
65848         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65849         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65850         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65851         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65852         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65853         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65854         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65855         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65856         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65857         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65858         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65859         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65860         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65861         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65862         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65863         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65864         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65865         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65866         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65867         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65868         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65869         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65870         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65871         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65872         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65873         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65874         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65875         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65876         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65877         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65878         [XPG3] (acosh): Likewise.
65879         [XPG3] (asinh): Likewise.
65880         [XPG3] (atanh): Likewise.
65881         [XPG3] (cbrt): Likewise.
65882         [XPG3] (expm1): Likewise.
65883         [XPG3] (ilogb): Likewise.
65884         [XPG3] (log1p): Likewise.
65885         [XPG3] (logb): Likewise.
65886         [XPG3] (nextafter): Likewise.
65887         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65888         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65889         [XPG3] (remainder): Likewise.
65890         [XPG3] (rint): Likewise.
65891         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65892         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65893         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65894         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65895         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65896         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65897         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65898         [UNIX98 || XOPEN2K] (scalb): Expect.
65899         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65900         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65901         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65902         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65903         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65904         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65905         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65906         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65907         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65908         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65909         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65910         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65911         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65912         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65913         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65914         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65915         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65916         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65917         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65918         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65919         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65920         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65921         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65922         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65923         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65924         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65925         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65926         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65927         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65928         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65929         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65930         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65931         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65932         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65933         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65934         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65935         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65936         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65937         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65938         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65939         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65940         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65941         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65942         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65943         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65944         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65945         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65946         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65947         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65948         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65949         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65950         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65951         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65952         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65953         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65954         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65955         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65956         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65957         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65958         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65959         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65960         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65961         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65962         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65963         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65964         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65965         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65966         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65967         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65968         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65969         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65970         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65971         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65972         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65973         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65974         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65975         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65976         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65977         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65978         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65979         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65980         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65981         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65982         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65983         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65984         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65985         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65986         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65987         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65988         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65989         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65990         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65991         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65992         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65993         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65994         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65995         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65996         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65997         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65998         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65999         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66000         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66001         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66002         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66003         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66004         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66005         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66006         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66007         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66008         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66009         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66010         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66011         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66012         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66013         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66014         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66015         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66016         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66017         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66018         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66019         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66020         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66021         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66022         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66023         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66024         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66025         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66026         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66027         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66028         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66029         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66030         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66031         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66032         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66033         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66034         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66035         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66037         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66038         _XOPEN_SOURCE_EXTENDED for XPG4.
66040         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66042         * Makeconfig (localtime): Remove variable.
66043         (inst_localtime-file): Likewise.
66045 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66048         Update.
66049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66050         Update.
66051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66052         Update.
66053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66054         Update.
66055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66056         Update.
66057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66058         Update.
66059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66060         Update.
66061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66062         Update.
66063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66064         Update.
66066 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66068         [BZ #2550]
66069         [BZ #2570]
66070         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66071         comparisons to determine direction to adjust input.
66072         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66073         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66074         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66075         Likewise.
66076         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66077         Likewise.
66078         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66079         Likewise.
66080         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66081         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66082         Likewise.
66083         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66084         Likewise.
66085         * math/libm-test.inc (nexttoward_test): Add more tests.
66087 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66089         [BZ #14040]
66090         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66091         in version GLIBC_2.1, not GLIBC_2.0.
66092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66093         Likewise.
66095 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66097         [BZ #13942]
66098         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66099         (1 - x) * (1 + x).
66100         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66101         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66102         * math/libm-test.inc (acos_test): Add more tests.
66103         (asin_test): Likewise.
66104         * sysdeps/i386/fpu/libm-test-ulps: Update.
66105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66107         [BZ #14034]
66108         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66109         of square root.
66110         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66111         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66112         * math/libm-test.inc (acos_test_tonearest): New function.
66113         (acos_test_towardzero): Likewise.
66114         (acos_test_downward): Likewise.
66115         (acos_test_upward): Likewise.
66116         (asin_test_tonearest): Likewise.
66117         (asin_test_towardzero): Likewise.
66118         (asin_test_downward): Likewise.
66119         (asin_test_upward): Likewise.
66120         (main): Call the new functions.
66121         * sysdeps/i386/fpu/libm-test-ulps: Update.
66122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66124         [BZ #13884]
66125         [BZ #13924]
66126         * math/e_exp10.c: Include <float.h>.
66127         (__ieee754_exp10): Handle underflow here rather than multiplying
66128         large negative argument by M_LN10.
66129         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66130         of __ieee754_expf.
66131         * math/e_exp10l.c: Include <float.h>.
66132         (__ieee754_exp10l): Handle underflow here rather than multiplying
66133         large negative argument by M_LN10l.
66134         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66135         spurious overflow exception on underflow.
66137 2012-04-29  Marek Polacek  <polacek@redhat.com>
66139         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66140         (__fortify_function): New macro.
66141         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66142         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66143         __extern_always_inline.
66144         * libio/bits/stdio2.h: Likewise.
66145         * libio/bits/stdio.h: Likewise.
66146         * string/string.h: Likewise.
66147         * string/bits/string3.h: Likewise.
66148         * include/stdio.h: Likewise.
66149         * stdlib/bits/stdlib.h: Likewise.
66150         * stdlib/stdlib.h: Likewise.
66151         * rt/bits/mqueue2.h: Likewise.
66152         * rt/mqueue.h: Likewise.
66153         * posix/bits/unistd.h: Likewise.
66154         * posix/unistd.h: Likewise.
66155         * io/bits/poll2.h: Likewise.
66156         * io/bits/fcntl2.h: Likewise.
66157         * io/fcntl.h: Likewise.
66158         * io/sys/poll.h: Likewise.
66159         * misc/bits/syslog.h: Likewise.
66160         * misc/bits/syslog-ldbl.h: Likewise.
66161         * misc/sys/syslog.h: Likewise.
66162         * socket/bits/socket2.h: Likewise.
66163         * socket/sys/socket.h: Likewise.
66164         * debug/tst-chk1.c: Likewise.
66165         * wcsmbs/bits/wchar2.h: Likewise.
66166         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66167         * wcsmbs/wchar.h: Likewise.
66169 2012-04-29  Andreas Jaeger  <aj@suse.de>
66171         * Makerules (tests): Remove enable-check-abi protection.
66172         (check-abi-warn): Remove.
66173         (check-abi-%): Remove check-abi-warn usage.
66175         * configure.in: Remove check-abi configure option.
66176         * configure: Regenerated.
66177         * config.make.in (enable-check-abi): Remove.
66179 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66181         [BZ #14033]
66182         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66183         double functions to double *_finite functions.
66185         [BZ #13941]
66186         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66187         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66188         LDBL_MIN_EXP.
66189         * stdio-common/Makefile (tests): Add tst-sprintf3.
66190         * stdio-common/tst-sprintf3.c: New file.
66192         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66193         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66195 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66197         * conform/conformtest.pl: Remove duplicate typed-constant
66198         handling.
66200 2012-04-28  David S. Miller  <davem@davemloft.net>
66202         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66203         (check-abi-%): Remove AWK script prerequisite and explicit
66204         abilist directory.
66205         (check-abi): Rewrite to just diff the symlist with the abilist.
66206         (config-tls, config-abi-config): Delete, no longer used.
66207         (update-abi-%): Remove AWK script and explicit abilist directory.
66208         (update-abi): Rewrite to simply compare and conditionally copy the
66209         symlist and the sysdep abilist file.  Remove update-abi-config
66210         checks.
66211         * abilist/ld.abilist: Remove.
66212         * abilist/libBrokenLocale.abilist: Remove.
66213         * abilist/libanl.abilist: Remove.
66214         * abilist/libcrypt.abilist: Remove.
66215         * abilist/libdl.abilist: Remove.
66216         * abilist/librt.abilist: Remove.
66217         * abilist/libthread_db.abilist: Remove.
66218         * abilist/libutil.abilist: Remove.
66219         * scripts/extract-abilist.awk: Remove.
66220         * scripts/merge-abilist.awk: Remove.
66221         * sysdeps/generic/libcidn.abilist: New file.
66222         * sysdeps/generic/libnss_compat.abilist: New file.
66223         * sysdeps/generic/libnss_db.abilist: New file.
66224         * sysdeps/generic/libnss_dns.abilist: New file.
66225         * sysdeps/generic/libnss_files.abilist: New file.
66226         * sysdeps/generic/libnss_hesiod.abilist: New file.
66227         * sysdeps/generic/libnss_nis.abilist: New file.
66228         * sysdeps/generic/libnss_nisplus.abilist: New file.
66229         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66230         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66231         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66232         file.
66233         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66234         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66235         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66236         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66237         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66238         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66239         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66240         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66241         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66242         file.
66243         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66244         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66245         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66246         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66247         file.
66248         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66249         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66250         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66251         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66252         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66253         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66254         file.
66255         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66256         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66257         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66258         file.
66259         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66260         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66261         New file.
66262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66263         New file.
66264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66265         New file.
66266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66267         New file.
66268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66269         New file.
66270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66271         New file.
66272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66273         New file.
66274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66275         New file.
66276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66277         New file.
66278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66279         New file.
66280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66281         New file.
66282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66283         New file.
66284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66285         New file.
66286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66287         file.
66288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66289         New file.
66290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66291         New file.
66292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66293         file.
66294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66295         New file.
66296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66297         New file.
66298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66299         file.
66300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66301         New file.
66302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66303         New file.
66304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66305         New file.
66306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66307         New file.
66308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66309         New file.
66310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66311         New file.
66312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66314         file.
66315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66316         New file.
66317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66318         file.
66319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66320         file.
66321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66322         file.
66323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66324         file.
66325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66326         file.
66327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66328         New file.
66329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66330         file.
66331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66332         file.
66333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66334         New file.
66335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66336         file.
66337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66338         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66339         file.
66340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66341         New file.
66342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66343         file.
66344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66345         file.
66346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66347         file.
66348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66349         file.
66350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66351         file.
66352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66353         New file.
66354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66355         file.
66356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66357         file.
66358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66359         New file.
66360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66361         file.
66362         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66363         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66364         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66365         file.
66366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66367         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66368         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66369         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66370         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66371         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66372         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66373         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66374         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66375         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66378         file.
66379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66380         New file.
66381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66382         file.
66383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66384         file.
66385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66386         file.
66387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66388         file.
66389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66390         file.
66391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66392         New file.
66393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66394         New file.
66395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66396         file.
66397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66398         New file.
66399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66400         file.
66401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66403         file.
66404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66405         New file.
66406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66407         file.
66408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66409         file.
66410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66411         file.
66412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66413         file.
66414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66415         file.
66416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66417         New file.
66418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66419         New file.
66420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66421         file.
66422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66423         New file.
66424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66425         file.
66427 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66429         * conform/conformtest.pl: Fix typo in handling typed-constant from
66430         allow-header.
66432 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66434         * README: Cut down references to pre-2.6 Linux kernels and
66435         Linuxthreads.  Update lists of configurations in libc and ports
66436         and sort alphabetically.  Say "or newer" with Linux kernel version
66437         requirements.
66439         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66441 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66443         [BZ #887]
66444         * math/libm-test.inc (logb_test_downward): New test to expose
66445         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66446         rounding mode.
66448 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66450         [BZ #14027]
66451         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66452         to be done.
66453         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66454         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66456 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66458         * sysdeps/unix/i386/brk.S: Remove file.
66459         * sysdeps/unix/i386/dl-brk.S: Likewise.
66460         * sysdeps/unix/i386/pipe.S: Likewise.
66461         * sysdeps/unix/i386/sigreturn.S: Likewise.
66462         * sysdeps/unix/i386/syscall.S: Likewise.
66463         * sysdeps/unix/i386/vfork.S: Likewise.
66464         * sysdeps/unix/i386/wait.S: Likewise.
66466         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66467         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66469         * configure.in (arm*-none*): Do not allow without
66470         --enable-hacker-mode.
66471         (netbsd*): Remove case setting base_os.
66472         (386bsd*): Likewise.
66473         (freebsd*): Likewise.
66474         (bsdi*): Likewise.
66475         (osf*): Likewise.
66476         (sunos*): Likewise.
66477         (ultrix*): Likewise.
66478         (newsos*): Likewise.
66479         (dynix*): Likewise.
66480         (*bsd*): Likewise.
66481         (sysv*): Likewise.
66482         (isc*): Likewise.
66483         (esix*): Likewise.
66484         (sco*): Likewise.
66485         (minix*): Likewise.
66486         (irix4*): Likewise.
66487         (irix6*): Likewise.
66488         (solaris[2-9]*): Likewise.
66489         (none): Likewise.
66490         * configure: Regenerated.
66492 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66494         [BZ #11521]
66495         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66496         overflow or cancellation in calculating denominator.
66497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66498         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66499         down expression to avoid unexpected rounding in newer GCCs.
66500         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66502 2012-04-26  David S. Miller  <davem@davemloft.net>
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66505         long-double compat symbols.
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66520 2012-04-25  David S. Miller  <davem@davemloft.net>
66522         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66523         HWCAP_* values only after the memory barriers have been defined.
66524         (atomic_full_barrier): Define.
66525         (atomic_read_barrier): Define.
66526         (atomic_write_barrier): Define.
66528 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66530         * shlib-versions: Add libgcc_s version information.
66531         * sysdeps/generic/libgcc_s.h: Remove.
66532         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66533         libgcc_s.h.
66534         * sysdeps/gnu/unwind-resume.c: Likewise.
66535         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66537 2012-04-25  David S. Miller  <davem@davemloft.net>
66539         * sysdeps/unix/sparc/brk.S: Delete.
66540         * sysdeps/unix/sparc/dl-brk.S: Delete.
66541         * sysdeps/unix/sparc/pipe.S: Delete.
66542         * sysdeps/unix/sparc/sysdep.S: Delete.
66543         * sysdeps/unix/sparc/sysdep.h: Delete.
66544         * sysdeps/unix/sparc/vfork.S: Delete.
66545         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66546         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66547         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66548         (ret_ERRVAL, r0, r1, MOVE): Define.
66549         (JUMPTARGET): Remove.
66550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66551         sysdeps/unix/sparc/sysdep.h
66552         (ENTRY, END): Remove.
66553         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66555 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66557         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66558         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66559         -DIS_IN_build.
66561         * timezone/README: Update upstream location and email address for
66562         tzcode and tzdata.
66563         * timezone/zdump.c: Update from tzcode 2012b.
66564         * timezone/zic.c: Likewise.
66566         * configure.in (libc_cv_as_needed): Remove test.
66567         * configure: Regenerated.
66568         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66569         conditional definition.
66570         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66571         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66572         * config.make.in (have-as-needed): Remove variable.
66574 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66575             Paul Pluzhnikov  <ppluzhnikov@google.com>
66577         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66578         strings correctly.
66580 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66582         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66583         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66584         * sysdeps/sh/strlen.S: Likewise.
66586 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66588         * sysdeps/unix/fork.S: Remove file.
66589         * sysdeps/unix/i386/fork.S: Likewise.
66590         * sysdeps/unix/sparc/fork.S: Likewise.
66592         * sysdeps/unix/system.c: Remove file.
66593         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66595         * sysdeps/unix/getegid.S: Remove file.
66596         * sysdeps/unix/geteuid.S: Likewise.
66598 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66600         * scripts/check-localplt.awk: New file.
66601         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66602         of diff.
66603         * scripts/data/localplt-generic.data: Add a comment.
66605         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66606         NODE when __dir_mkfile failed.
66607         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66608         Reported by Ludovic Courtès <ludo@gnu.org>.
66610 2012-04-24  Andreas Jaeger  <aj@suse.de>
66612         * Makerules (common-clean): Also remove gen-as-const-headers
66613         files.
66615 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66617         * Makerules (native-compile): Do not change working directory for
66618         build.  Use $(OUTPUT_OPTION) in command.
66619         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66621 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66623         [BZ #13886]
66624         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66625         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66626         * math/libm-test.inc (floor_test): Add more tests.
66627         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66629 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66631         * sysdeps/unix/getdents.c: Remove file.
66632         * sysdeps/unix/sysv/getdents.c: Likewise.
66633         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66635         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66636         sysdeps/unix/mman/syscalls.list.
66637         (mmap): Likewise.
66638         (mprotect): Likewise.
66639         (msync): Likewise.
66640         (munmap): Likewise.
66641         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66642         * sysdeps/unix/mman/syscalls.list: Remove.
66643         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66645         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66646         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66647         * configure: Regenerated.
66648         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66649         $(libgcc_s_suffix).
66650         * config.make.in (libgcc_s_suffix): Remove variable.
66652 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66654         * sysdeps/unix/sysv/gethostname.c: Move to ...
66655         * sysdeps/posix/gethostname.c: ... here.
66657         * sysdeps/unix/execve.S: Remove file.
66659         * sysdeps/unix/_exit.S: Remove file.
66661 2012-04-23  Andreas Jaeger  <aj@suse.de>
66663         [BZ #13739]
66664         * manual/Makefile: Remove make dist support, there's no
66665         need for a stand-alone documentation tar ball.
66666         (TEXI2DVI): Define always, it's not in Makeconfig.
66667         (dist): Removed.
66668         (tar-it): Removed.
66669         (edition): Removed.
66670         (glibc-doc-$(edition).tar): Removed
66671         (%.Z): Removed.
66672         (%.gz): Removed.
66673         (%.uu): Removed.
66674         (ETAGS): Remove, it's in Makeconfig.
66675         (move-if-change): Remove, it's in Makeconfig.
66677 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66679         [BZ #13970]
66680         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66681         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66682         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66683         (strtod_l, strtof_l, strtold_l): Remove __wur.
66684         It is not necessarily an error to ignore strtol's return value.
66685         One can reliably look at the stored endptr to decide whether
66686         the number had valid syntax.
66688 2012-04-21  Andreas Jaeger  <aj@suse.de>
66690         [BZ #13739]
66691         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66693 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66695         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66696         * sysdeps/unix/sysv/Versions: Remove file.
66698 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66700         [BZ #13927]
66701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66703 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66705         [BZ #7064]
66706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66707         version from __vm86.
66709 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66711         * sysdeps/unix/common/lxstat.c: Remove file.
66712         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66714         * sysdeps/unix/sysv/Makefile: Remove file.
66716         * sysdeps/unix/sysv/direct.h: Remove file.
66718         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66719         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66720         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66721         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66722         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66723         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66724         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66726         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66728         * sysdeps/unix/xmknod.c: Remove file.
66729         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66731         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66733         * sysdeps/unix/sysv/i386/time.S: Remove file.
66735         * sysdeps/unix/fxstat.c: Remove file.
66736         * sysdeps/unix/xstat.c: Likewise.
66737         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66739         * sysdeps/unix/sysv/sigaction.c: Remove file.
66741         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66742         (sysdep_headers): Remove variable.
66743         [termio.h not in sysdep_headers] (generated): Likewise.
66744         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66745         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66746         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66747         * sysdeps/unix/sysv/tcflow.c: Likewise.
66748         * sysdeps/unix/sysv/tcflush.c: Likewise.
66749         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66750         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66751         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66752         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66753         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66755         * sysdeps/unix/siglist.c: Remove file.
66757         * sysdeps/unix/getppid.S: Remove file.
66759         * sysdeps/unix/mkdir.c: Remove file.
66760         * sysdeps/unix/rmdir.c: Likewise.
66762 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66764         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66765         ERR_MAX value.
66766         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66767         errlist-compat value.
66769 2012-04-18  David S. Miller  <davem@davemloft.net>
66771         * sysdeps/generic/memcopy.h (reg_char): Delete.
66772         * debug/strcat_chk.c: Use char, not reg_char.
66773         * debug/strcpy_chk.c: Likewise.
66774         * debug/strncat_chk.c: Likewise.
66775         * debug/strncpy_chk.c: Likewise.
66776         * string/memchr.c: Likewise.
66777         * string/memrchr.c: Likewise.
66778         * string/rawmemchr.c: Likewise.
66779         * string/strcat.c: Likewise.
66780         * string/strchr.c: Likewise.
66781         * string/strchrnul.c: Likewise.
66782         * string/strcmp.c: Likewise.
66783         * string/strcpy.c: Likewise.
66784         * string/strncat.c: Likewise.
66785         * string/strncmp.c: Likewise.
66786         * string/strncpy.c: Likewise.
66788 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66790         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66791         __builtin_memcopy is called when src and dest ranges are known to not
66792         overlap.
66794 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66797         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66798         fwd_align_merge macro call.
66799         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66800         bwd_align_merge macro call.
66801         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66806         bwd_align_merge macros.
66807         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66808         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66809         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66811 2012-04-18  David S. Miller  <davem@davemloft.net>
66813         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66815 2012-04-18  Andreas Jaeger  <aj@suse.de>
66817         [BZ# 6794]
66818         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66819         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66820         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66822         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66823         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66824         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66826         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66827         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66828         Adjust for changed ldbl-128 files.
66830         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66831         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66832         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66834 2012-04-17  David S. Miller  <davem@davemloft.net>
66836         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66838 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66840         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66841         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66842         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66843         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66844         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66845         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66847 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66849         [BZ #6794]
66850         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66851         * math/libm-test.inc: Add ilogb errno and exception tests.
66852         * math/w_ilogb.c: New file: ilogb wrapper.
66853         * math/w_ilogbf.c: New file: ilogbf wrapper.
66854         * math/w_ilogbl.c: New file: ilogbl wrapper.
66855         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66856         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66857         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66858         exception being thrown with 0.0 as argument.
66859         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66860         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66861         exception being thrown with 0.0 as argument.
66862         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66863         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66864         exception being thrown with 0.0 as argument.
66865         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66866         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66867         exception being thrown with 0.0 as argument.
66868         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66869         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66870         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66871         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66872         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66873         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66874         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66875         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66876         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66878 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66880         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66881         with altivec.
66883 2012-04-16  Marek Polacek  <polacek@redhat.com>
66885         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66887 2012-04-16  Marek Polacek  <polacek@redhat.com>
66889         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66890         operands of fdivp instruction.
66892 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66894         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66895         * elf/tst-auditmod3b.c: Likewise.
66896         * elf/tst-auditmod4b.c: Likewise.
66897         * elf/tst-auditmod5b.c: Likewise.
66898         * elf/tst-auditmod6b.c: Likewise.
66899         * elf/tst-auditmod6c.c: Likewise.
66900         * elf/tst-auditmod7b.c: Likewise.
66901         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66902         * sysdeps/x86_64/preconfigure.in: Likewise.
66903         * sysdeps/x86_64/preconfigure: Regenerated.
66905 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66907         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66908         __ILP32__.
66910 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66913         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66915 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66917         [BZ #13973]
66918         * locale/iso-639.def: Fix gl language name. Spotted by
66919         Yaron Shahrabani.
66921 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66923         [BZ #2074]
66924         * libio/libio.h (__io_write_fn): Update comment.
66926 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66928         [BZ #2074]
66929         * stdio.texi (Hook Functions): The user provided writer function
66930         is not allowed to return -1.
66932 2012-04-11  David S. Miller  <davem@davemloft.net>
66934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66936 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66938         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66939         Add a leading slash to rtkaio.
66941 2012-04-11  Jim Meyering  <meyering@redhat.com>
66943         [BZ #11959]
66944         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66945         It is not necessarily an error to ignore fwrite's return
66946         value.  One can reliably use ferror to test for errors after
66947         the fact.
66949 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66951         * bits/types.h (__snseconds_t): New type.
66952         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66954         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66956         (__SNSECONDS_T_TYPE): Likewise.
66957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66958         (__SNSECONDS_T_TYPE): Likewise.
66959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66960         (__SNSECONDS_T_TYPE): Likewise.
66962 2012-04-10  Andreas Jaeger  <aj@suse.de>
66964         [BZ #2636]
66965         * manual/time.texi (Processor Time): Return type of times is
66966         elapsed real time since an arbitrary point in the past.
66967         (CPU Time): Move CLK_TCK from here...
66968         (Processor Time): ...to here.  Correct description.
66969         * manual/conf.texi (Constants for Sysconf): Correct description of
66970         _SC_CLK_TCK.
66972 2012-04-10  David S. Miller  <davem@davemloft.net>
66974         [BZ #13967]
66975         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66976         where the is a gap between DT_REL(A) and DT_JMPREL.
66978 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66980         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66981         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66982         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66984 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66986         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66987         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66988         (dl_main): Handle --inhibit-cache.
66989         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66990         _dl_inhibit_cache.
66991         * elf/dl-load.c (_dl_map_object): Use it.
66992         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66994 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66996         [BZ #13872]
66997         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66998         (__ieee754_powl): Saturate large exponents rather than testing for
66999         overflow of y*log2(x).
67000         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67001         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67002         exceptions.
67004         [BZ #11521]
67005         * math/s_ctan.c: Include <float.h>.
67006         (__ctan): Avoid internal overflow or cancellation in calculating
67007         denominator.
67008         * math/s_ctanf.c: Likewise.
67009         * math/s_ctanl.c: Likewise.
67010         * math/s_ctanh.c: Likewise.
67011         * math/s_ctanhf.c: Likewise.
67012         * math/s_ctanhl.c: Likewise.
67013         * math/libm-test.inc (ctan_test): Add more tests.
67014         (ctanh_test): Likewise.
67015         * sysdeps/i386/fpu/libm-test-ulps: Update.
67016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67018 2012-04-09  Andreas Jaeger  <aj@suse.de>
67020         [BZ #6894]
67021         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67022         is an optional BSD extension.
67024         [BZ #10254]
67025         * manual/stdio.texi (Opening Streams): Document additional fopen
67026         parameters.
67028 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67030         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67031         %eax without telling the compiler.
67033 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67035         [BZ # 13963]
67036         * manual/install.texi: Use sourceware.org.
67038 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67040         [BZ #13873]
67041         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67042         (__ieee754_pow): Generate overflow and underflow using huge*huge
67043         and tiny*tiny rather than just returning constant infinity or zero
67044         for large exponents.
67045         * math/libm-test.inc (pow_test): Require overflow exceptions for
67046         applicable cases of large exponents.
67048         [BZ #706]
67049         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67050         (__ieee754_pow): Use iterative multiplication algorithm only for
67051         integer exponents with absolute value below 1024.  Check for odd
67052         integer exponents when using algorithm for real exponents.
67053         * math/libm-test.inc (pow_test): Add more tests.
67054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67056 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67058         [BZ #13705]
67059         * math/libm-test.inc (exp_test): Do not allow overflow exception
67060         on underflow test.
67062 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67064         [BZ #13705]
67065         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67066         instead of __kernel_standard_f.
67068 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67070         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67071         * sysdeps/x86_64/memset_chk.S: Likewise.
67073 2012-04-08  Andreas Jaeger  <aj@suse.de>
67075         [BZ #10153]
67076         * manual/startup.texi (Environment Access): Describe return value
67077         for putenv and setenv.
67079         [BZ #6895]
67080         * manual/filesys.texi (Directory Entries): Add description for
67081         DT_LNK.
67083         [BZ #6890]
67084         * manual/filesys.texi (Directory Entries): Clarify that it's file
67085         system not operating system in the description of DT_UNKNOWN.
67087         [BZ #6578]
67088         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67090 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67092         [BZ #6649]
67093         * manual/llio.texi (Opening and Closing Files): Add cross
67094         reference to explain mode argument.
67096 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67098         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67099         * sysdeps/x86_64/memset_chk.S: Likewise.
67101 2012-04-07  David S. Miller  <davem@davemloft.net>
67103         * elf/elf.h (R_SPARC_WDISP10): Define.
67104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67105         R_SPARC_SIZE32.
67106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67107         R_SPARC_SIZE64 and R_SPARC_H34.
67109 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67111         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67112         conditions and remove no longer applicable assertion.
67114 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67116         * bits/byteswap.h: Include <features.h>.
67117         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67118         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67120 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67122         * bits/byteswap.h (__bswap_16): Removed.
67123         Include <bits/byteswap-16.h> to get __bswap_16.
67124         * sysdeps/i386/bits/byteswap.h: Likewise.
67125         * sysdeps/s390/bits/byteswap.h: Likewise.
67126         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67127         * bits/byteswap-16.h: New file.
67128         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67129         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67130         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67131         * string/Makefile (headers): Add bits/byteswap-16.h.
67133 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67135         [BZ #13895]
67136         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67137         extra indirection.
67138         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67139         * nss/tst-nss-static.c: New.
67141 2012-04-06  Robert Millan  <rmh@gnu.org>
67143         [BZ #6486]
67144         * manual/llio.texi (File Position Primitive): lseek
67145         refers to WHENCE when it really means OFFSET.
67147 2012-04-06  Andreas Jaeger  <aj@suse.de>
67149         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67150         strncmp declarations.
67152         * abilist/libc.abilist: Add __poll and __ppoll.
67154 2012-04-05  David S. Miller  <davem@davemloft.net>
67156         * scripts/check-local-headers.sh: Accept a host triplet in the
67157         path matched by the exclude regexp.
67159         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67160         definition.
67161         * sysdeps/powerpc/powerpc32/dl-machine.h
67162         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67163         * sysdeps/s390/s390-32/dl-machine.h
67164         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67165         * sysdeps/sparc/sparc32/dl-machine.h
67166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67167         * sysdeps/sparc/sparc64/dl-machine.h
67168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67170         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67171         lazy binding.
67172         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67173         undefined symbol errors.
67175         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67176         DT_NEEDED entries.
67178 2012-04-05  Michael Matz  <matz@suse.de>
67180         [BZ #13592]
67181         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67183 2012-04-05  Andreas Jaeger  <aj@suse.de>
67185         [BZ #13908]
67186         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67187         comment.
67189 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67191         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67192         which ROUND is no valid rounding mode.
67194 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67196         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67197         read again.
67198         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67200 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67202         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67203         an exception using FPU order intentionally.
67205 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67207         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67208         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67209         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67210         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67212 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67214         [BZ #12340]
67215         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67216         EINVAL when BUFLEN is too smal.
67218 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67220         [BZ #13553]
67221         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67222         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67224 2012-04-03  Andreas Jaeger  <aj@suse.de>
67226         [BZ #13938]
67227         * manual/setjmp.texi (System V contexts): Fix sentence.
67229         [BZ #13926]
67230         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67231         New macro for this case.
67232         [!__GNUC__] (__bswap_64): New inline function for this case.
67233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67234         * bits/byteswap.h: Likewise.
67235         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67236         ull, guard with __GLIBC_HAVE_LONG_LONG.
67238         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67239         __GLIBC_HAVE_LONG_LONG.
67241         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67242         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67244 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67246         [BZ #13691]
67247         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67248         inptr and inend, rather than using last_ch.
67250 2012-04-02  David S. Miller  <davem@davemloft.net>
67252         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67253         * stdio-common/printf-parse.h (read_int): Change return type to
67254         'int', return -1 on INT_MAX overflow.
67255         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67256         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67257         overflows INT_MAX.  Check for overflow of in-format-string precision
67258         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67259         SIZE_MAX not INT_MAX for integer overflow test.
67260         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67261         skip the construct in the format string but do not record anything.
67262         * stdio-common/bug22.c: Adjust to test both width/prevision
67263         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67264         explicitly for proper errno values.
67266 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67268         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67269         CHAR_MAX.
67270         * string/test-strcmp.c [! WIDE]: Likewise.
67271         * time/tst-mktime2.c: Likewise for INT_MAX.
67272         * string/test-string.h: #include <sys/param.h> for MIN.
67274         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67275         * sysdeps/i386/init-first.c (init): Likewise.
67276         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67277         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67278         * sysdeps/sh/init-first.c (init): Likewise.
67280 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67282         * po/ru.po: Update from translation team.
67283         * po/vi.po: Likewise.
67285 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67287         * resolv/nss_dns/dns-host.c: Merge copyright years.
67289 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67292         Optimize memcpy with prefetch if
67293         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67294         src, dst pointers have unequal 16 byte alignments.
67296 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67298         [BZ #13928]
67299         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67300         from a CNAME entry and return the minimum ttl for the query.
67301         (gaih_getanswer_slice): Likewise.
67303 2012-03-30  Jeff Law  <law@redhat.com>
67305         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67306         due to long keys.
67307         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67308         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67310         * resolv/nss_dns/dns-host.c: Update copyright year.
67312 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67314         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67315         requests to save a system call.  Fix check that all bytes are sent.
67317         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67318         comments for sendmmsg.
67320 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67322         [BZ #13691]
67323         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67324         with only 1 character between 0x0041 and 0x01b0.
67325         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67326         * wcsmbs/tst-mbsnrtowcs.c: New file.
67328 2012-03-29  David S. Miller  <davem@davemloft.net>
67330         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67331         small copies by hand.
67333 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67335         [BZ #13761]
67336         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67337         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67338         group memberships.
67340 2012-03-28  David S. Miller  <davem@davemloft.net>
67342         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67343         that branches into memcpy.
67344         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67347         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67349         bits.
67350         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67351         implementation too.
67352         * sysdeps/sparc/mempcpy.S: New file.
67354         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67355         the IFUNC routine in the libc case.
67356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67358         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67359         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67360         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67361         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67362         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67363         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67364         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67365         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67367         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67368         loop to 256 bytes instead of 64 bytes and fix test signedness.
67370         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67371         * sysdeps/sparc/sparc32/Makefile: rather than here...
67372         * sysdeps/sparc/sparc64/Makefile: and here.
67374 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67376         * malloc/mallocbug.c: Avoid warnings about unused variables.
67378 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67380         [BZ #13760]
67381         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67382         in the right place. Discard and retry query if response is
67383         larger than input buffer size.
67385 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67387         [BZ #369]
67388         [BZ #2678]
67389         [BZ #3866]
67390         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67391         x for large integer exponent.
67392         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67393         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67394         sign of result as needed afterwards.
67395         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67396         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67397         result for underflowing pow the same as for overflow.
67398         (__kernel_standard_l): Handle powl overflow and underflow here
67399         rather than calling __kernel_standard.
67400         * math/libm-test.inc (pow_test): Add more tests.
67402         [BZ #3868]
67403         [BZ #13879]
67404         [BZ #13910]
67405         [BZ #13911]
67406         [BZ #13912]
67407         [BZ #13913]
67408         [BZ #13915]
67409         [BZ #13916]
67410         [BZ #13917]
67411         [BZ #13918]
67412         [BZ #13919]
67413         [BZ #13920]
67414         [BZ #13921]
67415         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67416         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67417         (__kernel_standard_l): New function.
67418         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67419         __kernel_standard.
67420         * math/w_acosl.c (__acosl): Likewise.
67421         * math/w_asinl.c (__asinl): Likewise.
67422         * math/w_atan2l.c (__atan2l): Likewise.
67423         * math/w_atanhl.c (__atanhl): Likewise.
67424         * math/w_coshl.c (__coshl): Likewise.
67425         * math/w_exp10l.c (__exp10l): Likewise.
67426         * math/w_exp2l.c (__exp2l): Likewise.
67427         * math/w_fmodl.c (__fmodl): Likewise.
67428         * math/w_hypotl.c (__hypotl): Likewise.
67429         * math/w_j0l.c (__j0l, __y0l): Likewise.
67430         * math/w_j1l.c (__j1l, __y1l): Likewise.
67431         * math/w_jnl.c (__jnl, __ynl): Likewise.
67432         * math/w_lgammal.c (__lgammal): Likewise.
67433         * math/w_log10l.c (__log10l): Likewise.
67434         * math/w_log2l.c (__log2l): Likewise.
67435         * math/w_logl.c (__logl): Likewise.
67436         * math/w_powl.c (__powl): Likewise.
67437         * math/w_remainderl.c (__remainderl): Likewise.
67438         * math/w_scalbl.c (sysv_scalbl): Likewise.
67439         * math/w_sinhl.c (__sinhl): Likewise.
67440         * math/w_sqrtl.c (__sqrtl): Likewise.
67441         * math/w_tgammal.c (__tgammal): Likewise.
67442         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67443         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67444         * math/libm-test.inc (acos_test): Add more tests.
67445         (acosh_test): Likewise.
67446         (asin_test): Likewise.
67447         (atanh_test): Likewise.
67448         (exp_test): Likewise.
67449         (exp10_test): Likewise.
67450         (exp2_test): Likewise.
67451         (expm1_test): Likewise.
67452         (lgamma_test): Likewise.
67453         (log_test): Likewise.
67454         (log10_test): Likewise.
67455         (log1p_test): Likewise.
67456         (log2_test): Likewise.
67457         (pow_test): Do not allow some spurious overflow exceptions.
67458         (sqrt_test): Add more tests.
67459         (tgamma_test): Likewise.
67460         (y0_test): Likewise.
67461         (y1_test): Likewise.
67462         (yn_test): Likewise.
67464 2012-03-27  Anton Blanchard  <anton@samba.org>
67466         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67467         MAP_HUGETLB.
67468         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67469         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67472 2012-03-27  David S. Miller  <davem@davemloft.net>
67474         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67476         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67477         have-as-vis3 check.
67479 2012-03-27  Andreas Jaeger  <aj@suse.de>
67481         * sysdeps/x86_64/elf/configure.in: Moved to ...
67482         * sysdeps/x86_64/configure.in: ... here.
67483         * sysdeps/x86_64/elf/start.S: Moved to ...
67484         * sysdeps/x86_64/start.S: ... here.
67485         * sysdeps/x86_64/elf/configure: Delete.
67487         * sysdeps/x86_64/configure.in: Merge contents from
67488         sysdeps/i386/configure.in (without i686 check).
67490         * sysdeps/i386/elf/Versions: Merge into ...
67491         * sysdeps/i386/Versions: ... this.
67492         * sysdeps/i386/elf/Versions: Delete file.
67493         * sysdeps/i386/elf/start.S: Moved to ...
67494         * sysdeps/i386/start.S: ...here.
67495         * sysdeps/i386/elf/configure.in: Merge into...
67496         * sysdeps/i386/configure.in: ...here.
67497         * sysdeps/i386/elf/configure.in: Delete file.
67498         * sysdeps/i386/elf/configure: Delete file.
67500         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67501         * debug/backtracesyms.c: ... here.
67502         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67503         * debug/backtracesymsfd.c: ... here.
67504         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67505         * sysdeps/generic/ifunc-sel.h: ... here.
67507         * sysdeps/unix/i386/start.c: Delete file.
67508         * sysdeps/unix/sparc/start.c: Delete file.
67509         * sysdeps/unix/start.c: Delete file.
67511         * sysdeps/sh/elf/configure.in: Moved to ...
67512         * sysdeps/sh/configure.in: ... here.
67513         * sysdeps/sh/elf/start.S: Moved to ...
67514         * sysdeps/sh/start.S: ... here.
67515         * sysdeps/sh/elf/configure: Delete file.
67517         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67518         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67519         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67520         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67521         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67522         * sysdeps/powerpc/powerpc64/start.S: here.
67523         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67524         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67525         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67526         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67527         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67529         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67530         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67531         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67532         * sysdeps/powerpc/powerpc32/start.S: ... here.
67533         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67534         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67535         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67537         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67538         * sysdeps/powerpc/ifunc-sel.h: ... here.
67539         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67540         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67542         * sysdeps/sparc/elf/configure.in: Moved to ...
67543         * sysdeps/sparc/configure.in: ... here.
67544         * sysdeps/sparc/elf/configure: Delete file.
67545         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67546         * sysdeps/sparc/sparc32/start.S: ... here.
67547         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67548         * sysdeps/sparc/sparc64/start.S: ... here.
67549         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67550         * sysdeps/sparc/sparc32/Makefile: ... this.
67551         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67552         * sysdeps/sparc/sparc64/Makefile: ... this.
67554         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67555         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67556         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67557         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67558         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67559         * sysdeps/s390/s390-32/setjmp.S: ... here.
67560         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67561         * sysdeps/s390/s390-32/configure.in: ... here.
67562         * sysdeps/s390/s390-32/elf/configure: Delete file.
67563         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67564         * sysdeps/s390/s390-32/start.S: ... here.
67566         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67567         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67568         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67569         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67570         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67571         * sysdeps/s390/s390-64/setjmp.S: ... here.
67572         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67573         * sysdeps/s390/s390-64/configure.in: ... here
67574         * sysdeps/s390/s390-64/elf/configure: Delete file.
67575         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67576         * sysdeps/s390/s390-64/start.S: ... here.
67577         * sysdeps/s390/s390-64/elf/configure: Delete.
67579         * configure.in: Remove support for elf directories in sysdeps.
67581         * configure: Regenerated.
67582         * sysdeps/i386/configure: Regenerated.
67583         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67584         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67585         * sysdeps/s390/s390-32/configure: Regenerated.
67586         * sysdeps/s390/s390-64/configure: Regenerated.
67587         * sysdeps/sh/configure: Regenerated.
67588         * sysdeps/sparc/configure: Regenerated.
67589         * sysdeps/x86_64/configure: Regenerated.
67591 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67595         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67596         denormal result into account.
67598 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67600         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67601         Reported by Allan McRae <allan@archlinux.org>.
67603 2012-03-23  Jeff Law  <law@redhat.com>
67605         * nss/getnssent.c (__nss_getent): Fix typo.
67607 2012-03-23  David S. Miller  <davem@davemloft.net>
67609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67611 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67613         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67614         to pad to uint64_t for each field.
67615         (dl_tls_index): Replace unsigned long with uint64_t.
67617 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67618         Paul Pluzhnikov  <ppluzhnikov@google.com>
67620         [BZ #6528]
67621         * grp/Makefile (otherlibs): Don't set it.
67622         * inet/Makefile (otherlibs): Likewise.
67623         * login/Makefile (otherlibs): Likewise.
67624         * nscd/Makefile (otherlibs): Likewise.
67625         * posix/Makefile (otherlibs): Likewise.
67626         * pwd/Makefile (otherlibs): Likewise.
67627         * rt/Makefile (otherlibs): Likewise.
67628         * sunrpc/Makefile (otherlibs): Likewise.
67629         * nss/Makefile (otherlibs): Likewise.
67630         Add libnss_files to routines and static-only-routines.
67631         ($(objpfx)getent): Remove rule.
67632         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67633         static-only-routines.
67635 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67637         [BZ #13892]
67638         * math/s_cexp.c: Include <float.h>.
67639         (__cexp): Handle exp result overflowing not necessarily
67640         overflowing both real and imaginary parts of result.
67641         * math/s_cexpf.c: Likewise.
67642         * math/s_cexpl.c: Likewise.
67643         * math/libm-test.inc (cexp_test): Add more tests.
67644         * sysdeps/i386/fpu/libm-test-ulps: Update.
67645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67647 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67649         * include/link.h (ELFW): New macro.
67650         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67651         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67653 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67655         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67656         with uint64_t.
67658 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67660         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67661         declaration.
67662         (struct La_x32_retval): Likewise.
67664 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67666         * sysdeps/x86_64/preconfigure.in: New file.
67667         * sysdeps/x86_64/preconfigure: New generated file.
67669 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67671         [BZ #13824]
67672         * math/e_exp2l.c: Include <float.h>.
67673         (__ieee754_exp2l): Handle overflow and underflow cases
67674         separately.  Only pass fractional part of argument to
67675         __ieee754_expl.
67676         * math/libm-test.inc (exp2_test): Add more tests.
67678         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67679         negating x to take absolute value.
67680         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67681         Likewise.
67682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67684         Likewise.
67685         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67686         computing low part if x was negated.
67687         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67689 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67691         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67692         la_x32_gnu_pltexit.
67693         (pltexit): Cast int_retval to ptrdiff_t.
67694         * elf/tst-auditmod3b.c: Likewise.
67695         * elf/tst-auditmod4b.c: Likewise.
67696         * elf/tst-auditmod5b.c: Likewise.
67697         * elf/tst-auditmod6b.c: Likewise.
67698         * elf/tst-auditmod6c.c: Likewise.
67699         * elf/tst-auditmod7b.c: Likewise.
67701         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67702         and x32_gnu_pltexit.
67704         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67705         __ELF_NATIVE_CLASS.
67706         (La_x32_regs): New macro.
67707         (La_x32_retval): Likewise.
67708         (la_x32_gnu_pltenter): New function prototype.
67709         (la_x32_gnu_pltexit): Likewise.
67711 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67713         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67714         exponent.
67716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67718         * configure.in (libc_cv_cc_nofma): Check for option to disable
67719         generation of FMA instructions.
67720         * configure: Regenerate.
67721         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67722         * sysdeps/ieee754/dbl-64/Makefile: New file.
67723         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67724         Remove brandred-fma4.
67725         (CFLAGS-brandred-fma4.c): Remove.
67726         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67727         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67728         define.
67729         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67730         define.
67732 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67734         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67735         LLONG_MAX != LONG_MAX.
67736         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67737         (_fitoa_word): Likewise.
67738         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67739         LLONG_MAX != LONG_MAX.
67740         * stdio-common/_itowa.h: Include <_itoa.h>.
67741         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67742         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67743         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67744         only if not defined.
67745         (_ITOA_WORD_TYPE): Likewise.
67746         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67747         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67749 2012-03-21  David S. Miller  <davem@davemloft.net>
67751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67753 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67755         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67756         of x86_64 when setting libc_cv_slibdir, libdir and
67757         libc_cv_localedir.
67758         * sysdeps/unix/sysv/linux/configure: Regenerated.
67760 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67762         * manual/lang.texi (Old Varargs): Remove section.
67763         (How Variadic): Update menu.
67764         (va_start): Do not mention varargs.h.
67766 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67767             Joseph Myers  <joseph@codesourcery.com>
67769         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67770         link test.
67771         * configure: Regenerated.
67773 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67775         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67776         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67777         conformtest.pl
67779 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67781         * NOTES: Remove.
67782         * Makefile (files-for-dist): Remove NOTES.
67783         (NOTES): Remove rule.
67784         * README: Don't refer to NOTES.
67785         * manual/creature.texi: Don't include macros.texi.
67786         * manual/intro.texi (creature.texi): Remove comment referring to
67787         NOTES.
67789         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67790         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67791         * configure: Regenerated.
67792         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67793         LIBC_TRY_CC_OPTION.
67794         (libc_cv_as_i686): Likewise.
67795         (libc_cv_cc_avx): Likewise.
67796         (libc_cv_cc_sse2avx): Likewise.
67797         (libc_cv_cc_fma4): Likewise.
67798         (libc_cv_cc_novzeroupper): Likewise.
67799         * sysdeps/i386/configure: Regenerated.
67801         [BZ #13883]
67802         * sysdeps/i386/fpu/s_cexp.S: Remove.
67803         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67804         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67805         * math/libm-test.inc (cexp_test): Add more tests.
67806         * sysdeps/i386/fpu/libm-test-ulps: Update.
67807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67809 2012-03-21  Allan McRae  <allan@archlinux.org>
67811         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67813 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67815         [BZ #13871]
67816         * math/w_exp2.c: Do not include <float.h>.
67817         (o_threshold, u_threshold): Remove.
67818         (__exp2): Calculate result before checking finiteness and calling
67819         __kernel_standard.
67820         * math/w_exp2f.c: Likewise.
67821         * math/w_exp2l.c: Likewise.
67822         * math/libm-test.inc (exp2_test): Require overflow exception for
67823         1e6 input.
67825         [BZ #3866]
67826         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67827         range of signed 64-bit integers before using fistpll.  Remove
67828         checks for whether integers fit in mantissa bits.
67829         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67830         the range of signed 32-bit integers before using fistpl.  Remove
67831         checks for whether integers fit in mantissa bits.
67832         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67833         (__ieee754_powl): Test for y outside the range of signed 64-bit
67834         integers before using fistpll.  Reduce 64-bit values to 63-bit
67835         ones as needed.
67836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67837         divide-by-zero is raised for zero to large negative powers.
67838         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67839         (__ieee754_powl): Test for y outside the range of signed 64-bit
67840         integers before using fistpll.  Reduce 64-bit values to 63-bit
67841         ones as needed.
67842         * math/libm-test.inc (pow_test): Add more tests.
67844 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67846         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67847         <stdio-common/_itoa.h>.
67848         * debug/segfault.c: Likewise.
67849         * elf/dl-cache.c: Likewise.
67850         * elf/dl-minimal.c: Likewise.
67851         * elf/dl-misc.c: Likewise.
67852         * elf/dl-sysdep.c: Likewise.
67853         * elf/dl-version.c: Likewise.
67854         * elf/rtld.c: Likewise.
67855         * hurd/hurdsock.c: Likewise.
67856         * hurd/lookup-retry.c: Likewise.
67857         * malloc/malloc.c: Likewise.
67858         * malloc/mtrace.c: Likewise.
67859         * nscd/nscd_getgr_r.c: Likewise.
67860         * nscd/nscd_getpw_r.c: Likewise.
67861         * nscd/nscd_getserv_r.c: Likewise.
67862         * posix/getopt_init.c: Likewise.
67863         * posix/wordexp.c: Likewise.
67864         * stdio-common/_itoa.c: Likewise.
67865         * stdio-common/printf_fphex.c: Likewise.
67866         * stdio-common/vfprintf.c: Likewise.
67867         * string/_strerror.c: Likewise.
67868         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67869         * sysdeps/i386/i686/hp-timing.h: Likewise.
67870         * sysdeps/mach/_strerror.c: Likewise.
67871         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67872         * sysdeps/mach/hurd/sethostid.c: Likewise.
67873         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67874         * sysdeps/mach/xpg-strerror.c: Likewise.
67875         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67876         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67877         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67878         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67879         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67880         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67882         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67883         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67884         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67885         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67886         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67887         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67888         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67889         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67890         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67891         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67892         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67893         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67894         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67895         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67897         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67899         * stdio-common/_itoa.h: Moved to ...
67900         * sysdeps/generic/_itoa.h: Here.
67902         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67904         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67905         instead of "_itoa.h" and "_itowa.h".
67906         * stdio-common/vfprintf.: Likewise.
67908 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67910         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67911         <bits/wordsize.h>.
67912         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67913         (__signbit): Likwise.
67914         (llrintf): Likwise.
67915         (llrint): Likwise.
67917 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67919         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67920         __WORDSIZE != 64.
67922 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67924         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67925         OVERFLOW_EXCEPTION_OK.
67926         * math/libm-test.inc ("Philosophy"): Update comment about
67927         exception testing.
67928         (OVERFLOW_EXCEPTION): Define.
67929         (OVERFLOW_EXCEPTION_OK): Likewise.
67930         (INVALID_EXCEPTION_OK): Renumber.
67931         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67932         (IGNORE_ZERO_INF_SIGN): Likewise.
67933         (test_exceptions): Handle FE_OVERFLOW.
67934         (exp10_test): Expect overflow exceptions.
67935         (exp2_test): Likewise.
67936         (expm1_test): Likewise.
67937         (nextafter_test): Likewise.
67938         (pow_test): Likewise.
67939         (scalbn_test): Likewise.
67940         (scalbln_test): Likewise.
67942 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67944         * sysdeps/x86_64/bits/atomic.h
67945         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67946         64bit integer.
67947         (atomic_exchange_acq): Likewise.
67948         (__arch_exchange_and_add_body): Likewise.
67949         (__arch_add_body): Likewise.
67950         (atomic_add_negative): Likewise.
67951         (atomic_add_zero): Likewise.
67953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67955         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67956         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67960         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67961         Check __x86_64__ instead of __WORDSIZE.
67963 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67965         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67967 2012-03-19  David S. Miller  <davem@davemloft.net>
67969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67971         * sysdeps/sparc/fpu/fenv_private.h: New file.
67972         * sysdeps/sparc/fpu/math_private.h: Use it.
67973         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67974         Remove.
67975         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67976         (libc_feholdexcept_setroundl): Remove.
67977         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67978         Remove.
67979         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67980         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67984         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67985         int64_t instead of long int.
67986         (INSERT_WORDS64): Likwise.
67988 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67990         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67991         _Unwind_GetCFA return to _Unwind_Ptr first.
67993 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67995         [BZ #13629]
67996         * math/s_clog.c: Include <float.h>.
67997         (__clog): Scale large or subnormal inputs.
67998         * math/s_clogf.c: Likewise.
67999         * math/s_clogl.c: Likewise.
68000         * math/s_clog10.c: Include <float.h>.
68001         (M_LOG10_2): Define.
68002         (__clog10): Scale large or subnormal inputs.
68003         * math/s_clog10f.c: Likewise.
68004         * math/s_clog10l.c: Likewise.
68005         * math/libm-test.inc (clog_test): Add more tests.
68006         (clog10_test): Likewise.
68007         * sysdeps/i386/fpu/libm-test-ulps: Update.
68008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68010         [BZ #11451]
68011         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68012         x and y.
68013         * math/libm-test.inc (atan2_test): Add another test.
68015         * Makerules (common-objdir-compile): Remove.
68016         * sysdeps/unix/Makefile (config-generated): Do not add
68017         $(unix-generated) to variable.
68018         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68019         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68020         Remove rule.
68021         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68022         Likewise.
68023         [generic bits/local_lim.h] (before-compile): Do not append to
68024         variable.
68025         [generic bits/local_lim.h] (common-generated): Likewise.
68026         [generic sys/param.h] (before-compile): Do not append to variable.
68027         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68028         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68029         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68030         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68031         include.
68032         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68033         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68034         [generic sys/param.h] ($(addprefix
68035         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68036         [generic sys/param.h] (common-generated): Do not append to
68037         variable.
68038         [generic sys/param.h] (sysdep_headers): Likewise.
68039         [generic bits/errno.h] (before-compile): Do not append to
68040         variable.
68041         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68042         rule.
68043         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68044         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68045         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68046         [generic bits/errno.h] (common-generated): Do not append to
68047         variable.
68048         [generic bits/ioctls.h] (before-compile): Do not append to
68049         variable.
68050         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68051         rule.
68052         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68053         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68054         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68055         rule.
68056         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68057         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68058         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68059         [generic bits/ioctls.h] (common-generated): Do not append to
68060         variable.
68061         [generic sys/syscall.h] (syscall.h): Remove variable.
68062         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68063         rule.
68064         [generic sys/syscall.h] (before-compile): Do not append to
68065         variable.
68066         [generic sys/syscall.h] (common-generated): Likewise.
68067         * sysdeps/unix/errnos-tmpl.c: Remove file.
68068         * sysdeps/unix/errnos.awk: Likewise.
68069         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68070         * sysdeps/unix/ioctls.awk: Likewise.
68071         * sysdeps/unix/mk-local_lim.c: Likewise.
68072         * sysdeps/unix/snarf-ioctls: Likewise.
68074 2012-03-19  Richard Henderson  <rth@twiddle.net>
68076         * sysdeps/i386/fpu/fenv_private.h: New file.
68077         * sysdeps/i386/fpu/math_private.h: Use it.
68078         (math_opt_barrier, math_force_eval): Remove.
68079         (libc_feholdexcept_setround_53bit): Remove.
68080         (libc_feupdateenv_53bit): Remove.
68081         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68082         (math_opt_barrier, math_force_eval): Remove.
68083         (libc_feholdexcept): Remove.
68084         (libc_feholdexcept_setround): Remove.
68085         (libc_fetestexcept, libc_fesetenv): Remove.
68086         (libc_feupdateenv_test): Remove.
68087         (libc_feupdateenv, libc_feholdsetround): Remove.
68088         (libc_feresetround): Remove.
68090         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68091         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68093         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68094         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68095         (libc_feupdateenv_testl): New.
68096         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68097         (libc_feupdateenv_testf): New.
68098         (libc_feupdateenv): Use libc_feupdateenv_test.
68099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68100         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68102         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68103         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68104         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68105         (libc_feresetround_noex): New.
68106         (libc_feresetround_noexf): New.
68107         (libc_feresetround_noexl): New.
68108         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68109         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68110         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68112         SET_RESTORE_ROUND.
68113         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68115         (__cos): Likewise.
68116         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68117         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68118         SET_RESTORE_ROUND_NOEX.
68119         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68120         SET_RESTORE_ROUND_NOEXF.
68121         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68122         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68123         (libc_feholdsetroundf): New.
68124         (libc_feresetround, libc_feresetroundf): New.
68126         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68127         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68128         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68130         * sysdeps/generic/math_private.h: Include <fenv.h>.
68131         (default_libc_feholdexcept): New.
68132         (default_libc_feholdexcept_setround): New.
68133         (default_libc_fesetenv, default_libc_feupdateenv): New.
68134         (libc_feholdexcept): Only define if undefined.
68135         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68136         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68137         (libc_feholdexcept_setroundl): Likewise.
68138         (libc_feholdexcept_setround_53bit): Likewise.
68139         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68140         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68141         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68142         (libc_feupdateenv_53bit): Likewise.
68143         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68144         (libc_feholdexcept): Convert from macro to inline function.
68145         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68146         (libc_fesetenv, libc_feupdateenv): Likewise.
68148         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68149         not previously defined.
68150         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68151         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68152         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68153         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68154         * sysdeps/ieee754/flt-32/math_private.h: New file.
68155         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68156         math_private.h below SET_FLOAT_WORD.
68157         (__isnan, __isinf_ns, __finite): Remove.
68158         (__isnanf, __isinf_nsf, __finitef): Remove.
68160 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68164 2012-03-17  David S. Miller  <davem@davemloft.net>
68166         [BZ #6471]
68167         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68168         for 2.16.
68170 2012-03-16  David S. Miller  <davem@davemloft.net>
68172         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68173         warnings.
68175         [BZ #6471]
68176         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68177         properly.
68178         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68179         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68180         sysdep_routines when subdir is sysvipc.
68181         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68182         __getshmlba helper.
68184         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68186 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68188         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68189         [__LP64__].
68191 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68193         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68194         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68195         (__lround): Renamed to ...
68196         (__llround): This.  Replace long int with long long int.
68197         Define lround functions as aliases of llround functions.
68198         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68202         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68203         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68204         adresses to uintptr_t.  Replace "long int" and "unsigned long
68205         int" with "greg_t" on va_arg.
68207 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68209         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68210         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68212         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68213         Move e_machine check before EI_CLASS check.  Handle x32
68214         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68215         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68216         SKIP_EM_IA_64 and include
68217         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68219         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68220         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68221         (add_system_dir): New macro.
68223         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68224         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68226 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68228         [BZ #2551]
68229         [BZ #2552]
68230         [BZ #2553]
68231         [BZ #2554]
68232         [BZ #2562]
68233         [BZ #2563]
68234         [BZ #2565]
68235         [BZ #2566]
68236         [BZ #2576]
68237         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68238         (y0): Likewise.
68239         * math/w_j0f.c (j0f): Likewise.
68240         (y0f): Likewise.
68241         * math/w_j0l.c (__j0l): Likewise.
68242         (__y0l): Likewise.
68243         * math/w_j1.c (j1): Likewise.
68244         (y1): Likewise.
68245         * math/w_j1f.c (j1f): Likewise.
68246         (y1f): Likewise.
68247         * math/w_j1l.c (__j1l): Likewise.
68248         (__y1l): Likewise.
68249         * math/w_jn.c (jn): Likewise.
68250         (yn): Likewise.
68251         * math/w_jnf.c (jnf): Likewise.
68252         (ynf): Likewise.
68253         * math/w_jnl.c (__jnl): Likewise.
68254         (__ynl): Likewise.
68255         * math/libm-test.inc (j0_test): Add more tests.
68256         (j1_test): Likewise.
68257         (jn_test): Likewise.  Add trailing semicolon to existing test.
68258         (y0_test): Likewise.
68259         (y1_test): Likewise.
68260         * sysdeps/i386/fpu/libm-test-ulps: Update.
68261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68263         [BZ #13851]
68264         [BZ #13854]
68265         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68266         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68267         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68268         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68269         (__tanl): Set errno for infinite argument.
68270         * sysdeps/i386/fpu/mptan.c: Remove.
68271         * sysdeps/i386/fpu/s_tan.S: Likewise.
68272         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68273         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68274         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68275         * math/libm-test.inc (tan_test): Add more tests and enable more
68276         tests for double and long double.
68277         * sysdeps/i386/fpu/libm-test-ulps: Update.
68278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68280 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68282         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68283         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68285 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68287         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68288         * configure.in: Use it for both main tree and add-ons.
68289         * configure: Regenerated.
68291 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68293         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68295 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68297         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68298         in comment.
68300         [BZ #13851]
68301         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68302         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68303         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68304         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68305         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68306         infinite argument.
68307         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68308         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68309         != 0 for prec == 2.
68310         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68311         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68312         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68313         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68314         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68315         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68316         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68317         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68318         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68319         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68320         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68321         * math/libm-test.inc (cos_test): Add more tests and enable more
68322         tests for long double.
68323         (sin_test): Likewise.
68324         (sincos_test): Likewise.
68325         * sysdeps/i386/fpu/libm-test-ulps: Update.
68326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68328 2012-03-16  David S. Miller  <davem@davemloft.net>
68330         * sysdeps/sparc/fpu/math_private.h: New file.
68332 2012-03-15  David S. Miller  <davem@davemloft.net>
68334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68335         file.
68336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68338         file.
68339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68344         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68345         sysdep routines.
68346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68348         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68349         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68351         * sysdeps/sparc/sparc-ifunc.h: New file.
68352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68353         sparc-ifunc.h
68354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68356         Likewise.
68357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68358         Likewise.
68359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68363         Likewise.
68364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68369         Likewise.
68370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68371         Likewise.
68372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68378         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68379         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68394         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68395         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68397 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68399         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68400         scaling.
68401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68403 2012-03-15  Andreas Jaeger  <aj@suse.de>
68405         [BZ #13852]
68406         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68407         ieee754/flt-32 implementation for sin, cos and sincos.
68408         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68409         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68410         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68411         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68412         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68413         ieee754/flt-32 implementation for tan.
68415         * math/libm-test.inc (cos_test): Enable some large input tests for
68416         float as well
68417         (sin_test): Likewise.
68418         (sincos_test): Likewise.
68419         (tan_test): Add tests for large input.
68421         * sysdeps/i386/fpu/libm-test-ulps: Update.
68423 2012-03-15  Andreas Jaeger  <aj@suse.de>
68425         [BZ #13658]
68426         * math/libm-test.inc (cos_test): Add more test cases.
68427         (sin_test): Likewise.
68428         (sincos_test): Likewise.
68430 2012-03-15  Andreas Jaeger  <aj@suse.de>
68432         [BZ #13837]
68433         * math/libm-test.inc (cos_test): Add a test case for large input
68434         value.
68435         (sin_test): Likewise.
68436         (sincos_test): Likewise.
68438 2012-03-15  Andreas Jaeger  <aj@suse.de>
68439             Joseph Myers  <joseph@codesourcery.com>
68441         [BZ #13658]
68442         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68443         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68444         * sysdeps/i386/fpu/branred.c: Likewise.
68445         * sysdeps/i386/fpu/dosincos.c: Likewise.
68446         * sysdeps/i386/fpu/mpa.c: Likewise.
68447         * sysdeps/i386/fpu/s_cos.S: Likewise.
68448         * sysdeps/i386/fpu/s_sin.S: Likewise.
68449         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68450         * sysdeps/i386/fpu/sincos32.c: Likewise.
68452         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68453         Define.
68454         (libc_feupdateenv_53bit): Define.
68455         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68456         Define.
68457         (libc_feupdateenv_53bit): Define.
68459         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68460         53 bit (without extend i386 double precision).
68462         * math/libm-test.inc (sincos_test): Add tests for large input.
68463         (sin): Likewise.
68464         (cos): Likewise.
68466         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68468 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68472 2012-03-15  David S. Miller  <davem@davemloft.net>
68474         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68475         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68476         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68477         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68490         file.
68491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68493         file.
68494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68496         file.
68497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68499         file.
68500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68502         fmin/fmax sysdep routines.
68503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68505 2012-03-14  David S. Miller  <davem@davemloft.net>
68507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68511         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68512         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68513         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68527         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68528         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68531         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68532         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68536         routines.
68537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68538         file.
68539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68541         file.
68542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68544         file.
68545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68547         file.
68548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68550         file.
68551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68553         file.
68554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68555         file.
68556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68557         file.
68558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68559         file.
68560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68561         New file.
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68563         file.
68564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68565         file.
68566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68568         file.
68569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68571         file.
68572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68574         file.
68575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68577         VIS3 routines.
68579         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68580         New file.
68582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68584         * sysdeps/sparc/configure.in: New file.
68585         * sysdeps/sparc/configure: Generate.
68586         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68587         * configure: Regenerate.
68588         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68589         * config.make.in (have-as-vis3): New.
68590         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68591         available use -Av9d instead of -Av9a.
68592         * sysdeps/sparc/sparc64/Makefile: Likewise.
68593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68595         New file.
68596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68597         file.
68598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68599         New file.
68600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68601         file.
68602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68603         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68604         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68608         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68609         fzeros/fnegs to load 0x80000000 into a float register instead of
68610         using the stack.
68611         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68613 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68616         bits/syscall.h.
68617         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68618         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68619         ($(inst_includedir)/bits/syscall.h): Remove rule.
68620         ($(objpfx)bits/syscall.d): Include instead of
68621         $(objpfx)syscall-list.d.
68622         (generated): Change syscall-list.h and syscall-list.d to
68623         bits/syscall.h and bits/syscall.d.
68625 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68627         [BZ #13846]
68628         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68630 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68632         [BZ #13841]
68633         * math/s_csqrt.c: Include <float.h>.
68634         (__csqrt): Scale large or subnormal inputs.
68635         * math/s_csqrtf.c: Likewise.
68636         * math/s_csqrtl.c: Likewise.
68637         * math/libm-test.inc (csqrt_test): Add more tests.
68638         * sysdeps/i386/fpu/libm-test-ulps: Update.
68639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68641         [BZ #13840]
68642         * math/libm-test.inc (hypot_test): Add more tests.
68644 2012-03-13  David S. Miller  <davem@davemloft.net>
68646         [BZ #13840]
68647         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68648         double-precision for the calculation instead of scaling.
68650 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68652         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68653         manipulate bits before adding and subtracting TWO52[sx].
68654         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68655         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68656         Likewise.
68657         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68659 2012-03-13  David S. Miller  <davem@davemloft.net>
68661         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68662         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68663         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68664         rtld-global-offsets.h
68665         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68667         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68668         large parameters.
68670         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68672         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68673         'err' in the ifdef scope in which it is actually used.
68675         * nss/nss_db/db-init.c: Include string.h
68677 2012-03-12  David S. Miller  <davem@davemloft.net>
68679         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68680         masking out of the most significant byte of random value used.
68681         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68682         Fix coding style in previous change.
68684         * sysdeps/unix/sysv/linux/kernel-features.h
68685         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68686         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68687         expression.
68688         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68689         later.
68691 2012-03-11  David S. Miller  <davem@davemloft.net>
68693         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68694         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68695         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68696         for 'resultvar' otherwise things get truncated on 64-bit.
68698         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68699         Fix masking out of the most significant byte of random value used.
68701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68703 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68707 2012-03-09  David S. Miller  <davem@davemloft.net>
68709         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68710         variables with appropriate CPP guards.
68711         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68712         from the frame pointer, not the stack pointer.  Correct layout
68713         comments.  Fix test on resulting framesize and the management of
68714         the outregs buffer for pltexit.  Preserve floating point return
68715         values across _dl_call_pltexit call.
68716         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68717         framesize and the management of the outregs buffer for pltexit.
68718         Preserve floating point return values across _dl_call_pltexit
68719         call.
68720         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68721         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68722         (la_sparc64_gnu_pltexit): New functions.
68723         (print_exit): Fix format string for return register value.
68725 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68727         * sunrpc/Makefile (others): Add rpcgen.
68728         ($(objpfx)rpcgen): Remove special build rule and dependency on
68729         libc.
68730         * sunrpc/rpcgen.c: New file.
68732 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68734         [BZ #13673]
68735         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68736         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68737         * sysdeps/i386/crti.S: Likewise.
68738         * sysdeps/i386/crtn.S: Likewise.
68739         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68740         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68741         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68742         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68743         * sysdeps/sh/crti.S: Likewise.
68744         * sysdeps/sh/crtn.S: Likewise.
68745         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68747         [BZ #13673]
68748         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68749         with URL.
68750         * locale/programs/locfile-kw.gperf: Likewise.
68751         * locale/programs/charmap-kw.h: Regenerated.
68752         * locale/programs/locfile-kw.h: Likewise.
68754         [BZ #13673]
68755         * intl/plural.y: Replace FSF snail mail address with URL.
68756         * intl/plural.c: Regenerated.
68758 2012-03-09  Richard Henderson  <rth@twiddle.net>
68760         * include/math_private.h: Remove file.
68761         * math/math_private.h: Move file ...
68762         * sysdeps/generic/math_private.h: ... here.
68764         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68765         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68766         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68768         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68769         and <math_private.h>.
68770         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68771         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68772         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68773         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68774         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68775         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68776         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68778         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68779         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68782         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68783         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68784         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68785         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68786         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68787         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68788         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68789         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68790         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68791         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68792         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68793         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68794         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68795         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68796         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68797         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68798         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68800         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68802         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68803         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68804         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68805         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68806         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68810         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68811         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68812         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68813         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68814         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68815         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68816         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68817         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68818         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68819         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68820         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68821         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68822         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68823         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68824         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68825         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68826         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68827         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68828         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68829         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68830         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68831         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68833         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68834         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68838         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68839         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68840         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68842         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68844         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68845         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68848         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68849         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68850         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68851         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68852         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68853         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68854         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68857         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68858         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68859         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68860         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68861         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68862         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68863         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68864         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68865         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68866         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68867         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68868         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68870         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68871         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68872         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68873         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68874         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68875         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68876         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68877         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68878         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68880         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68881         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68882         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68883         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68884         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68886         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68887         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68888         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68889         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68890         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68891         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68892         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68893         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68894         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68895         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68896         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68897         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68898         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68899         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68900         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68901         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68902         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68903         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68904         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68905         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68906         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68907         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68908         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68909         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68910         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68911         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68912         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68913         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68914         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68915         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68916         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68917         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68918         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68919         * sysdeps/ieee754/k_standard.c: Likewise.
68920         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68921         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68922         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68923         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68924         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68925         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68927         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68928         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68929         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68930         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68931         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68932         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68933         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68934         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68935         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68936         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68937         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68938         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68939         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68940         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68941         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68942         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68943         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68944         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68945         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68946         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68947         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68948         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68949         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68950         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68951         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68952         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68953         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68954         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68955         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68956         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68957         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68958         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68959         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68960         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68961         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68962         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68963         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68964         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68965         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68966         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68970         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68971         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68972         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68973         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68974         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68975         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68976         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68977         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68978         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68979         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68980         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68981         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68982         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68984         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68986         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68987         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68988         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68989         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68991         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68992         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68993         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68996         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69001         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69004         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69008         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69010         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69013         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69016         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69017         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69018         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69019         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69022         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69023         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69024         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69025         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69026         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69028         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69029         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69030         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69031         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69032         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69033         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69034         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69035         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69036         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69037         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69038         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69039         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69041         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69042         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69043         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69045         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69047         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69053         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69057         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69059         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69060         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69061         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69064         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69065         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69066         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69067         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69068         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69069         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69071         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69072         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69073         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69074         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69075         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69076         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69077         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69078         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69079         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69080         * sysdeps/ieee754/s_lib_version.c: Likewise.
69081         * sysdeps/ieee754/s_matherr.c: Likewise.
69082         * sysdeps/ieee754/s_signgam.c: Likewise.
69083         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69084         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69085         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69086         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69087         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69088         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69089         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69090         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69091         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69092         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69093         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69094         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69095         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69097         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69098         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69099         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69100         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69101         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69105 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69107         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69108         * sunrpc/rpc_main.c: Likewise.
69109         * sunrpc/rpc_svcout.c: Likewise.
69111 2012-03-09  David S. Miller  <davem@davemloft.net>
69113         * include/math_private.h: New file.
69115 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69117         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69118         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69119         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69120         from <bits/socket_type.h>.
69121         (enum __socket_type): Don't define here.
69122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69124         bits/socket_type.h.
69126         [BZ #13566]
69127         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69128         checking __USE_GNU.
69130         * Makerules ($(inst_includedir)/%.h): New rule.
69131         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69132         (install-others): Remove variable setting.
69133         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69135 2012-03-08  Richard Henderson  <rth@twiddle.net>
69137         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69138         from macro to inline function; merge with the
69139         !__LIBC_INTERNAL_MATH_INLINES version.
69140         (__ieee754_sqrtf): Likewise.
69142         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69143         to inline function.
69144         (__rintf, __floor, __floorf): Likewise.
69146         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69147         macro to inline function.
69148         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69150         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69151         not <math/math_private.h>.
69153 2012-03-08  David S. Miller  <davem@davemloft.net>
69155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69156         copyright year.
69157         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69159 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69161         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69162         normalization.
69163         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69164         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69166 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69168         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69169         be defined individually, they must be defined as a block.  Define
69170         S for printing a string instead of hidint the different by using a
69171         macro for adding the 'l'.
69172         * stdio-common/tst-fphex-wide.c: Adjust.
69174 2012-03-07  Marek Polacek  <polacek@redhat.com>
69176         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69178 2012-03-08  Marek Polacek  <polacek@redhat.com>
69180         [BZ #13806]
69181         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69182         * stdio-common/tst-fphex.c: Define a few macros to make the
69183         test reusable.  Use them.
69184         * stdio-common/tst-fphex-wide.c: New file.
69186 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69188         [BZ #6911]
69189         * manual/macros.texi (gnusystems): New macro.
69190         (nongnusystems): Likewise.
69191         (gnulinuxhurdsystems): Likewise.
69192         (gnuhurdsystems): Likewise..
69193         (gnulinuxsystems): Likewise.
69194         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69195         variants of the GNU system, not "GNU system".
69196         * manual/conf.texi: Likewise.
69197         * manual/errno.texi: Likewise.  Update example of errno macro
69198         expansion.
69199         * manual/filesys.texi: Likewise.
69200         (getumask): Document as specific to GNU/Hurd.
69201         * manual/install.texi: Likewise.  Reword some references to
69202         GNU/Linux.
69203         * manual/intro.texi: Likewise.
69204         * manual/io.texi: Likewise.
69205         (File Name Portability): Detail which constraints are inapplicable
69206         to all GNU systems and which are only inapplicable to GNU/Hurd.
69207         * manual/job.texi: Likewise.
69208         * manual/llio.texi: Likewise.
69209         (O_NOCTTY): Document as present on GNU/Linux.
69210         * manual/maint.texi: Likewise.
69211         * manual/memory.texi: Likewise.
69212         * manual/pattern.texi: Likewise.
69213         * manual/pipe.texi: Likewise.
69214         * manual/process.texi: Likewise.
69215         * manual/resource.texi: Likewise.
69216         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69217         child on GNU/Hurd.
69218         * manual/setjmp.texi: Likewise.
69219         * manual/signal.texi: Likewise.
69220         * manual/startup.texi: Likewise.
69221         * manual/stdio.texi: Likewise.
69222         * manual/terminal.texi: Likewise.
69223         (ONLCR): Document as POSIX.
69224         (OXTABS): Document availability on GNU/Linux as XTABS.
69225         (ONOEOT): Document availability separately from other bits.
69226         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69227         * manual/time.texi: Likewise.
69228         * manual/users.texi: Likewise.
69229         * INSTALL: Regenerated.
69230         * sysdeps/gnu/errlist.c: Regenerated.
69232         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69233         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69234         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69235         puts.
69236         * configure: Regenerated.
69238 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69240         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69241         default includes instead of AC_HEADER_CHECK.
69242         * sysdeps/i386/configure: Regenerated.
69244         [BZ #10716]
69245         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69246         * math/s_cacoshf.c (__cacoshf): Likewise.
69247         * math/s_cacoshl.c (__cacoshl): Likewise.
69248         * math/s_casinh.c (__casinh): Set signs of result from argument.
69249         * math/s_casinhf.c (__casinhf): Likewise.
69250         * math/s_casinhl.c (__casinhl): Likewise.
69251         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69252         (casinh_test): Add more tests.
69253         * sysdeps/i386/fpu/libm-test-ulps: Update.
69254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69256 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69258         * po/zh_TW.po: Update from translation team.
69260         * login/Makefile (distribute): Remove variable.
69261         * catgets/Makefile: Likewise.
69262         * mach/Makefile: Likewise.
69263         * malloc/Makefile: Likewise.
69264         * misc/Makefile: Likewise.
69265         * iconv/Makefile: Likewise.
69266         * nscd/Makefile: Likewise.
69267         * hurd/Makefile: Likewise.
69268         * manual/Makefile: Likewise.
69269         * locale/Makefile: Likewise.
69270         * intl/Makefile: Likewise.
69271         * conform/Makefile: Likewise.
69272         * nss/Makefile: Likewise.
69273         * time/Makefile: Likewise.
69274         * soft-fp/Makefile: Likewise.
69275         * dirent/Makefile: Likewise.
69276         * gmon/Makefile: Likewise.
69277         * po/Makefile: Likewise.
69278         * rt/Makefile: Likewise.
69279         * socket/Makefile: Likewise.
69280         * math/Makefile: Likewise.
69281         * signal/Makefile: Likewise.
69282         * debug/Makefile: Likewise.
69283         * elf/Makefile: Likewise.
69284         * timezone/Makefile: Likewise.
69285         * stdlib/Makefile: Likewise.
69286         * iconvdata/Makefile: Likewise.
69287         * sunrpc/Makefile: Likewise.
69288         * io/Makefile: Likewise.
69289         * argp/Makefile: Likewise.
69290         * inet/Makefile: Likewise.
69291         * hesiod/Makefile: Likewise.
69292         * grp/Makefile: Likewise.
69293         * csu/Makefile: Likewise.
69294         * wctype/Makefile: Likewise.
69295         * crypt/Makefile: Likewise.
69296         * libio/Makefile: Likewise.
69297         * string/Makefile: Likewise.
69298         * nis/Makefile: Likewise.
69299         * resolv/Makefile: Likewise.
69300         * stdio-common/Makefile: Likewise.
69301         * wcsmbs/Makefile: Likewise.
69302         * dlfcn/Makefile: Likewise.
69303         * posix/Makefile: Likewise.
69305         [BZ #6959]
69306         * timezone/Makefile: Don't install timezone files, just the programs
69307         and scripts.
69309 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69311         * nss/databases.def: Add missing gshadow entry.
69313         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69315 2012-03-06  Marek Polacek  <polacek@redhat.com>
69317         [BZ #13726]
69318         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69319         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69320         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69321         * stdio-common/tst-long-dbl-fphex.c: New file.
69323 2012-03-06  David S. Miller  <davem@davemloft.net>
69325         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69326         (set_obp_int): New function.
69327         (get_obp_int): New function.
69328         (__get_clockfreq_via_dev_openprom): Likewise.
69329         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69330         Avoid unused variable warnings on 'val' and use builtin_expect.
69331         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69332         __builtin_expect.
69333         (INLINE_CLONE_SYSCALL): Likewise.
69335 2012-03-05  David S. Miller  <davem@davemloft.net>
69337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69339 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69343         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69344         only for |x| >= 40.
69345         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69347 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69349         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69350         Replace gettimeofday with __vdso_gettimeofday.
69352         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69353         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69354         __vdso_clock_gettime and __vdso_getcpu.
69356         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69357         time with __vdso_time.
69359 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69361         * manual/lang.texi (size_t): Note types to which size_t may be
69362         equivalent with the GNU C Library, but do not describe when
69363         differences between them are significant.
69365 2012-03-05  Andreas Jaeger  <aj@suse.de>
69367         * sysdeps/i386/fpu/libm-test-ulps: Update.
69369 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69371         [BZ #3976]
69372         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69373         (__ieee754_pow): Save and restore rounding mode and use
69374         round-to-nearest for main computations.
69375         * math/libm-test.inc (pow_test_tonearest): New function.
69376         (pow_test_towardzero): Likewise.
69377         (pow_test_downward): Likewise.
69378         (pow_test_upward): Likewise.
69379         (main): Call the new functions.
69380         * sysdeps/i386/fpu/libm-test-ulps: Update.
69381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69383         [BZ #3976]
69384         * math/libm-test.inc (cosh_test_tonearest): New function.
69385         (cosh_test_towardzero): Likewise.
69386         (cosh_test_downward): Likewise.
69387         (cosh_test_upward): Likewise.
69388         (sinh_test_tonearest): Likewise.
69389         (sinh_test_towardzero): Likewise.
69390         (sinh_test_downward): Likewise.
69391         (sinh_test_upward): Likewise.
69392         (main): Call the new functions.
69393         * sysdeps/i386/fpu/libm-test-ulps: Update.
69394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69396 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69398         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69399         default stack guard is set in last bytes.
69400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69402 2012-03-05  Kees Cook  <keescook@chromium.org>
69404         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69406         [BZ #13656]
69407         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69408         possibly allocate from heap instead of stack.
69409         * stdio-common/bug-vfprintf-nargs.c: New file.
69410         * stdio-common/Makefile (tests): Add nargs overflow test.
69412 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69416 2012-03-03  Marek Polacek  <polacek@redhat.com>
69418         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69419         * math/math_private.h: Likewise.
69420         * stdlib/tst-strtod.c: Likewise.
69421         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69422         * sysdeps/x86_64/bits/atomic.h: Likewise.
69424 2012-03-02  David S. Miller  <davem@davemloft.net>
69426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69430         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69431         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69432         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69433         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69435 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69437         [BZ #13792]
69438         * manual/examples/README: New file, says the example source files
69439         can be used under GPL>=2.
69440         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69441         line containing just "*/".
69442         * manual/examples/add.c: Add copyright header (GPL>=2).
69443         * manual/examples/argp-ex1.c: Likewise.
69444         * manual/examples/argp-ex2.c: Likewise.
69445         * manual/examples/argp-ex3.c: Likewise.
69446         * manual/examples/argp-ex4.c: Likewise.
69447         * manual/examples/atexit.c: Likewise.
69448         * manual/examples/db.c: Likewise.
69449         * manual/examples/dir.c: Likewise.
69450         * manual/examples/dir2.c: Likewise.
69451         * manual/examples/execinfo.c: Likewise.
69452         * manual/examples/filecli.c: Likewise.
69453         * manual/examples/filesrv.c: Likewise.
69454         * manual/examples/fmtmsgexpl.c: Likewise.
69455         * manual/examples/genpass.c: Likewise.
69456         * manual/examples/inetcli.c: Likewise.
69457         * manual/examples/inetsrv.c: Likewise.
69458         * manual/examples/isockad.c: Likewise.
69459         * manual/examples/longopt.c: Likewise.
69460         * manual/examples/memopen.c: Likewise.
69461         * manual/examples/memstrm.c: Likewise.
69462         * manual/examples/mkfsock.c: Likewise.
69463         * manual/examples/mkisock.c: Likewise.
69464         * manual/examples/mygetpass.c: Likewise.
69465         * manual/examples/pipe.c: Likewise.
69466         * manual/examples/popen.c: Likewise.
69467         * manual/examples/rprintf.c: Likewise.
69468         * manual/examples/search.c: Likewise.
69469         * manual/examples/select.c: Likewise.
69470         * manual/examples/setjmp.c: Likewise.
69471         * manual/examples/sigh1.c: Likewise.
69472         * manual/examples/sigusr.c: Likewise.
69473         * manual/examples/stpcpy.c: Likewise.
69474         * manual/examples/strdupa.c: Likewise.
69475         * manual/examples/strftim.c: Likewise.
69476         * manual/examples/strncat.c: Likewise.
69477         * manual/examples/subopt.c: Likewise.
69478         * manual/examples/swapcontext.c: Likewise.
69479         * manual/examples/termios.c: Likewise.
69480         * manual/examples/testopt.c: Likewise.
69481         * manual/examples/testpass.c: Likewise.
69482         * manual/examples/timeval_subtract.c: Likewise.
69484         [BZ #13792]
69485         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69486         function to ...
69487         * manual/timeval_subtract.c.texi: ... here, new file.
69489 2012-03-02  David S. Miller  <davem@davemloft.net>
69491         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69493 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69495         [BZ #3976]
69496         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69497         (__sin): Save and restore rounding mode and use round-to-nearest
69498         for all computations.
69499         (__cos): Save and restore rounding mode and use round-to-nearest
69500         for all computations.
69501         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69502         <fenv.h>.
69503         (tan): Save and restore rounding mode and use round-to-nearest for
69504         all computations.
69505         * math/libm-test.inc (cos_test_tonearest): New function.
69506         (cos_test_towardzero): Likewise.
69507         (cos_test_downward): Likewise.
69508         (cos_test_upward): Likewise.
69509         (sin_test_tonearest): Likewise.
69510         (sin_test_towardzero): Likewise.
69511         (sin_test_downward): Likewise.
69512         (sin_test_upward): Likewise.
69513         (tan_test_tonearest): Likewise.
69514         (tan_test_towardzero): Likewise.
69515         (tan_test_downward): Likewise.
69516         (tan_test_upward): Likewise.
69517         (main): Call the new functions.
69518         * sysdeps/i386/fpu/libm-test-ulps: Update.
69519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69521         [BZ #10135]
69522         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69523         small n, then large n, before computing and testing k+n.
69524         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69525         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69526         Likewise.
69527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69528         Likewise.
69529         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69530         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69531         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69532         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69533         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69534         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69535         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69536         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69537         * math/libm-test.inc (scalbn_test): Add more tests.
69538         (scalbln_test): Likewise.
69540         * manual/filesys.texi (mode_t): Describe constraints on size and
69541         signedness, not exact equivalence to a particular type.
69542         (ino_t): Likewise.
69543         (ino64_t): Likewise.
69544         (dev_t): Likewise.
69545         (nlink_t): Likewise.
69546         (blkcnt_t): Likewise.
69547         (blkcnt64_t): Likewise.
69548         * manual/llio.texi (off_t): Likewise.
69550         [BZ #3976]
69551         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69552         (__ieee754_exp): Save and restore rounding mode and use
69553         round-to-nearest for all computations.
69554         * math/libm-test.inc (exp_test_tonearest): New function.
69555         (exp_test_towardzero): Likewise.
69556         (exp_test_downward): Likewise.
69557         (exp_test_upward): Likewise.
69558         (main): Call the new functions.
69559         * sysdeps/i386/fpu/libm-test-ulps: Update.
69560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69562 2012-03-01  Chris Demetriou  <cgd@google.com>
69564         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69565         have predictable order.
69567 2012-03-01  David S. Miller  <davem@davemloft.net>
69569         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69571         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69572         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69573         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69574         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69576         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69577         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69578         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69580         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69581         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69582         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69583         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69584         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69588         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69589         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69590         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69592         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69593         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69594         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69595         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69596         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69597         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69598         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69599         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69600         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69601         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69602         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69603         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69605         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69606         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69608         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69609         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69610         * sysdeps/sparc/elf/configure: Regenerated.
69612 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69614         * configure.in (AS, LD): Require binutils 2.20 or later.
69615         * configure: Regenerated.
69616         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69617         as required minimum version.
69618         * INSTALL: Regenerated.
69620         [BZ #2541]
69621         [BZ #4108]
69622         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69623         before squaring exponent.
69624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69625         bottom long double and 27 bits of top long double before squaring
69626         exponent.
69627         * math/libm-test.inc (erfc_test): Add more tests.
69628         * sysdeps/i386/fpu/libm-test-ulps: Update.
69629         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69632 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69634         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69635         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69636         containing bit-fields.
69637         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69638         * soft-fp/single.h (_FP_UNION_S): Likewise.
69639         * soft-fp/double.h (_FP_UNION_D): Likewise.
69641 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69643         [BZ #13786]
69644         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69645         not include ../strcmp.S.
69646         [USE_AS_STRNCASECMP_L]: Likewise.
69647         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69648         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69649         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69650         (__strncasecmp_l_ia32): Define as alias to
69651         __strncasecmp_l_nonascii.
69653         [BZ #5794]
69654         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69655         * sysdeps/i386/fpu/libm-test-ulps: Update.
69656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69658         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69661 2012-02-29  Jeff Law  <law@redhat.com>
69663         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69664         out of bounds read.
69666 2012-02-29  Marek Polacek  <polacek@redhat.com>
69668         [BZ #13706]
69669         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69670         * elf/Makefile: Add rules to run tst-unused-dep.out.
69672 2012-02-28  David S. Miller  <davem@davemloft.net>
69674         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69675         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69678         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69679         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69681 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69683         * math/libm-test.inc (llround_test): Move one test from
69684         lround_test.  Use TEST_f_L in moved test.
69685         (lround_test): Move misplaced test to llround_test.  Add testcase
69686         from bug 2561.
69688 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69690         * sysdeps/x86_64/fpu/e_expf.S: New file.
69691         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69693 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69695         [BZ #13637]
69696         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69697         of remain_len that may cause incomplete multi-byte character and
69698         false match.
69699         * posix/bug-regex33.c: New file.
69700         * posix/Makefile (tests): Add bug-regex33.
69702 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69704         * manual/macros.texi: New file.
69705         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69706         * manual/libc.texinfo: Include macros.texi.
69707         * manual/creatute.texi: Likewise.
69708         * manual/install.texi: Likewise.
69709         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69710         @glibcadj{} in references to the GNU C Library.
69711         * manual/charset.texi: Likewise.
69712         * manual/conf.texi: Likewise.
69713         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69714         when not using those macros.
69715         * manual/creature.texi: Likewise.
69716         * manual/crypt.texi: Likewise.
69717         * manual/errno.texi: Likewise.
69718         * manual/filesys.texi: Likewise.
69719         * manual/header.texi: Likewise.
69720         * manual/install.texi: Likewise.
69721         * manual/intro.texi: Likewise.
69722         * manual/io.texi: Likewise.
69723         * manual/job.texi: Likewise.
69724         * manual/lang.texi: Likewise.
69725         * manual/libc.texiinfo: Likewise.
69726         * manual/llio.texi: Likewise.
69727         * manual/locale.texi: Likewise.
69728         * manual/maint.texi: Likewise.
69729         * manual/math.texi: Likewise.
69730         * manual/memory.texi: Likewise.
69731         * manual/message.texi: Likewise.
69732         * manual/nss.texi: Likewise.
69733         * manual/pattern.texi: Likewise.
69734         * manual/process.texi: Likewise.
69735         * manual/resource.texi: Likewise.
69736         * manual/search.texi: Likewise.
69737         * manual/setjmp.texi: Likewise.
69738         * manual/signal.texi: Likewise.
69739         * manual/socket.texi: Likewise.
69740         * manual/startup.texi: Likewise.
69741         * manual/stdio.texi: Likewise.
69742         * manual/string.texi: Likewise.
69743         * manual/sysinfo.texi: Likewise.
69744         * manual/syslog.texi: Likewise.
69745         * manual/terminal.texi: Likewise.
69746         * manual/time.texi: Likewise.
69747         * manual/users.texi: Likewise.
69748         * INSTALL: Regenerated.
69749         * NOTES: Regenerated.
69750         * sysdeps/gnu/errlist.c: Regenerated.
69752 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69754         * include/dirent.h: Include <dirstream.h> before
69755         <dirent/dirent.h>.
69757 2012-02-28  David S. Miller  <davem@davemloft.net>
69759         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69760         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69761         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69762         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69764 2012-02-27  David S. Miller  <davem@davemloft.net>
69766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69768         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69769         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69772         frame pointer instead of stack pointer relative arg slot.
69773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69774         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69775         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69777 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69779         [BZ #3992]
69780         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69782 2012-02-27  David S. Miller  <davem@davemloft.net>
69784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69788         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69789         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69790         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69791         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69793 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69795         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69796         later.  Allow versions 5-9.
69797         * configure: Regenerated.
69798         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69799         required minimum version and 4.6 as recommended version.  Do not
69800         mention bugs in GCC 2.7 and 2.8.
69801         * INSTALL: Regenerated.
69803 2012-02-27  David S. Miller  <davem@davemloft.net>
69805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69809         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69810         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69811         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69812         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69814         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69815         manipulate bits before adding and subtracting TWO112[sx].
69816         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69818 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69820         [BZ #13775]
69821         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69822         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69823         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69824         being in POSIX, because they are in 1003.1-2008.
69826         * rt/tst-aio.c: Include <fcntl.h>.
69827         * rt/tst-aio7.c: Likewise.
69828         * rt/tst-aio64.c: Likewise.
69830         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69832 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69834         * manual/install.texi (--with-headers): Describe headers as
69835         interface headers, not private headers.
69836         (Specific advice for GNU/Linux systems): Describe use of headers
69837         from "make headers_install", not private headers from older
69838         kernels.
69839         * INSTALL: Regenerated.
69840         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69841         Change to 2.6.19.
69842         * sysdeps/unix/sysv/linux/configure: Regenerated.
69844         * manual/llio.texi (fclean): Remove documentation.
69846         * manual/Makefile (libc-texi-generated): New variable.  Include
69847         version.texi.
69848         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69849         $(libc-texi-generated), not duplicated list of files.
69850         (version.texi, stamp-version): New rules.
69851         (realclean): Remove $(libc-texi-generated), not individual files
69852         from that list.  Do not remove dir-add.texinfo.
69853         * manual/libc.texinfo: Comment out uses of edition numbers and
69854         references to printed manual.  Remove last-updated dates.
69855         (EDITION): Comment out.
69856         (ISBN): Likewise.
69857         (VERSION, UPDATED): Remove.
69858         (version.texi): Include.
69860 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69862         * sysdeps/posix/spawni.c: Include <signal.h>.
69863         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69864         * sysdeps/pthread/aio_fsync.c: Likewise.
69866 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69868         * conform/Makefile (tests): Run only when not cross-compiling and
69869         when fast-check is not defined.
69871         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69872         * conform/data/limits.h-data: Fixes for POSIX2008.
69873         * conform/run-conformtest.sh: Run all tests.
69874         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69875         headers.
69876         * include/bits/dlfcn.h: Likewise.
69877         * include/langinfo.h: Likewise.
69878         * include/monetary.h: Likewise.
69879         * include/sys/poll.h: Likewise.
69881         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69882         for __USE_GNU.
69883         * posix/spawn.h: Define __need_sigset_t.
69884         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69885         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69886         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69887         to get sigevent_t only.
69888         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69889         only for __USE_GNU.
69890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69891         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69892         process_vm_writev only for __USE_GNU.
69893         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69895         * conform/Makefile: For now ignore errors from run-conformtest.
69896         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69897         POSIX to avoid namespace pollution.  Don't prepend headers.
69898         * conform/data/aio.h-data: Fixes for POSIX testing.
69899         * conform/data/fcntl.h-data: Likewise.
69900         * conform/data/glob.h-data: Likewise.
69901         * conform/data/grp.h-data: Likewise.
69902         * conform/data/pthread.h-data: Likewise.
69903         * conform/data/pwd.h-data: Likewise.
69904         * conform/data/signal.h-data: Likewise.
69905         * conform/data/spawn.h-data: Likewise.
69906         * conform/data/stdio.h-data: Likewise.
69907         * conform/data/stdlib.h-data: Likewise.
69908         * conform/data/stropts.h-data: Likewise.
69909         * conform/data/sys/mman.h-data: Likewise.
69910         * conform/data/sys/stat.h-data: Likewise.
69911         * conform/data/sys/types.h-data: Likewise.
69912         * conform/data/sys/wait.h-data: Likewise.
69913         * conform/data/time.h-data: Likewise.
69914         * conform/data/unistd.h-data: Likewise.
69915         * conform/data/utime.h-data: Likewise.
69917         * io/sys/stat.h: fchmod was always in POSIX.
69918         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69919         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69920         * rt/aio.h: Define __need_timespec before including <time.h>.
69921         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69922         struct.  Add forward declaration of pthread_attr_t and use it in
69923         sigevent.
69924         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69926         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69927         always remove CLK_TCK definition.
69929 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69931         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69933 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69935         * conform/run-conformtest.sh: New file.
69936         * conform/Makefile: Run run-conformtest for tests.
69937         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69938         support.
69940         * conform/data/uchar.h-data: New file.
69941         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69942         * conform/data/arpa/inet.h-data: Likewise.
69943         * conform/data/assert.h-data: Likewise.
69944         * conform/data/complex.h-data: Likewise.
69945         * conform/data/cpio.h-data: Likewise.
69946         * conform/data/ctype.h-data: Likewise.
69947         * conform/data/dirent.h-data: Likewise.
69948         * conform/data/dlfcn.h-data: Likewise.
69949         * conform/data/errno.h-data: Likewise.
69950         * conform/data/fcntl.h-data: Likewise.
69951         * conform/data/float.h-data: Likewise.
69952         * conform/data/fmtmsg.h-data: Likewise.
69953         * conform/data/fnmatch.h-data: Likewise.
69954         * conform/data/ftw.h-data: Likewise.
69955         * conform/data/glob.h-data: Likewise.
69956         * conform/data/grp.h-data: Likewise.
69957         * conform/data/iconv.h-data: Likewise.
69958         * conform/data/inttypes.h-data: Likewise.
69959         * conform/data/langinfo.h-data: Likewise.
69960         * conform/data/libgen.h-data: Likewise.
69961         * conform/data/limits.h-data: Likewise.
69962         * conform/data/locale.h-data: Likewise.
69963         * conform/data/math.h-data: Likewise.
69964         * conform/data/monetary.h-data: Likewise.
69965         * conform/data/mqueue.h-data: Likewise.
69966         * conform/data/ndbm.h-data: Likewise.
69967         * conform/data/net/if.h-data: Likewise.
69968         * conform/data/netdb.h-data: Likewise.
69969         * conform/data/netinet/in.h-data: Likewise.
69970         * conform/data/nl_types.h-data: Likewise.
69971         * conform/data/poll.h-data: Likewise.
69972         * conform/data/pthread.h-data: Likewise.
69973         * conform/data/pwd.h-data: Likewise.
69974         * conform/data/regex.h-data: Likewise.
69975         * conform/data/sched.h-data: Likewise.
69976         * conform/data/search.h-data: Likewise.
69977         * conform/data/semaphore.h-data: Likewise.
69978         * conform/data/setjmp.h-data: Likewise.
69979         * conform/data/signal.h-data: Likewise.
69980         * conform/data/spawn.h-data: Likewise.
69981         * conform/data/stdarg.h-data: Likewise.
69982         * conform/data/stdio.h-data: Likewise.
69983         * conform/data/stdlib.h-data: Likewise.
69984         * conform/data/string.h-data: Likewise.
69985         * conform/data/strings.h-data: Likewise.
69986         * conform/data/stropts.h-data: Likewise.
69987         * conform/data/sys/ipc.h-data: Likewise.
69988         * conform/data/sys/mman.h-data: Likewise.
69989         * conform/data/sys/msg.h-data: Likewise.
69990         * conform/data/sys/resource.h-data: Likewise.
69991         * conform/data/sys/select.h-data: Likewise.
69992         * conform/data/sys/sem.h-data: Likewise.
69993         * conform/data/sys/shm.h-data: Likewise.
69994         * conform/data/sys/socket.h-data: Likewise.
69995         * conform/data/sys/stat.h-data: Likewise.
69996         * conform/data/sys/statvfs.h-data: Likewise.
69997         * conform/data/sys/time.h-data: Likewise.
69998         * conform/data/sys/timeb.h-data: Likewise.
69999         * conform/data/sys/times.h-data: Likewise.
70000         * conform/data/sys/types.h-data: Likewise.
70001         * conform/data/sys/uio.h-data: Likewise.
70002         * conform/data/sys/un.h-data: Likewise.
70003         * conform/data/sys/utsname.h-data: Likewise.
70004         * conform/data/sys/wait.h-data: Likewise.
70005         * conform/data/syslog.h-data: Likewise.
70006         * conform/data/tar.h-data: Likewise.
70007         * conform/data/termios.h-data: Likewise.
70008         * conform/data/utime.h-data: Likewise.
70009         * conform/data/utmpx.h-data: Likewise.
70010         * conform/data/varargs.h-data: Likewise.
70011         * conform/data/wchar.h-data: Likewise.
70012         * conform/data/wctype.h-data: Likewise.
70013         * conform/data/wordexp.h-data: Likewise.
70015         * include/stropts.h: New file.
70016         * include/uchar.h: New file.
70017         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70018         * include/assert.h: Likewise.
70019         * include/ctype.h: Likewise.
70020         * include/dirent.h: Likewise.
70021         * include/dlfcn.h: Likewise.
70022         * include/fcntl.h: Likewise.
70023         * include/fnmatch.h: Likewise.
70024         * include/glob.h: Likewise.
70025         * include/grp.h: Likewise.
70026         * include/libio.h: Likewise.
70027         * include/locale.h: Likewise.
70028         * include/math.h: Likewise.
70029         * include/net/if.h: Likewise.
70030         * include/netdb.h: Likewise.
70031         * include/netinet/in.h: Likewise.
70032         * include/pthread.h: Likewise.
70033         * include/pwd.h: Likewise.
70034         * include/regex.h: Likewise.
70035         * include/sched.h: Likewise.
70036         * include/search.h: Likewise.
70037         * include/setjmp.h: Likewise.
70038         * include/signal.h: Likewise.
70039         * include/stdio.h: Likewise.
70040         * include/stdlib.h: Likewise.
70041         * include/string.h: Likewise.
70042         * include/sys/cdefs.h: Likewise.
70043         * include/sys/mman.h: Likewise.
70044         * include/sys/msg.h: Likewise.
70045         * include/sys/resource.h: Likewise.
70046         * include/sys/select.h: Likewise.
70047         * include/sys/socket.h: Likewise.
70048         * include/sys/stat.h: Likewise.
70049         * include/sys/statvfs.h: Likewise.
70050         * include/sys/time.h: Likewise.
70051         * include/sys/times.h: Likewise.
70052         * include/sys/uio.h: Likewise.
70053         * include/sys/utsname.h: Likewise.
70054         * include/sys/wait.h: Likewise.
70055         * include/termios.h: Likewise.
70056         * include/time.h: Likewise.
70057         * include/ulimit.h: Likewise.
70058         * include/unistd.h: Likewise.
70059         * include/utime.h: Likewise.
70060         * include/wchar.h: Likewise.
70061         * include/wctype.h: Likewise.
70062         * include/wordexp.h: Likewise.
70064         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70066         * time/time.h: TIME_UTC must be a macro.
70067         Make timespec_get available for ISO C11 only as well.
70069 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70071         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70072         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70074 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70076         * configure.in: Use -o not -a in test for unsupported multi-arch.
70078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70080         * manual/texinfo.tex: Update to version 2012-01-19.16.
70082 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70084         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70086 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70088         [BZ #13738]
70089         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70090         * manual/fdl-1.3.texi: New file.
70091         * manual/fdl-1.1.texi: File removed.
70093         [BZ #13738]
70094         * manual/libc.texinfo (FDL_VERSION): New @set.
70095         Use it for mention of FDL in cover text.
70096         (Documentation License): Use it in @include file name.
70098 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70099             Roland McGrath  <roland@hack.frob.com>
70101         [BZ #5461]
70102         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70103         (not LONG_LONG_MAX and LONG_LONG_MIN.
70104         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70105         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70106         name.
70107         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70109 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70111         [BZ #2547]
70112         [BZ #11365]
70113         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70114         manipulate bits before adding and subtracting TWO23[sx].
70115         * math/libm-test.inc (nearbyint_test): Add more tests.
70117 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70119         [BZ #2548]
70120         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70121         bits before adding and subtracting TWO23[sx].
70122         * math/libm-test.inc (rint_test): Add more tests.
70123         (rint_test_tonearest): Likewise.
70124         (rint_test_towardzero): Likewise.
70125         (rint_test_downward): Likewise.
70126         (rint_test_upward: Likewise.
70128 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70130         [BZ #10110]
70131         * include/stdc-predef.h: New file.  Extracted from features.h.
70132         * include/features.h: Include stdc-predef.h.
70133         * Makefile (headers): Add stdc-predef.h.
70134         * CONFORMANCE (Compiler limitations): Update.
70136 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70138         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70140 2012-02-21  David S. Miller  <davem@davemloft.net>
70142         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70143         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70145 2012-02-20  David S. Miller  <davem@davemloft.net>
70147         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70148         using a normal save/restore sequence, rather than allocating a
70149         dummy stack frame just to store a frame pointer and restore.
70150         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70152 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70154         * manual/install.texi: Fix stray word in line-wrapped comment.
70156 2012-02-20  David S. Miller  <davem@davemloft.net>
70158         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70159         both binutils and gcc support GOTDATA.
70161         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70162         "rd %pc" in the PIC register setup sequences.
70164         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70165         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70166         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70167         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70168         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70170         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70171         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70173         (SYSCALL_ERROR_HANDLER): Likewise.
70174         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70175         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70177         (SYSCALL_ERROR_HANDLER): Likewise.
70179         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70180         (HAVE_GCC_GOTDATA): New.
70181         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70182         relocation support in both binutils and gcc.
70183         * sysdeps/sparc/elf/configure: Regenerate.
70185         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70186         * sysdeps/sparc/sparc32/elf/configure: Delete.
70187         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70188         * sysdeps/sparc/sparc64/elf/configure: Delete.
70189         * sysdeps/sparc/elf/configure.in: New file.
70190         * sysdeps/sparc/elf/configure: Generate.
70192         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70193         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70194         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70195         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70196         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70200         * manual/install.texi: Do not mention specific glibc version
70201         numbers.
70202         * manual/libc.texinfo (VERSION, UPDATED): Update.
70203         (@copying): Use @copyright{} and range of years.
70205 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70207         [BZ #13695]
70208         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70209         [crti.S not in sysdirs] (generated): Do not append.
70210         [crti.S not in sysdirs] (omit-deps): Likewise.
70211         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70212         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70213         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70214         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70215         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70216         Likewise.
70217         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70218         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70219         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70220         * csu/defs.awk: Remove file.
70221         * sysdeps/generic/initfini.c: Likewise.
70222         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70223         variable.
70224         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70225         Likewise.
70227 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70229         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70230         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70231         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70232         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70233         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70234         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70235         <bits/epoll.h>.
70236         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70237         (__EPOLL_PACKED): Define to empty if not defined by
70238         <bits/epoll.h>.
70239         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70241         bits/epoll.h.
70243 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70245         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70246         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70247         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70248         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70249         <bits/timerfd.h>.
70250         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70251         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70252         bits/timerfd.h.
70254 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70256         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70257         in C locale.
70258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70263 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70265         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70266         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70268 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70270         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70271         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70272         defined.
70273         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70274         Likewise.
70275         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70276         entry for 2.16.
70278 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70280         * math/w_acos.c: Use non-signaling floating-point comparisons.
70281         * math/w_acosf.c: Likewise.
70282         * math/w_acosh.c: Likewise.
70283         * math/w_acoshf.c: Likewise.
70284         * math/w_acoshl.c: Likewise.
70285         * math/w_acosl.c: Likewise.
70286         * math/w_asin.c: Likewise.
70287         * math/w_asinf.c: Likewise.
70288         * math/w_asinl.c: Likewise.
70289         * math/w_atanh.c: Likewise.
70290         * math/w_atanhf.c: Likewise.
70291         * math/w_atanhl.c: Likewise.
70292         * math/w_exp2.c: Likewise.
70293         * math/w_exp2f.c: Likewise.
70294         * math/w_exp2l.c: Likewise.
70295         * math/w_j0.c: Likewise.
70296         * math/w_j0f.c: Likewise.
70297         * math/w_j0l.c: Likewise.
70298         * math/w_j1.c: Likewise.
70299         * math/w_j1f.c: Likewise.
70300         * math/w_j1l.c: Likewise.
70301         * math/w_jn.c: Likewise.
70302         * math/w_jnf.c: Likewise.
70303         * math/w_log.c: Likewise.
70304         * math/w_log10.c: Likewise.
70305         * math/w_log10f.c: Likewise.
70306         * math/w_log10l.c: Likewise.
70307         * math/w_log2.c: Likewise.
70308         * math/w_log2f.c: Likewise.
70309         * math/w_log2l.c: Likewise.
70310         * math/w_logf.c: Likewise.
70311         * math/w_logl.c: Likewise.
70312         * math/w_sqrt.c: Likewise.
70313         * math/w_sqrtf.c: Likewise.
70314         * math/w_sqrtl.c: Likewise.
70315         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70316         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70318         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70319         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70321 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70323         [BZ #9739]
70324         * manual/string.texi (strnlen): Use correct parameter name in
70325         equivalent expression.
70327 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70329         [BZ #11174]
70330         * manual/users.texi (seteuid): Consistently use neweuid for
70331         argument name.
70333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70335         [BZ #13704]
70336         * manual/nss.texi (Services in the NSS configuration): Correct
70337         list of services in example configuration file.
70339 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70341         [BZ #11322]
70342         * manual/arith.texi: Remove statements about negative zero
70343         behaving identically to zero.
70345 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70347         [BZ #5993]
70348         * manual/install.texi: Do not document upgrading from libc5.
70350 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70352         [BZ #4596]
70353         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70355 2012-02-18  David S. Miller  <davem@davemloft.net>
70357         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70358         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70359         %o7 across the call.
70360         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70361         instead.
70362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70363         SETUP_PIC_REG_LEAF.
70364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70365         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70366         * sysdeps/sparc/crtn.S: Likewise.
70368 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70370         * aout/Makefile: Remove.
70372 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70374         [BZ #13058]
70375         * manual/examples/argp-ex1.c (main): Format definition in GNU
70376         style.
70377         * manual/examples/argp-ex2.c (main): Likewise.
70378         * manual/examples/argp-ex3.c (main): Likewise.
70379         * manual/examples/argp-ex4.c (main): Likewise.
70380         * manual/examples/longopt.c (main): Use new-style prototype
70381         definition.
70382         * manual/examples/strncat.c (main): Specify return type and use
70383         (void) for arguments.
70384         * manual/examples/subopt.c (main): Use char **argv argument.
70386 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70388         [BZ #5077]
70389         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70390         rounding modes.
70392 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70394         [BZ #6907]
70395         * manual/string.texi (strchr): Change when strchrnul is
70396         recommended.
70398 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70400         [BZ #174]
70401         * manual/locale.texi (setlocale): Document LOCPATH.
70403 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70405         [BZ #10210]
70406         * manual/process.texi (execle): Move @dots{} before last argument.
70408 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70410         [BZ #12047]
70411         * manual/charset.texi (Generic Charset Conversion): Fix typo
70412         (LC_TYPE -> LC_CTYPE).
70414 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70416         [BZ #5805]
70417         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70418         (scalbnf): Likewise.
70419         (scalbnl): Likewise.
70420         (scalbln): Likewise.
70421         (scalblnf): Likewise.
70422         (scalblnl): Likewise.
70423         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70424         (vwarnx): Likewise.
70425         (verr): Likewise.
70426         (verrx): Likewise.
70427         * manual/filesys.texi (telldir): Use braces around return type.
70428         * manual/llio.texi (mmap): Add space after comma.
70429         (mmap64): Likewise.
70430         * manual/math.texi (jn): Use @var{} on parameter names.
70431         (jnf): Likewise.
70432         (jnl): Likewise.
70433         (yn): Likewise.
70434         (ynf): Likewise.
70435         (ynl): Likewise.
70436         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70437         line.
70438         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70439         "...".
70440         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70441         (sched_get_priority_max): Likewise.
70442         * manual/signal.texi (sigvec): Add space after comma.
70443         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70444         names.
70445         (if_indextoname): Likewise.
70446         (if_freenameindex): Likewise.
70447         (sendto): Use ',' instead of '.' in prototype.
70448         * manual/startup.texi (syscall): Use @dots{} instead of literal
70449         "...".
70450         * manual/stdio.texi (__fpending): Separate initial words of
70451         paragraph from @deftypefun line.
70452         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70453         "...".
70454         (vsyslog): Use @var{} on parameter names.
70455         * manual/terminal.texi (stty): Use @var{} on parameter names.
70456         * manual/users.texi (getutmp): Use @var{} on parameter names.
70457         (getutmpx): Likewise.
70459 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70461         [BZ #6884]
70462         * manual/stdio.texi (fopen): Fix typos in description of
70463         ",ccs=STRING".
70465 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70467         [BZ #4026]
70468         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70469         get clock_id definition.
70471 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70473         [BZ #4822]
70474         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70475         (madvise): Cast every argument to void on its own.
70477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70479         [BZ #9902]
70480         * manual/startup.texi (Exit Status): Fix typo.
70482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70484         [BZ #10140]
70485         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70486         * manual/examples/argp-ex2.c: Likewise.
70487         * manual/examples/argp-ex3.c: Likewise.
70489 2012-02-16  Richard Henderson  <rth@redhat.com>
70491         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70492         * sysdeps/s390/s390-32/initfini.c: Remove.
70493         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70494         * sysdeps/s390/s390-64/initfini.c: Remove.
70496 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70498         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70499         compiler output for sysdeps/generic/initfini.c.
70500         * sysdeps/sh/elf/initfini.c: Remove file.
70502 2012-02-16  David S. Miller  <davem@davemloft.net>
70504         [BZ #11494]
70505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70507         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70508         * sysdeps/sparc/crti.S: New file.
70509         * sysdeps/sparc/crtn.S: New file.
70510         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70511         * sysdeps/sparc/sparc64/Makefile: Likewise.
70513 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70515         [BZ #3335]
70516         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70518 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70520         [BZ #4822]
70521         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70523         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70524         (write, read, close): Likewise.
70525         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70527 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70529         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70530         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70531         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70532         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70533         <bits/signalfd.h>.
70534         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70536         bits/signalfd.h.
70538 2012-02-14  Marek Polacek  <polacek@redhat.com>
70540         * sysdeps/x86_64/crti.S: New file.
70541         * sysdeps/x86_64/crtn.S: New file.
70542         * sysdeps/x86_64/elf/initfini.c: Remove file.
70544 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70546         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70547         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70548         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70549         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70550         <bits/inotify.h>.
70551         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70553         bits/inotify.h.
70555 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70557         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70558         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70559         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70560         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70561         <bits/eventfd.h>.
70562         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70564         bits/eventfd.h.
70566 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70568         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70569         __feraiseexcept instead of feraiseexcept.
70571         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70572         nanosleep invocations.
70573         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70574         strings, and add error checking for a nanosleep invocations.
70576 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70578         Replace FSF snail mail address with URLs, as per GNU coding standards.
70579         Most of the snail mail addresses were wrong anyway, and omitting
70580         them makes the source code easier to maintain.  Almost all of the
70581         changes are to license notices and to locale LC_IDENTIFICATION
70582         addresses, except for this one:
70583         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70584         not its snail mail address.
70586 2012-02-09  Richard Henderson  <rth@twiddle.net>
70588         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70589         of kernel-features.h.
70591         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70593 2012-02-08  Marek Polacek  <polacek@redhat.com>
70595         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70596         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70597         * sysdeps/gnu/_G_config.h: Likewise.
70598         * sysdeps/generic/_G_config.h: Likewise.
70600 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70602         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70603         tests.
70604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70606         * sysdeps/powerpc/powerpc32/crti.S: New file.
70607         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70608         * sysdeps/powerpc/powerpc64/crti.S: New file.
70609         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70611         * Makeconfig (have-initfini): Don't set.
70612         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70613         * configure.in (nopic_initfini): Don't substitute.
70614         * config.h.in (HAVE_INITFINI): Don't #undef.
70615         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70616         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70618 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70620         Support crti.S and crtn.S provided directly by architectures.
70621         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70622         [crti.S in sysdirs] (omit-deps): Likewise.
70623         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70624         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70625         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70626         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70627         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70628         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70629         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70630         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70631         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70632         compiler output for sysdeps/generic/initfini.c.
70633         * sysdeps/i386/elf/Makefile: Remove file.
70634         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70636 2012-02-07  Marek Polacek  <polacek@redhat.com>
70638         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70639         * sysdeps/gnu/_G_config.h: Likewise.
70640         * sysdeps/mach/hurd/_G_config.h: Likewise.
70642 2012-02-07  Marek Polacek  <polacek@redhat.com>
70644         * math/Makefile (tests): Add tst-CMPLX2.
70645         * math/tst-CMPLX2.c: New file.
70647 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70649         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70651         * math/libm-test.inc (jn_test): Add missing L suffix.
70653 2012-02-06  Marek Polacek  <polacek@redhat.com>
70655         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70656         * sysdeps/i386/fpu/e_powf.S: Likewise.
70657         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70658         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70659         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70660         * sysdeps/i386/fpu/e_pow.S: Likewise.
70661         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70662         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70663         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70664         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70665         * sysdeps/i386/fpu/e_log2.S: Likewise.
70666         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70667         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70668         * sysdeps/i386/fpu/e_powl.S: Likewise.
70669         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70670         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70671         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70672         * sysdeps/i386/fpu/e_logl.S: Likewise.
70673         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70674         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70675         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70676         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70677         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70678         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70679         * sysdeps/i386/fpu/e_log.S: Likewise.
70680         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70681         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70682         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70683         * sysdeps/i386/fpu/e_logf.S: Likewise.
70684         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70685         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70686         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70687         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70688         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70689         * sysdeps/i386/fpu/e_log10.S: Likewise.
70690         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70691         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70692         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70693         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70694         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70695         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70696         * sysdeps/i386/asm-syntax.h: Likewise.
70697         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70698         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70699         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70700         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70701         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70702         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70703         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70704         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70705         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70706         * sysdeps/powerpc/sysdep.h: Likewise.
70707         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70708         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70710 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70712         [BZ #411]
70713         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70715 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70717         * sysdeps/i386/sysdep.h: Include <features.h>.
70718         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70719         version.
70721 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70723         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70724         Define.
70725         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70726         LOAD_PIC_REG_STR.
70728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70730         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70731         (SETUP_PIC_REG): Use GET_PC_THUNK.
70732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70733         macro.
70735 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70737         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70738         for non-PIC compilation.
70739         (SETUP_PIC_REG): Add .p2align directive.
70740         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70741         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70742         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70743         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70744         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70745         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70746         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70748         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70749         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70750         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70751         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70752         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70753         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70754         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70755         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70756         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70757         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70758         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70759         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70761         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70762         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70763         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70766         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70767         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70768         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70769         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70770         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70771         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70772         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70773         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70774         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70775         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70776         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70777         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70778         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70779         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70780         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70782 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70784         * math/tst-CMPLX.c: Include <stdio.h>.
70786 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70788         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70789         float.
70790         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70791         * sysdeps/sparc/bits/mathdef.h: Likewise.
70793 2012-01-31  Marek Polacek  <polacek@redhat.com>
70795         * libio/libio.h: Don't define _PARAMS.
70796         * locale/programs/config.h: Don't define PARAMS.
70797         * stdlib/strtol_l.c: Likewise.
70798         (__strtol_l): Remove PARAMS from the prototype.
70800 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70802         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70803         names.  Just use the correct names.  Remove unnecessary wrapper
70804         functions.
70805         * malloc/arena.c: Likewise.
70806         * malloc/hooks.c: Likewise.
70808         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70809         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70810         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70812 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70814         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70815         into tail calls.
70816         (update_get_addr): New function.
70817         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70818         GET_ADDR_MODULE parameter.
70820 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70822         * crypt/cert.c: Remove __STDC__ conditionals.
70823         * crypt/crypt-entry.c: Likewise.
70824         * crypt/crypt_util.c: Likewise.
70825         * libio/filedoalloc.c: Likewise.
70826         * libio/fileops.c: Likewise.
70827         * libio/genops.c: Likewise.
70828         * libio/iofclose.c: Likewise.
70829         * libio/iofdopen.c: Likewise.
70830         * libio/iofopen.c: Likewise.
70831         * libio/iofopen64.c: Likewise.
70832         * libio/iogetdelim.c: Likewise.
70833         * libio/iopopen.c: Likewise.
70834         * libio/obprintf.c: Likewise.
70835         * libio/oldfileops.c: Likewise.
70836         * libio/oldiofclose.c: Likewise.
70837         * libio/oldiofdopen.c: Likewise.
70838         * libio/oldiofopen.c: Likewise.
70839         * libio/oldiopopen.c: Likewise.
70840         * libio/wfiledoalloc.c: Likewise.
70841         * libio/wgenops.c: Likewise.
70842         * locale/programs/xmalloc.c: Likewise.
70843         * misc/syslog.c: Likewise.
70844         * stdio-common/xbug.c: Likewise.
70845         * string/memchr.c: Likewise.
70846         * string/memcmp.c: Likewise.
70847         * string/memrchr.c: Likewise.
70848         * string/rawmemchr.c: Likewise.
70849         * sysdeps/posix/getcwd.c: Likewise.
70850         * time/strftime_l.c: Likewise.
70852 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70854         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70855         * config.make.in (config-cflags-sse2avx): Define.
70856         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70857         Fix typo.
70859 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70861         * scripts/config.guess: Update from upstream config git repository.
70862         * scripts/config.sub: Likewise.
70864 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70866         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70867         (EM_NUM): Update.
70868         (R_TILEPRO_*, R_TILEGX_*): New macros.
70870         * scripts/firstversions.awk: Fix bug in version range handling.
70872         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70874         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70876         * include/sys/epoll.h: New file.
70877         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70878         libc_hidden_def.
70880 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70882         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70883         Avoid unnecessary __WORDSIZE == 64 test.
70884         (fmaxf): Use VEX format if possible.
70885         (fmax): Likewise.
70886         (fminf): Likewise.
70887         (fmin): Likewise.
70889         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70890         * math/math_private.h: Remove libc_fegetround* and
70891         libc_fesetround*.
70892         * sysdeps/i386/configure.in: Check for -msse2avx.
70893         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70894         also if SSE2AVX is defined.
70895         Remove libc_fegetround* and libc_fesetround*.
70896         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70897         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70898         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70899         of HAS_YMM_USABLE.
70900         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70901         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70902         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70903         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70904         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70906         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70908 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70911         size is not set.
70912         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70914 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70916         [BZ #13618]
70917         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70918         relocation.
70919         * Makeconfig (libm): Define.
70920         * elf/Makefile: Add rules to build and run tst-relsort1.
70921         * elf/tst-relsort1.c: New file.
70922         * elf/tst-relsort1mod1.c: New file.
70923         * elf/tst-relsort1mod2.c: New file.
70925 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70927         * math/s_ldexp.c: Remove __STDC__ conditionals.
70928         * math/s_ldexpf.c: Likewise.
70929         * math/s_ldexpl.c: Likewise.
70930         * math/s_nextafter.c: Likewise.
70931         * math/s_nexttowardf.c: Likewise.
70932         * math/s_significand.c: Likewise.
70933         * math/s_significandf.c: Likewise.
70934         * math/s_significandl.c: Likewise.
70935         * math/w_jnl.c: Likewise.
70936         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70937         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70938         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70939         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70940         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70941         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70942         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70943         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70944         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70945         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70946         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70947         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70948         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70949         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70950         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70951         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70952         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70953         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70955         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70956         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70957         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70963         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70964         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70966         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70967         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70968         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70969         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70970         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70971         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70973         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70974         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70975         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70976         * sysdeps/ieee754/k_standard.c: Likewise.
70977         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70978         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70979         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70980         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71013         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71015         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71016         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71019         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71026         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71027         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71030         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71031         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71032         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71033         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71034         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71035         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71036         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71037         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71038         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71039         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71040         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71041         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71042         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71043         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71044         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71046         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71047         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71049         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71052         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71053         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71055         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71056         * sysdeps/ieee754/s_matherr.c: Likewise.
71057         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71058         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71062 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71064         * crypt/md5.h: Remove __STDC__ conditionals.
71065         * libio/libioP.h: Likewise.
71066         * locale/programs/config.h: Likewise.
71067         * sysdeps/generic/sysdep.h: Likewise.
71068         * sysdeps/i386/asm-syntax.h: Likewise.
71069         * sysdeps/s390/asm-syntax.h: Likewise.
71070         * sysdeps/unix/sysdep.h: Likewise.
71071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71076         * libio/libio.h: Remove __STDC__ conditionals.
71077         * malloc/obstack.h: Likewise.
71078         * math/complex.h: Likewise.
71079         * math/math.h: Likewise.
71080         * sysdeps/generic/_G_config.h: Likewise.
71081         * sysdeps/gnu/_G_config.h: Likewise.
71082         * sysdeps/mach/hurd/_G_config.h: Likewise.
71083         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71084         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71085         * sysdeps/sparc/bits/mathdef.h: Likewise.
71087 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71089         [BZ #13583]
71090         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71091         Clean up HAS_* macros.
71092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71093         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71094         possible.
71095         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71096         HAS_AVX.
71097         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71098         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71099         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71100         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71101         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71103 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71105         * elf/tst-unique3.cc (gets): Remove declaration.
71106         * elf/tst-unique3lib.cc (gets): Likewise.
71107         * elf/tst-unique3lib2.cc (gets): Likewise.
71108         * elf/tst-unique4.cc (gets): Likewise.
71110 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71112         * include/stdio.h: Add C++ protection.  Add gets declarations and
71113         definitions.
71114         * debug/tst-chk1.c: Don't declare gets here.
71115         * stdio-common/tst-gets.c: Likewise.
71117 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71119         * posix/glob: Remove directory.
71121 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71123         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71125 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71127         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71128         of the non-standard EPFNOSUPPORT.
71130 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71132         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71133         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71134         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71136 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71138         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71140 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71142         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71143         transient errors.
71144         * nscd/grpcache.c (cache_addgr): Likewise.
71145         * nscd/hstcache.c (cache_addhst): Likewise.
71146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71147         * nscd/pwdcache.c (cache_addpw): Likewise.
71148         * nscd/servicescache.c (cache_addserv): Likewise.
71150 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71152         * malloc/malloc.c: Various cleanups.
71153         * malloc/hooks.c: Likewise.
71155         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71156         * stdlib/bug-fmtmsg1.c: New file.
71158         * stdlib/fmtmsg.c (init): Add missing unlock.
71159         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71161 2012-01-12  Marek Polacek  <polacek@redhat.com>
71163         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71164         and _GNU_SOURCE.
71166 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71168         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71169         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71170         macro to ensure uniqueness of label name.
71171         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71172         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71174 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71176         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71178         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71179         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71180         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71183 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71185         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71187         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71188         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71189         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71191         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71193         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71194         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71195         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71198         * math/bits/math-finite.h: Add ldexp support.
71200 2012-01-10  Marek Polacek  <polacek@redhat.com>
71202         * locale/programs/localedef.h (show_archive_content): Add noreturn
71203         attribute.
71205 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71207         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71209 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71211         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71213         * io/Makefile (headers): Add bits/poll2.h.
71215 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71218         typo #include statement.
71220 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71222         * include/sys/cdefs.h: Define __attribute_alloc_size.
71223         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71224         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71225         * elf/pldd.c: Likewise.
71226         * iconv/iconv_charmap.c: Likewise.
71227         * iconv/iconvconfig.c: Likewise.
71228         * iconv/strtab.c: Likewise.
71229         * locale/programs/locale.c: Likewise.
71230         * locale/programs/localedef.h: Likewise.
71231         * locale/programs/simple-hash.c: Likewise.
71232         * nscd/nscd.h: Likewise.
71233         * nss/makedb.c: Likewise.
71234         * sysdeps/generic/ldconfig.h: Likewise.
71235         * locale/programs/localedef.c: Remove xmalloc prototype.
71236         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71238 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71241         appropriate.
71243 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71245         * math/Makefile (tests): Add tst-CMPLX.
71246         * math/tst-CMPLX.c: New file.
71248         * math/complex.h (CMPLXL): Fix typo.
71250         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71251         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71252         GLIBC_2.16.
71253         * debug/tst-chk1.c: Add poll and ppoll tests.
71254         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71255         * include/sys/poll.h: Add hidden proto for ppoll.
71256         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71257         * sysdeps/mach/hurd/ppoll.c: Likewise.
71258         * io/ppoll.c: Likewise.
71259         * debug/poll_chk.c: New file.
71260         * debug/ppoll_chk.c: New file.
71261         * include/bits/poll2.h: New file.
71262         * io/bits/poll2.h: New file.
71264         [BZ #1350]
71265         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71267         * configure.in: static is always set to yes.  Remove.
71268         * config.make.in: Don't set build-static.
71269         * Makeconfig: Remove use of build-static.
71270         * dlfcn/Makefile: Likewise.
71271         * elf/Makefile: Likewise.
71272         * math/Makefile: Likewise.
71273         * misc/Makefile: Likewise.
71274         * nptl/Makefile: Likewise.
71275         * sysdeps/mach/hurd/Makefile: Likewise.
71277         * configure.in: PWD_P is not used anymore.
71278         * config.make.in: Remove PWD_P entry.
71280         * configure.in: Remove last remnants of RANLIB.
71281         No need to check for signed size_t anymore.
71282         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71283         and IA-64.
71284         Remove __builtin_expect test because we require at least gcc 3.4.
71285         * aclocal.m4: Likewise.
71287         * wcsmbs/mbrtoc16.c: Implement using towc function.
71288         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71289         * wcsmbs/wcsmbsload.c: Likewise.
71290         * iconv/gconv_simple.c: Likewise.
71291         * iconv/gconv_int.h: Likewise.
71292         * iconv/gconv_builtin.h: Likewise.
71293         * iconv/iconv_prog.c: Remove CHAR16 handling.
71295         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71297         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71299         * configure.in: Remove --with-elf and --enable-bounded options.
71300         Dont set base_machine for ia64.  More non-ELF conditions removed.
71301         Remove testing and setting of leading underscore information.
71302         * config.make.in (build-bounded): Set to no.
71303         * config.h.in: Remove NO_UNDERSCORES entry.
71304         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71305         them.
71306         * csu/start.c: Remove !NO_UNDERSCORE code.
71307         * locale/localeinfo.h: Likewise.
71308         * sysdeps/generic/machine-gmon.h: Likewise.
71309         * sysdeps/generic/sysdep.h: Likewise.
71310         * sysdeps/i386/sysdep.h: Likewise.
71311         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71312         * sysdeps/mach/sysdep.h: Likewise.
71313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71315         * sysdeps/sh/sysdep.h: Likewise.
71316         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71317         * sysdeps/unix/i386/sysdep.S: Likewise.
71318         * sysdeps/unix/sparc/start.c: Likewise.
71319         * sysdeps/unix/sparc/sysdep.S: Likewise.
71320         * sysdeps/unix/sparc/sysdep.h: Likewise.
71321         * sysdeps/unix/start.c: Likewise.
71322         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71323         * sysdeps/x86_64/sysdep.h: Likewise.
71325 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71327         [BZ #13553]
71328         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71329         for non-gcc.
71330         * argp/argp-fmtstream.h: Use const instead __const.
71331         * argp/argp.h: Likewise.
71332         * assert/assert.h: Likewise.
71333         * bits/fenv.h: Likewise.
71334         * bits/sched.h: Likewise.
71335         * bits/sigset.h: Likewise.
71336         * bits/sigthread.h: Likewise.
71337         * catgets/nl_types.h: Likewise.
71338         * conform/data/pthread.h-data: Likewise.
71339         * crypt/crypt-private.h: Likewise.
71340         * crypt/crypt.h: Likewise.
71341         * crypt/crypt_util.c: Likewise.
71342         * ctype/ctype.h: Likewise.
71343         * debug/execinfo.h: Likewise.
71344         * debug/mbsnrtowcs_chk.c: Likewise.
71345         * debug/mbsrtowcs_chk.c: Likewise.
71346         * debug/wcsnrtombs_chk.c: Likewise.
71347         * debug/wcsrtombs_chk.c: Likewise.
71348         * debug/wcstombs_chk.c: Likewise.
71349         * dirent/dirent.h: Likewise.
71350         * dlfcn/dlfcn.h: Likewise.
71351         * elf/neededtest4.c: Likewise.
71352         * grp/grp.h: Likewise.
71353         * gshadow/gshadow.h: Likewise.
71354         * iconv/gconv.h: Likewise.
71355         * iconv/gconv_int.h: Likewise.
71356         * iconv/gconv_simple.c: Likewise.
71357         * iconv/iconv.h: Likewise.
71358         * iconv/loop.c: Likewise.
71359         * iconv/skeleton.c: Likewise.
71360         * include/aio.h: Likewise.
71361         * include/aliases.h: Likewise.
71362         * include/argz.h: Likewise.
71363         * include/arpa/inet.h: Likewise.
71364         * include/assert.h: Likewise.
71365         * include/dirent.h: Likewise.
71366         * include/dlfcn.h: Likewise.
71367         * include/execinfo.h: Likewise.
71368         * include/fcntl.h: Likewise.
71369         * include/fenv.h: Likewise.
71370         * include/glob.h: Likewise.
71371         * include/grp.h: Likewise.
71372         * include/libintl.h: Likewise.
71373         * include/mntent.h: Likewise.
71374         * include/netdb.h: Likewise.
71375         * include/pwd.h: Likewise.
71376         * include/rpc/netdb.h: Likewise.
71377         * include/sched.h: Likewise.
71378         * include/search.h: Likewise.
71379         * include/shadow.h: Likewise.
71380         * include/signal.h: Likewise.
71381         * include/stdio.h: Likewise.
71382         * include/stdlib.h: Likewise.
71383         * include/string.h: Likewise.
71384         * include/sys/socket.h: Likewise.
71385         * include/sys/stat.h: Likewise.
71386         * include/sys/statfs.h: Likewise.
71387         * include/sys/statvfs.h: Likewise.
71388         * include/sys/syslog.h: Likewise.
71389         * include/sys/time.h: Likewise.
71390         * include/sys/uio.h: Likewise.
71391         * include/time.h: Likewise.
71392         * include/unistd.h: Likewise.
71393         * include/utmp.h: Likewise.
71394         * include/wchar.h: Likewise.
71395         * include/wctype.h: Likewise.
71396         * inet/aliases.h: Likewise.
71397         * inet/arpa/inet.h: Likewise.
71398         * inet/netinet/ether.h: Likewise.
71399         * inet/netinet/in.h: Likewise.
71400         * intl/libintl.h: Likewise.
71401         * io/bits/fcntl2.h: Likewise.
71402         * io/fcntl.h: Likewise.
71403         * io/ftw.h: Likewise.
71404         * io/sys/poll.h: Likewise.
71405         * io/sys/stat.h: Likewise.
71406         * io/sys/statfs.h: Likewise.
71407         * io/sys/statvfs.h: Likewise.
71408         * io/utime.h: Likewise.
71409         * libio/bits/stdio.h: Likewise.
71410         * libio/bits/stdio2.h: Likewise.
71411         * libio/libio.h: Likewise.
71412         * libio/libioP.h: Likewise.
71413         * libio/stdio.h: Likewise.
71414         * locale/lc-ctype.c: Likewise.
71415         * locale/locale.h: Likewise.
71416         * login/utmp.h: Likewise.
71417         * malloc/arena.c: Likewise.
71418         * malloc/malloc.c: Likewise.
71419         * malloc/malloc.h: Likewise.
71420         * malloc/mcheck.c: Likewise.
71421         * malloc/mtrace.c: Likewise.
71422         * math/bits/mathcalls.h: Likewise.
71423         * math/fenv.h: Likewise.
71424         * math/math_private.h: Likewise.
71425         * misc/bits/error.h: Likewise.
71426         * misc/bits/syslog.h: Likewise.
71427         * misc/err.h: Likewise.
71428         * misc/error.h: Likewise.
71429         * misc/fstab.h: Likewise.
71430         * misc/mntent.h: Likewise.
71431         * misc/regexp.h: Likewise.
71432         * misc/search.h: Likewise.
71433         * misc/sgtty.h: Likewise.
71434         * misc/sys/mman.h: Likewise.
71435         * misc/sys/syslog.h: Likewise.
71436         * misc/sys/uio.h: Likewise.
71437         * misc/sys/xattr.h: Likewise.
71438         * misc/ttyent.h: Likewise.
71439         * nis/rpcsvc/ypclnt.h: Likewise.
71440         * nss/nss.h: Likewise.
71441         * posix/bits/unistd.h: Likewise.
71442         * posix/fnmatch.h: Likewise.
71443         * posix/glob.h: Likewise.
71444         * posix/sched.h: Likewise.
71445         * posix/spawn.h: Likewise.
71446         * posix/sys/wait.h: Likewise.
71447         * posix/unistd.h: Likewise.
71448         * posix/wordexp.h: Likewise.
71449         * pwd/pwd.h: Likewise.
71450         * resolv/netdb.h: Likewise.
71451         * resource/sys/resource.h: Likewise.
71452         * rt/aio.h: Likewise.
71453         * rt/bits/mqueue2.h: Likewise.
71454         * rt/mqueue.h: Likewise.
71455         * shadow/shadow.h: Likewise.
71456         * signal/signal.h: Likewise.
71457         * socket/send.c: Likewise.
71458         * socket/sendto.c: Likewise.
71459         * socket/sys/socket.h: Likewise.
71460         * stdio-common/printf.h: Likewise.
71461         * stdlib/bits/stdlib.h: Likewise.
71462         * stdlib/fmtmsg.h: Likewise.
71463         * stdlib/monetary.h: Likewise.
71464         * stdlib/stdlib.h: Likewise.
71465         * stdlib/ucontext.h: Likewise.
71466         * streams/stropts.h: Likewise.
71467         * string/argz.h: Likewise.
71468         * string/bits/string2.h: Likewise.
71469         * string/string.h: Likewise.
71470         * string/strings.h: Likewise.
71471         * sunrpc/rpc/auth.h: Likewise.
71472         * sunrpc/rpc/auth_des.h: Likewise.
71473         * sunrpc/rpc/clnt.h: Likewise.
71474         * sunrpc/rpc/netdb.h: Likewise.
71475         * sunrpc/rpc/pmap_clnt.h: Likewise.
71476         * sunrpc/rpc/xdr.h: Likewise.
71477         * sysdeps/generic/inttypes.h: Likewise.
71478         * sysdeps/generic/net/if.h: Likewise.
71479         * sysdeps/generic/sys/swap.h: Likewise.
71480         * sysdeps/gnu/net/if.h: Likewise.
71481         * sysdeps/gnu/utmpx.h: Likewise.
71482         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71483         * sysdeps/i386/i486/bits/string.h: Likewise.
71484         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71485         * sysdeps/s390/bits/string.h: Likewise.
71486         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71487         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71488         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71489         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71490         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71491         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71492         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71493         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71494         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71495         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71496         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71497         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71498         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71499         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71500         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71501         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71502         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71503         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71505         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71507         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71508         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71509         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71510         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71511         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71512         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71513         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71514         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71515         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71516         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71517         * sysvipc/sys/ipc.h: Likewise.
71518         * sysvipc/sys/msg.h: Likewise.
71519         * sysvipc/sys/sem.h: Likewise.
71520         * sysvipc/sys/shm.h: Likewise.
71521         * termios/termios.h: Likewise.
71522         * time/sys/time.h: Likewise.
71523         * time/time.h: Likewise.
71524         * wcsmbs/bits/wchar2.h: Likewise.
71525         * wcsmbs/uchar.h: Likewise.
71526         * wcsmbs/wchar.h: Likewise.
71527         * wctype/wctype.h: Likewise.
71529         [BZ #13551]
71530         * Makeconfig: Remove all but ELF support including AIX support.
71531         * Makerules: Likewise.
71532         * config.h.in: Likewise.
71533         * config.make.in: Likewise.
71534         * configure: Likewise.
71535         * configure.in: Likewise.
71536         * csu/Makefile: Likewise.
71537         * csu/version.c: Likewise.
71538         * debug/Makefile: Likewise.
71539         * dlfcn/Makefile: Likewise.
71540         * elf/Makefile: Likewise.
71541         * extra-lib.mk: Likewise.
71542         * iconv/Makefile: Likewise.
71543         * include/libc-symbols.h: Likewise.
71544         * include/shlib-compat.h: Likewise.
71545         * resolv/Makefile: Likewise.
71546         * resolv/res_libc.c: Likewise.
71547         * rt/Makefile: Likewise.
71548         * sysdeps/i386/asm-syntax.h: Likewise.
71549         * sysdeps/i386/sysdep.h: Likewise.
71550         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71551         * sysdeps/mach/sysdep.h: Likewise.
71552         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71553         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71554         * sysdeps/s390/asm-syntax.h: Likewise.
71555         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71557         * sysdeps/sh/sysdep.h: Likewise.
71558         * sysdeps/unix/sparc/sysdep.h: Likewise.
71559         * sysdeps/wordsize-32/divdi3.c: Likewise.
71560         * sysdeps/x86_64/sysdep.h: Likewise.
71562         * argp/Versions: Remove _argp_unlock_xxx.
71564         [BZ #13559]
71565         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71566         * abilist/libBrokenLocale.abilist: Likewise.
71567         * abilist/libanl.abilist: Likewise.
71568         * abilist/libc.abilist: Likewise.
71569         * abilist/libcrypt.abilist: Likewise.
71570         * abilist/libdl.abilist: Likewise.
71571         * abilist/libm.abilist: Likewise.
71572         * abilist/libnsl.abilist: Likewise.
71573         * abilist/libpthread.abilist: Likewise.
71574         * abilist/libresolv.abilist: Likewise.
71575         * abilist/librt.abilist: Likewise.
71576         * abilist/libthread_db.abilist: Likewise.
71577         * abilist/libutil.abilist: Likewise.
71578         * abilist/libnss_db.abilist: New file.
71580         * scripts/abilist.awk: Add support for indirect functions.
71582         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71584         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71586         * shlib-versions: Remove entries for ports architectures.
71588         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71589         files in ports.
71590         * elf/stackguard-macros.h: Remove support for IA-64.
71591         * elf/tst-auditmod1.c: Likewise.
71592         * sysdeps/generic/ldsodefs.h: Likewise.
71594         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71595         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71596         configure files.
71598         [BZ #13552]
71599         * configure.in: Remove --enable-omitfp support.
71600         * FAQ.in: Adjust.
71601         * config.make.in: Likewise.
71602         * Makeconfig: Likewise.
71603         * manual/install.texi: Likewise.
71605         In case anyone cares, the IA-64 architecture could move to ports.
71606         * sysdeps/ia64/*: Removed.
71607         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71608         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71610         [BZ #13555]
71611         * configure.in: Remove entries for unsupported architectures.
71613         [BZ #13533]
71614         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71615         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71616         routines.
71617         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71618         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71619         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71620         fall back to using wcrtomb.
71621         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71622         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71623         renaming.
71624         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71625         * wcsmbs/tst-c16c32-1.c: New file.
71627         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71628         local variable.
71630         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71632         * elf/tst-unique3.cc: Add explicit declaration of gets.
71633         * elf/tst-unique3lib.cc: Likewise.
71634         * elf/tst-unique3lib2.cc: Likewise.
71635         * elf/tst-unique4.cc: Likewise.
71637         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71639 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71641         [BZ #13566]
71642         * assert/assert.h (static_assert): Don't define for C++.
71643         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71644         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71646 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71648         * iconv/loop.c (single loop): Fix assertion in storing of
71649         remaining bytes.
71651         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71653 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71655         * posix/getconf.c: Update copyright year.
71656         * nss/getent.c: Likewise.
71657         * nss/makedb.c: Likewise.
71658         * iconv/iconvconfig.c: Likewise.
71659         * iconv/iconv_prog.c: Likewise.
71660         * elf/ldconfig.c: Likewise.
71661         * elf/pldd.c: Likewise.
71662         * elf/sotruss.ksh: Likewise.
71663         * catgets/gencat.c: Likewise.
71664         * csu/version.c: Likewise.
71665         * elf/ldd.bash.in: Likewise.
71666         * elf/sprof.c (print_version): Likewise.
71667         * locale/programs/locale.c: Likewise.
71668         * locale/programs/localedef.c: Likewise.
71669         * login/programs/pt_chown.c: Likewise.
71670         * nscd/nscd.c (print_version): Likewise.
71671         * debug/xtrace.sh: Likewise.
71672         * malloc/memusage.sh: Likewise.
71673         * malloc/mtrace.pl: Likewise.
71674         * debug/catchsegv.sh: Likewise.
71676 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71678         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71679         pure attribute.
71681 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71683         [BZ #13533]
71684         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71685         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71686         transformations.
71687         * iconv/gconv_int.h: Likewise.
71688         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71689         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71690         from libc for GLIBC_2.16.
71691         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71692         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71693         * wcsmbs/uchar.h: Really define mbstate_t.
71694         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71695         * wcsmbs/c16rtomb.c: New file.
71696         * wcsmbs/mbrtoc16.c: New file.
71697         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71698         for C/POSIX locale.
71699         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71700         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71702         * wcsmbs/wchar.h: Add missing __restrict.
71704 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71706         [BZ #13532]
71707         * time/Makefile (routines): Add timespec_get.
71708         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71709         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71710         timespec for ISO C11.
71711         * time/timespec_get.c: New file.
71712         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71713         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71715         [BZ #13531]
71716         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71717         * stdlib/stdlib.h: Declare aligned_alloc.
71718         * Versions.def: Add GLIBC_2.16 for libc.
71719         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71721         [BZ 13527]
71722         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71723         ISO C11.
71725         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71726         code.
71728         [BZ #13528]
71729         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71731         [BZ #13529]
71732         * assert/assert.h (static_assert): Define.
71734         * version.h: Update for 2.16 development version.
71736         [BZ #13526]
71737         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71738         _ISOC11_SOURCE.
71740         * version.h (RELEASE): Bump for 2.15 release.
71741         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71743         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71744         Patch by Marek Polacek <mpolacek@redhat.com>.
71746         * bits/byteswap.h: Protect long long constants with __extension__.
71747         * sysdeps/i386/bits/byteswap.h: Likewise.
71748         * sysdeps/ia64/bits/byteswap.h: Likewise.
71749         * sysdeps/s390/bits/byteswap.h: Likewise.
71750         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71752 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71754         [BZ #13540]
71755         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71756         destination buffer.
71757         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71759 2011-12-23  Marek Polacek  <polacek@redhat.com>
71761         * elf/dl-addr.c (determine_info): Add inline keyword.
71762         * elf/tst-auditmod4b.c (check_avx): Likewise.
71763         * elf/tst-auditmod6b.c (check_avx): Likewise.
71764         * elf/tst-auditmod6c.c (check_avx): Likewise.
71765         * elf/tst-auditmod7b.c (check_avx): Likewise.
71767 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71769         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71770         !__SSE_MATH__.
71772 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71774         [BZ #13540]
71775         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71776         processing for last bytes.
71778 2011-08-06  Bruno Haible  <bruno@clisp.org>
71780         [BZ #13061]
71781         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71782         U+0385, not to U+1FEE.
71784         [BZ #13062]
71785         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71786         entry for U+00A5 U+0301.
71788 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71790         [BZ #13166]
71791         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71792         buffer for the output is too small.
71794         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71795         optimization.
71797         [BZ #13185]
71798         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71799         SSE flags if possible.
71801 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71803         [BZ #13540]
71804         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71805         processing for last bytes.
71807 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71809         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71810         (syscall-list-default-options, syscall-list-default-condition)
71811         (syscall-list-includes): Define.
71812         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71813         list of ABIs and options and #if conditions for each ABI.  Do not
71814         handle common syscalls between ABIs specially.
71815         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71816         Remove.
71817         (syscall-list-variants, syscall-list-32bit-options)
71818         (syscall-list-32bit-condition, syscall-list-64bit-options)
71819         (syscall-list-64bit-condition): Define.
71820         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71821         (syscall-list-variants, syscall-list-32bit-options)
71822         (syscall-list-32bit-condition, syscall-list-64bit-options)
71823         (syscall-list-64bit-condition): Define.
71824         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71825         Remove.
71826         (syscall-list-variants, syscall-list-32bit-options)
71827         (syscall-list-32bit-condition, syscall-list-64bit-options)
71828         (syscall-list-64bit-condition): Define.
71829         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71830         Remove.
71831         (syscall-list-variants, syscall-list-32bit-options)
71832         (syscall-list-32bit-condition, syscall-list-64bit-options)
71833         (syscall-list-64bit-condition): Define.
71835 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71837         * locale/iso-639.def: Add brx entry.
71839         [BZ #13328]
71840         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71841         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71843         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71844         __feraiseexcept_renamed.
71846 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71848         [BZ #13538]
71849         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71850         EPOLLET with unsigned values.
71851         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71852         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71854         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71855         to large cancellation.
71856         * math/s_cacoshf.c: Likewise.
71857         * math/s_cacoshl.c: Likewise.
71859 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71861         [BZ #13305]
71862         [BZ #12786]
71863         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71864         * math/s_cacoshf.c: Likewise.
71865         * math/s_cacoshl.c: Likewise.
71867 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71869         [BZ #13439]
71870         * iconv/gconv.h: Define __GCONV_SWAP.
71871         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71872         * iconvdata/utf-16.c: Likewise.
71873         * iconvdata/utf-32.c: Likewise.
71875 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71877         [BZ #13524]
71878         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71879         numerator after shifting it by one limb.
71881 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71883         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71884         under [__USE_EXTERN_INLINES].
71886 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71888         [BZ #13446]
71889         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71891 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71893         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71894         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71895         optimized code.
71896         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71897         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71898         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71899         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71900         for strncasecmp/strncasecmp_l compilation.
71901         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71902         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71904 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71906         [BZ #13484]
71907         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71908         of __asm__.
71910 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71912         [BZ #13506]
71913         * time/tzfile.c (__tzfile_read): Check values from file header.
71915 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71917         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71918         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71919         * powerpc/powerpc32/dl-start.S: Likewise.
71920         * powerpc/powerpc32/elf/start.S: Likewise.
71921         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71922         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71923         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71924         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71925         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71926         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71927         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71928         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71929         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71930         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71931         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71932         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71933         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71934         * powerpc/powerpc32/memset.S: Likewise.
71935         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71936         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71937         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71938         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71939         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71940         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71941         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71942         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71943         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71944         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71945         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71946         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71947         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71949 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71951         * math/libm-test.inc: Added more nearbyint tests.
71952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71953         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71955         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71957 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71959         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71960         FD_CLOEXEC.
71962 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71964         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71965         Add wcscpy-ssse3 wcscpy-c.
71966         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71967         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71968         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71969         * sysdeps/x86_64/wcschr.S: New file.
71970         * sysdeps/x86_64/wcsrchr.S: New file.
71971         * string/test-strcmp.c: Remove checking of wcscmp function for
71972         wrong alignments.
71973         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71974         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71975         wcsrchr-sse2 wcsrchr-c.
71976         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71977         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71978         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71979         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71980         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71981         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71982         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71983         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71984         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71985         * wcsmbc/wcschr.c (WCSCHR): New macro.
71987 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71989         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71990         * wcsmbs/test-wcsrchr.c: New file.
71991         * string/test-strrchr.c: Add wcsrchr support.
71992         (WIDE): New macro.
71993         * wcsmbs/test-wcscpy.c: New file.
71994         * string/test-strcpy.c: Add wcscpy support.
71995         (WIDE): New macro.
71997 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71999         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72000         the inner loop.
72002 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72004         [BZ #13472]
72005         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72007 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72009         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72010         Minor optimizations.
72012         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72013         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72014         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72016 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72018         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72019         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72020         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72021         for gcc to avoid warnings.
72022         * inet/Makefile (tests): Add tst-checks.
72023         * inet/tst-checks.c: New file.
72025         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72026         warning.
72028         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72029         __wmemcmp_sse2.
72031         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72032         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72034         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72036 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72038         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72039         problem.
72041         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72043 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72045         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72046         conditional on GCC version.
72047         (__arch_compare_and_exchange_val_8_acq)
72048         (__arch_compare_and_exchange_val_16_acq)
72049         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72050         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72051         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72053 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72055         * sysdeps/sh/backtrace.c: New file.
72057 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72059         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72060         parenthesis.
72062 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72064         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72065         falling back to utime.
72067 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72069         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72070         expectations for float.
72072 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72074         * locale/weight.h (findidx): Add parameter len.
72075         * locale/weightwc.h (findidx): Likewise.
72076         * posix/fnmatch_loop.c (FCT): Adjust caller.
72077         * posix/regcomp.c (build_equiv_class): Likewise.
72078         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72079         * posix/regexec.c (check_node_accept_bytes): Likewise.
72080         * string/strcoll_l.c (STRCOLL): Likewise.
72081         * string/strxfrm_l.c (STRXFRM): Likewise.
72083 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72085         * Makefile.in: Remove CVSOPT handling.
72086         * configure.in: Remove use of AC_REVISION.
72087         * iconvdata/Makefile (distribute): No need to filter out CVS.
72088         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72089         handling.
72091 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72094         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72095         [USE_AS_STRNCASECMP_L]: Likewise.
72096         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72097         NO_TLS_DIRECT_SEG_REFS.
72098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72099         Fix argument offsets for non-PIC.
72100         [USE_AS_STRNCASECMP_L]: Likewise.
72101         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72102         NO_TLS_DIRECT_SEG_REFS.
72104 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72106         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72107         O_CLOEXEC.
72108         * locale/loadlocale.c (_nl_load_locale): Likewise.
72110 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72112         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72113         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72114         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72115         (SYSCALL_GETTIME): Set errno on error.
72117         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72118         count references to noai6ai_cached.
72120 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72122         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72124         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72125         FD_CLOEXEC for /proc/self/maps.
72127         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72128         FD_CLOEXEC for /proc/meminfo.
72130         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72131         gai.conf.
72133         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72134         FD_CLOEXEC for given file.
72136         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72138         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72139         FD_CLOEXEC for /etc/hosts.
72140         (_gethtent): Likewise.
72142         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72144         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72145         cancellation and set FD_CLOEXEC for /etc/netgroup.
72147         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72148         reading /etc/publickey.
72150         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72151         allow cancellation when reading /etc/group.
72153         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72154         cancellation.
72155         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72157         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72158         when using data file.
72160         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72162         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72163         (write_nis_obj): Use "c" and "e" in fopen.
72165         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72167         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72169         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72171         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72173         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72174         locale.alias.
72176         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72178         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72180         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72182         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72183         file parsing and set FD_CLOEXEC.
72185 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72187         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72189 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72191         * malloc/arena.c (arena_get2): Don't call reused_arena when
72192         _int_new_arena failed.
72194 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72196         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72197         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72198         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72200         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72201         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72202         to compile strcasecmp and strncasecmp.
72203         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72204         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72208 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72210         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72211         locale-defines.sym to gen-as-const-headers.
72212         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72213         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72215         to compile strcasecmp and strncasecmp.
72216         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72217         strcasecmp_l and strncasecmp_l.
72218         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72219         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72220         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72221         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72222         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72223         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72224         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72225         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72226         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72227         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72228         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72230 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72232         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72233         result of SYSDEP_GETTIME_CPU to retval.
72234         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72235         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72237         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72238         variable.
72240         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72241         mantissa words.
72242         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72244         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72245         from unused variable.
72247         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72248         DWARF definitions.
72249         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72250         for assembling.
72252         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72253         over namespaces.
72255         * sunrpc/rpc_prot.c (rejected): Fix case value.
72257         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72258         unsigned long long int to avoid warnings in shift.
72260         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72261         of use of trans.
72262         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72263         variable tmp.
72265         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72266         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72267         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72269         * nis/nis_table.c (nis_list): Use variable of correct type for
72270         result of __follow_path call.
72272 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72274         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72275         of math functions ceil, trunc, floor, round, and sqrt, when
72276         avaliable on the platform.
72277         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72278         name clash.
72279         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72280         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72281         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72283 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72285         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72286         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72288 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72290         * include/unistd.h: Fix __readlink return type.
72291         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72293 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72295         * stdlib/ucontext.h: Undo last change for makecontext.
72297 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72299         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72301         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72302         * setjmp/setjmp.h: Mark functions as non-leaf.
72303         * setjmp/bits/setjmp2.h: Likewise.
72304         * stdlib/ucontext.h: Likewise.
72306 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72308         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72309         (reused_arena): Don't check arena limit.
72310         (arena_get2): Atomically check arena limit.
72312 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72314         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72315         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72318         instructions.
72320 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72322         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72323         handler when locking.
72325         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72326         Fix size of allocated buffer.
72328 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72330         [BZ #10103]
72331         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72332         declarations for long double functions.
72333         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72335         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72337 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72339         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72340         installed.
72342         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72343         is disabled.
72345 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72347         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72349 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72351         * include/alloca.h (stackinfo_alloca_round): Define.
72352         (extend_alloca): Use it.
72353         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72354         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72355         here.
72357         * scripts/check-local-headers.sh: Ignore libaudit.h.
72359         * nscd/Makefile (extra-objs): Make recursively expanded.
72361 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72363         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72364         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72366         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72367         * posix/tst-rfc3484-2.c: Likewise.
72368         * posix/tst-rfc3484-3.c: Likewise.
72370         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72371         process_vm_writev.
72372         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72373         process_vm_writev.
72374         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72375         process_vm_writev from libc using GLIBC_2.15 version.
72377         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72379 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72381         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72382         stack usage.
72384 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72386         [BZ #13367]
72387         * nss/getent.c (initgroups_keys): Show error message in case no group
72388         names are given.
72390         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72391         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72392         __bump_nl_timestamp.
72393         * nscd/connections (nscd_init): When host database is served open
72394         netlink socket and request notification about configuration changes.
72395         (main_loop_poll): Track netlink file descriptor and bump timestamp
72396         in case data becomes available.
72397         (main_loop_epoll): Likewise.
72398         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72399         (database_pers_head): Add extra_data fileds.
72400         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72401         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72402         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72403         Adjust caller.
72404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72405         in6ai data, call __free_in6ai.
72406         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72407         Add -DHAVE_NETLINK.
72408         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72409         interface information.  Reuse previous data if netlink timestamp
72410         is not changed.
72411         (__bump_nl_timestamp): New function.
72412         (__free_in6ai): New function.
72414 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72416         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72417         close_not_cancel_no_status here.
72418         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72420 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72422         [BZ #13276]
72423         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72424         return value.
72426         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72427         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72428         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72430 2011-07-03  Andreas Jaeger  <aj@suse.de>
72432         [BZ #10709]
72433         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72434         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72435         * math/libm-test.inc (sin_test): Add test case.
72437 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72439         [BZ #13337]
72440         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72441         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72443         * elf/chroot_canon.c (chroot_canon): Cleanups.
72445         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72447         [BZ #13335]
72448         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72449         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72451         * string/test-strchr.c: Make usable for strchrnul testing.
72452         * string/test-strchrnul.c: New file.
72453         * string/Makefile (strop-tests): Add strchrnul.
72455         * po/it.po: Update from translation team.
72456         * po/es.po: Likewise.
72458 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72460         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72461         the three constants needed as parameters.  Drop the others.
72462         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72463         __m128i_strloadu_tolower.
72464         Create and initialize variable zero and use it in all the places
72465         where _mm_setzero_si128 was used.
72467         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72468         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72469         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72470         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72471         anymore.
72472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72473         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72474         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72475         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72476         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72477         __mpranred, __mptan.
72478         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72479         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72480         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72481         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72482         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72483         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72484         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72485         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72486         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72488 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72490         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72491         redefine if SHARED.
72492         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72495         wide char related routines to wcsmbs subdir.
72497 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72499         [BZ #13344]
72500         * misc/sys/cdefs.h (__THROWNL): Define.
72501         * posix/unistd.h: Use __THREADNL instead of __THREAD
72502         for memory synchronization functions.
72504 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72506         [BZ #13349]
72507         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72508         doesn't exist.
72509         * manual/stdio.texi (Obstack Streams): Node removed.
72511 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72513         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72514         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72517         * math/math_private.h (math_force_eval): Allow non-addressable
72518         arguments.
72519         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72521 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72523         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72524         file is not needed.
72526         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72527         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72528         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72529         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72530         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72533         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72534         Add AVX variants.
72535         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72536         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72537         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72538         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72539         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72540         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72541         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72542         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72543         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72544         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72545         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72546         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72548         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72549         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72550         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72551         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72552         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72553         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72555         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72556         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72559         place.  Use VEX encoding when compiling for AVX.
72561 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72563         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72564         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72566         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72568 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72570         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72571         useless if() expression.
72572         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72578         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72581         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72582         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72583         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72584         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72585         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72586         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72587         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72588         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72590         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72592         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72594 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72596         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72597         condition.
72598         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72600 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72602         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72603         .text section.  Avoid duplicate constants.
72604         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72606         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72607         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72612         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72613         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72616         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72617         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72618         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72619         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72620         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72621         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72622         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72624         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72625         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72626         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72627         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72628         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72629         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72630         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72631         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72632         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72633         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72634         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72635         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72636         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72637         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72638         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72639         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72640         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72641         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72642         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72643         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72644         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72645         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72646         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72647         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72648         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72650 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72652         * sysdeps/x86_64/dla.h: Move to ...
72653         * sysdeps/x86_64/fpu/dla.h: ...here.
72654         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72655         situations.  Use __builtin_fma only for gcc 4.6 and up.
72657         * config.make.in: Add have-mfma4 entry.
72658         * configure.in: Substitute libc_cv_cc_fma4.
72659         * math/Makefile (dbl-only-routines): Add sincostab.
72660         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72661         Use __sincostab not sincos.
72662         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72663         name is a macro.
72664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72667         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72668         using __copysign.
72669         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72670         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72671         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72672         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72673         and __inv.
72674         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72675         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72676         __copysign.
72677         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72678         define aliases when function name is a macro.
72679         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72680         sysdeps/ieee754/dbl-64/sincos.tbl.
72681         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72682         fma4-enabled routines.
72683         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72684         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72685         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72686         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72687         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72688         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72689         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72690         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72692         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72693         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72694         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72695         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72696         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72697         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72698         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72699         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72700         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72701         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72702         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72703         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72704         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72705         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72706         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72707         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72708         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72710         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72711         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72712         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72714         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72715         rename.
72716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72717         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72721         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72722         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72723         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72725 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72727         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72729 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72733         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72734         prediction.
72735         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72737         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72738         Remove unused variable magic_bits.
72739         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72741         * string/strnlen.c: Define and use STRNLEN macro.
72742         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72743         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72745         * wcsmbs/wcslen.c: Define and use WCSLEN.
72746         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72747         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72748         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72749         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72750         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72751         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72752         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72754 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72757         strnlen-sse2-no-bsf.
72758         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72760         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72761         Add strnlen support.
72762         (USE_AS_STRNLEN): New macro.
72763         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72764         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72765         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72766         * sysdeps/x86_64/wcslen.S: New file.
72768 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72770         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72771         XMM-moves are used for copying on small sizes.
72773 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72775         * wcsmbs/Makefile (strop-tests): Add wcschr.
72776         * wcsmbs/test-wcschr.c: New file.
72777         * string/test-strchr.c: Update.
72778         Add wcschr support.
72779         (WIDE): New macro.
72781 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72783         * wcsmbs/Makefile (strop-tests): Add wcslen.
72784         * wcsmbs/test-wcslen.c: New file.
72785         * string/test-strlen.c: Update.
72786         Add wcslen support.
72787         (WIDE): New macro.
72789 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72791         * po/it.po: Update from translation team.
72793 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72795         * sysdeps/x86_64/wcscmp.S: Update.
72796         Fix wrong comparison semantics.
72797         wcscmp shall use signed comparison not unsigned.
72798         Don't use substraction to avoid overflow bug.
72799         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72800         * wcsmbc/wcscmp.c: Likewise.
72801         * string/test-strcmp.c: Likewise.
72802         Add new tests to check cases with negative values.
72804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72806         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72807         * sysdeps/x86_64/dla.h: ...here.  New file.
72808         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
72814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72818 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72821         __ynl_finite aliases.
72823 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72827         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72828         define DLA_FMA.
72829         [DLA_FMA] (EMULV): Use DLA_FMA.
72830         [DLA_FMA] (MUL12): Use EMULV.
72831         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72832         that are not needed.
72833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72841 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72843         * math/s_nan.c: Undef __nan.
72844         * math/s_nanf.c: Undef __nanf.
72845         * math/s_nanl.c: Undef __nanl.
72846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72847         "math_private.h".
72849 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72851         * math/s_catan.c: Add branch predictions.
72852         * math/s_catanf.c: Likewise.
72853         * math/s_catanh.c: Likewise.
72854         * math/s_catanhf.c: Likewise.
72855         * math/s_catanhl.c: Likewise.
72856         * math/s_catanl.c: Likewise.
72857         * math/s_cexp.c: Likewise.
72858         * math/s_cexpf.c: Likewise.
72859         * math/s_cexpl.c: Likewise.
72860         * math/s_clog.c: Likewise.
72861         * math/s_clog10.c: Likewise.
72862         * math/s_clog10f.c: Likewise.
72863         * math/s_clog10l.c: Likewise.
72864         * math/s_clogf.c: Likewise.
72865         * math/s_clogl.c: Likewise.
72866         * math/s_csqrt.c: Likewise.
72867         * math/s_csqrtf.c: Likewise.
72868         * math/s_csqrtl.c: Likewise.
72869         * math/s_ctanf.c: Likewise.
72870         * math/s_ctanh.c: Likewise.
72871         * math/s_ctanhf.c: Likewise.
72872         * math/s_ctanhl.c: Likewise.
72873         * math/s_ctanl.c: Likewise.
72875         * math/math_private.h: Define __nan, __nanf, __nanl.
72876         * math/s_cacosh.c: Include <math_private.h>.
72877         * math/s_cacoshl.c: Likewise.
72878         * math/s_casinh.c: Likewise.
72879         * math/s_casinhf.c: Likewise.
72880         * math/s_casinhl.c: Likewise.
72881         * math/s_ccos.c: Rely entire on ccosh.
72882         * math/s_ccosf.c: Rely entire on ccoshf.
72883         * math/s_ccosl.c: Rely entirely on ccoshl.
72884         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72885         Remove tests for FE_INVALID.
72886         * math/s_ccoshf.c: Likewise.
72887         * math/s_ccoshl.c: Likewise.
72888         * math/s_csin.c: Likewise.
72889         * math/s_csinf.c: Likewise.
72890         * math/s_csinh.c Likewise.
72891         * math/s_csinhf.c: Likewise.
72892         * math/s_csinhl.c: Likewise.
72893         * math/s_csinl.c: Likewise.
72894         * math/s_ctan.c: Likewise.
72895         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72896         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72897         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72899 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72902         compilation problems.
72904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72905         __builtin_expect.
72907 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72909         * sysdeps/i386/configure.in: Test for -mfma4 option.
72910         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72911         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72912         COMMON_CPUID_INDEX_80000001.
72913         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72914         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72915         use it if FMA3 is not supported.
72916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72918         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72919         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72921 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72923         [BZ #12892]
72924         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72925         it would create a cycle with a link time dependency.
72927 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72929         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72930         instruction.
72931         * string/Makefile (strop-tests): Add rawmemchr.
72932         * string/test-rawmemchr.c: New file.
72934         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72935         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72936         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72937         when compiling str{,n}casecmp and when AVX is available.  Hook up
72938         new optimized code in initializers.
72940 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72942         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72943         __feraiseexcept instead of feraiseexcept.
72945 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72947         * math/math_private.h: Define defaults for libc_fetestexcept and
72948         libc_feupdateenv.
72949         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72950         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72951         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72952         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72953         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72954         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72955         libc_fetestexcept and libc_feupdateenv.
72957         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72958         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72959         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72960         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72961         libc_feholdexcept_setround.
72963         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72964         Add s_nearbyint-c and s_nearbyintf-c.
72965         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72966         nearbyintf inlines.
72967         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72968         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72969         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72970         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72972         * math/math_private.h: Define defaults for libc_fegetround,
72973         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72974         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72975         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72976         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72977         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72978         standard functions.
72979         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72980         Remove comments and hacks for old compiler versions.
72981         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72982         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72983         libc_feholdexceptl.
72985 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72987         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72988         (__feraiseexcept_renamed): Add __NTH.
72989         (feraiseexcept): Add __NTH.  Rename local variables to fix
72990         namespace violations.
72992 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72994         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72996         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72998         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72999         recently added interfaces.
73000         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73002         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73003         about macro parameter expansion.
73005         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73006         __NO_MATH_INLINES is defined.  Cleanups.
73008         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73009         and __floorf is target has SSE4.1.
73010         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73011         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73012         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73013         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73015         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73016         name.
73017         (floorf): Likewise.
73019         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73021 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73023         * misc/sys/cdefs.h: Fix last change.
73025         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73026         database lookup.
73028 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73030         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73032         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73033         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73034         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73035         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73036         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73037         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73038         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73039         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73040         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73041         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73042         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73043         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73044         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73045         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73046         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73047         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73048         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73049         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73050         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73051         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73052         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73053         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73055         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73056         ceil, ceilf, floor, floorf.
73058         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73059         Perform IRELATIVE relocations last.
73061         * elf/do-rel.h: Add another parameter nrelative, replacing the
73062         local variable with the same name.  Change name of the function
73063         to end in Rel or Rela (uppercase).
73064         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73065         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73066         elf_dynamic_do_##reloc function.
73068 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73070         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73071         is sufficient, at least on modern CPUs.
73073         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73075         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73076         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73078         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73079         __expl_finite.
73080         * math/bits/math-finite.h: Add entries for exp.
73081         * math/e_expl.c: Add __*_finite alias.
73082         * sysdeps/i386/fpu/e_exp.S: Likewise.
73083         * sysdeps/i386/fpu/e_expf.S: Likewise.
73084         * sysdeps/i386/fpu/e_expl.c: Likewise.
73085         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73086         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73089         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73090         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73091         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73093         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73094         is sufficient, at least on modern CPUs.
73096         * ctype/ctype-info.c (__ctype_init): Define.
73097         * include/ctype.h (__ctype_init): Declare.
73098         (__ctype_b_loc): The variable is always initialized.
73099         (__ctype_toupper_loc): Likewise.
73100         (__ctype_tolower_loc): Likewise.
73101         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73102         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73104 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73106         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73108         * configure.in: Also look in $cxxmachine/include for C++ system
73109         headers.
73111 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73113         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73114         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73115         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73116         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73117         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73118         (USE_AS_WMEMCMP): New macro.
73119         Fixing indents.
73120         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73121         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73122         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73123         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73125         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73126         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73127         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73128         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73129         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73130         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73131         (USE_AS_WMEMCMP): New macro.
73132         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73133         * sysdeps/string/test-memcmp.c: Update.
73134         Fix simple_wmemcmp.
73135         Add new tests.
73136         * wcsmbs/wmemcmp.c: Update.
73137         (WMEMCMP): New macro.
73138         Fix overflow bug.
73140 2011-10-12  Andreas Jaeger  <aj@suse.de>
73142         [BZ #13268]
73143         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73145 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73147         * libio/iofwide.c (do_length): Avoid warning.
73149         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73151 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73153         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73155         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73156         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73157         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73158         * sysdeps/i386/i686/fpu/e_log.S: New file.
73159         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73160         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73162         * ctype/ctype.h: Add support for inlined isXXX functions when
73163         compiling C++ code.
73165 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73167         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73169         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73171 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73173         [BZ #13291]
73174         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73176 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73178         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73179         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73180         feraiseexcept.
73182         * sysdeps/x86_64/memrchr.S: Check for zero size.
73184         * string/stratcliff.c: Add memrchr tests.
73186 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73189         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73190         rawmemchr-sse2 rawmemchr-sse2-bsf.
73191         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73192         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73193         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73194         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73195         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73196         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73197         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73198         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73199         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73200         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73201         * string/memrchr.c (MEMRCHR): New macro.
73203 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73205         Add integration with gcc's -ffinite-math-only and optimize wrapper
73206         functions in libm.
73207         * Versions.def: Define GLIBC_2.15 version for libm.
73208         * math/Makefile (headers): Add bits/math-finite.h.
73209         * math/bits/math-finite.h: New file.
73210         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73211         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73212         * math/e_acoshl.c: Add __*_finite alias.
73213         * math/e_acosl.c: Likewise.
73214         * math/e_asinl.c: Likewise.
73215         * math/e_atan2l.c: Likewise.
73216         * math/e_atanhl.c: Likewise.
73217         * math/e_coshl.c: Likewise.
73218         * math/e_exp10.c: Likewise.
73219         * math/e_exp10f.c: Likewise.
73220         * math/e_exp10l.c: Likewise.
73221         * math/e_exp2l.c: Likewise.
73222         * math/e_fmodl.c: Likewise.
73223         * math/e_gammal_r.c: Likewise.
73224         * math/e_hypotl.c: Likewise.
73225         * math/e_j0l.c: Likewise.
73226         * math/e_j1l.c: Likewise.
73227         * math/e_jnl.c: Likewise.
73228         * math/e_lgammal_r.c: Likewise.
73229         * math/e_log10l.c: Likewise.
73230         * math/e_log2l.c: Likewise.
73231         * math/e_logl.c: Likewise.
73232         * math/e_powl.c: Likewise.
73233         * math/e_sinhl.c: Likewise.
73234         * math/e_sqrtl.c: Likewise.
73235         * math/e_scalb.c: Completely rewritten and optimized.
73236         * math/e_scalbf.c: Likewise.
73237         * math/e_scalbl.c: Likewise.
73238         * math/w_acos.c: Likewise.
73239         * math/w_acosf.c: Likewise.
73240         * math/w_acosl.c: Likewise.
73241         * math/w_acosh.c: Likewise.
73242         * math/w_acoshf.c: Likewise.
73243         * math/w_acoshl.c: Likewise.
73244         * math/w_asin.c: Likewise.
73245         * math/w_asinf.c: Likewise.
73246         * math/w_asinl.c: Likewise.
73247         * math/w_atan2.c: Likewise.
73248         * math/w_atan2f.c: Likewise.
73249         * math/w_atan2l.c: Likewise.
73250         * math/w_atanh.c: Likewise.
73251         * math/w_atanhf.c: Likewise.
73252         * math/w_atanhl.c: Likewise.
73253         * math/w_exp10.c: Likewise.
73254         * math/w_exp10f.c: Likewise.
73255         * math/w_exp10l.c: Likewise.
73256         * math/w_fmod.c: Likewise.
73257         * math/w_fmodf.c: Likewise.
73258         * math/w_fmodl.c: Likewise.
73259         * math/w_j0.c: Likewise.
73260         * math/w_j0f.c: Likewise.
73261         * math/w_j0l.c: Likewise.
73262         * math/w_j1.c: Likewise.
73263         * math/w_j1f.c: Likewise.
73264         * math/w_j1l.c: Likewise.
73265         * math/w_jn.c: Likewise.
73266         * math/w_jnf.c: Likewise.
73267         * math/w_log.c: Likewise.
73268         * math/w_logf.c: Likewise.
73269         * math/w_logl.c: Likewise.
73270         * math/w_log10.c: Likewise.
73271         * math/w_log10f.c: Likewise.
73272         * math/w_log10l.c: Likewise.
73273         * math/w_log2.c: Likewise.
73274         * math/w_log2f.c: Likewise.
73275         * math/w_log2l.c: Likewise.
73276         * math/w_pow.c: Likewise.
73277         * math/w_powf.c: Likewise.
73278         * math/w_powl.c: Likewise.
73279         * math/w_remainder.c: Likewise.
73280         * math/w_remainderf.c: Likewise.
73281         * math/w_remainderl.c: Likewise.
73282         * math/w_scalb.c: Likewise.
73283         * math/w_scalbf.c: Likewise.
73284         * math/w_scalbl.c: Likewise.
73285         * math/w_sqrt.c: Likewise.
73286         * math/w_sqrtf.c: Likewise.
73287         * math/w_sqrtl.c: Likewise.
73288         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73289         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73290         used.
73291         * math/math_private.h: Declare __kernel_standard_f.
73292         * math/w_cosh.c: Remove cruft and optimize a bit.
73293         * math/w_coshf.c: Likewise.
73294         * math/w_coshl.c: Likewise.
73295         * math/w_exp2.c: Likewise.
73296         * math/w_exp2f.c: Likewise.
73297         * math/w_exp2l.c: Likewise.
73298         * math/w_hypot.c: Likewise.
73299         * math/w_hypotf.c: Likewise.
73300         * math/w_hypotl.c: Likewise.
73301         * math/w_lgamma.c: Likewise.
73302         * math/w_lgamma_r.c: Likewise.
73303         * math/w_lgammaf.c: Likewise.
73304         * math/w_lgammaf_r.c: Likewise.
73305         * math/w_lgammal.c: Likewise.
73306         * math/w_lgammal_r.c: Likewise.
73307         * math/w_sinh.c: Likewise.
73308         * math/w_sinhf.c: Likewise.
73309         * math/w_sinhl.c: Likewise.
73310         * math/w_tgamma.c: Likewise.
73311         * math/w_tgammaf.c: Likewise.
73312         * math/w_tgammal.c: Likewise.
73313         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73314         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73315         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73316         Minor optimizations.  Pretty printing.  Remove cruft.
73317         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73318         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73319         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73320         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73321         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73322         * sysdeps/i386/fpu/e_asin.S: Likewise.
73323         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73324         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73325         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73326         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73327         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73330         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73331         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73332         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73333         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73334         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73335         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73336         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73337         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73338         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73339         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73340         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73341         * sysdeps/i386/fpu/e_log.S: Likewise.
73342         * sysdeps/i386/fpu/e_log10.S: Likewise.
73343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73344         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73345         * sysdeps/i386/fpu/e_log2.S: Likewise.
73346         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73347         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73348         * sysdeps/i386/fpu/e_logf.S: Likewise.
73349         * sysdeps/i386/fpu/e_logl.S: Likewise.
73350         * sysdeps/i386/fpu/e_pow.S: Likewise.
73351         * sysdeps/i386/fpu/e_powf.S: Likewise.
73352         * sysdeps/i386/fpu/e_powl.S: Likewise.
73353         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73354         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73355         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73356         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73357         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73358         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73359         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73360         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73361         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73362         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73363         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73364         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73365         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73366         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73367         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73368         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73369         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73370         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73371         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73378         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73379         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73382         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73383         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73384         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73385         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73386         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73387         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73388         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73389         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73390         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73400         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73401         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73402         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73403         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73404         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73405         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73406         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73407         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73408         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73409         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73410         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73412         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73413         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73417         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73418         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73419         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73420         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73421         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73422         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73423         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73424         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73426         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73427         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73428         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73429         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73430         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73432         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73433         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73434         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73435         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73436         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73438         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73439         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73440         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73441         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73442         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73443         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73444         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73445         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73446         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73447         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73448         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73449         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73450         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73451         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73452         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73453         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73455         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73456         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73457         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73458         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73459         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73460         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73461         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73462         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73463         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73464         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73465         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73466         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73468         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73470         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73471         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73472         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73473         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73474         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73475         (__isnanf): Likewise.
73476         (__isinf_ns): Likewise.
73477         (__isinf_nsf): Likewise.
73478         (__finite): Likewise.
73479         (__finitef): Likewise.
73480         (__ieee754_sqrt): Define as macro.
73481         (__ieee754_sqrtf): Define as macro.
73482         (__ieee754_sqrtl): Define as macro.
73483         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73484         inlined copy.
73485         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73486         __FINITE_MATH_ONLY__ consistent.
73487         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73489 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73491         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73492         of rawmemchr.
73494         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73496 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73498         * po/ja.po: Update from translation team.
73500 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73502         * locale/programs/locarchive.c (prepare_address_space): New function.
73503         (create_archive, enlarge_archive, open_archive): Use it.
73505         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73506         inside [SHARED], where it is used.
73508         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73510         * nss/getent.c (netgroup_keys): Remove unused variable.
73511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73513 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73515         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73516         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73518         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73519         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73520         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73521         * math/Makefile (libm-calls): Add s_isinf_ns.
73522         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73523         * math/multc3.c: Likewise.
73524         * math/s_casin.c: Likewise.
73525         * math/s_casinf.c: Likewise.
73526         * math/s_casinl.c: Likewise.
73527         * math/s_ccos.c: Likewise.
73528         * math/s_ccosf.c: Likewise.
73529         * math/s_ccosl.c: Likewise.
73530         * math/s_ctan.c: Likewise.
73531         * math/s_ctanf.c: Likewise.
73532         * math/s_ctanh.c: Likewise.
73533         * math/s_ctanhf.c: Likewise.
73534         * math/s_ctanhl.c: Likewise.
73535         * math/s_ctanl.c: Likewise.
73536         * math/w_fmod.c: Likewise.
73537         * math/w_fmodf.c: Likewise.
73538         * math/w_fmodl.c: Likewise.
73539         * math/w_remainder.c: Likewise.
73540         * math/w_remainderf.c: Likewise.
73541         * math/w_remainderl.c: Likewise.
73542         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73543         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73544         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73546         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73547         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73548         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73549         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73551         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73552         of the number.
73553         * stdio-common/printf_fphex.c: Likewise.
73554         * stdio-common/printf_size.c: Likewise.
73556         * math/e_exp10.c: Include math_private.h using <...> not "...".
73557         * math/e_exp10f.c: Likewise.
73558         * math/e_exp10l.c: Likewise.
73559         * math/e_exp2l.c: Likewise.
73560         * math/e_j0l.c: Likewise.
73561         * math/e_j1l.c: Likewise.
73562         * math/e_jnl.c: Likewise.
73563         * math/e_lgammal_r.c: Likewise.
73564         * math/e_rem_pio2l.c: Likewise.
73565         * math/e_scalb.c: Likewise.
73566         * math/e_scalbf.c: Likewise.
73567         * math/e_scalbl.c: Likewise.
73568         * math/k_cosl.c: Likewise.
73569         * math/k_sinl.c: Likewise.
73570         * math/k_tanl.c: Likewise.
73571         * math/s_cacoshf.c: Likewise.
73572         * math/s_catan.c: Likewise.
73573         * math/s_catanf.c: Likewise.
73574         * math/s_catanh.c: Likewise.
73575         * math/s_catanhf.c: Likewise.
73576         * math/s_catanhl.c: Likewise.
73577         * math/s_catanl.c: Likewise.
73578         * math/s_ccosh.c: Likewise.
73579         * math/s_ccoshf.c: Likewise.
73580         * math/s_ccoshl.c: Likewise.
73581         * math/s_cexp.c: Likewise.
73582         * math/s_cexpf.c: Likewise.
73583         * math/s_cexpl.c: Likewise.
73584         * math/s_clog.c: Likewise.
73585         * math/s_clog10.c: Likewise.
73586         * math/s_clog10f.c: Likewise.
73587         * math/s_clog10l.c: Likewise.
73588         * math/s_clogf.c: Likewise.
73589         * math/s_clogl.c: Likewise.
73590         * math/s_csin.c: Likewise.
73591         * math/s_csinf.c: Likewise.
73592         * math/s_csinh.c: Likewise.
73593         * math/s_csinhf.c: Likewise.
73594         * math/s_csinhl.c: Likewise.
73595         * math/s_csinl.c: Likewise.
73596         * math/s_csqrt.c: Likewise.
73597         * math/s_csqrtf.c: Likewise.
73598         * math/s_csqrtl.c: Likewise.
73599         * math/s_ctan.c: Likewise.
73600         * math/s_ctanf.c: Likewise.
73601         * math/s_ctanh.c: Likewise.
73602         * math/s_ctanhf.c: Likewise.
73603         * math/s_ctanhl.c: Likewise.
73604         * math/s_ctanl.c: Likewise.
73605         * math/s_ldexp.c: Likewise.
73606         * math/s_ldexpf.c: Likewise.
73607         * math/s_ldexpl.c: Likewise.
73608         * math/s_significand.c: Likewise.
73609         * math/s_significandf.c: Likewise.
73610         * math/s_significandl.c: Likewise.
73611         * math/w_acos.c: Likewise.
73612         * math/w_acosf.c: Likewise.
73613         * math/w_acosh.c: Likewise.
73614         * math/w_acoshf.c: Likewise.
73615         * math/w_acoshl.c: Likewise.
73616         * math/w_acosl.c: Likewise.
73617         * math/w_asin.c: Likewise.
73618         * math/w_asinf.c: Likewise.
73619         * math/w_asinl.c: Likewise.
73620         * math/w_atan2.c: Likewise.
73621         * math/w_atan2f.c: Likewise.
73622         * math/w_atan2l.c: Likewise.
73623         * math/w_atanh.c: Likewise.
73624         * math/w_atanhf.c: Likewise.
73625         * math/w_atanhl.c: Likewise.
73626         * math/w_cosh.c: Likewise.
73627         * math/w_coshf.c: Likewise.
73628         * math/w_coshl.c: Likewise.
73629         * math/w_dremf.c: Likewise.
73630         * math/w_exp10.c: Likewise.
73631         * math/w_exp10f.c: Likewise.
73632         * math/w_exp10l.c: Likewise.
73633         * math/w_exp2.c: Likewise.
73634         * math/w_exp2f.c: Likewise.
73635         * math/w_fmod.c: Likewise.
73636         * math/w_fmodf.c: Likewise.
73637         * math/w_fmodl.c: Likewise.
73638         * math/w_hypot.c: Likewise.
73639         * math/w_hypotf.c: Likewise.
73640         * math/w_hypotl.c: Likewise.
73641         * math/w_j0.c: Likewise.
73642         * math/w_j0f.c: Likewise.
73643         * math/w_j0l.c: Likewise.
73644         * math/w_j1.c: Likewise.
73645         * math/w_j1f.c: Likewise.
73646         * math/w_j1l.c: Likewise.
73647         * math/w_jn.c: Likewise.
73648         * math/w_jnf.c: Likewise.
73649         * math/w_jnl.c: Likewise.
73650         * math/w_lgamma.c: Likewise.
73651         * math/w_lgamma_r.c: Likewise.
73652         * math/w_lgammaf.c: Likewise.
73653         * math/w_lgammaf_r.c: Likewise.
73654         * math/w_lgammal.c: Likewise.
73655         * math/w_lgammal_r.c: Likewise.
73656         * math/w_log.c: Likewise.
73657         * math/w_log10.c: Likewise.
73658         * math/w_log10f.c: Likewise.
73659         * math/w_log10l.c: Likewise.
73660         * math/w_log2.c: Likewise.
73661         * math/w_log2f.c: Likewise.
73662         * math/w_log2l.c: Likewise.
73663         * math/w_logf.c: Likewise.
73664         * math/w_logl.c: Likewise.
73665         * math/w_pow.c: Likewise.
73666         * math/w_powf.c: Likewise.
73667         * math/w_powl.c: Likewise.
73668         * math/w_remainder.c: Likewise.
73669         * math/w_remainderf.c: Likewise.
73670         * math/w_remainderl.c: Likewise.
73671         * math/w_scalb.c: Likewise.
73672         * math/w_scalbf.c: Likewise.
73673         * math/w_scalbl.c: Likewise.
73674         * math/w_sinh.c: Likewise.
73675         * math/w_sinhf.c: Likewise.
73676         * math/w_sinhl.c: Likewise.
73677         * math/w_sqrt.c: Likewise.
73678         * math/w_sqrtf.c: Likewise.
73679         * math/w_sqrtl.c: Likewise.
73680         * math/w_tgamma.c: Likewise.
73681         * math/w_tgammaf.c: Likewise.
73682         * math/w_tgammal.c: Likewise.
73684         * po/ja.po: Update from translation team.
73686 2011-09-29  Andreas Jaeger  <aj@suse.de>
73688         [BZ #13179]
73689         * sunrpc/netname.c (netname2host): Fix logic.
73691         [BZ #6779]
73692         [BZ #6783]
73693         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73694         correctly.
73695         * math/w_remainder.c (__remainder): Likewise.
73696         * math/w_remainderf.c (__remainderf): Likewise.
73697         * math/libm-test.inc (remainder_test): Add test cases.
73699 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73701         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73702         sdiv_qrnnd.
73704 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73706         * string/test-memcmp.c: Avoid unncessary #defines.
73707         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73709 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73711         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73712         Use new sse2 version for core i3 - i7 as it's faster
73713         than sse42 version.
73714         (bit_Prefer_PMINUB_for_stringop): New.
73715         * sysdeps/x86_64/rawmemchr.S: Update.
73716         Replace with faster SSE2 version.
73717         * sysdeps/x86_64/memrchr.S: New file.
73718         * sysdeps/x86_64/memchr.S: Update.
73719         Replace with faster SSE2 version.
73721 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73723         * elf/dl-load.c (lose): Add cast to avoid warning.
73725 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73727         * po/ca.po: Update from translation team.
73729         * inet/getnetgrent_r.c: Hook up nscd.
73730         * nscd/Makefile (routines): Add nscd_netgroup.
73731         (nscd-modules): Add netgroupcache.
73732         (CFLAGS-netgroupcache.c): Define.
73733         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73734         (cache_search): Add const to second parameter.
73735         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73736         INNETGR.
73737         (dbs): Add netgrdb entry.
73738         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73739         (verify_persistent_db): Handle netgrdb.
73740         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73741         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73742         GETFDNETGR.
73743         (netgroup_response_header): Define.
73744         (innetgroup_response_header): Define.
73745         (datahead): Add netgroup_response_header and innetgroup_response_header
73746         elements.
73747         * nscd/nscd.conf: Add entries for netgroup cache.
73748         * nscd/nscd.h (dbtype): Add netgrdb.
73749         (_PATH_NSCD_NETGROUP_DB): Define.
73750         (netgroup_iov_disabled): Declare.
73751         (xmalloc, xcalloc, xrealloc): Move declarations here.
73752         (cache_search): Adjust prototype.
73753         Add netgroup-related prototypes.
73754         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73755         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73756         (__nscd_innetgr): Declare.
73757         * nscd/selinux.c (perms): Use access_vector_t as element type and
73758         add netgroup-related initializers.
73759         * nscd/netgroupcache.c: New file.
73760         * nscd/nscd_netgroup.c: New file.
73761         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73762         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73763         For four parameters use innetgr.
73764         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73765         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73766         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73767         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73769         * nscd/connections.c (register_traced_file): Don't register file
73770         for disabled databases.
73772 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73774         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73776         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73777         from tree and freeing node.
73779 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73781         * nss/nsswitch.c (__nss_database_lookup): Handle
73782         nss_parse_service_list out of memory case.
73784 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73786         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73787         out of memory case.
73789 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73791         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73792         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73793         pass it down.
73794         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73795         elf_machine_rela, elf_machine_lazy_rel.
73796         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73797         (ELF_DYNAMIC_DO_REL): Likewise.
73798         (ELF_DYNAMIC_DO_RELA): Likewise.
73799         (ELF_DYNAMIC_RELOCATE): Likewise.
73800         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73801         to ELF_DYNAMIC_DO_REL.
73802         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73803         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73804         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73805         elf_machine_rela.
73806         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73807         skip_ifunc, don't call ifunc function if non-zero.
73808         (elf_machine_rela): Likewise.
73809         (elf_machine_lazy_rel): Likewise.
73810         (elf_machine_lazy_rela): Likewise.
73811         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73812         (elf_machine_lazy_rel): Likewise.
73813         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73814         Likewise.
73815         (elf_machine_lazy_rel): Likewise.
73816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73817         Likewise.
73818         (elf_machine_lazy_rel): Likewise.
73819         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73820         (elf_machine_lazy_rel): Likewise.
73821         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73822         (elf_machine_lazy_rel): Likewise.
73823         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73824         (elf_machine_lazy_rel): Likewise.
73825         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73826         (elf_machine_lazy_rel): Likewise.
73827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73828         (elf_machine_lazy_rel): Likewise.
73829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73830         (elf_machine_lazy_rel): Likewise.
73832 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73834         * nss/nss_files/files-init.c (_nss_files_init): Use static
73835         initialization for all the *_traced_file variables.
73837 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73839         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73841 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73843         [BZ #13226]
73844         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73846 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73848         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73849         Reread the line before reparsing it.
73851 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73853         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73855 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73856             Maxim Kuvyrkov  <maxim@codesourcery.com>
73857             Joseph Myers  <joseph@codesourcery.com>
73859         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73860         if needed for __stack_chk_guard.
73862 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73864         * sysdeps/posix/spawni.c (script_execute): Always define it.
73865         It will be optimized away if unused.
73866         (maybe_script_execute): New function.
73867         (__spawni): Call it.
73869         * Makerules: Don't include tls.make.
73870         (config-tls): Always set to thread.
73871         * tls.make.c: File removed.
73873 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73875         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73876         * config.make.in (CPPFLAGS-config): New substituted variable.
73878 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73880         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73882         [BZ #13192]
73883         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73884         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73886 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73888         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73889         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73891         (CALL_FAIL): Likewise.
73892         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73893         (CALL_FAIL): Macro removed.
73894         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73896 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73898         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73899         for __FINITE_MATH_ONLY__ == 1.
73901 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73903         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73904         __ieee754_sqrt instead of sqrt.
73905         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73906         __ieee754_sqrtf instead of sqrtf.
73907         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73908         __floorf instead of floorf.
73909         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73910         __floorf, __truncf instead of floorf, truncf.
73912 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73914         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73916         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73917         __extern_always_inline.
73918         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73919         32-bit.
73921 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73923         * elf/rtld.c (dl_main): Also relocate in dependency order when
73924         doing symbol dependency testing.
73926 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73929         Always define `refsym'.
73931 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73933         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73934         (__FD_ELT): Renamed from __FDELT.
73935         * misc/bits/select2.h (__FD_ELT): Likewise.
73936         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73937         __FD_MASK instead of __FDELT, __FDMASK.
73938         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73939         Likewise.
73940         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73941         Likewise.
73943         * elf/Makefile (gen-ldd): Fix pattern.
73945         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73946         (init_tls): Likewise.
73948 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73952 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73954         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73955         `struct cmsghdr *' instead of `void *'.
73956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73957         Likewise.
73959 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73961         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73962         if non-absolute.
73963         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73964         ldd_rewrite_script.
73966 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73968         * configure.in: Remove --with-tls option.
73969         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73970         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73971         out in case it is missing.
73972         * sysdeps/ia64/elf/configure.in: Likewise.
73973         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73974         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73975         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73976         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73977         * sysdeps/sh/elf/configure.in: Likewise.
73978         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73979         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73980         * sysdeps/x86_64/elf/configure.in: Likewise.
73981         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73982         * sysdeps/mach/hurd/tls.h: Likewise.
73984         [BZ #13067]
73985         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73987         [BZ #13090]
73988         * configure.in: Fix use of AC_INIT.
73990         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73992 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73994         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73995         __set_errno.
73996         * malloc/hooks.c: Likewise.
73998         [BZ #11929]
73999         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74000         variables statically.
74001         (narenas): Initialize.
74002         (list_lock): Initialize.
74003         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74004         initializtion of main_arena and list_lock.  Small cleanups.
74005         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74006         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74007         Add initializers to main_arena and mp_.
74008         (malloc_state): Remove pagesize member.  Change all users to use
74009         GLRO(dl_pagesize).
74011         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74012         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74013         is always initialized.
74015         * malloc/malloc.c: Removed unused configurations and dead code.
74016         * malloc/arena.c: Likewise.
74017         * malloc/hooks.c: Likewise.
74018         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74020         * include/tls.h: Removed.  USE___THREAD must always be defined.
74021         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74022         * elf/dl-libc.c: Likewise.
74023         * elf/dl-tsd.c: Likewise.
74024         * include/errno.h: Likewise.
74025         * include/netdb.h: Likewise.
74026         * include/resolv.h: Likewise.
74027         * inet/herrno-loc.c: Likewise.
74028         * inet/herrno.c: Likewise.
74029         * malloc/arena.c: Likewise.
74030         * malloc/hooks.c: Likewise.
74031         * malloc/malloc.c: Likewise.
74032         * resolv/res-state.c: Likewise.
74033         * resolv/res_libc.c: Likewise.
74034         * sysdeps/i386/dl-machine.h: Likewise.
74035         * sysdeps/ia64/dl-machine.h: Likewise.
74036         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74037         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74038         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74040         * sysdeps/sh/dl-machine.h: Likewise.
74041         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74042         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74043         * sysdeps/unix/i386/sysdep.S: Likewise.
74044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74045         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74046         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74049         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74050         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74051         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74052         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74053         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74054         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74055         * sysdeps/x86_64/dl-machine.h: Likewise.
74056         * tls.make.c: Likewise.
74058         * configure.in: Remove --with-__thread option.  Make tests for
74059         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74060         tls_model attribute fail if no support is available.  Remove
74061         USE_IN_LIBIO.
74062         * Makeconfig: Adjust for dropped configure option.  All features are
74063         now mandatory.
74064         * Makerules: Likewise.
74065         * Versions.def: Likewise.
74066         * argp/argp-fmtstream.c: Likewise.
74067         * argp/argp-fmtstream.h: Likewise.
74068         * argp/argp-help.c: Likewise.
74069         * assert/assert.c: Likewise.
74070         * config.h.in: Likewise.
74071         * config.make.in: Likewise.
74072         * configure: Likewise.
74073         * configure.in: Likewise.
74074         * csu/Versions: Likewise.
74075         * csu/init.c: Likewise.
74076         * elf/tst-audit2.c: Likewise.
74077         * elf/tst-tls10.c: Likewise.
74078         * elf/tst-tls10.h: Likewise.
74079         * elf/tst-tls11.c: Likewise.
74080         * elf/tst-tls12.c: Likewise.
74081         * elf/tst-tls14.c: Likewise.
74082         * elf/tst-tlsmod11.c: Likewise.
74083         * elf/tst-tlsmod12.c: Likewise.
74084         * elf/tst-tlsmod13.c: Likewise.
74085         * elf/tst-tlsmod13a.c: Likewise.
74086         * elf/tst-tlsmod14a.c: Likewise.
74087         * elf/tst-tlsmod15b.c: Likewise.
74088         * elf/tst-tlsmod16a.c: Likewise.
74089         * elf/tst-tlsmod16b.c: Likewise.
74090         * elf/tst-tlsmod7.c: Likewise.
74091         * elf/tst-tlsmod8.c: Likewise.
74092         * elf/tst-tlsmod9.c: Likewise.
74093         * gmon/gmon.c: Likewise.
74094         * grp/fgetgrent_r.c: Likewise.
74095         * grp/putgrent.c: Likewise.
74096         * hurd/fopenport.c: Likewise.
74097         * include/libc-symbols.h: Likewise.
74098         * include/tls.h: Likewise.
74099         * intl/gettextP.h: Likewise.
74100         * intl/loadinfo.h: Likewise.
74101         * locale/global-locale.c: Likewise.
74102         * locale/localeinfo.h: Likewise.
74103         * mach/devstream.c: Likewise.
74104         * malloc/arena.c: Likewise.
74105         * malloc/set-freeres.c: Likewise.
74106         * misc/err.c: Likewise.
74107         * misc/getttyent.c: Likewise.
74108         * misc/mntent_r.c: Likewise.
74109         * posix/getopt.c: Likewise.
74110         * posix/wordexp.c: Likewise.
74111         * pwd/fgetpwent_r.c: Likewise.
74112         * resolv/Versions: Likewise.
74113         * resolv/res_hconf.c: Likewise.
74114         * shadow/fgetspent_r.c: Likewise.
74115         * shadow/putspent.c: Likewise.
74116         * stdio-common/printf_fphex.c: Likewise.
74117         * stdio-common/tmpfile.c: Likewise.
74118         * stdlib/abort.c: Likewise.
74119         * stdlib/fmtmsg.c: Likewise.
74120         * sunrpc/auth_unix.c: Likewise.
74121         * sunrpc/clnt_perr.c: Likewise.
74122         * sunrpc/clnt_tcp.c: Likewise.
74123         * sunrpc/clnt_udp.c: Likewise.
74124         * sunrpc/clnt_unix.c: Likewise.
74125         * sunrpc/openchild.c: Likewise.
74126         * sunrpc/svc_simple.c: Likewise.
74127         * sunrpc/svc_tcp.c: Likewise.
74128         * sunrpc/svc_udp.c: Likewise.
74129         * sunrpc/svc_unix.c: Likewise.
74130         * sunrpc/xdr.c: Likewise.
74131         * sunrpc/xdr_array.c: Likewise.
74132         * sunrpc/xdr_rec.c: Likewise.
74133         * sunrpc/xdr_ref.c: Likewise.
74134         * sunrpc/xdr_stdio.c: Likewise.
74136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74138         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74140 2011-07-03  Andreas Jaeger  <aj@suse.de>
74142         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74143         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74144         regenerate with gen-libm-tests.pl.
74146 2010-05-12  Petr Baudis  <pasky@suse.cz>
74148         [BZ #11589]
74149         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74150         around j0() zero points by switching to j1().
74151         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74152         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74154         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74156 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74158         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74159         instead of 0.
74160         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74161         instead of 0.
74162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74163         Patch in part by Pavel Roskin <proski@gnu.org>.
74165         [BZ #13138]
74166         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74167         realloc.
74168         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74169         Free memory block if necessary.
74171         [BZ #12847]
74172         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74173         be NULL.  Don't lock in this case.
74175 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74177         * elf/elf.h (ELFOSABI_GNU): New macro.
74178         (ELFOSABI_LINUX): Define to that.
74180 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74182         * string/strncat.c (strncat): Undef the symbol in case it has been
74183         defined in bits/string.h.
74185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74187         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74189         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74190         link map.
74192 2011-08-17  Andreas Jaeger  <aj@suse.de>
74194         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74196 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74197             Ian Lance Taylor  <iant@google.com>
74199         * math/libm-test.inc (lround_test): New testcase.
74200         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74202 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74204         * Makefile: Remove support for automatic cvs check-ins.
74205         * Makerules: Likewise.
74206         * config.make.in: Likewise.
74207         * configure.in: Likewise.
74208         * intl/Makefile: Likewise.
74209         * locale/Makefile: Likewise.
74210         * po/Makefile: Likewise.
74211         * posix/Makefile: Likewise.
74212         * sysdeps/gnu/Makefile: Likewise.
74213         * sysdeps/mach/hurd/Makefile: Likewise.
74214         * sysdeps/sparc/sparc32/Makefile: Likewise.
74216         [BZ #13118]
74217         * posix/Makefile (bug-regex32-ENV): Define.
74218         Patch by John Stanley <jpsinthemix@verizon.net>.
74220         * misc/Makefile (headers): Add bits/select2.h.
74221         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74222         * misc/bits/select2.h: New file.
74223         * include/bits/select2.h: New file.
74224         * debug/Makefile (routines): Add fdelt_chk.
74225         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74226         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74227         FD_ISSET.
74228         * debug/fdelt_chk.c: New file.
74230         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74231         * wcsmbs/test-wmemcmp.c: Likewise.
74232         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74233         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74235 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74237         * string/Makefile (strop-tests): Add memcmp.
74238         * string/test-wmemcmp.c: New file.
74239         * string/test-memcmp.c: Add wmemcmp support.
74241 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74243         [BZ #13153]
74244         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74245         2011-07-19 change.
74247         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74248         garbage value in a __mach_port_mod_refs call in the cases of the
74249         task-self and thread-self ports.
74251 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74253         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74255 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74257         * elf/dl-load.c (lose): Check for non-null L.
74259 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74261         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74263         * elf/dl-libc.c (dlerror_run): Pass back error code from
74264         dl_catch_error.
74266         [BZ #13123]
74267         * elf/dl-load.c (lose): Free l_origin if it is valid.
74269         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74270         names.
74271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74272         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74273         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74275         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74276         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74278 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74280         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74281         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74282         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74283         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74284         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74285         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74286         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74287         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74288         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74289         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74291 2011-08-15  Alan Modra  <amodra@gmail.com>
74293         [BZ #13092]
74294         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74295         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74296         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74297         ppc_mcount to static-only-routines.
74298         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74299         __mcount_internal.
74300         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74301         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74303 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74305         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74306         for finite and infinity parameters.
74308 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74311         and add nop instructions for throughput optimization.
74312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74314 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74316         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74317         aligned copy for power7 with vector-scalar instructions.
74318         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74320 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74323         AVX check.
74325 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74327         [BZ #13144]
74328         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74329         last change.
74331 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74333         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74334         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74335         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74336         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74337         clock_gettime.
74339 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74341         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74342         Forgot to demangle the pointer.
74344         * sysdeps/i386/sysdep.h: Define atom_text_section.
74345         * sysdeps/x86_64/sysdep.h: Likewise.
74346         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74347         section with atom_text_section.
74348         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74349         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74350         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74351         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74352         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74354         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74355         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74356         already be defined.  Change to take two parameters and don't assign
74357         result to variable.  Adjust all users.
74358         Define INTERNAL_GETTIME if not already defined.
74359         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74360         call.
74361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74362         HAVE_CLOCK_GETTIME_VSYSCALL.
74363         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74365         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74366         gettimeofday vsyscall, just use time.
74368 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74371         <errno.h>.
74373 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74375         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74376         syscall on x86-64.
74377         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74378         syscall.
74379         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74380         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74381         syscall if possible.
74383 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74385         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74386         e_ident.  Don't pass to find_mapsXX.
74387         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74389 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74392         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74393         * sysdeps/x86_64/multiarch/strchr.S: Update.
74394         Check bit_slow_BSF bit.
74395         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74397         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74399 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74401         [BZ #13134]
74402         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74403         before glibc 2.15.
74404         (tryshell): Define.
74405         (__spawni): Change last parameter to be flag.  Test
74406         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74407         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74408         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74409         * posix/spawni.c: Likewise.
74410         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74411         * posix/spawnp.c: Likewise.  Change normal version to use
74412         SPAWN_XFLAGS_USE_PATH.
74413         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74414         SPAWN_XFLAGS_TRY_SHELL.
74416         [BZ #13150]
74417         * posix/glob.h: Remove gcc 1.x support.
74419         [BZ #13068]
74420         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74422 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74425         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74426         strrchr-sse2-bsf
74427         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74428         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74429         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74430         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74431         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74432         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74434 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74436         * sysdeps/x86_64/wcscmp.S: New file.
74438         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74439         wcscmp-c wcscmp-sse2
74440         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74441         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74443         * wcsmbs/wcscmp.c: Allow renaming.
74445 2011-09-05  David S. Miller  <davem@davemloft.net>
74447         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74448         stack slot, rather than the struct return pointer slot.
74449         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74450         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74452         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74454 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74456         * po/ja.po: Update from translation team.
74458         [BZ #13144]
74459         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74460         kernel in 64-bit binaries.
74462 2011-09-01  David S. Miller  <davem@davemloft.net>
74464         * elf/elf.h (HWCAP_SPARC_*): Move to..
74465         * sysdeps/sparc/sysdep.h: this new file and add new values.
74466         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74467         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74468         _DL_HWCAP_COUNT to 24.
74469         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74470         entries.
74471         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74472         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74473         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74475         instead of magic constants.
74476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74478 2011-08-31  David S. Miller  <davem@davemloft.net>
74480         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74481         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74482         Reimplement to do errno handling inline.
74483         (SYSCALL_ERROR_HANDLER): New macro.
74484         (__SYSCALL_STRING): Do not do errno handling in asm.
74485         (__CLONE_SYSCALL_STRING): Delete.
74486         (__INTERNAL_SYSCALL_STRING): Delete.
74487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74488         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74489         (PSEUDO): Reimplement to do errno handling inline.
74490         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74491         (SYSCALL_ERROR_HANDLER): New macro.
74492         (__SYSCALL_STRING): Do not do errno handling in asm.
74493         (__CLONE_SYSCALL_STRING): Delete.
74494         (__INTERNAL_SYSCALL_STRING): Delete.
74495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74496         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74497         i386.
74498         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74499         (inline_syscall*): Add 'err' argument.
74500         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74501         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74502         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74503         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74505         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74506         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74508 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74510         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74512 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74514         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74515         directive.
74517 2011-08-24  David S. Miller  <davem@davemloft.net>
74519         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74521 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74523         * elf/Makefile: Add rules to build and run unload8 test.
74524         * elf/unload8.c: New file.
74525         * elf/unload8mod1.c: New file.
74526         * elf/unload8mod1x.c: New file.
74527         * elf/unload8mod2.c: New file.
74528         * elf/unload8mod3.c: New file.
74530         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74531         it wasn't used.
74533 2011-08-23  David S. Miller  <davem@davemloft.net>
74535         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74536         subtract stack bias.
74537         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74538         %sp not %fp in calculations.
74539         (_JMPBUF_UNWINDS_ADJ): Likewise.
74541         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74542         (aio_suspend): Call it to force an exception region around the
74543         AIO_MISC_WAIT() invocation.
74545 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74547         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74548         backslash.
74550 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74552         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74553         protection macro.
74554         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74555         and <dl-machine.h>.
74556         (Elf64_FuncDesc): Remove.
74558 2011-08-22  David S. Miller  <davem@davemloft.net>
74560         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74561         sigaltstack check, add missing cfi directives.
74562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74563         missing cfi directives, and sigaltstack handling.
74565 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74567         [BZ #11724]
74568         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74569         object is seen twice.
74570         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74572         * elf/Makefile (distribute): Add tst-initorder2.c.
74573         (tests): Add tst-initorder2.
74574         (modules-names): Add tst-initorder2a tst-initorder2b
74575         tst-initorder2c tst-initorder2d.  Add rules to build them.
74576         ($(objpfx)tst-initorder2.out): New rule.
74577         * elf/tst-initorder2.c: New file.
74578         * elf/tst-initorder2.exp: New file.
74580 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74584         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74585         dependencies back to end of function.
74587         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74588         $(elfobjdir)/ld.so.
74590 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74592         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74593         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74595         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74596         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74597         of __vdso_gettimeofday.
74598         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74599         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74600         attribute_hidden.
74601         (_libc_vdso_platform_setup): Remove initialization of
74602         __vdso_gettimeofday and __vdso_time.
74604 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74606         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74607         and fgetc_unlocked.
74608         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74609         getc_unlocked.
74611         * elf/dl-open.c (add_to_global): Report additions to the global scope
74612         for LD_DEBUG=scopes.
74613         (dl_open_worker): Also print scope of newly loaded dependencies.
74614         (_dl_show_scope): Indicate if there is no scope.
74616         [BZ #13114]
74617         * stdio-common/Makefile (tests): Add bug24.
74618         * stdio-common/bug24.c: New file.
74620 2011-08-19  Andreas Jaeger  <aj@suse.de>
74622         [BZ #13114]
74623         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74624         non-existant file when using close-on-exec mode.
74626 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74629         the very first instruction.
74631         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74632         the CFI state in the end.
74633         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74634         inclusion of dl-trampoline.h.
74635         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74637 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74639         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74640         expectations for long double.
74642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74643         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74645 2011-08-14  David S. Miller  <davem@davemloft.net>
74647         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74648         artificual limit depends upon the system page size.
74650 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74652         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74653         * resolv/Makefile: Define CFLAGS-libresolv.
74655 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74657         * nss/makedb.c (compute_tables): Make variables used in nested
74658         function static.
74660 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74662         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74663         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74664         if buffer was too small.
74666         * elf/pldd.c (main): Attach to all threads in the process.
74667         Rewrite /proc handling to use *at functions.
74669 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74671         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74672         specifies first scope to show.
74673         (dl_open_worker): Update callers.  Move printing scope of new
74674         object to before the relocation.
74675         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74676         * sysdeps/generic/ldsodefs.h: Update declaration.
74678         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74679         string for the scope number.
74681 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74683         * nscd/servicescache.c (cache_addserv): Make sure written is always
74684         initialized.
74686 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74688         * sysdeps/i386/i486/bits/atomic.h
74689         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74690         statement expression, so as to suppress "set but not used" warning.
74691         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74693         * string/strncat.c (STRNCAT): Use prototype definition.
74695         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74696         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74697         -Iprograms here.
74698         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74699         (localedef-modules): Add localedef.
74700         (locale-modules): Add locale.
74702         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74703         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74704         to avoid a warning.
74706 2011-08-14  David S. Miller  <davem@davemloft.net>
74708         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74709         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74711 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74713         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74714         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74715         * elf/rtld.c (dl_main): Set l_name of vDSO.
74716         Call _dl_show_scope when DL_DEBUG_SCOPES.
74717         (process_dl_debug): Recognize scopes flag and also set it for all.
74718         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74719         Declare _dl_show_scope.
74721         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74722         (do_dlopen): Pass caller_dlopen to dl_open.
74723         (__libc_dlopen_mode): Initialize caller_dlopen.
74725         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74726         of libc.  Make tolower call locale-independent.  Optimize a bit by
74727         using isdigit instead of isalnum.
74728         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74730 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74732         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74733         was a dependency or dynamically loaded.
74735 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74737         * intl/l10nflist.c: Allow architecture-specific pop function.
74738         * sysdeps/x86_64/l10nflist.c: New file.
74740         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74741         classification.
74743 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74745         * include/dirent.h: Add libc_hidden_proto for scandirat and
74746         scandirat64.  Don't declare __scandirat64.
74747         * dirent/scandirat.c: Add libc_hidden_def.
74748         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74749         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74751 2011-08-10  David S. Miller  <davem@davemloft.net>
74753         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74754         enum.
74755         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74756         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74757         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74759 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74761         * Versions.def [libc]: Add GLIBC_2.15.
74762         * dirent/Makefile (routines): Add scandirat and scandirat64.
74763         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74764         GLIBC_2.15.
74765         * dirent/dirent.h: Declare scandirat and scandirat64.
74766         * dirent/scandirat.c: New file.
74767         * dirent/scandirat64.c: New file.
74768         * sysdeps/wordsize-64/scandirat.c: New file.
74769         * sysdeps/wordsize-64/scandirat64.c: New file.
74770         * dirent/opendir.c: Define opendirat.
74771         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74772         using scandirat.
74773         * dirent/scandir64.c: Adjust for scandir.c change.
74774         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74775         __scandirat64, and __scandir_cancel_handler.
74776         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74777         additional parameter and use openat instead of open (outside of ld.so).
74778         Add new __opendir as wrapper around __opendirat.
74779         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74780         here without requiring old scandirat implementation.
74782 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74784         * dirent/scandir.c (cancel_handler): Renamed to
74785         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74786         defined.  Adjust users.
74787         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74788         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74790 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74792         * string/test-string.h (IMPL): Use __STRING to expand name and then
74793         stringify it.
74795         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74796         of cleanups.
74798 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74800         * string/Makefile: Update.
74801         (strop-tests): Append strncat.
74802         * string/test-wcscmp.c: New file.
74803         New comprehensive test for wcscmp.
74804         * string/test-strcmp.c: Update.
74805         (WIDE): New define.
74807 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74809         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74810         line.
74812 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74815         encoding to ACE if AI_IDN.
74817 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74820         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74822 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74824         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74825         Fix overflow bug in strncat.
74826         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74828         * string/test-strncat.c: Update.
74829         Add new tests for checking overflow bugs.
74831 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74834         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74835         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74836         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74838         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74839         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74840         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74841         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74843         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74844         (USE_AS_STRCAT): Define.
74845         Add strcat and strncat support.
74846         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74848 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74850         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74851         __n bigger than INT_MAX+1.
74852         (__strncmp_g): Likewise.
74854 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74856         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74857         * libio/stido.h: Likewise.
74859         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74860         (AF_NFC): Define.
74861         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74862         (AF_NFC): Define.
74864         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74866         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74867         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74868         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74870         [BZ #13021]
74871         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74872         installed.
74874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74875         typo.
74876         (_dl_x86_64_save_sse): Likewise.
74878 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74881         OSXSAVE.
74882         (_dl_x86_64_save_sse): Likewise.
74884         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74886         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74888 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74891         change.
74892         (_dl_x86_64_save_sse): Use correct AVX check.
74894 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74896         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74897         bug in strncpy/strncat.
74898         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74900 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74902         * string/tester.c (test_strcat): Add tests for different alignments
74903         of source and destination.
74904         (test_strncat): Likewise.
74906 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74908         [BZ #12852]
74909         * posix/glob.c (glob): Check passed in values before using them in
74910         expressions to avoid some overflows.
74911         (glob_in_dir): Likewise.
74913         [BZ #13007]
74914         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74915         check for AVX enablement so that we don't crash with old kernels and
74916         new hardware.
74917         * elf/tst-audit4.c: Add same checks here.
74918         * elf/tst-audit6.c: Likewise.
74920         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74922 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74924         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74926 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74928         * po/cs.po: Update from translation team.
74929         * po/bg.po: Likewise.
74931 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74933         * misc/sys/cdefs.h: Add support for const attribute.
74934         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74935         to gnu_dev_{major,minor,makedev} functions.
74937 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74939         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74941 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74943         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74944         strlen results.
74946 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74949         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74950         register in order to avoid conflicts with the soft frame pointer
74951         being held in r11 when necessary.
74952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74953         (INTERNAL_VSYSCALL_NCS): Likewise.
74955 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74957         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74958         * elf/dl-fini.c (_dl_fini): Adjust caller.
74959         * elf/dl-close.c (_dl_close_worker): Likewise.
74960         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74962 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74964         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74965         "aux_cache->nlibs < 0".
74967         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74968         in the reload-count case.
74970 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74973         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74974         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74975         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74976         * sysdeps/x86_64/multiarch/strcat.S: New file.
74977         * sysdeps/x86_64/multiarch/strncat.S: New file.
74978         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74979         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74980         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74981         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74983         (USE_AS_STRCAT): Define.
74984         Add strcat and strncat support.
74985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74986         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74987         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74988         * string/strncat.c: Update.
74989         (USE_AS_STRNCAT): Define.
74990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74991         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74992         and i7.
74993         * sysdeps/x86_64/multiarch/init-arch.h
74994         (bit_Prefer_PMINUB_for_stringop): New.
74995         (index_Prefer_PMINUB_for_stringop): Likewise.
74996         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74997         bit_Prefer_PMINUB_for_stringop.
74999 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75001         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75002         buffer64.
75003         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75004         of casting of buffer.
75005         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75006         buffer32 and buffer64.
75007         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75008         writes instead of casting of buffer.
75009         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75010         buffer32.
75011         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75012         casting of buffer.
75014 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75016         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75018 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75020         * nscd/nscd.c (termination_handler): Don't do anything for a database
75021         if it has not yet been initialized.
75023 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75025         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75029         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75031 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75033         * po/nl.po: Update from translation team.
75034         * po/sv.po: Likewise.
75036 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75038         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75039         now disallowed by GCC.
75041         * configure.in (use-default-link): Default to yes if a test -shared
75042         link meets our qualifications.
75043         * configure: Regenerated.
75045         * config.make.in (output-format): New variable.
75046         * configure.in: Check for ld --print-output-format support.
75047         * configure: Regenerated.
75048         * Makerules ($(common-objpfx)format.lds)
75049         [$(output-format) != unknown]: Just use $(output-format),
75050         instead of the linker-script munging.
75052 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75054         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75055         of $(common-objpfx)shlib.lds.
75056         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75058         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75059         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75061         * configure.in (-z relro check): Adjust test code to add a large
75062         writable data section after it.
75063         * configure: Regenerated.
75065 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75067         * configure.in (-z relro check): Fix test code to make the variable
75068         truly const.
75069         * configure: Regenerated.
75071 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75073         * nscd/nscd.h (struct traced_file): Define.
75074         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75075         elements.  Add traced_files.
75076         (inotify_fd): Declare.
75077         (register_traced_file): Declare.
75078         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75079         (inotify_fd): Export.
75080         (resolv_conf_descr): Remove.
75081         (nscd_init): Move inotify descriptor creation to main.
75082         Don't register files for notification here.
75083         (register_traced_file): New function.
75084         (invalidate_cache): Don't use reset_res to determine whether to call
75085         res_init, go through the list of registered files.
75086         (main_loop_poll): The inotify descriptors are now stored in the
75087         structures for the traced files.
75088         (main_loop_epoll): Likewise.
75089         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75090         to __nss_disable_nscd.
75091         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75092         for a database anymore.  Check the records for all the registered
75093         files instead.
75094         * nss/Makefile (libnss_files-routines): Add files-init.
75095         (libnss_db-routines): Add db-init.
75096         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75097         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75098         * nss/nss_db/db-init.c: New file.
75099         * nss/nss_files/files-init.c: New file.
75100         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75101         __nss_lookup_function.
75102         (__nss_lookup_function): Call nss_load_library.
75103         (nss_load_all_libraries): New function.
75104         (__nss_disable_nscd): Take parameter with callback function for files
75105         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75106         used for the cached services.
75107         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75108         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75109         options for features to all the files in nscd.
75111         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75113 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75115         * csu/elf-init.c (__libc_csu_init): Comment typo.
75117 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75119         * po/pl.po: Update from translation team.
75120         * po/ja.po: Likewise.
75121         * po/ru.po: Likewise.
75122         * po/ko.po: Likewise.
75123         * po/fr.po: Likewise.
75125 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75127         * configure.in (.ctors/.dtors header and trailer check):
75128         Use an empirical test on a built program.
75129         * configure: Regenerated.
75131         * configure.in (-z relro check): Use an empirical test on a built DSO.
75132         Detect, but do not require, on ia64.
75133         * configure: Regenerated.
75135         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75136         Update tests that use readelf to use $READELF instead.
75137         * configure: Regenerated.
75139 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75141         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75142         if the result is not used.
75144 2011-07-05  Andreas Jaeger  <aj@suse.de>
75146         [BZ#9696]
75147         * stdlib/tst-strtod.c: Add testcase.
75149 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75151         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75152         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75153         The latter has a higher limit.  Take additional parameter to pass to
75154         the new function.
75155         (__pathconf): Pass file to __statfs_link_max.
75156         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75157         __statfs_link_max.
75158         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75159         __statfs_link_max.
75161         [BZ #12868]
75162         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75164         Handle Lustre.
75165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75166         (__statfs_filesize_max): Likewise.
75167         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75169 2011-07-05  Andreas Jaeger  <aj@suse.de>
75171         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75173 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75175         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75176         `status' variable.
75177         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75178         Likewise.
75180 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75182         * Makefile (strop-tests): Add strncat.
75183         * string/test-strncat.c: New file.
75185 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75187         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75189 2011-06-21  Andreas Jaeger  <aj@suse.de>
75191         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75192         Copy rule from iconvdata/Makefile.
75194 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75196         [BZ #12922]
75197         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75198         but no long options are defined, just return 'W'.
75200 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75202         [BZ #9696]
75203         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75205 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75207         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75208         netgroups to read.
75209         (innetgr): Likewise.
75211 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75213         * config.make.in (install_root): Default to $(DESTDIR).
75215 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75217         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75219 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75221         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75223         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75224         containing directory rather than embedding absolute directory names.
75226         * scripts/check-local-headers.sh: Rewritten using awk.
75227         Match by word, not by line.  Print error messages for matches.
75228         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75230         * Makerules [shlib-lds-flags empty]:
75231         ($(common-objpfx)libc_pic.opts): New target.
75232         ($(common-objpfx)libc_pic.os.clean): New target.
75233         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75235         * config.make.in (OBJCOPY): New variable.
75236         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75237         * configure: Regenerated.
75239         * config.make.in (use-default-link): New variable.
75240         * configure.in (use_default_link): Grok --with-default-link to set it.
75241         * configure: Regenerated.
75242         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75243         (shlib-lds, shlib-lds-flags): Define to empty.
75245         * Makerules (shlib-lds): New variable.
75246         (shlib-lds-flags): New variable.
75247         (build-shlib, build-moduile, build-module-asneeded): Use it.
75248         ($(common-objpfx)libc.so): Use $(shlib-lds).
75249         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75250         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75252         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75253         DT_FLAGS/DT_FLAGS_1 with zero flags.
75255         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75256         linker script munging.
75258 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75260         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75261         as 128-bit value.
75262         * crypt/sha512.c (sha512_process_block): Perform total addition using
75263         128-bit if possible.
75264         (__sha512_finish_ctx): Likewise.
75265         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75266         as 64-bit value.
75267         * crypt/sha256.c (SWAP64): Define.
75268         (sha256_process_block): Perform total addition using 64-bit if
75269         possible.
75270         (__sha256_finish_ctx): Likewise.
75272 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75274         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75276         * nscd/hstcache.c (cache_addhst): Likewise.
75277         * nscd/grpcache.c (cache_addgr): Likewise.
75278         * nscd/aicache.c (addhstaiX): Likewise.
75279         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75281 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75283         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75285         * nscd/hstcache.c (cache_addhst): Likewise.
75286         * nscd/grpcache.c (cache_addgr): Likewise.
75287         * nscd/aicache.c (addhstaiX): Likewise.
75289 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75291         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75292         domain only when needed.
75294 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75297         is always restored.
75299 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75301         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75302         are re-adding the entry.
75303         * nscd/servicescache.c (cache_addserv): Likewise.
75305 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75307         * sysdeps/generic/dl-irel.h: fix protection against multiple
75308         inclusions.
75309         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75311 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75313         [BZ #12935]
75314         * malloc/memusage.sh: Fix quoting in message.
75315         * debug/xtrace.sh: Likewise.
75317         * configure.in: Remove support for --experimental-malloc option, make
75318         it the default.
75319         * config.make.in: Likewise.
75320         * malloc/Makefile: Likewise.
75322 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75324         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75325         two-byte characters.
75327 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75329         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75330         AC_CACHE_CHECK invocation.
75331         * configure: Regenerated.
75333         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75335 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75337         [BZ #12350]
75338         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75339         bit from old_res_options.
75341         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75343         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75344         value type for setfct.
75346 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75349         __gettimeofday instead of gettimeofday.
75351 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75353         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75355 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75357         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75359         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75360         info.
75362 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75365         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75366         strcpy-sse2-unaligned strncpy-sse2-unaligned
75367         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75368         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75369         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75370         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75371         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75372         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75373         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75374         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75375         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75376         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75377         (STRCPY): Support SSE2 and SSSE3 versions.
75379 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75381         [BZ #12874]
75382         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75383         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75384         kernels which artificially limit size of requests.
75386 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75388         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75389         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75390         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75391         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75392         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75393         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75394         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75395         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75398         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75399         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75400         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75401         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75402         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75404         Enable unaligned load optimization for Intel Core i3, i5 and i7
75405         processors.
75406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75407         Define.
75408         (index_Fast_Unaligned_Load): Define.
75409         (HAS_FAST_UNALIGNED_LOAD): Define.
75411 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75413         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75415 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75417         [BZ #12907]
75418         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75419         until it is clear that the information is realy needed.
75420         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75422 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75426 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75429         /sys/devices/system/cpu/online if it is usable.
75431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75432         reading the information from the /proc filesystem to once a second.
75434 2011-06-21  Andreas Jaeger  <aj@suse.de>
75436         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75437         NULL after inclusion of kernel headers.
75439 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75441         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75442         calls to internal_setent.
75444         [BZ #12885]
75445         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75446         addresses using gethostbyname4_r ignore IPv4 addresses.
75448         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75449         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75451         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75453 2011-06-20  David S. Miller  <davem@davemloft.net>
75455         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75456         inclusions.
75457         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75459         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75460         (elf_irel): Use it.
75461         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75462         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75463         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75464         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75465         * sysdeps/x86_64/dl-irel.h: Likewise.
75467         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75468         * elf/dl-sym.c: Likewise.
75470 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75472         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75473         need to dereference resplen2.
75475 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75477         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75479 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75481         * Makeconfig: Define vardbdir and inst_vardbdir.
75482         * nss/Makefile: Add rules to install db-Makefile.
75484         * nss/nss_db/db-XXX.c: Cleanup.
75486         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75487         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75488         GLIBC_PRIVATE.
75489         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75490         * nss/makedb.c: Implement -g option to specify that value strings
75491         are generated and should not be added to table iterated over for
75492         get*ent calls.
75493         * nss/nss_db/db-initgroups.c: New file.
75495         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75496         interface.
75498         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75499         (internal_getgrouplist): Adjust to name change.
75500         Update use_initgroups_entry if this is not the first call.
75501         * nss/databases.def: Add initgroups entry.
75503         * nss/makedb.c (compute_tables): Check result of multiple hash table
75504         sizes to minimize maximum chain length.
75506 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75508         * Versions.def: Add entry for libnss_db.
75509         * shlib-versions: Likewise.
75510         * nss/Makefile: Add rules to build libnss_db.
75511         * nss/Versions: Add libnss_db information.  Organize libnss_files
75512         entries better.
75513         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75514         makedb progra.  Some minor improvements to generate smaller files.
75515         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75516         here from...
75517         * nss/makedb.c: ...here.
75518         Improve database format to be smaller and require less memory at
75519         runtime.
75520         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75521         db anymore.
75522         * nss/nss_db/db-netgrp.c: Likewise.
75523         * nss/nss_db/db-open.c: Likewise.
75524         * nss/nss_files/flies-XXX.x: Adjust comments.
75525         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75526         * nss/nss_files/files-grp.c: Likewise.
75527         * nss/nss_files/files-hosts.c: Likewise.
75528         * nss/nss_files/files-network.c: Likewise.
75529         * nss/nss_files/files-proto.c: Likewise.
75530         * nss/nss_files/files-pwd.c: Likewise.
75531         * nss/nss_files/files-rpc.c: Likewise.
75532         * nss/nss_files/files-service.c: Likewise.
75533         * nss/nss_files/files-sgrp.c: Likewise.
75534         * nss/nss_files/files-spwd.c: Likewise.
75535         * nss/nss_db/db-alias.c: Removed.
75536         * nss/nss_db/dummy-db.h: Removed.
75538 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75540         * nss/makedb.c: Rewritten to not use database library.
75541         * nss/Makefile: Update to build new makedb program.
75543 2011-06-14  Andreas Jaeger  <aj@suse.de>
75545         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75546         memset declaration.
75548 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75551         tmpbuf.
75553 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75555         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75556         * elf/Makefile ($(objpfx)ld.so): Likewise.
75558         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75559         Don't list ld.so twice in dependencies.
75561         * posix/bug-regex31.c: Include <stdlib.h>.
75563         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75565         * nis/nss_compat/compat-spwd.c
75566         (getspent_next_nss_netgr): Remove unused variable.
75567         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75569         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75570         nonmembers" output to use the right array.
75572         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75574         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75576         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75577         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75578         * catgets/gencat.c (read_input_file): Likewise.
75579         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75581         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75582         variable definition inside #if's controlling its use.
75584         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75586         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75588         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75590         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75591         unreachable code.
75593         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75595         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75596         * configure: Regenerated.
75598         * Makerules: Revert last change.
75599         * elf/Makefile: Likewise.
75601 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75603         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75604         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75605         (reloc-link): Likewise.
75607 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75609         * elf/Makefile: Add rules to build pldd.
75610         * elf/pldd.c: New file.
75611         * elf/pldd-xx.c: New file.
75613 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75615         * version.h: Update for 2.15 development version.
75617 2011-06-07  David S. Miller  <davem@davemloft.net>
75619         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75620         ifuncs.
75621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75622         elf_machine_lazy_rel): Likewise.
75623         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75624         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75625         elf_machine_lazy_rel): Likewise.
75626         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75627         dl_hwcap via passed in argument.
75628         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75629         Likewise.
75631 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75633         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75635 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75637         [BZ #12849]
75638         * manual/fdl-1.1.texi: New file, verbatim from:
75639         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75640         * manual/lgpl-2.1.texi: New file, verbatim from:
75641         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75642         * manual/Makefile (licenses): New variable, list those new file names.
75643         (texis): Use it.
75644         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75646         * manual/fdl.texi: File removed.
75647         * manual/lesser.texi: File removed.
75648         * manual/libc.texinfo (Copying, Documentation License):
75649         Use new @include file names, put @appendix directive before @include.
75651 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75653         [BZ #12841]
75654         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75655         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75656         (mq_open): Add __NTH.
75658 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75661         Assume Intel Core i3/i5/i7 processor if AVX is available.
75663 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75666         typo.
75668 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75670         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75671         memory.  Use alloca_account.  Fix memory leak when retrying.
75673 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75675         * version.h (RELEASE): Bump for 2.14 release.
75676         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75678         * config.make.in (RANLIB): Remove entry.
75680 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75682         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75683         (libc.pot): Work around missing support for .ksh extension in xgettext.
75685         [BZ #12684]
75686         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75687         if both request failed.
75688         (send_dg): In case of server errors clear resplen or *resplen2.
75690         [BZ #12454]
75691         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75692         when there are multiple maps.
75693         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75694         (_dl_fini): Remove test here.
75696         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75698 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75700         [BZ #12350]
75701         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75702         bit from old_res_options.
75703         (gaih_inet): Likewise.
75705         [BZ #11099]
75706         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75707         as signed.
75709         * resolv/res_init.c (res_setoptions): Make the code more compact.
75711         [BZ #11558]
75712         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75713         set RES_USEVC.
75715         [BZ #11634]
75716         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75718         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75720         [BZ #11781]
75721         * malloc/malloc.h: Declare malloc hook variables as volatile.
75723         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75724         in last patch.
75726         [BZ #11799]
75727         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75728         raise in the comment.
75729         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75731         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75733 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75735         [BZ #12811]
75736         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75737         grow the buffers more if it already has to be sufficient.
75738         (build_wcs_upper_buffer): Likewise.
75739         * posix/regexec.c (check_matching): Likewise.
75740         (clean_state_log_if_needed): Likewise.
75741         (extend_buffers): Don't enlarge buffers beyond size of the input
75742         buffer.
75743         Patches mostly by Emil Wojak <emil@wojak.eu>.
75744         * posix/bug-regex32.c: New file.
75745         * posix/Makefile (tests): Add bug-regex32.
75747         * locale/findlocale.c (_nl_find_locale): Return right away if
75748         _nl_explode_name failed.
75749         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75751         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75753         * debug/xtrace.sh: Unify messages.
75754         * malloc/memusage.sh: Likewise.
75756         [BZ #12813]
75757         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75758         time symbol from vDSO.  Substitute with vsyscall if not available.
75759         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75760         __vdso_time.
75762         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75763         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75764         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75765         Add sendmmsg and internal_sendmmsg.
75766         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75767         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75768         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75770         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75771         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75772         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75774 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75776         [BZ #12813]
75777         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75778         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75779         available.
75780         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75781         __vdso_getcpu.
75783         [BZ #12814]
75784         * iconvdata/Makefile (tests): Add bug-iconv9.
75785         * iconvdata/bug-iconv9.c: New file.
75787 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75789         [BZ #12814]
75790         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75792 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75795         (struct user_regs_struct): Change intcs field back to cs.
75797 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75799         * po/ja.po: Update from translation team.
75801 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75803         [BZ #12795]
75804         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75805         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75807 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75809         * stdlib/longlong.h: Update from GCC.
75811 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75813         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75814         parameter name.
75815         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75816         Add parameter name.
75817         (__sysconf): Pass it down.
75819 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75821         [BZ #12671]
75822         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75823         some situations.
75824         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75825         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75826         add in in __libc_use_alloca calls.  Adjust callers.
75827         (glob): Use malloc in some situations.
75829         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75830         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75831         pltexit.
75833 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75835         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75836         and CLOCK_BOOTTIME_ALARM.
75838         [BZ #12782]
75839         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75840         is returned.
75842         * string/_strerror.c (__strerror_r): Print negative errors as signed
75843         numbers.
75845         [BZ #12777]
75846         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75847         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75848         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75850         * configure.in: Fix typo in redirection and correct removal of test
75851         files in two cases.
75853         [BZ #12788]
75854         * locale/setlocale.c (new_composite_name): Fix test to check for
75855         identical name of all categories.
75857         [BZ #12792]
75858         * libio/filedoalloc.c (local_isatty): New function.
75859         (_IO_file_doallocate): Use local_isatty.
75860         * stdio-common/perror.c (perror): In case a new stream is used
75861         forward the stream error.
75862         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75863         error flag.
75865 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75867         [BZ #11884]
75868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75869         alloca.
75870         * include/alloca.h (extend_alloca_account): Define.
75872         [BZ #11857]
75873         * posix/regex.h: Fix comments with documentation of user-accessible
75874         fields after compilation and describe correct free'ing of pattern
75875         after re_compile_pattern.
75876         Patch by Reuben Thomas <rrt@sc3d.org>.
75878 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75880         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75881         and -mno-altivec to prevent the compiler from using Altivec and/or
75882         VSX instructions when the corresponding registers are not available.
75884 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75886         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75888 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75890         * libio/freopen.c (freopen): Use __dup2, not dup2.
75891         * libio/freopen64.c (freopen64): Likewise.
75893 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75895         [BZ #12775]
75896         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75897         * math/Makefile (tests): Add test-powl.
75898         (CFLAGS-test-powl.c): Define.
75899         * math/test-powl.c: New file.
75901 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75903         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75905 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75907         [BZ #11837]
75908         * iconvdata/gb18030.c: Update to GB18020-2005.
75910 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75912         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75913         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75914         Patch by Aharon Robbins <arnold@skeeve.com>.
75916         [BZ #11892]
75917         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75918         on the stack.
75920         [BZ #11895]
75921         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75922         through underflows.
75924         [BZ #12766]
75925         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75926         point to strings before performing equality test for error_one_per_line
75927         mode.
75929         [BZ #11697]
75930         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75932         [BZ #11820]
75933         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75934         (struct user_fpregs_struct): Avoid __uint*_t types.
75936         [BZ #6420]
75937         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75938         symbol info.  Use it instead of calling _dl_addr locally.
75939         (lock_and_info): New function.
75940         (tr_freehook): Call lock_and_info and pass symbol info as additional
75941         parameter to tr_where.
75942         (tr_mallochook): Likewise.
75943         (tr_reallochook): Likewise.
75944         (tr_memalignhook): Likewise.
75946         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75947         used and couldn't be at all thread-safe.
75949 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75951         * libio/freopen.c (freopen): Don't close old file descriptor
75952         before the new one is opened.  Instead dup the new file descriptor
75953         to the old one after the new stream is created.
75954         * libio/freopen64.c (freopen64): Likewise.
75955         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75956         * libio/fileops.c (_IO_new_file_close_it): Handle new
75957         _IO_FLAGS2_NOCLOSE flag.
75958         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75959         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75960         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75961         _IO_FLAGS2_NOCLOSE flag.
75962         * include/unistd.h: Add hidden_proto for dup3.
75963         Define __have_dup3.
75964         * io/dup3.c: Define hidden symbol.
75965         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75967         [BZ #7101]
75968         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75969         when an incomplete long option is used.
75970         * posix/tst-getopt_long1.c: New file.
75971         * posix/Makefile (tests): Add tst-getopt_long1.
75973         [BZ #10138]
75974         * scripts/config.guess: Update from autoconf-2.68.
75975         * scripts/config.sub: Likewise.
75977         [BZ #10157]
75978         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75979         tests into ...
75980         (has_cpuclock): ...this.  New function.
75981         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75982         macro here based on has_cpuclock code.
75984         [BZ #10149]
75985         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75986         First byte (not low byte) is now always NUL.
75987         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75990         Use non-cancelable interfaces.
75992         [BZ #9809]
75993         * locale/iso-639.def: Add entry for Sorani.
75995         [BZ #11901]
75996         * include/stdlib.h: Move include protection to the right place.
75997         Define abort_msg_s.  Declare __abort_msg with it.
75998         * stdlib/abort.c (__abort_msg): Adjust type.
75999         * assert/assert.c (__assert_fail_base): New function.  Majority
76000         of code from __assert_fail.  Allocate memory for __abort_msg with
76001         mmap.
76002         (__assert_fail): Now call __assert_fail_base.
76003         * assert/assert-perr.c: Remove bulk of implementation.  Use
76004         __assert_fail_base.
76005         * include/assert.hL Declare __assert_fail_base.
76006         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76007         mmap.
76008         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76010 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76012         [BZ #11952]
76013         [BZ #12453]
76014         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76015         until all modules are registered in the DTV.
76016         * elf/Makefile: Add rules to build and run tst-tls19.
76017         * elf/tst-tls19.c: New file.
76018         * elf/tst-tls19mod1.c: New file.
76019         * elf/tst-tls19mod2.c: New file.
76020         * elf/tst-tls19mod3.c: New file.
76021         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76023         [BZ #12083]
76024         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76025         correctly.
76027         [BZ #12601]
76028         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76029         two-byte sequence errors.
76030         * iconvdata/Makefile (tests): Add bug-iconv8.
76031         * iconvdata/bug-iconv8.c: New file.
76033         [BZ #12626]
76034         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76035         buf2 definition.
76037         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76039         [BZ #12432]
76040         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76041         (dummy_getcfa): New function.
76042         (init): Get _Unwind_GetCFA address, use dummy if not found.
76043         (backtrace_helper): In recursion check, also check whether CFA changes.
76044         (__backtrace): Completely initialize arg.
76046         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76047         storing incomplete byte sequence in state object.  Avoid testing for
76048         guaranteed too small input if we know there is enough data available.
76050 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76052         * Makeconfig (+link-pie): Indent.
76053         * Rules (binaries-pie): Define if $(have-fpie) and
76054         $(build-shared).
76055         (binaries-shared): Also filter out $(binaries-pie).
76056         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76057         * nscd/Makefile (others-pie): Add nscd.
76058         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76059         ($(objpfx)nscd): Remove command override.
76060         * login/Makefile (others-pie): Add pt_chown.
76061         ($(objpfx)pt_chown): Remove command override.
76062         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76063         remove command overrides.
76065 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76067         * libio/tst_putwc.c: Fix error messages.
76069         [BZ #12724]
76070         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76071         currently writing and seek to current position when not.
76072         * libio/Makefile (tests): Add bug-fclose1.
76073         * libio/bug-fclose1.c: New file.
76075 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76077         [BZ #12511]
76078         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76079         don't set DF_1_NODELETE here.
76080         (do_lookup_x): When entering new entry test for copy relocation
76081         and if necessary set DF_1_NODELETE flag.
76082         * elf/tst-unique4.cc: New file.
76083         * elf/tst-unique4.h: New file.
76084         * elf/tst-unique4lib.cc: New file.
76085         * elf/Makefile: Add rules to build and run tst-unique4.
76086         Patch by Piotr Bury <pbury@goahead.com>.
76088 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76090         [BZ #12052]
76091         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76093         [BZ #12625]
76094         * misc/mntent_r.c (addmntent): Flush the stream after the output
76096         [BZ #12393]
76097         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76098         (is_trusted_path_normalize): Skip initial colon.  Append slash
76099         to empty buffer.  Duplicate is_trusted_path code but allow
76100         constructed patch to be prefix.
76101         (is_dst): Allow $ORIGIN followed by /.
76102         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76103         Correct testing of result of is_trusted_path_normalize
76104         (decompose_rpath): Fix warning.
76106 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76108         [BZ #11257]
76109         * grp/initgroups.c (internal_getgrouplist): When we found the service
76110         list through the initgroups entry in nsswitch.conf do not always
76111         continue on a successful lookup.  Don't always use the
76112         __nss_group_database value if it is set.
76113         * nss/nsswitch.conf (initgroups): Change action for successful db
76114         lookup to continue for compatibility.
76116 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76118         [BZ #11532]
76119         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76120         and CP774 modules.
76121         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76122         and CP774 modules.
76123         * iconvdata/tst-tables.sh: Likewise.
76124         * iconvdata/cp770.c: New file.
76125         * iconvdata/cp771.c: New file.
76126         * iconvdata/cp772.c: New file.
76127         * iconvdata/cp773.c: New file.
76128         * iconvdata/cp774.c: New file.
76129         * iconvdata/testdata/CP770: New file.
76130         * iconvdata/testdata/CP770..UTF8: New file.
76131         * iconvdata/testdata/CP771: New file.
76132         * iconvdata/testdata/CP771..UTF8: New file.
76133         * iconvdata/testdata/CP772: New file.
76134         * iconvdata/testdata/CP772..UTF8: New file.
76135         * iconvdata/testdata/CP773: New file.
76136         * iconvdata/testdata/CP773..UTF8: New file.
76137         * iconvdata/testdata/CP774: New file.
76138         * iconvdata/testdata/CP774..UTF8: New file.
76140         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76141         END CHARMAP line.
76142         * iconvdata/gen-8bit-gap.sh: Likewise.
76143         * iconvdata/gen-8bit.sh: Likewise.
76145         * locale/iso-639.def: Add ary entry.
76147         [BZ #11258]
76148         * locale/C-translit.h.in: Add U20A1 transliteration.
76150         [BZ #12178]
76151         * locale/iso-639.def: Add wae entry.
76152         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76154         [BZ #12545]
76155         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76156         for n.
76158         [BZ #12711]
76159         * locale/C-translit.h.in: Add entry for U20B9.
76160         Patch by pravin.d.s@gmail.com.
76162 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76164         [BZ #12713]
76165         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76166         ENAMETOOLONG use generic getcwd.
76167         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76168         in rtld.  Use *stat64.
76169         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76170         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76171         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76172         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76173         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76174         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76175         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76176         __fstatat64 macros.
76177         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76178         * dirent/rewinddir.c: Add libc_hidden_def.
76179         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76180         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76182         * include/dirent.h (__alloc_dir): Add flags parameter.
76183         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76184         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76185         __alloc_dir.
76186         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76187         from fdopendir if O_CLOEXEC is already set.
76189 2011-03-15  Alan Modra  <amodra@gmail.com>
76191         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76192         l_tls_firstbyte_offset non-zero.  Save padding offset in
76193         l_tls_firstbyte_offset for later use.
76194         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76195         freeing static tls block.
76197 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76199         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76200         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76201         being defined by the kernel headers.
76203 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76205         [BZ #12734]
76206         * resolv/resolv.h: Define RES_NOTLDQUERY.
76207         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76208         no-tld-query and set RES_NOTLDQUERY.
76209         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76210         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76211         modern BIND to search name as TLD unless forbidden.
76213 2011-05-07  Petr Baudis  <pasky@suse.cz>
76214             Ulrich Drepper  <drepper@gmail.com>
76216         [BZ #12393]
76217         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76218         (is_trusted_path): ...to here.
76219         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76220         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76221         using is_trusted_path_normalize() in setuid scripts.
76223 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76225         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76226         __BEGIN/__END_DECLS.
76228 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76231         NSS_STATUS_NOTFOUND if no record was found.
76233 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76235         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76236         (headers-not-in-tirpc): Remove rpc/netdb.h
76237         * resolv/netdb.h: Revert last change.
76239 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76241         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76242         circular dependency between libgcc.a and libc.a.
76244 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76246         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76247         * nis/Makefile: Don't install rpcsvc/*.
76248         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76249         instead of <rpc/types.h>.
76250         (MAXHOSTNAMELEN): Define.
76252 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76254         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76256 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76258         [BZ #12714]
76259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76260         gethostbyname4_r when IPv6 results are possible.
76262 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76264         [BZ #12723]
76265         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76266         _PC_PIPE_BUF handling.
76268 2011-04-30  Bruno Haible  <bruno@clisp.org>
76270         [BZ #12717]
76271         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76272         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76273         to 'int'.
76274         * inet/getnameinfo.c (getnameinfo): Likewise.
76276 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76278         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76279         to groups setting in database lookup.
76280         * nss/nsswitch.conf: Add initgroups entry.
76282 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76284         [BZ #12685]
76285         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76286         mode string.
76287         Patch by Eric Blake <eblake@redhat.com>.
76289 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76291         * sunrpc/Makefile (need-export-routines): Add svc_run.
76292         (routines): Remove svc_run.
76293         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76294         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76295         * sunrpc/svc_run.c (svc_run): Likewise.
76296         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76298 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76301         problem in reallocation in last patch.
76303 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76305         * sunrpc/Makefile: Move inclusion of Rules.
76307 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76309         * nss/nss_files/files-initgroups.c: New file.
76310         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76311         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76312         _nss_files_initgroups_dyn.
76314 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76316         * elf/elf.h (R_ARM_IRELATIVE): Define.
76318 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76320         * po/ru.po: Update from translation team.
76322 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76324         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76325         dependencies.
76327 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76329         [BZ #12653]
76330         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76331         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76336 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76338         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76339         differing bytes.
76340         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76342         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76344 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76346         [BZ #12420]
76347         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76348         storing it.
76349         * stdlib/bug-getcontext.c: New file.
76350         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76352 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76354         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76355         instructions into .machine "z9-109".
76356         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76357         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76359 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76361         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76362         between environment variables and auxiliary vector.
76364 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76366         * Makefile: Add rules to build linkobj/libc.so.
76367         * include/libc-symbols.h: Define libc_hidden_nolink.
76368         * include/rpc/auth.h: Mark functions which are to be hidden.
76369         * include/rpc/auth_des.h: Likewise.
76370         * include/rpc/auth_unix.h: Likewise.
76371         * include/rpc/clnt.h: Likewise.
76372         * include/rpc/des_crypt.h: Likewise.
76373         * include/rpc/key_prot.h: Likewise.
76374         * include/rpc/pmap_clnt.h: Likewise.
76375         * include/rpc/pmap_prot.h: Likewise.
76376         * include/rpc/pmap_rmt.h: Likewise.
76377         * include/rpc/rpc_msg.h: Likewise.
76378         * include/rpc/svc.h: Likewise.
76379         * include/rpc/svc_auth.h: Likewise.
76380         * include/rpc/xdr.h: Likewise.
76381         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76382         * nss/Makefile: Likewise.
76383         * sunrpc/Makefile: Don't install headers.  Build library with normal
76384         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76385         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76386         for the compat linking library.  Remove use of INTDEF/INTUSE.
76387         * sunrpc/auth_none.c: Likewise.
76388         * sunrpc/auth_unix.c: Likewise.
76389         * sunrpc/authdes_prot.c: Likewise.
76390         * sunrpc/authuxprot.c: Likewise.
76391         * sunrpc/clnt_gen.c: Likewise.
76392         * sunrpc/clnt_perr.c: Likewise.
76393         * sunrpc/clnt_raw.c: Likewise.
76394         * sunrpc/clnt_simp.c: Likewise.
76395         * sunrpc/clnt_tcp.c: Likewise.
76396         * sunrpc/clnt_udp.c: Likewise.
76397         * sunrpc/clnt_unix.c: Likewise.
76398         * sunrpc/des_crypt.c: Likewise.
76399         * sunrpc/des_soft.c: Likewise.
76400         * sunrpc/get_myaddr.c: Likewise.
76401         * sunrpc/key_call.c: Likewise.
76402         * sunrpc/key_prot.c: Likewise.
76403         * sunrpc/netname.c: Likewise.
76404         * sunrpc/pm_getmaps.c: Likewise.
76405         * sunrpc/pm_getport.c: Likewise.
76406         * sunrpc/pmap_clnt.c: Likewise.
76407         * sunrpc/pmap_prot.c: Likewise.
76408         * sunrpc/pmap_prot2.c: Likewise.
76409         * sunrpc/pmap_rmt.c: Likewise.
76410         * sunrpc/publickey.c: Likewise.
76411         * sunrpc/rpc_cmsg.c: Likewise.
76412         * sunrpc/rpc_common.c: Likewise.
76413         * sunrpc/rpc_dtable.c: Likewise.
76414         * sunrpc/rpc_prot.c: Likewise.
76415         * sunrpc/rpc_thread.c: Likewise.
76416         * sunrpc/rtime.c: Likewise.
76417         * sunrpc/svc.c: Likewise.
76418         * sunrpc/svc_auth.c: Likewise.
76419         * sunrpc/svc_authux.c: Likewise.
76420         * sunrpc/svc_raw.c: Likewise.
76421         * sunrpc/svc_run.c: Likewise.
76422         * sunrpc/svc_simple.c: Likewise.
76423         * sunrpc/svc_tcp.c: Likewise.
76424         * sunrpc/svc_udp.c: Likewise.
76425         * sunrpc/svc_unix.c: Likewise.
76426         * sunrpc/svcauth_des.c: Likewise.
76427         * sunrpc/xcrypt.c: Likewise.
76428         * sunrpc/xdr.c: Likewise.
76429         * sunrpc/xdr_array.c: Likewise.
76430         * sunrpc/xdr_float.c: Likewise.
76431         * sunrpc/xdr_intXX_t.c: Likewise.
76432         * sunrpc/xdr_mem.c: Likewise.
76433         * sunrpc/xdr_rec.c: Likewise.
76434         * sunrpc/xdr_ref.c: Likewise.
76435         * sunrpc/xdr_sizeof.c: Likewise.
76436         * sunrpc/xdr_stdio.c: Likewise.
76438 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76440         [BZ #12650]
76441         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76442         * sysdeps/ia64/dl-tls.h: Likewise.
76443         * sysdeps/powerpc/dl-tls.h: Likewise.
76444         * sysdeps/s390/dl-tls.h: Likewise.
76445         * sysdeps/sh/dl-tls.h: Likewise.
76446         * sysdeps/sparc/dl-tls.h: Likewise.
76447         * sysdeps/x86_64/dl-tls.h: Likewise.
76448         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76450 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76452         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76453         rpath element also skip the following colon.
76454         (expand_dynamic_string_token): Add is_path parameter and pass
76455         down to DL_DST_REQUIRED and _dl_dst_substitute.
76456         (decompose_rpath): Call expand_dynamic_string_token with
76457         non-zero is_path.  Ignore empty rpaths.
76458         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76459         with zero is_path.
76461 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76464         Make cancelable.
76466 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76468         [BZ #12655]
76469         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76470         Patch by Filipe David Manana <fdmanana@apache.org>.
76472 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76474         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76475         Maintain aligned stack.
76476         (CHECK_RSP): Remove unused macro.
76478 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76480         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76481         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76483 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76485         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76487         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76489 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76491         [BZ #12518]
76492         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76493         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76494         * sysdeps/x86_64/memmove.c: New file.
76495         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76496         (memcpy): Renamed to ...
76497         (__new_memcpy): This.
76498         (memcpy): Provide GLIBC_2_14 memcpy.
76499         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76500         (memcpy): Provide GLIBC_2_2_5 memcpy.
76502 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76504         [BZ #12631]
76505         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76507 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76509         * misc/syncfs.c: New file.
76510         * misc/Makefile (routines): Add syncfs.
76511         * posix/unistd.h: Declare syncfs.
76512         * sysdeps/unix/syscalls.list: Add syncfs.
76514 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76516         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76517         open_by_handle_at.
76518         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76519         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76520         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76521         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76522         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76523         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76524         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76526 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76528         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76529         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76530         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76531         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76532         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76536         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76537         sync_file_range.c with -fexceptions.
76538         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76539         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76540         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76541         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76542         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76543         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76545         sync_file_range as cancellation point
76546         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76547         now a wrapper around __call_sync_file_range with cancellation handling.
76548         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76549         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76550         function name to __call_sync_file_range.
76551         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76552         Add call_sync_file_range.
76554 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76557         bits/timex.h.
76559 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76561         * iconv/iconv.h: Fix typo in comment.
76562         * io/fcntl.h: Likewise.
76563         * libio/stdio.h: Likewise.
76564         * posix/spawn.h: Likewise.
76565         * posix/unistd.h: Likewise.
76566         * stdlib/stdlib.h: Likewise.
76567         * time/time.h: Likewise.
76568         * wcsmbs/wchar.h: Likewise.
76570         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76571         open_by_handle): Add.
76572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76573         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76574         Augment a few comments.
76575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76577         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76579         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76580         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76581         open_by_handle.
76583         * io/fcntl.h (AT_EMPTY_PATH): Define.
76585 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76587         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76588         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76589         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76590         to...
76591         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76592         * Versions.def: Add GLIBC_2.14.
76593         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76594         Export.
76596 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76598         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76599         round counter.
76600         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76602 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76604         [BZ #12597]
76605         * string/test-strncmp.c (do_page_test): New function.
76606         (check2): Likewise.
76607         (test_main): Call check2.
76608         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76610 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76612         [BZ #12587]
76613         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76614         Handle cache information in CPU leaf 4.
76615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76617 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76619         [BZ #12583]
76620         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76621         character representation.
76622         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76624 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76626         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76627         END(__isnan) to END(__isnanf) to match function entry point/label
76628         EALIGN(__isnanf,...).
76630 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76632         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76634 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76636         [BZ #12510]
76637         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76638         copy from the symbol referenced in the relocation to initialize the
76639         used variable.
76640         Patch by Piotr Bury <pbury@goahead.com>.
76641         * elf/Makefile: Add rules to build and tst-unique3.
76642         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76643         * elf/tst-unique3.cc: New file.
76644         * elf/tst-unique3.h: New file.
76645         * elf/tst-unique3lib.cc: New file.
76646         * elf/tst-unique3lib2.cc: New file.
76648         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76650 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76652         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76653         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76654         to _start.
76656 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76658         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76659         to-be-loaded object along a path to loader is ld.so.
76661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76662             Ulrich Drepper  <drepper@gmail.com>
76664         * sysdeps/x86_64/memset.S: After aligning destination, code
76665         branches to different locations depending on the value of
76666         misalignment, when multiarch is enabled. Fix this.
76668 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76670         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76671         Set _x86_64_preferred_memory_instruction for AMD processsors.
76672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76673         Set bit_Prefer_SSE_for_memop for AMD processors.
76675 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76677         * libio/fmemopen.c (fmemopen): Optimize a bit.
76679 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76681         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76683 2011-03-03  Roland McGrath  <roland@redhat.com>
76685         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76687 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76689         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76690         __bzero_ultra1 instead of __memset_ultra1.
76692 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76693             Ulrich Drepper  <drepper@gmail.com>
76695         [BZ #12509]
76696         * include/link.h (struct link_map): Add l_orig_initfini.
76697         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76698         returning unsuccessfully.
76699         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76700         close of a file loaded at startup, restore the original l_initfini
76701         list.
76702         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76703         list, store the pointer.
76704         * elf/Makefile ($(objpfx)noload-mem): New rule.
76705         (noload-ENV): Define.
76706         (tests): Add $(objpfx)noload-mem.
76707         * elf/noload.c: Include <memcheck.h>.
76708         (main): Call mtrace.  Close all opened handles.
76710 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76712         [BZ #12454]
76713         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76714         dependencies are missing.
76716 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76718         Fix __if_freereq crash: Unlike the generic version which uses free,
76719         Hurd needs munmap.
76720         * sysdeps/mach/hurd/ifreq.h: New file.
76722 2011-01-27  Petr Baudis  <pasky@suse.cz>
76723             Ulrich Drepper  <drepper@gmail.com>
76725         [BZ 12445]#
76726         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76727         to extend_alloca().
76728         * stdio-common/bug23.c: New file.
76729         * stdio-common/Makefile (tests): Add bug23.
76731 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76732             Ulrich Drepper  <drepper@gmail.com>
76734         [BZ #12489]
76735         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76736         before performing relro protection.  At old place add assertion
76737         to make sure nothing changed.
76739 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76740             Glauber de Oliveira Costa  <glommer@gmail.com>
76742         * elf/elf.h: Add new ARM TLS relocs.
76744 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76747         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76748         cast from r3.
76749         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76750         'tests' variable.
76751         * sysdeps/wordsize-64/tst-writev.c: New file.
76753 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76755         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76756         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76757         insns in _dl_start to prevent a TOC reference before relocs are
76758         resolved.
76760 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76762         [BZ #12469]
76763         * Makeconfig: Remove RANLIB definition.
76764         * Makerules: Don't use RANLIB.
76765         * aclocal.m4: Remove ranlib test.
76766         * configure.in: No need to check for ranlib.
76767         * elf/rtld-Rules: Don't use RANLIB.
76769 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76771         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76772         protection macro.
76773         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76774         inclusion protection macro.
76776         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76777         SIGRTMIN and SIGRTMAX and print information in that case only when
76778         SIGRTMIN is defined.
76780 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76782         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76783         arginfo fn returning -1.
76785         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76786         and thousands string is zero terminated.
76788 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76790         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76791         sysdeps/unix/sysv/linux/bits/socket.h.
76793 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76795         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76796         (__CPU_COUNT): Remove old macros.
76797         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76798         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76799         (__CPU_ALLOC, __CPU_FREE): Add macros.
76800         (__sched_cpualloc, __sched_cpufree): Add declarations.
76802 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76804         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76805         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76806         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76807         (readdhstai): Return value of addhstaiX call.
76808         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76809         (addgrbyX): Return value returned by cache_addgr.
76810         (readdgrbyname): Return value returned by addgrbyX.
76811         (readdgrbygid): Likewise.
76812         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76813         (addpwbyX): Return value returned by cache_addpw.
76814         (readdpwbyname): Return value returned by addhstbyX.
76815         (readdpwbyuid): Likewise.
76816         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76817         (addservbyX): Return value returned by cache_addserv.
76818         (readdservbyname): Return value returned by addservbyX:
76819         (readdservbyport): Likewise.
76820         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76821         (addhstbyX): Return value returned by cache_addhst.
76822         (readdhstbyname): Return value returned by addhstbyX.
76823         (readdhstbyaddr): Likewise.
76824         (readdhstbynamev6): Likewise.
76825         (readdhstbyaddrv6): Likewise.
76826         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76827         (readdinitgroups): Return value returned by addinitgroupsX.
76828         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76829         (prune_cache): Keep track of timeout value of re-added entries.
76830         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76831         * nscd/nscd.h: Adjust prototypes of readd* functions.
76833 2011-02-04  Roland McGrath  <roland@redhat.com>
76835         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76836         (nis_stats): Likewise.
76837         * nis/nis_modify.c (nis_modify): Likewise.
76838         * nis/nis_remove.c (nis_remove): Likewise.
76839         * nis/nis_add.c (nis_add): Likewise.
76841         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76843         * posix/fnmatch_loop.c: Add some consts.
76845         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76847 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76849         [BZ #12460]
76850         * config.make.in (config-cflags-novzeroupper): Define.
76851         * configure.in: Substitute libc_cv_cc_novzeroupper.
76852         * elf/Makefile (AVX-CFLAGS): Define.
76853         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76854         (CFLAGS-tst-auditmod4a.c): Likewise.
76855         (CFLAGS-tst-auditmod4b.c): Likewise.
76856         (CFLAGS-tst-auditmod6b.c): Likewise.
76857         (CFLAGS-tst-auditmod6c.c): Likewise.
76858         (CFLAGS-tst-auditmod7b.c): Likewise.
76859         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76861 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76863         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76864         function to the callback.
76865         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76867 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76869         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76870         of errno.
76872 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76874         [BZ #11724]
76875         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76876         of constructors.
76877         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76878         of destructors.
76879         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76881         [BZ #11724]
76882         * elf/Makefile: Add rules to build and run new test.
76883         * elf/tst-initorder.c: New file.
76884         * elf/tst-initorder.exp: New file.
76885         * elf/tst-initordera1.c: New file.
76886         * elf/tst-initordera2.c: New file.
76887         * elf/tst-initordera3.c: New file.
76888         * elf/tst-initordera4.c: New file.
76889         * elf/tst-initorderb1.c: New file.
76890         * elf/tst-initorderb2.c: New file.
76891         * elf/tst-order-a1.c: New file.
76892         * elf/tst-order-a2.c: New file.
76893         * elf/tst-order-a3.c: New file.
76894         * elf/tst-order-a4.c: New file.
76895         * elf/tst-order-b1.c: New file.
76896         * elf/tst-order-b2.c: New file.
76897         * elf/tst-order-main.c: New file.
76898         New test case by George Gensure <werkt0@gmail.com>.
76900 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76903         decoding ACE if AI_CANONIDN.
76905 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76907         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76909 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76911         * version.h (RELEASE): Bump for 2.13 release.
76912         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76914         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76916         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76917         MADV_NOHUGEPAGE.
76918         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76919         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76921         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76923         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76925         * posix/getconf.c: Update copyright year.
76926         * catgets/gencat.c: Likewise.
76927         * csu/version.c: Likewise.
76928         * debug/catchsegv.sh: Likewise.
76929         * debug/xtrace.sh: Likewise.
76930         * elf/ldconfig.c: Likewise.
76931         * elf/ldd.bash.in: Likewise.
76932         * elf/sprof.c (print_version): Likewise.
76933         * iconv/iconv_prog.c: Likewise.
76934         * iconv/iconvconfig.c: Likewise.
76935         * locale/programs/locale.c: Likewise.
76936         * locale/programs/localedef.c: Likewise.
76937         * malloc/memusage.sh: Likewise.
76938         * malloc/mtrace.pl: Likewise.
76939         * nscd/nscd.c (print_version): Likewise.
76940         * nss/getent.c: Likewise.
76942         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76943         PF_CAIF, and PF_ALG.
76944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76946 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76948         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76949         (modules-names): Use them.
76950         (ifunc-test-modules, ifunc-pie-tests): Define.
76951         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76952         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76953         (test-extras): Likewise.
76954         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76955         $(compile-command.c).
76956         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76957         (all-built-dso): Define.
76958         (check-textrel.out, check-execstack.out): Depend on it.
76960         * configure.in: Don't override --enable-multi-arch.
76962 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76964         [BZ #6812]
76965         * nscd/hstcache.c (tryagain): Define.
76966         (cache_addhst): Return tryagain not notfound for temporary errors.
76967         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76968         failed.
76970 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76972         [BZ #10563]
76973         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76974         to make the syscall.
76975         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76977         [BZ #12378]
76978         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76979         and fall back to matching as normal character if the string ends before
76980         the matching ']' is found.  This is what POSIX requires.
76981         * posix/testfnm.c: Adjust test result.
76982         * posix/globtest.sh: Adjust test result.  Add new test.
76983         * posix/tst-fnmatch.input: Likewise.
76984         * posix/tst-fnmatch2.c: Add new test.
76986 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76988         * elf/Makefile (check-execstack): Revert last change.  Depend on
76989         check-execstack.h.
76990         (check-execstack.h): New target.
76991         (generated): Add check-execstack.h.
76992         * elf/check-execstack.c: Include "check-execstack.h".
76993         (main): Revert last change.
76994         (handle_file): Return zero if GNU_STACK is absent and
76995         DEFAULT_STACK_PERMS doesn't include PF_X.
76997 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76999         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77000         in child fails because the descriptor is already closed.
77001         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77002         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77003         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77005         [BZ #12397]
77006         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77007         syscall.
77009         [BZ #10484]
77010         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77011         temporary buffer used to handle multi lookups locally.
77012         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77014 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77016         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77017         loader is ld.so.
77019 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77021         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77022         alignment for SSE2.
77024 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77026         [BZ #12394]
77027         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77028         characters.  When rounding increased number of integer digits recompute
77029         number of groups.
77030         * stdio-common/tst-grouping.c: New file.
77031         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77033 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77035         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77036         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77038         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77039         void.
77040         * bits/select.h: Likewise.
77042 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77044         * po/ja.po: Update from translation team.
77046 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77048         [BZ #11155]
77049         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77050         implementation just like for lxstat, fxstatat, et al.
77052 2010-12-27  Jim Meyering  <meyering@redhat.com>
77054         [BZ #12348]
77055         * posix/regexec.c (build_trtable): Return failure indication upon
77056         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77058 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77060         [BZ #12201]
77061         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77062         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77063         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77064         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77066         [BZ #12207]
77067         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77069         [BZ #12204]
77070         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77071         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77073 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77075         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77076         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77077         script has SORT_BY_INIT_PRIORITY.
77078         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77079         NO_CTORS_DTORS_SECTIONS is defined.
77080         * elf/soinit.c: Likewise.
77081         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77082         NO_CTORS_DTORS_SECTIONS is defined.
77083         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77084         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77085         * sysdeps/sh/init-first.c: Likewise.
77086         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77088 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77090         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77091         always use the slow path.
77093 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77095         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77096         similar rule which adds the sysdep directories to the header search in
77097         order to pick up the correct platform stackinfo.h.
77098         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77099         perform test if it is, otherwise return successfully without testing.
77100         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77101         DEFAULT_STACK_PERMS define in stackinfo.h.
77102         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77103         defined in stackinfo.h.
77104         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77105         DEFAULT_STACK_PERMS defined in stackinfo.h.
77106         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77107         * sysdeps/ia64/stackinfo.h: Likewise.
77108         * sysdeps/s390/stackinfo.h: Likewise.
77109         * sysdeps/sh/stackinfo.h: Likewise.
77110         * sysdeps/sparc/stackinfo.h: Likewise.
77111         * sysdeps/x86_64/stackinfo.h: Likewise.
77112         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77113         PF_X for powerpc64.  Retain PF_X for powerpc32.
77115 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77117         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77118         accurately.
77119         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77120         GETDENTS_64BIT_ALIGNED.
77122 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77124         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77126 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77128         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77129         _GNU_SOURCE.
77131         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77132         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77133         Remove __restrict.
77134         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77135         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77137 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77139         [BZ #11655]
77140         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77141         are initialized.
77143 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77145         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77147 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77149         * po/it.po: Update from translation team.
77151 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77154         unused codes.
77156 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77158         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77160 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77162         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77163         specially.
77164         (gaih_getanswer_slice): Likewise.
77166 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77170 2010-05-31  Petr Baudis  <pasky@suse.cz>
77172         [BZ #11149]
77173         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77174         silently even in the chroot mode.
77176 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77178         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77179         last patch a bit.  Pretty printing
77181 2010-05-31  Petr Baudis <pasky@suse.cz>
77183         [BZ #10085]
77184         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77185         initialization of skip_initgroups_dyn.
77187 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77189         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77190         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77192 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77194         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77196 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77198         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77199         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77200         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77201         ($(objpfx)tst-fnmatch-mem): New rule.
77202         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77203         * posix/tst-fnmatch.c (main): Call mtrace.
77205 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77208         Support Intel processor model 6 and model 0x2c.
77210 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77213           signed comparison.
77215 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77217         [BZ #12205]
77218         * string/test-strncasecmp.c (check_result): New function.
77219         (do_one_test): Use it.
77220         (check1): New function.
77221         (test_main): Use it.
77222         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77223         Support strcasecmp and strncasecmp.
77225 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77227         [BZ #12194]
77228         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77229         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77231 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77233         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77234         IFUNC support.
77235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77236         memset-x86-64.
77237         * sysdeps/x86_64/multiarch/bzero.S: New file.
77238         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77239         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77240         * sysdeps/x86_64/multiarch/memset.S: New file.
77241         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77243         Set bit_Prefer_SSE_for_memop for Intel processors.
77244         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77245         Define.
77246         (index_Prefer_SSE_for_memop): Define.
77247         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77249 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77251         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77252         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77254 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77256         [BZ #12191]
77257         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77258         (__x86_64_raw_data_cache_size_half): Likewise.
77259         (__x86_64_raw_shared_cache_size): Likewise.
77260         (__x86_64_raw_shared_cache_size_half): Likewise.
77262         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77263         (__x86_64_raw_data_cache_size_half): Likewise.
77264         (__x86_64_raw_shared_cache_size): Likewise.
77265         (__x86_64_raw_shared_cache_size_half): Likewise.
77266         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77267         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77268         and __x86_64_raw_shared_cache_size_half.  Round
77269         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77270         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77271         to multiple of 256 bytes.
77273 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77275         [BZ #12167]
77276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77277         of inacessible symlinks.  Verify result of symlink before returning it.
77278         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77279         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77281 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77283         * math/math.h (isinf): Fix typo in comment.
77285 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77287         * po/da.po: Update from translation team.
77289 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77291         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77292         is added to the list.
77294 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77295             Ulrich Drepper  <drepper@gmail.com>
77297         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77298         the global list here.  Move code to...
77299         (_dl_add_to_namespace_list): ...here.  New function.
77300         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77301         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77302         * elf/dl-load.c (lose): Don't remove the element from the list.
77303         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77304         (_dl_map_object): Likewise.
77306 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77308         [BZ #12159]
77309         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77310         into all bytes of SSE register.
77311         Patch by Richard Li <richardpku@gmail.com>.
77313 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77315         [BZ #12140]
77316         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77317         perturbing.
77319 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77321         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77322         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77323         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77324         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77326         submachine.
77327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77329 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77331         * include/dlfcn.h (__RTLD_SECURE): Define.
77332         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77333         mode & __RTLD_SECURE instead.
77334         (open_path): Rename preloaded parameter to secure.
77335         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77336         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77337         * elf/dl-deps.c (openaux): Likewise.
77338         * elf/rtld.c (struct map_args): Remove is_preloaded.
77339         (map_doit): Don't use it.
77340         (dl_main): Likewise.
77341         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77342         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77344 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77346         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77347         (sysd-rules-targets): Remove duplicates.
77348         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77349         rtld-%.$o dependency.
77351 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77353         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77354         _dl_map_object do it.
77356 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77358         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77359         fast fma builtins, define the macros in the C99 standard.
77360         (FP_FAST_FMAF): Likewise.
77361         (FP_FAST_FMAL): Likewise.
77362         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77364         * bits/mathdef.h: Update copyright year.
77365         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77367 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77369         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77370         builtins, define the macros in the C99 standard.
77371         (FP_FAST_FMAF): Likewise.
77372         (FP_FAST_FMAL): Likewise.
77373         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77374         multiply/add.
77375         (FP_FAST_FMAF): Likewise.
77377 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77379         [BZ #3268]
77380         * math/libm-test.inc (fma_test): Some new testcases.
77381         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77383         y and infinite z.  Do multiplication by C already in long double.
77384         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77386         y and infinite z.  Do bitwise or of inexact bit into u.d.
77387         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77388         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77389         * sysdeps/i386/fpu/s_fma.S: Removed.
77390         * sysdeps/i386/fpu/s_fmal.S: Removed.
77392 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77394         [BZ #3268]
77395         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77397         computation is not scheduled after fetestexcept.  Fix value
77398         of minimum denormal long double.
77400 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77402         [BZ #3268]
77403         * math/libm-test.inc (fma_test): Add some more tests.
77404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77405         correctly.
77407 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77409         * scripts/data/localplt-s390-linux-gnu.data: New file.
77410         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77412 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77414         [BZ #3268]
77415         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77416         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77417         instead of dbl-64.
77418         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77419         inlines.
77420         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77422         if one of x and y is very large and the other is subnormal.
77423         * sysdeps/s390/fpu/s_fmaf.c: New file.
77424         * sysdeps/s390/fpu/s_fma.c: New file.
77425         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77426         * sysdeps/powerpc/fpu/s_fma.S: New file.
77427         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77428         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77429         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77431 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77433         [BZ #3268]
77434         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77435         fma tests.
77436         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77437         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77438         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77439         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77440         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77441         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77442         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77444 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77446         [BZ #12078]
77447         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77448         * posix/bug-regex31.input: Add test case.
77450 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77452         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77453         * posix/bug-regex31.input: New file.
77455         [BZ #12078]
77456         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77457         (parse_sub_exp): Fix last change, use postorder.
77459         * posix/bug-regex31.c: New file.
77460         * posix/Makefile: Add rules to build and run bug-regex31.
77462         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77464         [BZ #12078]
77465         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77467         [BZ #12108]
77468         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77469         to have entries in sys_siglist.
77471         [BZ #12093]
77472         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77473         be NULL.
77475 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77477         [BZ #3268]
77478         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77479         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77480         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77481         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77482         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77483         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77484         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77485         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77486         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77487         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77488         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77489         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77490         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77491         * math/ftestexcept.c (fetestexcept): Likewise.
77492         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77493         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77494         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77495         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77496         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77497         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77498         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77500 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77502         [BZ #12107]
77503         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77504         newline.
77506 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77508         * string/bug-strstr1.c: New file.
77509         * string/Makefile: Add rules to build and run bug-strstr1.
77511 2010-10-05  Eric Blake  <eblake@redhat.com>
77513         [BZ #12092]
77514         * string/str-two-way.h (two_way_long_needle): Always clear memory
77515         when skipping input due to the shift table.
77517 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77519         [BZ #12005]
77520         * malloc/mcheck.c: Handle large requests.
77522         [BZ #12077]
77523         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77524         for strncmp and strncasecmp.
77525         * string/stratcliff.c: Add tests for strcmp and strncmp.
77526         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77528 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77530         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77531         __set_fpscr.
77533 2010-09-30  Andreas Jaeger  <aj@suse.de>
77535         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77536         (CGROUP_SUPER_MAGIC): Define.
77537         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77538         Handle btrfs and cgroup file systems.
77539         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77540         Likewise.
77542 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77544         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77545         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77547 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77549         [BZ #12067]
77550         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77551         trying to locate the ELF header.
77553 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77555         [BZ #11611]
77556         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77557         Mask out sign-bit copies when constructing f_fsid.
77559 2010-09-24  Petr Baudis <pasky@suse.cz>
77561         * debug/stack_chk_fail_local.c: Add missing licence exception.
77562         * debug/warning-nop.c: Likewise.
77564 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77566         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77567         implementing getdents64 using getdents syscall, set d_type if
77568         __ASSUME_GETDENTS32_D_TYPE.
77570 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77572         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77573         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77575 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77577         [BZ #12037]
77578         * posix/unistd.h: Undo change of feature selection for ftruncate from
77579         2010-01-11.
77581 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77583         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77584         detection.
77586 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77588         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77589         fanotify_mark.
77590         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77592 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77594         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77595         variables after CHECK_SP call.
77596         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77598 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77599             Ulrich Drepper  <drepper@redhat.com>
77601         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77602         re-relocationg ld.so.
77603         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77604         _dl_init_paths call.
77605         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77606         here anymore.
77608 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77610         * resolv/res_init.c (__res_vinit): Count the default server we added.
77612 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77613             Ulrich Drepper  <drepper@redhat.com>
77615         [BZ #11968]
77616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77617         (____longjmp_chk): Use %ebx for saving value across system call.
77618         Add unwind info.
77620 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77622         * manual/Makefile: Don't mix pattern rules with normal rules.
77624 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77626         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77627         operation.
77628         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77629         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77630         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77631         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77633         Likewise.
77635 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77637         [BZ #11979]
77638         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77639         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77641 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77643         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77644         * sysdeps/x86_64/addmul_1.S: Likewise.
77645         * sysdeps/x86_64/lshift.S: Likewise.
77646         * sysdeps/x86_64/mul_1.S: Likewise.
77647         * sysdeps/x86_64/rshift.S: Likewise.
77648         * sysdeps/x86_64/sub_n.S: Likewise.
77649         * sysdeps/x86_64/submul_1.S: Likewise.
77651 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77653         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77654         Define __sched_param instead of SCHED_* and sched_param when
77655         <bits/sched.h> is included with __need_schedparam defined.
77656         * bits/sched.h [__need_schedparam]
77657         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77658         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77659         (__defined_schedparam): Define to 1.
77660         (__sched_param): New structure, identical to sched_param.
77661         (__need_schedparam): Undefine.
77663 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77665         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77666         (epoll_create1): Declare.
77668         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77670 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77672         [BZ #7066]
77673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77674         shifting retval into place.
77676 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77678         * nis/rpcsvc/nis.h: Update copyright notice.
77679         * nis/rpcsvc/nis.x: Likewise.
77680         * nis/rpcsvc/nis_callback.h: Likewise.
77681         * nis/rpcsvc/nis_callback.x: Likewise.
77682         * nis/rpcsvc/nis_object.x: Likewise.
77683         * nis/rpcsvc/nis_tags.h: Likewise.
77684         * nis/rpcsvc/yp.h: Likewise.
77685         * nis/rpcsvc/yp.x: Likewise.
77686         * nis/rpcsvc/ypupd.h: Likewise.
77687         * nis/yp_xdr.c: Likewise.
77688         * nis/ypupdate_xdr.c: Likewise.
77690         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77691         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77692         (pmap_getport): Use __libc_rpc_getport.
77693         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77694         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77695         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77697 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77700         fanotify_mark.
77702 2010-08-27  Roland McGrath  <roland@redhat.com>
77704         * sysdeps/i386/i686/multiarch/Makefile
77705         (CFLAGS-varshift.c): New variable.
77707 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77709         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77710         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77712         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77714         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77716 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77718         * sysdeps/x86_64/strlen.S: Unroll the loop.
77719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77720         strlen-sse2 strlen-sse2-bsf.
77721         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77722         __strlen_no_bsf if bit_Slow_BSF is set.
77723         (__strlen_sse42): Removed.
77724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77725         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77727 2010-08-25  Roland McGrath  <roland@redhat.com>
77729         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77730         * sysdeps/x86_64/multiarch/varshift.c: New file.
77731         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77732         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77733         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77734         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77736 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77739         strlen-sse2 strlen-sse2-bsf.
77740         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77741         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77742         (__strlen_sse2): Removed.
77743         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77744         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77746         bit_Slow_BSF for Atom.
77747         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77748         (index_Slow_BSF): Define.
77749         (HAS_SLOW_BSF): Define.
77751 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77753         [BZ #10851]
77754         * resolv/res_init.c (__res_vinit): When no server address at all
77755         is given default to loopback.
77757 2010-08-24  Roland McGrath  <roland@redhat.com>
77759         * configure.in: Remove config-name.h generation.
77760         * configure: Regenerated.
77761         * config-name.in: File removed.
77762         * scripts/config-uname.sh: New file.
77763         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77764         ($(objdir)config-name.h): New target.
77766         * sunrpc/rpc_parse.h: Avoid nested comment.
77768 2010-08-24  Richard Henderson  <rth@redhat.com>
77769             Ulrich Drepper  <drepper@redhat.com>
77770             H.J. Lu  <hongjiu.lu@intel.com>
77772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77774         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77775         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77776         _mm_alignr_epi8 with _mm_loadu_si128.
77777         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77778         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77779         (__m128i_shift_right): Removed.
77780         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77781         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77782         * sysdeps/x86_64/multiarch/varshift.h: New file.
77783         * sysdeps/x86_64/multiarch/varshift.S: New file.
77785 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77787         * configure.in: Move assembler checks to before sysdep dir checking.
77789 2010-08-20  Petr Baudis  <pasky@suse.cz>
77791         * LICENSES: Sync the sunrpc license.
77793 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77795         * sunrpc/auth_des.c: Update copyright notice once again.
77796         * sunrpc/auth_none.c: Likewise.
77797         * sunrpc/auth_unix.c: Likewise.
77798         * sunrpc/authdes_prot.c: Likewise.
77799         * sunrpc/authuxprot.c: Likewise.
77800         * sunrpc/bindrsvprt.c: Likewise.
77801         * sunrpc/clnt_gen.c: Likewise.
77802         * sunrpc/clnt_perr.c: Likewise.
77803         * sunrpc/clnt_raw.c: Likewise.
77804         * sunrpc/clnt_simp.c: Likewise.
77805         * sunrpc/clnt_tcp.c: Likewise.
77806         * sunrpc/clnt_udp.c: Likewise.
77807         * sunrpc/clnt_unix.c: Likewise.
77808         * sunrpc/des_crypt.c: Likewise.
77809         * sunrpc/des_soft.c: Likewise.
77810         * sunrpc/get_myaddr.c: Likewise.
77811         * sunrpc/getrpcport.c: Likewise.
77812         * sunrpc/key_call.c: Likewise.
77813         * sunrpc/key_prot.c: Likewise.
77814         * sunrpc/openchild.c: Likewise.
77815         * sunrpc/pm_getmaps.c: Likewise.
77816         * sunrpc/pm_getport.c: Likewise.
77817         * sunrpc/pmap_clnt.c: Likewise.
77818         * sunrpc/pmap_prot.c: Likewise.
77819         * sunrpc/pmap_prot2.c: Likewise.
77820         * sunrpc/pmap_rmt.c: Likewise.
77821         * sunrpc/rpc/auth.h: Likewise.
77822         * sunrpc/rpc/auth_unix.h: Likewise.
77823         * sunrpc/rpc/clnt.h: Likewise.
77824         * sunrpc/rpc/des_crypt.h: Likewise.
77825         * sunrpc/rpc/key_prot.h: Likewise.
77826         * sunrpc/rpc/netdb.h: Likewise.
77827         * sunrpc/rpc/pmap_clnt.h: Likewise.
77828         * sunrpc/rpc/pmap_prot.h: Likewise.
77829         * sunrpc/rpc/pmap_rmt.h: Likewise.
77830         * sunrpc/rpc/rpc.h: Likewise.
77831         * sunrpc/rpc/rpc_des.h: Likewise.
77832         * sunrpc/rpc/rpc_msg.h: Likewise.
77833         * sunrpc/rpc/svc.h: Likewise.
77834         * sunrpc/rpc/svc_auth.h: Likewise.
77835         * sunrpc/rpc/types.h: Likewise.
77836         * sunrpc/rpc/xdr.h: Likewise.
77837         * sunrpc/rpc_clntout.c: Likewise.
77838         * sunrpc/rpc_cmsg.c: Likewise.
77839         * sunrpc/rpc_common.c: Likewise.
77840         * sunrpc/rpc_cout.c: Likewise.
77841         * sunrpc/rpc_dtable.c: Likewise.
77842         * sunrpc/rpc_hout.c: Likewise.
77843         * sunrpc/rpc_main.c: Likewise.
77844         * sunrpc/rpc_parse.c: Likewise.
77845         * sunrpc/rpc_parse.h: Likewise.
77846         * sunrpc/rpc_prot.c: Likewise.
77847         * sunrpc/rpc_sample.c: Likewise.
77848         * sunrpc/rpc_scan.c: Likewise.
77849         * sunrpc/rpc_scan.h: Likewise.
77850         * sunrpc/rpc_svcout.c: Likewise.
77851         * sunrpc/rpc_tblout.c: Likewise.
77852         * sunrpc/rpc_util.c: Likewise.
77853         * sunrpc/rpc_util.h: Likewise.
77854         * sunrpc/rpcinfo.c: Likewise.
77855         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77856         * sunrpc/rpcsvc/key_prot.x: Likewise.
77857         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77858         * sunrpc/rpcsvc/mount.x: Likewise.
77859         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77860         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77861         * sunrpc/rpcsvc/rex.x: Likewise.
77862         * sunrpc/rpcsvc/rstat.x: Likewise.
77863         * sunrpc/rpcsvc/rusers.x: Likewise.
77864         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77865         * sunrpc/rpcsvc/spray.x: Likewise.
77866         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77867         * sunrpc/rtime.c: Likewise.
77868         * sunrpc/svc.c: Likewise.
77869         * sunrpc/svc_auth.c: Likewise.
77870         * sunrpc/svc_authux.c: Likewise.
77871         * sunrpc/svc_raw.c: Likewise.
77872         * sunrpc/svc_run.c: Likewise.
77873         * sunrpc/svc_simple.c: Likewise.
77874         * sunrpc/svc_tcp.c: Likewise.
77875         * sunrpc/svc_udp.c: Likewise.
77876         * sunrpc/svc_unix.c: Likewise.
77877         * sunrpc/svcauth_des.c: Likewise.
77878         * sunrpc/xcrypt.c: Likewise.
77879         * sunrpc/xdr.c: Likewise.
77880         * sunrpc/xdr_array.c: Likewise.
77881         * sunrpc/xdr_float.c: Likewise.
77882         * sunrpc/xdr_mem.c: Likewise.
77883         * sunrpc/xdr_rec.c: Likewise.
77884         * sunrpc/xdr_ref.c: Likewise.
77885         * sunrpc/xdr_sizeof.c: Likewise.
77886         * sunrpc/xdr_stdio.c: Likewise.
77888         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77889         handling.
77891 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77893         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77895 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77897         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77899         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77900         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77901         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77902         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77903         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77904         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77906         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77907         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77908         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77909         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77910         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77912 2010-07-26  Anton Blanchard  <anton@samba.org>
77914         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77915         * malloc/arena.c (heap_trim): Likewise.
77917 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77919         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77920         here.  Not...
77921         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77922         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77924 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77926         * sysdeps/i386/elf/Makefile: New file.
77928 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77930         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77931         from fanotify_init.
77932         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77935 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77937         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77938         of strncasecmp_l.
77939         * sysdeps/multiarch/strcmp.S: Likewise.
77941 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77943         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77944         strncase_l-nonascii.
77945         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77946         Add strncase_l-ssse3.
77947         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77948         * sysdeps/x86_64/strcmp.S: Likewise.
77949         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77950         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77951         * sysdeps/x86_64/strncase.S: New file.
77952         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77953         * sysdeps/x86_64/strncase_l.S: New file.
77954         * string/Makefile (strop-tests): Add strncasecmp.
77955         * string/test-strncasecmp.c: New file.
77957         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77958         warning.
77960         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77961         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77963 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77965         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77967 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77969         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77970         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77971         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77973 2010-05-01  Alan Modra  <amodra@gmail.com>
77975         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77976         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77977         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77978         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77979         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77980         tidying.  Don't tail-call __sigjmp_save for static lib.
77981         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77982         save location.
77983         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77984         (CALL_MCOUNT): Add eh info, and nop after bl.
77985         (TAIL_CALL_SYSCALL_ERROR): New macro.
77986         (PSEUDO_RET): Use it.
77987         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77988         Correct save location of integer regs and cr.
77989         (_dl_profile_resolve): Correct cr save location.  Delete nops
77990         after bl when SHARED.  Reduce cfi size a little by better
77991         placement of cfi directives.
77992         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77993         make a stack frame.  Instead use parm save area as a temp.
77994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77995         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77997         Don't make a stack frame for parent, use parm save area.
77998         Increase child stack frame to 112 bytes.  Don't save unused reg,
77999         and adjust reg usage.  Set up cfi on error recovery and
78000         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78002         (__makecontext): Add dummy nop after jump to exit.
78003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78004         Use correct parm save area and cr save, reduce stack frame.
78005         Correct cfi for possible PSEUDO_RET frame setup.
78006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78007         Branch to local label emitted by PSEUDO_RET rather than
78008         __syscall_error.
78010 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78012         [BZ #11904]
78013         * locale/programs/locale.c (print_assignment): New function.
78014         (show_locale_vars): Use it.
78016 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78018         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78019         field.
78020         (struct statfs64): Likewise.
78021         (_STATFS_F_FLAGS): Define.
78022         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78023         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78024         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78025         (ST_VALID): Define locally.
78026         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78027         __statvfs_getflags, use the provided value.
78028         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78029         __ASSUME_STATFS_F_FLAGS.
78031         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78033         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78034         Add sys/fanotify.h.
78035         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78036         fanotify_mask for GLIBC_2.13.
78037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78038         fanotify_init and fanotify_mark.
78039         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78040         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78042         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78043         Add prlimit.
78044         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78045         prlimit64 for GLIBC_2.13.
78046         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78047         prlimit64.
78048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78049         syscall.
78050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78052         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78053         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78055         add prlimit alias.
78056         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78058         [BZ #11903]
78059         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78060         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78062         * nss/Makefile: Add rules to build and run tst-nss-test1.
78063         * shlib-versions: Add entry for libnss_test1.
78064         * nss/nss_test1.c: New file.
78065         * nss/tst-nss-test1.c: New file.
78067         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78068         (__nss_configure_lookup): Set appropriate entry in
78069         __nss_configure_lookup to true.
78070         * nss/nsswitch.h: Define enum with indeces of databases in
78071         databases and __nss_database_custom arrays.  Declare
78072         __nss_database_custom.
78073         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78074         to avoid using nscd when custom rules are installed.
78075         * nss/getXXbyYY_r.c: Likewise.
78076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78078         * nss/nss_files/files-parse.c: Whitespace fixes.
78080 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78082         [BZ #11883]
78083         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78084         * posix/fnmatch_loop.c: Likewise.
78086 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78088         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78089         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78090         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78091         * Versions.def [GLIBC_2.13]: Add.
78093 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78095         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78096         Also fail if tpwd after pwuid call is NULL.
78098 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78100         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78101         when converting to ms.
78103 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78105         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78106         EOPNOTSUPP errors with ENOTTY.
78107         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78108         EOPNOTSUPP errors with ENOTTY.
78110 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78112         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78113         Add strcasecmp_l-ssse3.
78114         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78115         strcasecmp.
78116         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78117         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78118         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78120 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78122         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78124         * string/Makefile (strop-tests): Add strcasecmp.
78125         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78126         strcasecmp_l-nonascii.
78127         (gen-as-const-headers): Add locale-defines.sym.
78128         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78129         * sysdeps/x86_64/strcasecmp.S: New file.
78130         * sysdeps/x86_64/strcasecmp_l.S: New file.
78131         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78132         * sysdeps/x86_64/locale-defines.sym: New file.
78133         * string/test-strcasecmp.c: New file.
78135         * string/test-strcasestr.c: Test both ends of the range of characters.
78136         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78138 2010-07-29  Roland McGrath  <roland@redhat.com>
78140         [BZ #11856]
78141         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78143 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78145         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78146         for ld.so.
78148 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78150         * manual/memory.texi (Malloc Tunable Parameters): Document
78151         M_PERTURB.
78153 2010-07-26  Roland McGrath  <roland@redhat.com>
78155         [BZ #11840]
78156         * configure.in (-fgnu89-inline check): Set and substitute
78157         gnu89_inline, not libc_cv_gnu89_inline.
78158         * configure: Regenerated.
78159         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78161 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78163         * string/test-strnlen.c: New file.
78164         * string/Makefile (strop-tests): Add strnlen.
78165         * string/tester.c (test_strnlen): Add a few more test cases.
78166         * string/tst-strlen.c: Better error reporting.
78168         * sysdeps/x86_64/strnlen.S: New file.
78170 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78172         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78173         lower-latency instructions.
78175 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78177         * string/test-strcasestr.c: New file.
78178         * string/test-strstr.c: New file.
78179         * string/Makefile (strop-tests): Add strstr and strcasestr.
78180         * string/str-two-way.h: Don't undefine MAX.
78181         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78183 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78186         strcasestr-nonascii.
78187         (CFLAGS-strcasestr-nonascii.c): Define.
78188         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78189         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78190         Remove unused attribute.
78192 2010-07-20  Roland McGrath  <roland@redhat.com>
78194         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78195         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78196         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78197         like LD_HWCAP_MASK can disable hwcaps.
78199 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78201         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78203 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78205         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78206         call in strcasestr.
78207         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78208         __strcasestr_sse42_nonascii.
78209         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78210         strcasestr-nonascii.c.
78211         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78213 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78215         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78216         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78217         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78218         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78220 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78222         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78223         fcntl.
78225 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78227         [BZ #11577]
78228         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78229         dl_signal_cerror.
78231 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78234         _PC_PIPE_BUF using F_GETPIPE_SZ.
78236 2010-07-05  Roland McGrath  <roland@redhat.com>
78238         * manual/arith.texi (Rounding Functions): Fix rint description
78239         implicit in round description.
78241 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78243         * elf/Makefile: Fix linking for a few tests to make recent linker
78244         happy.
78246 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78248         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78249         $(common-objpfx)libc_nonshared.a.
78251 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78253         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78254         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78255         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78256         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78257         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78258         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78259         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78260         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78275         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78276         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78277         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78278         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78279         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78280         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78281         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78282         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78283         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78284         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78285         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78286         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78302 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78304         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78305         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78306         * string/memmove.c (memmove): Renamed to ...
78307         (MEMMOVE): ...this.  Default to memmove.
78308         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78309         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78310         (END_CHK): Define.
78311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78312         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78313         mempcpy-ssse3-back memmove-ssse3-back.
78314         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78315         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78317         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78318         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78319         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78320         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78321         * sysdeps/x86_64/multiarch/memmove.c: New file.
78322         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78323         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78324         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78325         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78326         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78327         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78328         Define.
78329         (index_Fast_Copy_Backward): Define.
78330         (HAS_ARCH_FEATURE): Define.
78331         (HAS_FAST_REP_STRING): Define.
78332         (HAS_FAST_COPY_BACKWARD): Define.
78334 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78336         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78337         Restore proper fallback handling.
78339 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78341         [BZ #11701]
78342         * posix/group_member.c (__group_member): Correct checking loop.
78344         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78345         OOM in getpwuid_r correctly.  Return error number when the caller
78346         should return, otherwise -1.
78347         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78348         call returning > 0 value.
78349         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78351 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78353         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78354         libc_nonshared.a from targets in modules-names.
78356 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78358         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78359         requires it.
78361 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78365         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78368 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78370         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78372 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78374         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78375         and F_GETPIPE_SZ.
78376         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78383 2010-06-14  Roland McGrath  <roland@redhat.com>
78385         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78387 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78389         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78390         __REDIRECT followed by __THROW.
78391         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78392         * posix/getopt.h (getopt): Likewise.
78394 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78396         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78397         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78398         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78399         in AT_FLAGS.
78400         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78401         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78403 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78405         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78407 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78409         [BZ #11640]
78410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78411         Properly check family and model.
78413 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78415         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78417 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78419         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78421 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78423         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78424         symbol reference.
78426 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78428         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78429         symbol reference.
78431 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78433         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78434         and internal_recvmmsg.
78435         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78436         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78437         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78438         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78440         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78441         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78442         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78444 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78446         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78448 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78450         POWER7 optimizations.
78451         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78452         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78454 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78456         * version.h: Update for 2.13 development version.
78458 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78460         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78461         exceptions.  Return 0.
78463 2010-05-07  Roland McGrath  <roland@redhat.com>
78465         * elf/ldconfig.c (main): Add a const.
78467 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78469         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78470         (args_options): Add no-idn option.
78471         (ahosts_keys_int): Add idn_flags to ai_flags.
78472         (parse_option): Handle 'i' option to clear idn_flags.
78474         * malloc/malloc.c (_int_free): Possible race in the most recently
78475         added check.  Only act on the data if no current modification
78476         happened.
78478 See ChangeLog.17 for earlier changes.