X86: Change bit_YMM_state to (1 << 2)
[glibc.git] / ChangeLog
blob64c4701a88f8695bc1d455dd60854dc50c58e53f
1 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
5 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
8         (mul_split) Remove, rename as mul_splitl, remove
9         redundant float.h include, and include via mul_splitl.h
11         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17         * math/mul_splitl.h: New file.
19         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
20         Move into mul_split.h, and remove redundant float.h include.
22         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
24         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
27         * math/mul_split.h: New file.
29 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31         * math/Makefile (libm-gen-calls): Move
32         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
33         (libm-calls): Remove above.
35         * math/s_cacos_template.c: Update using type-generic macros.
36         * math/s_cacosh_template.c: Likewise.
37         * math/s_ccos_template.c: Likewise.
38         * math/s_ccosh_template.c: Likwise.
40         * math/s_cacosf.c: Removed.
41         * math/s_cacos.c: Removed.
42         * math/s_cacosl.c: Removed.
43         * math/s_cacoshf.c: Removed.
44         * math/s_cacosh.c: Removed.
45         * math/s_cacoshl.c: Removed.
46         * math/s_ccosf.c: Removed.
47         * math/s_ccos.c: Removed.
48         * math/s_ccosl.c: Removed.
49         * math/s_ccoshf.c: Removed.
50         * math/s_ccosh.c: Removed.
51         * math/s_ccoshl.c: Removed.
53         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
54         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
55         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
56         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
57         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
58         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
60         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
61         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
62         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
63         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
65         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
66         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
67         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
68         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
70 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
72         * s_cacos_template.c: Copy of s_cacos.c.
73         * s_cacosh_template.c: Copy of s_cacosh.c.
74         * s_ccos_template.c: Copy of s_ccos.c.
75         * s_ccosh_template.c: Copy of s_ccosh.c.
77 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
79         * stdlib/tst-strtod-round-skeleton.c:
80         Refactored from tst-strtod-round.c.
82         (L_): New macro to apply literal modifier.
83         (FNPFX): New macro to select str or wcs prefix.
84         (CHAR): New macro to choose wchar_t or char.
85         (STRM): New macro to choose printf for tested character type.
87         (STRTO): New macro to choose appropriate string -> real function.
88         (FNPFXS): Stringitized version of FNPFX.
89         (STR): Support for above macro.
90         (STRX): Likewise.
92         (TEST): Update with above macros.
93         (test): Likewise.
94         (GEN_ONE_TEST): Likewise.
95         (test_in_one_mode): Likewise.
97         * stdlib/tst-strtod-round.c: New file.
98         * wcsmbs/tst-wcstod-round.c: New file.
100         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
101         (tst-wcstod-round): Add libm depencency for fesetround.
103 2016-08-19  Zack Weinberg  <zackw@panix.com>
105         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
107 2016-08-18  Torvald Riegel  <triegel@redhat.com>
109         [BZ #20477]
110         * resolv/res_hconf.c (do_init): Use atomic access.
111         * resolv/res_hconf.h: Add comments.
112         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
113         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
116 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
119         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
120         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
121         Likewise.
123 2016-08-18  Florian Weimer  <fweimer@redhat.com>
125         [BZ #16907]
126         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
127         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
128         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
129         (__attribute__): Remove definition.
131 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
133         * sysdeps/ieee754/ldbl-128/e_asinl.c:
134         Remove unused sqrtl declaration.
136 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
138         * math/Makefile: (gen-libm-templates.stmp): New rule.
139         (libm-calls): Move carg conj cimag and cabs into ...
140         (gen-libm-calls): New variable.
141         (generated): Inform Make objects from gen-libm-calls
142         may be generated.
144         * sysdeps/generic/math-type-macros.h: New file.
145         * sysdeps/generic/math-type-macros-float.h: Likewise.
146         * sysdeps/generic/math-type-macros-double.h: Likewise.
147         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
148         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
149         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
151         * math/cabs.c: Refactor into
152         * math/cabs_template.c: new file.
153         * math/cabsf.c: Removed.
154         * math/cabsl.c: Removed.
155         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
156         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
158         * math/carg.c: Refactor into
159         * math/carg_template.c: new file.
160         * math/cargf.c: Removed.
161         * math/cargl.c: Removed.
162         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
163         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
165         * math/conj.c: Refactor into
166         * math/conj_template.c: new file.
167         * math/conjf.c: Removed.
168         * math/conjl.c: Removed.
169         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
170         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
172         * math/cimag.c: Refactor into
173         * math/cimag_template.c: new file.
174         * math/cimagf.c: Removed.
175         * math/cimagl.c: Removed.
176         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
177         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
179         * math/cimag.c: Refactor into
180         * math/cimag_template.c: new file.
181         * math/cimagf.c: Removed.
182         * math/cimagl.c: Removed.
183         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
184         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
186 2016-08-17  Florian Weimer  <fweimer@redhat.com>
188         Reduce time to expected nptl/tst-once5 failure.
189         * nptl/tst-once5.cc (TIMEOUT): Define.
191 2016-08-17  Florian Weimer  <fweimer@redhat.com>
193         [BZ #20452]
194         Avoid additional copies of objects in libc.a in static libraries.
195         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
196         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
197         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
198         rt-sysdep.
199         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
200         Add nptl-sysdep.
201         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
202         Add ptw-sysdep.
203         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
204         rt-sysdep.
205         * sysdeps/unix/sysv/linux/alpha/Makefile
206         (libpthread-shared-only-routines): Add ptw-sysdep,
207         ptw-sigprocmask, ptw-rt_sigaction.
208         * sysdeps/unix/sysv/linux/ia64/Makefile
209         (librt-shared-only-routines): Add rt-sysdep.
210         * sysdeps/unix/sysv/linux/i386/Makefile
211         (libpthread-shared-only-routines): Add libc-do-syscall.
212         * sysdeps/unix/sysv/linux/microblaze/Makefile
213         (libpthread-shared-only-routines): Add sysdep.
214         * sysdeps/unix/sysv/linux/powerpc/Makefile
215         (librt-shared-only-routines): Add rt-sysdep.
216         (libpthread-shared-only-routines): Add sysdep.
217         * sysdeps/unix/sysv/linux/s390/Makefile
218         (librt-shared-only-routines): Add rt-sysdep.
219         * sysdeps/unix/sysv/linux/sparc/Makefile
220         (librt-shared-only-routines): Add rt-sysdep.
221         (libpthread-shared-only-routines): Add sysdep.
222         * sysdeps/unix/sysv/linux/tile/Makefile
223         (libpthread-shared-only-routines): Likewise.
225 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
227         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
228         Mask implicit bit out of unpacked value.
229         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
233         * sysdeps/sparc/fpu/fesetexcept.c: New file.
235         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
237         * sysdeps/s390/fpu/fesetexcept.c: New file.
239         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
240         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
241         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
243         * sysdeps/mips/fpu/fesetexcept.c: New file.
245         * sysdeps/m68k/fpu/fesetexcept.c: New file.
247         * sysdeps/ia64/fpu/fesetexcept.c: New file.
249         * sysdeps/hppa/fpu/fesetexcept.c: New file.
251         * sysdeps/arm/fesetexcept.c: New file.
253         * sysdeps/alpha/fpu/fesetexcept.c: New file.
255         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
257         * math/fesetexcept.c: New file.
258         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
259         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
260         * math/fenv.h: Define
261         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
262         <bits/libc-header-start.h> instead of including <features.h>.
263         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
264         declaration.
265         * manual/arith.texi (fesetexcept): Document function.
266         * math/Versions (fesetexcept): New libm symbol at version
267         GLIBC_2.25.
268         * math/Makefile (libm-support): Add fesetexcept.
269         (tests): Add test-fesetexcept and test-fesetexcept-traps.
270         * math/test-fesetexcept.c: New file.
271         * math/test-fesetexcept-traps.c: Likewise.
272         * sysdeps/nacl/libm.abilist: Update.
273         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
277         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
281         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
282         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
283         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
284         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
286         Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
288         Likewise.
289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
290         Likewise.
291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
292         Likewise.
293         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
299         Likewise.
300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
301         Likewise.
302         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
306 2016-08-16  Florian Weimer  <fweimer@redhat.com>
308         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
309         New.
310         (do_test): Apply default_stack_size_in_mb if not set.
311         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
313 2016-08-15  Andreas Schwab  <schwab@suse.de>
315         [BZ #20435]
316         CVE-2016-6323
317         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
318         as .cantunwind.
320 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
322         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
323         comment from fraiseexcpt.c.
325         * math/test-fexcept.c (feraiseexcept_exact): New function.
326         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
327         (test_except): Likewise.
329 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
331         [BZ #20455]
332         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
333         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
334         to be restored.
336         * math/test-fexcept-traps.c: New file.
337         * math/test-fexcept.c: Likewise.
338         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
339         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
340         macro.
341         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
342         (EXCEPTION_SET_FORCES_TRAP): Likewise.
344 2016-08-09  Torvald Riegel  <triegel@redhat.com>
346         * include/atomic.h (atomic_fetch_and_relaxed,
347         atomic_fetch_and_release, atomic_fetch_or_release,
348         atomic_fetch_xor_release): New.
350 2016-08-06  Christian Seiler  <christian@iwakd.de>
352         [BZ #20444]
353         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
354         MACH_PORT_NULL.
356 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
358         * math/s_fdim.c: Avoid alias renamed.
359         * math/s_fdimf.c: Likewise.
360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
361         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
362         Add s_fdimf-vis3, s_fdim-vis3.
363         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
364         (CFLAGS-s_fdim-vis3.c): Likewise.
365         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
366         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
368 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
371         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
372         Remove s_fdimf-vis3, s_fdim-vis3.
373         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
374         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
381         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
382         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
384 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
386         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
387         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
388         -Wa,-Av9a -mvis.
390 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
392         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
393         LIT() to individual constants in simple expressions
394         after splitting on spaces.
395         (_apply_lit): Rename replaced version, and use it to
396         apply to what appears to be a token.
398         * math/libm-test.inc: Fix many, many issues with
399         spacing.
401 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
403         * math/math.h: Move comment about <bits/mathdef.h> definitions
404         above inclusion of <bits/mathdef.h>.  Do not mention
405         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
407 2016-08-05  Torvald Riegel  <triegel@redhat.com>
409         * include/atomic.h (atomic_exchange_relaxed): New.
411 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
413         * math/e_scalb.c: Do not include <fenv.h>.
414         (invalid_fn): Do calculation resulting in NaN instead of raising
415         FE_INVALID and returning a NaN explicitly.
416         * math/e_scalbf.c: Do not include <fenv.h>.
417         (invalid_fn): Do calculation resulting in NaN instead of raising
418         FE_INVALID and returning a NaN explicitly.
419         * math/e_scalbl.c: Do not include <fenv.h>.
420         (invalid_fn): Do calculation resulting in NaN instead of raising
421         FE_INVALID and returning a NaN explicitly.
423 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
425         * po/de.po: Updated from Translation Project.
426         * po/fi.po: Likewise.
427         * po/sv.po: Likewise.
429 2016-08-04  Florian Weimer  <fweimer@redhat.com>
431         [BZ #20452]
432         Use sysdep.o from libc.a in static libraries.
433         * sysdeps/unix/sysv/linux/i386/Makefile
434         (libpthread-shared-only-routines): Add sysdep.
435         (librt-shared-only-routines): Likewise.
437 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
439         * math/tgmath.h (nextdown): Define if
440         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
441         (nextup): Likewise.
443         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
444         macro.
445         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
446         Document.
447         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
448         Document macro.
449         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
450         (exp10f): Likewise.
451         (exp10l): Likewise.
452         * math/bits/mathcalls.h (exp10): Declare if
453         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
455         * manual/arith.texi (nextup): Fix typo in last change.
457 2016-08-03  Zack Weinberg  <zackw@panix.com>
459         [BZ #19239]
460         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
461         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
462         define major, minor, and makedev to issue deprecation warnings on use.
463         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
464         previously-activated deprecation warnings for these macros and prevent
465         subsequent inclusions of this header from having any effect.
466         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
467         including <sys/sysmacros.h>, and undefine it again afterward.
469 2016-08-03  Zack Weinberg  <zackw@panix.com>
471         * sysdeps/generic/sys/sysmacros.h: Delete file.
472         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
473         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
474         * bits/sysmacros.h: ... here; this encoding is now the generic
475         encoding.  Now defines only the following macros:
476         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
477         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
478         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
480         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
481         bits/sysmacros.h and the above new macros to generate the
482         public implementations of major, minor, and makedev.
483         * misc/tst-makedev.c: New test.
484         * include/sys/sysmacros.h: New wrapper.
486         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
487         (routines): Add makedev.
488         (tests): Add tst-makedev.
489         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
490         gnu_dev_makedev.
491         * posix/Makefile (headers): Remove sys/sysmacros.h.
492         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
494         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
495         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
496         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
497         * sysdeps/unix/sysv/linux/alpha/libc.abilist
498         * sysdeps/unix/sysv/linux/arm/libc.abilist
499         * sysdeps/unix/sysv/linux/hppa/libc.abilist
500         * sysdeps/unix/sysv/linux/i386/libc.abilist
501         * sysdeps/unix/sysv/linux/ia64/libc.abilist
502         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
503         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
504         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
505         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
506         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
507         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
508         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
509         * sysdeps/unix/sysv/linux/nios2/libc.abilist
510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
514         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
515         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
516         * sysdeps/unix/sysv/linux/sh/libc.abilist
517         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
521         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
522         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
523         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
524         Add GLIBC_2.25.
526         * include/features.h (__glibc_clang_prereq): New macro.
527         * misc/sys/cdefs.h (__glibc_clang_has_extension)
528         (__attribute_deprecated_msg__): New macros.
530 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
532         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
533         macro.
534         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
535         * manual/arith.texi (issignaling): Document as ISO from TS
536         18661-1:2014.
537         (nextup): Likewise.
538         (nextupf): Likewise.
539         (nextupl): Likewise.
540         (nextdown): Likewise.
541         (nextdownf): Likewise.
542         (nextdownl): Likewise.
543         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
544         macro.
545         * math/math.h: Define
546         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
547         <bits/libc-header-start.h> instead of including <features.h>.
548         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
549         [__USE_GNU].
550         * math/bits/mathcalls.h (nextdown): Declare if
551         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
552         (nextup): Likewise.
553         (__issignaling): Likewise.
555 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
557         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
558         check, and remove __glibc_likely hint
559         from FP_INFINITE check.
560         * s_csinhf.c (__csinhf): Likewise.
562         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
563         hint from FP_INFINITE check.
564         * s_csinhl.c (__csinhl): Likewise.
566 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
568         * math/Makefile (libm-calls): Insert F placeholder into
569         object names.  Move w_lgamma_compat* routines into
570         (libm-compat-calls): New variable.
571         (libm-compat-calls-ldouble-yes): New variable.
572         (calls): Insert F placeholder.
573         (generated): Redefine using new type-foreach macro call.
574         (routines): Likewise.
576         (types): New variable to hold a list of symbolic names
577         for each type supported by the target machine.
578         (libm-routines): Redefine using new types variable.
579         (type-foreach): macro to replace fooF with the
580         appropriately suffixed foo for each types.
582         (type-ldouble-suffix): New variable.
583         (type-ldouble-routines): Likewise.
584         (type-ldouble-yes): Likewise.
585         (type-double-suffix): Likewise.
586         (type-double-routines): Likewise.
587         (type-float-suffix): Likewise.
588         (type-float-routines): Likewise.
590         (dbl-only-routines): Remove.
591         (long-c-yes): Likewise.
592         (long-m-routines): Likewise.
593         (long-m-support): Likewise.
594         (long-m-yes): Likewise.
595         (test-longdouble-yes): Likewise.
597         (test-float.o): Simplify by increasing the scope of the
598         recipe which adds libm-test.stmp to the vector types.
599         (test-ifloat.o): Likewise.
600         (test-float-finite.o): Likewise.
601         (test-double.o): Likewise
602         (test-idouble.o): Likewise.
603         (test-double-finite.o): Likewise.
604         (test-ldouble.o): Likewise
605         (test-ildoubl.o): Likewise.
606         (test-ldouble-finite.o): Likewise.
608         (libm-tests): Redefine type tests using foreach and the
609         list of types in types.
611         (CPPFLAGS-test-ildoubl.c): Rename to
612         (CPPFLAGS-test-ildouble.c): New variable
614         * math/test-ildoubl.c: Rename to
615         * math/test-ildouble.c: New file.
617 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
619         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
620         Use fabsl instead of fabs.
621         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
622         Likewise.
623         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
624         Add long double suffix to constant to ensure proper
625         promotion to long double.
627 2016-08-03  Tom Tromey  <tom@tromey.com>
629         [BZ #20311]
630         * nptl_db/Makefile (headers): Add proc_service.h.
631         * nptl_db/proc_service.h: Add include guard.  Use
632         __BEGIN/__END_DECLS.
633         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
634         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
635         arguments.
638 2016-08-03  Florian Weimer  <fweimer@redhat.com>
640         [BZ #17730]
641         Avoid using memalign for TCB allocations.
642         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
643         (_dl_allocate_tls_storage): Use malloc and manual alignment.
644         Avoid alignment gap in the TLS_DTV_AT_TP case.
645         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
646         determine the pointer to free.
647         * nptl/tst-tls3-malloc.c: New test.
648         * nptl/Makefile (tests): Add it.
649         (tst-tls3-malloc): Link with libdl, libpthread.
650         (LDFLAGS-tst-tls3-malloc): Set.
651         (tst-tls3-malloc.out): Depend on DSO used in test.
653 2016-08-03  Florian Weimer  <fweimer@redhat.com>
655         [BZ #17730]
656         Avoid using memalign for TLS allocations.
657         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
658         is_static member with to_free member.
659         (union dtv): Use struct dtv_pointer.
660         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
661         dtv_pointer instead of is_static.
662         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
663         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
664         instead of val.
665         (allocate_dtv_entry): New function.
666         (allocate_and_init): Return struct dtv_pointer.  Call
667         allocate_dtv_entry instead of __libc_memalign.
668         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
669         instead of val.
670         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
671         instead of is_static.  Adjust call to allocate_and_init.
672         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
673         struct dtv_pointer instead of val.
675 2016-08-03  Florian Weimer  <fweimer@redhat.com>
677         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
678         (MALLOC_ALIGN_MASK): Move ...
679         * malloc/malloc-internal.h: ... to here.
680         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
682 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
684         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
685         (UDP_ENCAP_GTP1U): Likewise.
687         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
688         (PF_MAX): Update value.
689         (AF_QIPCRTR): New macro.
691 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
693         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
694         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
695         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
697         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
698         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
699         s_truncf-vis3, s_trunc-vis3.
700         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
701         (CFLAGS-s_ceil-vis3.c): Likewise.
702         (CFLAGS-s_floorf-vis3.c): Likewise.
703         (CFLAGS-s_floor-vis3.c): Likewise.
704         (CFLAGS-s_truncf-vis3.c): Likewise.
705         (CFLAGS-s_trunc-vis3.c): Likewise.
706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
714         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
715         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
716         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
717         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
719 2016-08-02  David S. Miller  <davem@davemloft.net>
721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
722         (__nearbyint_vis3): Don't check for sNaN before float register is
723         loaded with the incoming argument.
724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
725         (__nearbyintf_vis3): Likewise.
726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
727         Likewise.
728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
729         Likewise.
731         * string/test-strncmp.c (do_test_limit): Make sure the test data
732         stream is aligned as required for the type "CHAR".
733         (do_test): Likewise.
735 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
737         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
738         by beq instructions jumping to the end of the function.
739         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
740         clobber list. Use "i" constraint instead of "X".
741         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
742         of "X".
744 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
746         * bits/libc-header-start.h: New file.
747         * Makefile (headers): Add bits/libc-header-start.h.
748         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
749         (__GLIBC_USE): New macro.
750         * libio/stdio.h: Define
751         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
752         <bits/libc-header-start.h> instead of including <features.h>.
753         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
754         (open_memstream): Likewise.
755         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
756         (__asprintf): Likewise.
757         (asprintf): Likewise.
758         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
759         (getdelim): Likewise.
760         (getline): Likewise.
761         * string/string.h: Define
762         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
763         <bits/libc-header-start.h> instead of including <features.h>.
764         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
765         (strndup): Likewise.
766         * wcsmbs/wchar.h: Define
767         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
768         <bits/libc-header-start.h> instead of including <features.h>.
769         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
770         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
772 2016-08-02  Florian Weimer  <fweimer@redhat.com>
774         Support linking against compatibility symbols, for use in tests.
775         * include/libc-symbols.h (symbol_version_reference): New macro.
776         (symbol_version): Use it.
777         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
778         (compat_symbol): Use compat_symbol_reference.
779         (compat_symbol_1, compat_symbol_2): Remove.
780         (compat_symbol_reference, compat_symbol_reference_1)
781         (compat_symbol_reference_2): New macro.  Use
782         symbol_version_reference.
784 2016-08-02  Florian Weimer  <fweimer@redhat.com>
786         [BZ #19469]
787         * malloc/Makefile (CPPFLAGS): Compile tests with
788         -DTEST_NO_MALLOPT.
789         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
791 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
793         [BZ #20033]
794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
795         finite version.
796         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
797         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
798         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
799         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
800         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
801         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
802         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
803         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
806         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
807         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
808         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
809         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
813         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
814         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
815         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
816         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
817         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
818         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
819         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
820         in zero power.
822 2016-08-02  Florian Weimer  <fweimer@redhat.com>
824         [BZ #20370]
825         * malloc/arena.c (get_free_list): Update comment.  Assert that
826         arenas on the free list have no attached threads.
827         (remove_from_free_list): New function.
828         (reused_arena): Call it.
830 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
832         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
833         when it is a NaN.
834         [_IEEE_FP_INEXACT] Remove.
835         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
836         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
837         when it is a NaN.
838         [_IEEE_FP_INEXACT] Remove.
839         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
840         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
841         when it is a NaN.
842         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
843         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
844         when its absolute value is greater than 0x1.0p52.
845         [_IEEE_FP_INEXACT] Remove.
846         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
847         when its absolute value is greater than 0x1.0p23.
848         [_IEEE_FP_INEXACT] Remove.
850 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
852         * version.h (RELEASE): Set to "development"
853         (VERSION): Set to 2.24.90.
854         * NEWS: Add 2.25 section.
856         * version.h (RELEASE): Set to "stable"
857         (VERSION): Set to 2.24.
858         * include/features.h (__GLIBC_MINOR__): Set to 24.
860         * NEWS: Add 2.24 fixed bugs.
861         * po/libc.pot: Regenerate.
863 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
866         [$(subdir) = math] (libm-sysdep_routines): Remove.
867         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
868         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
869         s_truncf-vis3, s_trunc-vis3.
870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
872         file.
873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
906         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
907         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
908         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
909         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
910         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
911         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
912         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
913         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
914         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
915         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
917 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
919         [BZ #20384]
920         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
921         test-double-libmvec-sincos-avx-main.o,
922         test-double-libmvec-sincos-avx2-main.o,
923         test-double-libmvec-sincos-main.o,
924         test-float-libmvec-sincosf-avx-main.o,
925         test-float-libmvec-sincosf-avx2-main.o and
926         test-float-libmvec-sincosf-main.o.
927         test-float-libmvec-sincosf-avx512-main.o.
928         ($(objpfx)test-double-libmvec-sincos): Also link with
929         $(objpfx)test-double-libmvec-sincos-main.o.
930         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
931         $(objpfx)test-double-libmvec-sincos-avx-main.o.
932         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
933         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
934         ($(objpfx)test-float-libmvec-sincosf): Also link with
935         $(objpfx)test-float-libmvec-sincosf-main.o.
936         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
937         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
938         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
939         test-double-libmvec-sincos-avx512-main.o and
940         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
941         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
942         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
943         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
944         (CFLAGS-test-double-libmvec-sincos.c): Removed.
945         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
946         (CFLAGS-test-double-libmvec-sincos-main.c): New.
947         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
948         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
949         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
950         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
951         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
952         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
953         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
954         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
955         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
956         -DREQUIRE_AVX2.
957         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
958         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
959         -DREQUIRE_AVX512F.
960         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
962         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
964         file.
965         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
966         Likewise.
967         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
968         Likewise.
969         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
970         Likewise.
971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
972         Likewise.
973         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
974         Likewise.
975         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
976         Likewise.
977         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
978         Likewise.
980 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
982         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
984 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
986         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
987         and typo in a comment about AT_HWCAP entry.
989 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
991         * sysdeps/aarch64/libm-test-ulps: Updated.
993 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
995         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
996         of r13 as it is not restored in mvcle case.
998 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1000         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1001         Rename "ret" to "__ret".
1002         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1003         inline_syscall5, inline_syscall6): Likewise.
1005 2016-07-19   Will Newton  <will.newton@gmail.com>
1007         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1008         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1009         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1010         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1011         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1013 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1015         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1016         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1017         -mfpmath=387 with $(rtld-CFLAGS).
1018         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1019         $(rtld-CFLAGS).
1021 2016-07-18   Ross Burton  <ross.burton@intel.com>
1022              Khem Raj  <raj.khem@gmail.com>
1024         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1025         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1026         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1027         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1028         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1029         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1030         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1031         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1032         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1033         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1034         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1035         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1036         R_METAG_TLS_DTPOFF): New.
1038 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1039             Matt Clay  <mclay@lycos.com>
1041         [BZ #20357]
1042         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1043         to call __mpsin/__mpcos and to negate values.
1044         * math/auto-libm-test-in: Add test.
1045         * math/auto-libm-test-out: Regenerate.
1047 2016-07-18  Zack Weinberg  <zackw@panix.com>
1049         * grp/Makefile: Don't install the internal header grp-merge.h.
1051 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1053         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1055 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1057         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1059 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1061         [BZ #15368]
1062         * sysdeps/unix/sysv/linux/nptl-signals.h
1063         (__nptl_clear_internal_signals): New function.
1064         (__libc_signal_block_all): Likewise.
1065         (__libc_signal_block_app): Likewise.
1066         (__libc_signal_restore_set): Likewise.
1067         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1068         implementation.
1069         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1070         the cached pid/tid value in pthread structure.
1072 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1074         [BZ #20347]
1075         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1077 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1079         [BZ #20348]
1080         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1081         preadv64, pwrite64 and pwritev64.
1083 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1085         [BZ #20350]
1086         * posix/tst-preadwrite.c: Renamed to ...
1087         * posix/tst-preadwrite-common.c: This.
1088         (PREAD): Removed.
1089         (PWRITE): Likewise.
1090         (STRINGIFY): Likewise.
1091         (STRINGIFY2): Likewise.
1092         (do_prepare): Make it static and remove function arguments.
1093         (do_test): Likewise.
1094         (PREPARE): Updated.
1095         (TEST_FUNCTION): New.
1096         (name): Make it static.
1097         (fd): Likewise.
1098         (do_prepare): Use create_temp_file.
1099         (do_test): Renamed to ...
1100         (do_test_with_offset): This.  Make it static and accept offset.
1101         Properly check return value of PWRITE and PREAD.  Return bytes
1102         read.  Don't close fd nor unlink name.
1103         * posix/tst-preadwrite.c: Rewrite.
1104         * posix/tst-preadwrite64.c: Likewise.
1106 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1108         [BZ #20309]
1109         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1110         -mtls-dialect=gnu2 works.
1111         * configure: Regenerated.
1112         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1113         (tests): Add tst-gnu2-tls1.
1114         (modules-names): Add tst-gnu2-tls1mod.
1115         ($(objpfx)tst-gnu2-tls1): New.
1116         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1117         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1118         * elf/tst-gnu2-tls1.c: New file.
1119         * elf/tst-gnu2-tls1mod.c: Likewise.
1120         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1121         bytes for push in the PLT entry to align the stack.
1123 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1125         [BZ #20349]
1126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1128 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1130         [BZ #18707]
1131         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1132         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1134 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1136         * sysdeps/unix/sysv/linux/sysdep.h
1137         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1138         guards.
1139         * misc/tst-preadvwritev-common.c: New file.
1140         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1141         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1142         a check for files larger than 2GB.
1144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1145         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1146         * sysdeps/unix/sysv/linux/pread.c
1147         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1148         __OFF_T_MATCHES_OFF64_T.
1149         * sysdeps/unix/sysv/linux/pread64.c
1150         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1151         * sysdeps/unix/sysv/linux/preadv.c
1152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1153         * sysdeps/unix/sysv/linux/preadv64.c
1154         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1155         * sysdeps/unix/sysv/linux/pwrite.c
1156         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1157         * sysdeps/unix/sysv/linux/pwrite64.c
1158         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1159         * sysdeps/unix/sysv/linux/pwritev.c
1160         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1161         * sysdeps/unix/sysv/linux/pwritev64.c
1162         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1164 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1167         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1169 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1171         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1173 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1175         [BZ #20240]
1176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1177         (CFLAGS-s_modf-ppc32.c): New variable.
1178         (CFLAGS-s_modff-ppc32.c): Likewise.
1179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1180         (CFLAGS-s_modf-ppc64.c): Likewise.
1181         (CFLAGS-s_modff-ppc64.c): Likewise.
1183 2016-07-07  Andreas Schwab  <schwab@suse.de>
1185         [BZ #20263]
1186         * nptl/tst-robust10.c: New test.
1187         * nptl/Makefile (tests): Add tst-robust10.
1189 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1191         [BZ #20263]
1192         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1194 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1196         * sysdeps/s390/linkmap.h (struct link_map_machine):
1197         Remove member gotplt and add member jmprel.
1198         * sysdeps/s390/s390-32/dl-machine.h
1199         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1200         instead of gotplt with &got[3].
1201         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1202         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1204 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1206         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1208 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1210         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1211         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1212         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1213         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1214         * libio/vtables.c (_IO_vtable_check)
1215         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1216         * libio/libioP.h (IO_set_accept_foreign_vtables)
1217         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1219 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1221         [BZ #20314]
1222         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1223         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1224         $(common-objpfx)cmath.
1225         ($(common-objpfx)cstdlib): New target.
1226         ($(common-objpfx)cmath): Likewise.
1228 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1230         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1232 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1234         [BZ #20327]
1235         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1236         are not part of the string.
1238 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1240         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1241         * nptl/tst-cancel4-common.h (fifoname): New variable.
1242         (fifofd): Likewise.
1243         (cl_fifo): New function.
1244         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1245         SIGINT.
1246         (tf_open): Add early cancel test.
1248 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1250         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1252 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1254         * sysdeps/generic/ldsodefs.h
1255         (dl_symbol_visibility_binds_local_p): New inline function.
1256         * elf/dl-addr.c (determine_info): Treat hidden and internal
1257         symbols as local.
1258         * elf/dl-lookup.c (do_lookup_x): Likewise.
1259         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1261 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1263         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1264         invalid exception for a sNaN input.
1265         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1266         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1267         (__nearbyint_vis3): Likewise
1268         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1269         (__nearbyintf_vis3): Likewise
1270         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1271         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1272         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1273         Likewise.
1274         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1275         Likewise.
1277 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1279         [BZ #20139]
1280         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1281         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1282         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1283         2.24 or above.
1284         (HAVE_AVX512_ASM_SUPPORT): Removed.
1285         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1286         * sysdeps/x86_64/configure: Regenerated.
1287         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1288         check unconditional.
1289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1290         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1291         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1292         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1293         Likewise.
1294         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1295         Likewise.
1296         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1297         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1298         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1299         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1300         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1301         Likewise.
1302         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1303         Likewise.
1304         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1305         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1306         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1307         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1309         Likewise.
1310         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1311         Likewise.
1312         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1313         Likewise.
1314         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1315         Likewise.
1316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1317         Likewise.
1318         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1319         Likewise.
1320         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1321         Likewise.
1322         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1323         Likewise.
1324         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1325         Likewise.
1326         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1327         Likewise.
1328         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1329         Likewise.
1331 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1333         [BZ #20024]
1334         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1336         of this implementation of vector function.
1337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1340         Likewise.
1341         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1342         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1343         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1344         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1345         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1346         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1347         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1348         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1349         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1350         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1351         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1352         for testing vector sincos with fixed ABI.
1353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1354         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1356         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1357         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1358         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1359         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1360         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1361         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1362         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1363         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1364         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1365         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1366         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1367         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1368         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1370 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1372         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1374 2016-06-30  Anton Blanchard  <anton@samba.org>
1376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1377         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1378         s_sinf-ppc64.
1379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1382         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1384 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1388         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1389         e_expf-ppc64.
1390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1392         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1393         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1395 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1397         [BZ #20277]
1398         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1399         when SHARED is defined.
1401 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1403         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1404         (index_arch_Prefer_ERMS): Likewise.
1405         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1406         __memcpy_erms for Prefer_ERMS.
1407         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1408         (__memmove_erms): Enabled for libc.a.
1409         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1410         __memmove_erms or Prefer_ERMS.
1411         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1412         __mempcpy_erms for Prefer_ERMS.
1413         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1414         __memset_erms for Prefer_ERMS.
1416 2016-06-30  Andreas Schwab  <schwab@suse.de>
1418         [BZ #20262]
1419         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1420         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1421         of memory.
1423 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1425         [BZ #18645]
1426         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1427         (test-extras): Add tst-cleanupx4aux.
1428         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1429         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1430         tst-cleanupx4aux.o.
1431         * nptl/tst-cleanupx4aux.c: New file.
1433 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1435         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1437 2016-06-29  Andreas Schwab  <schwab@suse.de>
1439         [BZ #20260]
1440         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1441         address before the beginning of the string as an integer to avoid
1442         array-bounds warning.
1444 2016-06-28  Richard Henderson  <rth@redhat.com>
1446         * elf/elf.h (EM_BPF): New.
1447         (EM_NUM): Update.
1448         (R_BPF_NONE, R_BPF_MAP_FD): New.
1450         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1451         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1452         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1453         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1454         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1455         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1456         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1457         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1458         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1459         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1460         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1461         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1462         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1463         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1464         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1465         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1466         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1467         (EM_NUM): Update.
1469 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1471         [BZ #18960]
1472         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1473         Set _nl_current_LC_CATEGORY_used to two instead of one.
1475 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1477         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1478         (do_test): ... this.
1479         (TEST_FUNCTION): New macro.
1480          Include test-skeleton.c.
1481         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1482         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1484 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1486         [BZ #15479]
1487         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1488         floating-point environment rather than just control word.
1489         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1490         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1491         floating-point environment, with "invalid" exceptions merged in,
1492         rather than just control word.
1493         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1494         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1495         "inexact" exceptions.
1497         [BZ #15479]
1498         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1499         floating-point environment rather than just control word.
1500         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1501         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1502         floating-point environment, with "invalid" exceptions merged in,
1503         rather than just control word.
1504         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1505         * math/libm-test.inc (floor_test_data): Do not allow spurious
1506         "inexact" exceptions.
1508         [BZ #15479]
1509         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1510         floating-point environment rather than just control word.
1511         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1512         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1513         floating-point environment, with "invalid" exceptions merged in,
1514         rather than just control word.
1515         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1516         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1517         "inexact" exceptions.
1519 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1521         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1522         __libc_vfork.
1523         (__vfork) [IS_IN (libc)]: Remove alias.
1524         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1525         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1526         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1528 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1530         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1531         of atomic_compare_and_exchange_bool_rel.
1532         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1533         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1534         catomic_compare_and_exchange_bool_rel): Remove.
1535         * sysdeps/aarch64/atomic-machine.h
1536         (atomic_compare_and_exchange_bool_rel): Likewise.
1537         * sysdeps/alpha/atomic-machine.h
1538         (atomic_compare_and_exchange_bool_rel): Likewise.
1539         * sysdeps/arm/atomic-machine.h
1540         (atomic_compare_and_exchange_bool_rel): Likewise.
1541         * sysdeps/mips/atomic-machine.h
1542         (atomic_compare_and_exchange_bool_rel): Likewise.
1543         * sysdeps/microblaze/atomic-machine.h
1544         ( __arch_compare_and_exchange_bool_8_rel,
1545         __arch_compare_and_exchange_bool_16_rel): Likewise.
1546         * sysdeps/powerpc/atomic-machine.h
1547         ( __arch_compare_and_exchange_bool_8_rel,
1548         __arch_compare_and_exchange_bool_16_rel): Likewise.
1549         * sysdeps/powerpc/powerpc32/atomic-machine.h
1550         ( __arch_compare_and_exchange_bool_32_rel,
1551         __arch_compare_and_exchange_bool_64_rel): Likewise.
1552         * sysdeps/powerpc/powerpc64/atomic-machine.h
1553         ( __arch_compare_and_exchange_bool_32_rel,
1554         __arch_compare_and_exchange_bool_64_rel): Likewise.
1555         * sysdeps/tile/atomic-machine.h
1556         (atomic_compare_and_exchange_bool_rel): Likewise.
1558 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1560         [BZ #20296]
1561         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1562         when either argument is a NaN.
1563         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1564         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1566         * math/libm-test.inc (snan_value_ld): New macro.
1567         (isgreater_test_data): Add sNaN tests.
1568         (isgreaterequal_test_data): Likewise.
1569         (isless_test_data): Likewise.
1570         (islessequal_test_data): Likewise.
1571         (islessgreater_test_data): Likewise.
1572         (isunordered_test_data): Likewise.
1573         (nextafter_test_data): Likewise.
1574         (nexttoward_test_data): Likewise.
1575         (remainder_test_data): Likewise.
1576         (remquo_test_data): Likewise.
1577         (significand_test_data): Likewise.
1578         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1580 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1582         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1583         environment macros are defined.
1584         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1586 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1588         [BZ #20191]
1589         Implement vtable verification in libio.
1590         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1591         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1592         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1593         _IO_new_file_init_internal instead of _IO_file_init.
1594         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1595         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1596         * libio/Makefile (routines): Add vtables.
1597         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1598         (_IO_init): Remove, not for internal use.
1599         (_IO_init_internal): Declare, internal replacement for _IO_init.
1600         (_IO_file_init): Remove, not for internal use.
1601         (_IO_new_file_init): Remove, not for internal use.
1602         (_IO_new_file_init_internal): Declare, internal replacement for
1603         _IO_new_file_init.
1604         (_IO_old_file_init): Remove, not for internal use.
1605         (_IO_old_file_init_internal): Declare, internal replacement for
1606         _IO_old_file_init.
1607         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1608         internal use.
1609         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1610         Declare.
1611         (libio_vtable): New macro.
1612         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1613         functions.
1614         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1615         _IO_new_file_init.
1616         (_IO_new_file_init): New externally visible wrapper which disables
1617         vtable verification.
1618         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1619         Define as vtables.
1620         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1621         (_IO_init): New externally visible wrapper which disables
1622         vtable verification.
1623         * libio/iofdopen.c (_IO_new_fdopen): Call
1624         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1625         comment.
1626         * libio/iofopen.c (__fopen_internal): Call
1627         _IO_new_file_init_internal instead of _IO_file_init.
1628         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1629         Define as vtables.
1630         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1631         _IO_new_file_init_internal instead of _IO_file_init.
1632         * libio/iopopen.c (_IO_new_popen): Likewise.
1633         (_IO_proc_jumps): Define as vtable.
1634         * libio/iovdprintf.c (_IO_vdprintf): Call
1635         _IO_new_file_init_internal instead of _IO_file_init.
1636         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1637         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1638         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1639         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1640         _IO_old_file_init.
1641         (_IO_old_file_init): New externally visible wrapper which disables
1642         vtable verification.
1643         (_IO_old_file_jumps): Define as vtable.
1644         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1645         _IO_old_file_init_internal instead of _IO_old_file_init.
1646         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1647         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1648         (_IO_old_proc_jumps): Define as vtable.
1649         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1650         Define as vtables.
1651         * libio/vtables.c: New file.
1652         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1653         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1654         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1655         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1656         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1657         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1658         instead of _IO_init.
1660 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1662         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1664 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1666         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1667         potentially unused.
1669 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1671         * test-skeleton.c (write_message): New function.
1672         * malloc/tst-mallocfork2.c (write_message): Remove.
1673         * debug/tst-longjmp_chk2.c (write_indented): New function.
1674         (write_message): Remove.
1675         (stackoverflow_handler): Call write_indented.
1677 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1679         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1680         "inexact" exceptions after fnstenv.
1681         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1682         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1683         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1685 2015-06-22  Zack Weinberg  <zackw@panix.com>
1687         * sysdeps/generic/bits/hwcap.h: Moved to ...
1688         * bits/hwcap.h: Here.
1690 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1692         * sysdeps/aarch64/memcpy.S (memcpy):
1693         Further tuning for performance.
1695 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1697         [BZ #20284]
1698         * malloc/arena.c (reused_arena): Do not return NULL if we start
1699         out with a non-corrupted arena.
1701 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1703         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1704         * misc/tst-preadvwritev.c: New file.
1705         * misc/tst-preadvwritev64.c: Likewise.
1706         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1707         usage.
1708         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1709         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1710         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1711         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1713 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1715         [BZ #19654]
1716         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1717         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1718         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1719         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1720         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1721         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1722         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1723         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1724         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1725         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1726         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1727         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1728         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1729         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1730         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1731         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1732         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1733         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1734         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1735         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1736         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1737         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1738         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1739         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1740         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1741         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1743 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1745         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1746         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1748 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1750         * sysdeps/aarch64/memcpy.S (memcpy):
1751         Rewrite of optimized memcpy and memmove.
1752         * sysdeps/aarch64/memmove.S (memmove): Remove
1753         memmove code (merged into memcpy.S).
1755 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1757         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1758         * sysdeps/generic/dl-dtv.h: New file.
1759         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1760         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1761         (dtv_t): Remove.
1762         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1763         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1764         (dtv_t): Remove.
1765         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1766         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1767         (dtv_t): Remove.
1768         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1769         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1770         (dtv_t): Remove.
1771         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1772         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1773         (dtv_t): Remove.
1774         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1775         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1776         (dtv_t): Remove.
1777         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1778         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1779         (dtv_t): Remove.
1780         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1781         (dtv_t): Remove.
1782         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1783         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1784         (dtv_t): Remove.
1785         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1786         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1787         (dtv_t): Remove.
1788         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1789         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1790         (dtv_t): Remove.
1791         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1792         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1793         (dtv_t): Remove.
1794         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1795         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1796         (dtv_t): Remove.
1797         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1798         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1799         (dtv_t): Remove.
1800         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1801         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1802         (dtv_t): Remove.
1803         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1804         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1805         (dtv_t): Remove.
1807 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1809         Revert symbol poisoning of  __malloc_initialize_hook.
1810         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1811         poisoning.
1812         * malloc/Makefile: Remove un-poisoning.
1813         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1814         instead of old__malloc_initialize_hook.
1815         * malloc/malloc-hooks.h: Likewise.
1816         * malloc/malloc.c: Likewise.
1817         * malloc/mcheck-init.c: Likewise.
1819 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1821         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1823 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1825         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1826         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1827         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1828         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1830 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1832         * NEWS: Mention addition of nextup and nextdown.
1833         * manual/arith.texi: Document nextup and nextdown.
1834         * manual/libm-err-tab.pl: Add nextup and nextdown.
1835         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1836         * math/Versions (libm): Add GLIBC_2.24.
1837         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1838         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1839         Add new test.
1840         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1841         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1842         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1843         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1844         (nextup_test_data): Likewise.
1845         (nextdown_test_data): Likewise.
1846         * math/s_nextdown.c: New file.
1847         * math/s_nextdownf.c: Likewise.
1848         * math/s_nextdownl.c: Likewise.
1849         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1850         F(nextup): New function.
1851         F(nextdown): Likewise.
1852         * math/tgmath.h: Add nextup and nextdown.
1853         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1854         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1855         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1859         Add nextup and nextdown.
1860         (CFLAGS-nldbl-nextup.c): New variable.
1861         (CFLAGS-nldbl-nextdown.c): Likewise.
1862         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1863         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1864         * sysdeps/nacl/libm.abilist: Update.
1865         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1879         Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1889         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1890         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1891         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1892         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1894 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1896         * manual/pattern.texi: Fix typos & grammar errors.
1898 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1900         * manual/search.texi: Fix typos & grammar errors.
1902 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1904         * manual/message.texi: Fix typos & grammar errors.
1906 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1908         * manual/contrib.texi: Fix spelling typos.
1909         * manual/crypt.texi: Likewise.
1910         * manual/filesys.texi: Likewise.
1911         * manual/locale.texi: Likewise.
1912         * manual/message.texi: Likewise.
1913         * manual/nss.texi: Likewise.
1914         * manual/string.texi: Likewise.
1916 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1918         * manual/locale.texi: Fix typos & grammar errors.
1920 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1922         * manual/charset.texi: Fix typos & grammar errors.
1924 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1926         * manual/string.texi: Fix typos.
1928 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1930         * manual/ctype.texi: Fix typos.
1932 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1934         * manual/memory.texi: Fix various typos & grammar errors.
1936 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1938         [BZ #20255]
1939         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1940         * math/libm-test.inc (fdim_test_data): Add another test.
1942         [BZ #6796]
1943         [BZ #20255]
1944         [BZ #20256]
1945         * math/s_fdim.c: Include <math_private.h>.
1946         (__fdim): Use math_narrow_eval on result.
1947         * math/s_fdimf.c: Include <math_private.h>.
1948         (__fdimf): Use math_narrow_eval on result.
1949         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1950         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1951         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1952         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1953         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1954         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1955         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1956         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1957         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1958         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1959         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1960         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1961         overflow.  Add sNaN tests.
1963         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1964         fpclassify.
1965         * math/s_fdimf.c (__fdimf): Likewise.
1966         * math/s_fdiml.c (__fdiml): Likewise.
1968 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1970         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1971         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1973         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1974         ifunc'ed strcasecmp/strncasecmp.
1975         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1976         [EALIGN]: Removed.
1977         [END]: Likewise.
1978         [__strcasecmp]: Define instead of the above to control symbol name.
1979         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1980         for __strcasecmp_power8.
1981         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1982         for __strncasecmp_power8.
1983         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1984         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1985         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1986         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1987         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1988         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1990 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1992         [BZ #20252]
1993         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1994         arguments when second argument is a NaN.
1995         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1996         qNaN tests.
1998         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1999         (conj_test_data): Likewise.
2000         (copysign_test_data): Likewise.
2001         (creal_test_data): Likewise.
2002         (fma_test_data): Likewise.
2003         (fmod_test_data): Likewise.
2005         [BZ #20250]
2006         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2007         itself.
2008         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2009         zero input to itself.
2010         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2011         Likewise.
2012         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2013         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2014         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2015         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2016         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2018 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2021         * nptl/tst-cancel4-common.c: New file.
2022         * nptl/tst-cancel4-common.h: Likewise.
2023         * nptl/tst-cancel4.c: Move common definitions to
2024         tst-cancel4-common.{c,h} file.
2025         * nptl/tst-cancel4_1.c: New test.
2026         * nptl/tst-cancel4_2.c: New test.
2028 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2030         [BZ #20248]
2031         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2032         (write_message): New function.
2033         (stackoverflow_handler): Call it instead of printf, to avoid
2034         excessive stack usage by printf.
2035         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2037 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2039         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2040         (prio_inherit_missing): Remove define.
2041         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2042         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2044         Likewise.
2045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2046         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2048         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2049         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2050         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2052 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2054         [BZ #19670]
2055         [BZ #19672]
2057         * io/test-lfs.c (do_prepare): Use xmalloc.
2058         * io/tst-fcntl.c (do_prepare): Likewise.
2059         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2060         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2061         * login/tst-utmp.c (do_prepare): Likewise.
2062         * posix/tst-exec.c (do_prepare): Likewise.
2063         * posix/tst-pathconf.c (prepare): Likewise.
2064         * posix/tst-spawn.c (do_prepare): Likewise.
2065         * posix/tst-truncate.c (do_prepare): Likewise.
2066         * rt/tst-aio.c (do_prepare): Likewise.
2067         * rt/tst-aio64.c (do_prepare): Likewise.
2069 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2071         [BZ #20237]
2072         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2073         (get*ent): Set entidx to NULL during initialization.  If entidx is
2074         NULL, start iteration from the beginning.
2076 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2078         * malloc/malloc.c (musable): Return correct size for dumped fake
2079         mmapped chunk.
2081 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2083         [BZ #20222]
2084         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2085         (_IO_cookie_write): Likewise.
2086         (_IO_cookie_seek): Likewise.
2087         (_IO_cookie_close): Likewise.
2088         (_IO_old_cookie_seek): Likewise.
2089         (set_callbacks): New function.
2090         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2092 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2094         * locale/programs/localedef.c (oldstyle_tables): Remove.
2095         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2097 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2099         [BZ #20240]
2100         * math/Makefile (CFLAGS-s_modf.c): New variable.
2101         (CFLAGS-s_modff.c): Likewise.
2102         (CFLAGS-s_modfl.c): Likewise.
2103         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2105 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2107         [BZ #20215]
2108         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2109         [!__GNUC_PREREQ (3,2)]: Likewise.
2111 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2113         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2114         (msghdr.msg_controllen): Likewise.
2115         (cmsghdr.cmsg_len): Likewise.
2116         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2117         ptw-oldsendmsg.
2118         (CFLAGS-oldrecvmsg.c): Remove rule.
2119         (CFLAGS-oldsendmsg.c): Likewise.
2120         (CFLAGS-recvmsg.c): Add rule.
2121         (CFLAGS-sendmsg.c): Likewise.
2122         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2123         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2124         (CFLAGS-recvmsg.c): Remove rule.
2125         (CFLAGS-sendmsg.c): Likewise.
2126         (CFLAGS-oldrecvmsg.c): Likewise.
2127         (CFLAGS-oldsendmsg.c): Likewise.
2128         (CFLAGS-recvmmsg.c): Likewise.
2129         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2130         to kernel defined interfaces.
2131         (msghdr.msg_controllen): Likewise.
2132         (cmsghdr.cmsg_len): Likewise.
2133         (msghdr.__glibc_reserved1): Remove member.
2134         (msghdr.__glibc_reserved2): Likewise.
2135         (cmsghdr.__glibc_reserved1): Likewise.
2136         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2137         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2138         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2139         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2140         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2141         version.
2142         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2143         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2144         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2145         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2146         Remove recvmsg and sendmsg.
2147         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2148         Likewise.
2149         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2150         Likewise.
2151         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2152         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2153         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2154         Likewise.
2155         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2156         Likewise.
2157         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2158         [libc] (GLIBC_2.24): Likewise.
2159         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2160         Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2164         [libc] (GLIBC_2.24): Likewise.
2165         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2166         Likewise.
2167         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2170         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2173         Likewise.
2174         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2175         Likewise.
2176         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2177         Likewise.
2178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2179         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2180         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2181         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2182         version for {recv,send,recm,sendm}msg.
2183         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2184         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2185         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2186         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2192         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2193         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2194         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2196         Likewise.
2197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2198         Likewise.
2199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2201         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2202         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2203         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2204         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2205         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2206         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2209         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2210         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2211         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2213 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2215         [BZ #19564]
2216         Remove __malloc_initialize_hook from the API.
2217         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2218         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2219         #pragma GCC poison.
2220         * malloc/malloc-hooks.h: New file.
2221         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2222         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2223         (old__malloc_initialize_hook): Rename from
2224         __malloc_initialize_hook to evade poisoning.  Turn into compat
2225         symbol.
2226         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2227         __malloc_initialize_hook.
2228         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2229         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2230         * manual/memory.texi (Hooks for Malloc): Remove
2231         __malloc_initialize_hook.  Adjust hook example.
2233 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2235         [BZ #20235]
2236         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2237         itself.
2238         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2239         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2241         [BZ #20234]
2242         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2243         infinity or NaN input to itself.
2245         [BZ #20233]
2246         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2247         to itself.
2249         [BZ #20232]
2250         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2251         itself.
2253 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2255         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2256         __libc_start_main via GOT.
2258 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2260         * sysdeps/x86_64/memcopy.h: New file.
2261         * sysdeps/x86_64/wordcopy.c: Likewise.
2263 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2265         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2266         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2267         <cstdlib>.
2268         (optimization_barrier): New.
2269         (do_test): Use it.  Call quick_exit in the global namespace.
2270         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2271         instead of <cstdlib>, <thread>.
2272         (optimization_barrier): New.
2273         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2274         Call quick_exit in the global namespace.
2275         (do_test): Call optimization_barrier.  Use pthread_create,
2276         pthread_join instead of std::thread.
2278 2016-06-09  Andreas Schwab  <schwab@suse.de>
2280         [BZ #19755]
2281         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2282         new entries in auto-propagate mode.
2283         * nscd/grpcache.c (cache_addgr): Likewise.
2285 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2287         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2288         New functions.
2289         (add_temp_file): Use them.
2291 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2293         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2295 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #20229]
2298         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2299         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2300         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2302         [BZ #20228]
2303         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2304         itself.
2305         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2306         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2308         [BZ #20227]
2309         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2310         itself.
2311         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2312         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2313         * math/libm-test.inc (log_test_data): Add sNaN tests.
2315         [BZ #20226]
2316         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2317         itself.
2318         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2319         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2320         (exp10_test_data): Likewise.
2321         (expm1_test_data): Likewise.
2323         [BZ #20225]
2324         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2325         itself.
2326         * math/s_ldexpf.c (__ldexpf): Likewise.
2327         * math/s_ldexpl.c (__ldexpl): Likewise.
2328         * math/w_scalbln.c (__w_scalbln): Likewise.
2329         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2330         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2331         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2332         (scalbln_test_data): Likewise.
2334         [BZ #20224]
2335         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2336         argument to itself.
2337         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2339 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2341         [BZ #19776]
2342         * sysdeps/x86_64/memcpy.S: Make it dummy.
2343         * sysdeps/x86_64/mempcpy.S: Likewise.
2344         * sysdeps/x86_64/memmove.S: New file.
2345         * sysdeps/x86_64/memmove_chk.S: Likewise.
2346         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2347         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2348         * sysdeps/x86_64/memmove.c: Removed.
2349         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2350         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2351         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2352         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2353         Likewise.
2354         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2355         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2357         memcpy-sse2-unaligned, memmove-avx-unaligned,
2358         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2359         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2360         (__libc_ifunc_impl_list): Replace
2361         __memmove_chk_avx512_unaligned_2 with
2362         __memmove_chk_avx512_unaligned.  Remove
2363         __memmove_chk_avx_unaligned_2.  Replace
2364         __memmove_chk_sse2_unaligned_2 with
2365         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2366         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2367         with __memmove_avx512_unaligned.  Replace
2368         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2369         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2370         with __memcpy_chk_avx512_unaligned.  Remove
2371         __memcpy_chk_avx_unaligned_2.  Replace
2372         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2373         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2374         Replace __memcpy_avx512_unaligned_2 with
2375         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2376         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2377         with __mempcpy_chk_avx512_unaligned.  Remove
2378         __mempcpy_chk_avx_unaligned_2.  Replace
2379         __mempcpy_chk_sse2_unaligned_2 with
2380         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2381         Replace __mempcpy_avx512_unaligned_2 with
2382         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2383         Replace __mempcpy_sse2_unaligned_2 with
2384         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2385         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2386         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2387         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2388         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2389         (ENTRY): Removed.
2390         (END): Likewise.
2391         (ENTRY_CHK): Likewise.
2392         (libc_hidden_builtin_def): Likewise.
2393         Don't include ../memcpy.S.
2394         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2395         __memcpy_chk_avx512_unaligned_erms and
2396         __memcpy_chk_avx512_unaligned.  Use
2397         __memcpy_chk_avx_unaligned_erms and
2398         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2399         Default to __memcpy_chk_sse2_unaligned.
2400         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2401         Change function suffix from unaligned_2 to unaligned.
2402         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2403         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2404         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2405         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2406         (ENTRY): Removed.
2407         (END): Likewise.
2408         (ENTRY_CHK): Likewise.
2409         (libc_hidden_builtin_def): Likewise.
2410         Don't include ../mempcpy.S.
2411         (mempcpy): New.  Add a weak alias.
2412         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2413         __mempcpy_chk_avx512_unaligned_erms and
2414         __mempcpy_chk_avx512_unaligned.  Use
2415         __mempcpy_chk_avx_unaligned_erms and
2416         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2417         Default to __mempcpy_chk_sse2_unaligned.
2419 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2421         [BZ #19881]
2422         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2423         into ...
2424         * sysdeps/x86_64/memset.S: This.
2425         (__bzero): Removed.
2426         (__memset_tail): Likewise.
2427         (__memset_chk): Likewise.
2428         (memset): Likewise.
2429         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2430         defined.
2431         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2432         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2433         (__memset_zero_constant_len_parameter): Check SHARED instead of
2434         PIC.
2435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2436         memset-avx2 and memset-sse2-unaligned-erms.
2437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2438         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2439         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2440         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2441         (__bzero): Enabled.
2442         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2443         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2444         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2445         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2446         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2447         (memset): Removed.
2448         (__memset_chk): Likewise.
2449         (MEMSET_SYMBOL): New.
2450         (libc_hidden_builtin_def): Replace __memset_sse2 with
2451         __memset_sse2_unaligned.
2452         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2453         __memset_chk_sse2 and __memset_chk_avx2 with
2454         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2455         Use __memset_chk_sse2_unaligned_erms or
2456         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2457         __memset_chk_avx512_unaligned_erms and
2458         __memset_chk_avx512_unaligned.
2460 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2462         * math/gen-auto-libm-test.c (fp_format_desc): remove
2463         suffix member.
2464         (output_generic_value): Remove usage of suffix member,
2465         and the resulting unuse of the fp_format argument.
2466         (output_for_one_input_case): Remove unused fp_format
2467         parameter.
2469         * math/auto-libm-test-out: Regenerate.
2471         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2472         usage with TEST_COND_ibm128.
2473         (TEST_COND_flt_32): Remove.
2474         (TEST_COND_dbl_64): Remove.
2475         (TEST_COND_ldbl_96_intel): Remove.
2476         (TEST_COND_ldbl_96_m68k): Remove.
2477         (TEST_COND_ldbl_128): Remove.
2479 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2481         * auto-libm-test-in:
2482         Replace flt-32 usage with binary32.
2483         Replace dbl-64 usage with binary64.
2484         Replace ldbl-intel-96 usage with intel96.
2485         Replace ldbl-m68k-96 usage with m68k96.
2486         Replace ldbl-128ibm usage with ibm128.
2487         Replace ldbl-128 usage with binary128.
2489         * auto-libm-test-out: Regenerate.
2491 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2493         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2494         (parse_ulps): Dynamically generate type name matching
2495         string from all_floats.
2496         (get_ulps): Generate the ulps as an array instead.
2497         (output_ulps): Dynamically compose the type based
2498         on the number of supported formats, and print
2499         the indices as type specific helper macros.
2501         * math/libm-test.inc: Remove comment about CHOOSE.
2502         (ulp_data): Generate the type in libm-test-ulps.h.
2503         (ULP_IDX): New macro.
2504         (find_ulps): Update usage of max_ulp.
2506         * math/test-double-vlen2.h (CHOOSE): Remove.
2507         * math/test-double-vlen4.h (CHOOSE): Likewise.
2508         * math/test-double-vlen8.h (CHOOSE): Likewise.
2509         * math/test-float.c (CHOOSE): Likewise.
2510         * math/test-float-finite.c (CHOOSE): Likewise.
2511         * math/test-double.c (CHOOSE): Likewise.
2512         * math/test-double-finite.c (CHOOSE): Likewise.
2513         * math/test-idouble.c (CHOOSE): Likewise.
2514         * math/test-ifloat.c (CHOOSE): Likewise.
2515         * math/test-ildoubl.c (CHOOSE): Likewise.
2516         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2517         * math/test-ldouble.c (CHOOSE): Likewise.
2519         * math/test-float.h (TEST_FLOAT): Remove.
2520         * math/test-double.h (TEST_DOUBLE): Likewise.
2521         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2523 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2525         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2526         (parse_args): Strip C suffix from floating point literals
2527         typed with 'f' and wrap them with LIT().
2529         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2530         (test_ff_f_data_nexttoward): Rename to
2531         (test_fj_f_data): New struct.
2532         (nexttoward_test_data): Relabel tests as
2533         TEST_fj_f instead of TEST_ff_f.
2535 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2537         Emacs bug 23726.
2538         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2539         (__libc_realloc): Correct size computation for dumped fake mmapped
2540         chunks.
2542 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2544         [BZ #20219]
2545         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2546         to itself.
2547         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2549         [BZ #20218]
2550         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2551         to itself.
2552         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2554 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2556         [BZ #20195]
2557         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2558         check to ...
2559         (init_cpu_features): Here.
2561 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2563         [BZ #20214]
2564         * sysdeps/unix/sysv/linux/bits/in.h
2565         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2566          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2567         Define to 1.
2568         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2569          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2570         Define to 0.
2571         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2572         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2574 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2576         [BZ #20198]
2577         * stdlib/Makefile (tests): Add tst-quick_exit, and
2578         tst-thread-quick_exit.
2579         [ifeq ($(have-cxx-thread_local),yes)]
2580         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2581         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2582         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2583         (LDLIBS-tst-thread-quick_exit): Likewise.
2584         [ifneq ($(have-cxx-thread_local),yes)]
2585         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2586         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2587         If run_dtors is true call __call_tls_dtors.
2588         (exit): Call __run_exit_handlers with run_dtors set to true.
2589         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2590         definition.
2591         * stdlib/quick_exit.c (quick_exit): Remove function.
2592         (__new_quick_exit): New function.
2593         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2594         function.
2595         * stdlib/tst-quick_exit.cc: New file.
2596         * stdlib/tst-thread-quick_exit.cc: New file.
2597         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2598         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2600         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2601         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2602         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2603         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2604         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2605         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2606         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2607         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2608         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2609         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2610         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2611         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2612         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2617         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2618         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2619         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2620         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2621         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2624         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2625         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2626         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2628 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2630         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2631         a typo in comments.
2633 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2635         [BZ #20213]
2636         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2637         argument to itself.
2638         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2640 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2642         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2643         required flags.
2644         (CFLAGS-pwritev64.c): Likewise.
2645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2647         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2648         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2649         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2650         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2651         syscall from auto-generation.
2652         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2653         [WORDSIZE == 64] (pwritev64): Remove macro.
2654         [!PWRITEV] (PWRITEV): Likewise.
2655         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2656         [!PWRITEV] (PWRITE): Likewise.
2657         [!PWRITEV] (OFF_T): Likewise.
2658         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2659         (LO_HI_LONG): Remove macro.
2660         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2661         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2662         (PWRITEV): Remove macro.
2663         (PWRITEV_REPLACEMENTE): Likewise.
2664         (PWRITE): Likewise.
2665         (OFF_T): Likewise.
2666         (pwritev64): New function.
2667         * nptl/tst-cancel4.c (tf_writev): Add test.
2669         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2670         required flags.
2671         (CFLAGS-preadv64.c): Likewise.
2672         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2673         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2674         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2675         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2676         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2677         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2678         syscall from auto-generation.
2679         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2680         [WORDSIZE == 64] (preadv64): Remove macro.
2681         [!PREADV] (PREADV): Likewise.
2682         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2683         [!PREADV] (PREAD): Likewise.
2684         [!PREADV] (OFF_T): Likewise.
2685         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2686         (LO_HI_LONG): Remove macro.
2687         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2688         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2689         (PREADV): Remove macro.
2690         (PREADV_REPLACEMENTE): Likewise.
2691         (PREAD): Likewise.
2692         (OFF_T): Likewise.
2693         (preadv64): New function.
2694         * nptl/tst-cancel4.c (tf_preadv): Add test.
2696 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2698         [BZ #20212]
2699         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2700         argument to itself.
2701         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2703 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2705         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2706         New symbol defined as libc_hidden_def.
2707         (strcasestr): Became a weak alias to __strcasestr.
2708         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2709         according to multi-arch support.  Move __stpncpy hidden
2710         definition from here to...
2711         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2712         symbol stpncpy.
2713         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2714         libc_hidden_builtin_def.
2715         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2716         memset symbol to use when multi-arch support is available.
2718 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2720         * dlfcn/tst-rec-dlopen.c: Include string.h.
2722 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2724         * manual/install.texi: Remove mention of --without-tls
2725         * INSTALL: Regenerate.
2727 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2729         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2730         Remove.
2731         (call_function, interposed_malloc_called): New variables.
2732         (malloc): New function.
2733         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2734         and clear call_function as needed.
2736 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2738         * include/wchar.h (__wmemset): Use __typeof.
2740 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2742         * include/wchar.h (__wmemset): Declare function without typeof.
2744 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2746         [BZ #20205]
2747         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2748         exponent when incrementing negative subnormal with low mantissa
2749         word zero.
2750         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2751         Add another test.
2753 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2755         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2756         __wmemset instead of wmemset.
2758 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2760         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2761         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2762         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2763         __USE_KERNEL_IPV6_DEFS to 0.
2764         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2765         Update comment.
2767 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2769         [BZ #19861]
2770         Do not use IFUNC resolver with potentially unrelocated symbol.
2771         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2772         (DEFINE_FORK): Remove macro and inline definition.
2773         (fork_alias): Renamed from fork_ifunc.
2774         (__fork_alias): Renamed from __fork_ifunc.
2776 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2778         [BZ 19653]
2779         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2780         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2782 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2784         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2785         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2786         i386-linux-gnu).
2787         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2788         Set to no.
2789         * sysdeps/mach/hurd/configure: Refresh.
2791 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2793         [BZ #20178]
2794         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2795         on failure instead of exit.
2797 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2799         [BZ #3629]
2800         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2801         of POSIX.1-2008.
2803 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2805         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2806           Use PLT entry for calling _hurd_self_sigstate.
2808 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2810         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2811         available logical processors with SMT level type sharing L2
2812         cache for Intel processors.
2814 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2816         [BZ #20160]
2817         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2818         argument to itself before returning the result.
2819         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2820         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2821         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2822         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2823         Likewise.
2824         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2825         Likewise.
2826         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2827         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2828         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2829         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2830         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2831         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2833         [BZ #20160]
2834         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2835         argument to itself before returning the result.
2836         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2837         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2838         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2840         Likewise.
2841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2842         Likewise.
2843         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2844         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2845         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2846         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2847         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2848         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2850 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2852         * libm-test.inc: Replace usage of M_El with
2853         (lit_e): New macro.
2855 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2857         * libm-test.inc: Replace usage of M_PI_4l with
2858         (lit_pi_4_d): New macro.
2860 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2862         * libm-test.inc: Replace usage of M_PIl with
2863         (lit_pi): New macro.
2865 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2867         * libm-test.inc: Replace usage of M_PI2l with
2868         (lit_pi_2_d): New macro.
2870         * math/test-double.h (LITM): New macro.
2871         * math/test-float.h (LITM): Likewise.
2872         * math/test-ldouble.h (LITM): Likewise.
2874 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2876         * libm-test.inc (M_PI_34l): Rename to
2877         (lit_pi_3_m_4_d): New Macro.
2878         (M_PI_34_LOG10El): Rename to
2879         (lit_pi_3_m_4_ln10_m_d): New Macro.
2880         (M_PI2_LOG10El): Rename to
2881         (lit_pi_2_ln10_m_d):  New Macro.
2882         (M_PI4_LOG10El): Rename to
2883         (lit_pi_4_ln10_m_d):  New Macro.
2884         (M_PI_LOG10El): Rename to
2885         (lit_pi_ln10_d):  New Macro.
2887 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2889         [BZ #20157]
2890         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2891         determine whether to negate low half if [_ARCH_PPCGR], and integer
2892         comparison otherwise.
2893         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2894         determine whether to negate low half.
2896         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2897         (NO_TEST_INLINE_DOUBLE): Likewise.
2898         (TEST_COND_x86_64): Likewise.
2899         (TEST_COND_x86): Likewise.
2900         (M_PI_6l): Likewise.
2902 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2904         * math/libm-test.inc:
2905         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2906         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2907         (TEST_LDOUBLE): Update usage to evaluate as true if
2908         the guarded tests match the property being tested.
2909         (LDBL_MAX_EXP): Change to MAX_EXP.
2910         (LDBL_MIN_EXP): Change to MIN_EXP.
2911         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2912         nexttoward tests.
2914 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2916         * math/libm-test.inc:
2917         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2918         (TYPE_MIN): Likewise.
2919         (TYPE_TRUE_MIN): Likewise.
2920         (TYPE_MAX): Likewise.
2921         (MIN_EXP): Likewise.
2922         (MAX_EXP): Likewise.
2923         (MANT_DIG): Likewise.
2925         (FSTR_MAX): New macro.
2926         (__CONCATX): Likewise.
2927         (QTYPE_STR): Likewise.
2928         (TEST_COND_binary32): Likewise.
2929         (TEST_COND_binary64): Likewise.
2930         (TEST_COND_binary128): Likewise.
2931         (TEST_COND_ibm128): Likewise.
2932         (TEST_COND_intel96): Likewise.
2933         (TEST_COND_m68k96): Likewise.
2935         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2936         (TEST_COND_dbl_64): Likewise.
2937         (TEST_COND_ldbl_96_intel): Likewise.
2938         (TEST_COND_ldbl_96_m68k): Likewise.
2939         (TEST_COND_ldbl_128): Likewise.
2940         (TEST_COND_ldbl_128ibm): Likewise.
2942         (plus_zero): Redefine using LIT macro.
2943         (minus_zero): Likewise.
2944         (plus_infty): Redefine as (INF).
2945         (minux_infty): Redefine as (-INF).
2946         (max_value): Redefine as TYPE_MAX.
2947         (min_value): Redefine as TYPE_MIN.
2948         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2950         (print_float): Refactor to use snprintf to convert FLOAT values
2951         to string. This brings it closer to dropin replacement of strtof
2952         for the TS 18661 defined types.
2953         (update_stats): Likewise.
2954         (print_complex_function_ulps): Likewise.
2955         (print_max_error): Likewise.
2956         (print_complex_max_error): Likewise.
2957         (check_float_internal): Likewise.
2959         * math/test-float.h (PREFIX): New macro.
2960         (LIT): Likewise.
2961         (TYPE_STR): Likewise.
2962         (FTOSTR): Likewise.
2964         * math/test-double.h (PREFIX): New macro.
2965         (LIT): Likewise.
2966         (TYPE_STR): Likewise.
2967         (FTOSTR): Likewise.
2969         * math/test-ldouble.h (PREFIX): New macro.
2970         (LIT): Likewise.
2971         (TYPE_STR): Likewise.
2972         (FTOSTR): Likewise.
2974 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2976         [BZ #20156]
2977         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2978         to itself when zero or not finite.
2979         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2980         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2981         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2982         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2984 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #20153]
2987         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2988         x * x + x for infinities and NaNs.
2990         [BZ #20151]
2991         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2992         argument to itself before returning result.
2993         (__ieee754_y0l): Likewise.
2994         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2995         (__ieee754_y1l).
2997         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2998         (atan_test_data): Likewise.
2999         (ceil_test_data): Likewise.
3000         (cos_test_data): Likewise.
3001         (cosh_test_data): Likewise.
3002         (erf_test_data): Likewise.
3003         (exp2_test_data): Likewise.
3004         (fabs_test_data): Likewise.
3005         (floor_test_data): Likewise.
3006         (ilogb_test_data): Likewise.
3007         (j0_test_data): Likewise.
3008         (j1_test_data): Likewise.
3009         (jn_test_data): Likewise.
3010         (lgamma_test_data): Likewise.
3011         (lrint_test_data): Likewise.
3012         (llrint_test_data): Likewise.
3013         (logb_test_data): Likewise.
3014         (lround_test_data): Likewise.
3015         (llround_test_data): Likewise.
3016         (nearbyint_test_data): Likewise.
3017         (rint_test_data): Likewise.
3018         (round_test_data): Likewise.
3019         (sin_test_data): Likewise.
3020         (sincos_test_data): Likewise.
3021         (sinh_test_data): Likewise.
3022         (sqrt_test_data): Likewise.
3023         (tan_test_data): Likewise.
3024         (tanh_test_data): Likewise.
3025         (tgamma_test_data): Likewise.
3026         (trunc_test_data): Likewise.
3027         (y0_test_data): Likewise.
3028         (y1_test_data): Likewise.
3029         (yn_test_data): Likewise.
3031         * math/libm-test.inc: Update comment about NaN testing.
3032         (TEST_SNAN): New macro.
3033         (snan_value): Likewise.
3034         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3035         (fpclassify_test_data): Add sNaN tests.
3036         (isfinite_test_data): Likewise.
3037         (isinf_test_data): Likewise.
3038         (isnan_test_data): Likewise.
3039         (isnormal_test_data): Likewise.
3040         (issignaling_test_data): Likewise.
3041         (signbit_test_data): Likewise.
3042         * math/gen-libm-test.pl (%beautify): Add snan_value.
3043         (show_exceptions): Add argument $test_snan.
3044         (parse_args): Handle snan_value as non-finite.  Update call to
3045         show_exceptions.
3046         * math/Makefile (libm-test-no-inline-cflags): Add
3047         -fsignaling-nans.
3049 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3051         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3052         (CFLAGS-oldsendmsg.c): Add rule.
3053         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3054         Correct recvmsg symbol name.
3055         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3056         Likewise.
3058 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3060         * sysdeps/unix/sysv/linux/Makefile
3061         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3062         oldsendmmsg.
3063         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3064         sendmmsg.
3065         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3068         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3073         Likewise.
3074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3075         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3076         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3077         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3078         iovlen and controllen fields to adjust to POSIX specification.
3079         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3081         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3082         and change to correct expected type.
3083         (msghdr.msg_controllen): Likewise.
3084         (cmsghdr.cmsg_len): Likewise.
3085         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3086         expected POSIX assumption about the size.
3087         (msghdr.msg_controllen): Likewise.
3088         (msghdr.__glibc_reserved1): Likewise.
3089         (msghdr.__glibc_reserved2): Likewise.
3090         (cmsghdr.cmsg_len): Likewise.
3091         (cmsghdr.__glibc_reserved1): Likewise.
3092         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3093         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3094         (CFLAGS-sendmsg.c): Remove rule.
3095         (CFLAGS-recvmsg.c): Likewise.
3096         (CFLAGS-oldsendmsg.c): Add rule.
3097         (CFLAGS-oldrecvmsg.c): Likewise.
3098         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3099         recvmsg and sendmsg.
3100         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3101         Likewise.
3102         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3103         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3104         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3105         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3106         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3107         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3108         Likewise.
3109         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3112         Likewise.
3113         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3114         Likewise.
3115         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3116         Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3118         Likewise.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3120         (GLIBC_2.24): Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3122         Likewise.
3123         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3124         Likewise.
3125         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3126         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3127         Likewise.
3128         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3129         Likewise.
3130         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3131         Likewise.
3132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3133         (GLIBC_2.24): Likewise.
3134         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3135         Likewise.
3136         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3137         Likewise.
3138         * sysdeps/unix/sysv/linux/Makefile
3139         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3140         (CFLAGS-sendmsg.c): Add rule.
3141         (CFLAGS-recvmsg.c): Likewise.
3142         (CFLAGS-oldsendmsg.c): Likewise.
3143         (CFLAGS-oldrecvmsg.c): Likewise.
3144         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3145         initialization.
3146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3147         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3148         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3149         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3150         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3151         iovlen and controllen fields to adjust to POSIX specification.
3152         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3153         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3154         added recvmsg and sendmsg.
3155         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3156         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3157         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3158         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3159         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3160         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3161         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3162         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3163         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3166         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3168         Likewise.
3169         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3171         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3172         Likewise.
3173         Likewise.
3174         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3179         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3181         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3183         Likewise.
3184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3188         from auto-generation.
3189         (sendmsg): Likewise.
3190         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3191         (sendmsg): Likewise.
3192         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3193         (sendmsg): Likewise.
3194         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3195         (sendmsg): Likewise.
3196         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3197         (sendmsg): Likewise.
3198         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3199         (sendmsg): Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3201         Likewise.
3202         (sendmsg): Likewise.
3203         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3204         (sendmsg): Likewise.
3205         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3207         Remove.
3208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3209         Likewise.
3210         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3211         Undefine.
3212         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3213         Likewise.
3214         * sysdeps/unix/sysv/linux/kernel-features.h
3215         (__ASSUME_SENDMSG_SYSCALL): Define.
3216         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3217         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3219         Remove.
3220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3221         Likewise.
3222         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3223         Undefine.
3224         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3225         Likewise.
3226         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3228         Remove.
3229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3230         Likewise.
3231         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3232         Undefine.
3233         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3234         Likewise.
3235         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3236         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3237         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3238         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3239         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3240         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3241         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3242         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3243         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3245 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3247         * stdlib/gen-tst-strtod-round.c: Add backslash to
3248         compile command in comment.
3249         (printfp): Remove the literal suffix, and define an infinite
3250         value as INF to avoid expansion clash with INFINITY.
3251         (round_str): Remove the literal suffix.
3252         (round_for_all): Likewise, remove the now duplicate ldbl-64
3253         entry, and remove some magic constants.
3255         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3256         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3257         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3258         (_CONCAT): New macro.
3259         (CONCAT): Likewise.
3260         (CHOOSE_ld): Likewise.
3261         (CHOOSE_f): Likewise.
3262         (CHOOSE_d): Likewise.
3263         (FTYPE_MEMBER): Likewise.
3264         (BOOL_MEMBER): Likewise.
3265         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3266         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3267         (_XNTRY): Likewise.
3268         (XNTRY): Likewise.
3269         (_ENTRY): Likewise.
3270         (ENTRY): Likewise.
3271         (test_exactness): Generate members via macro.
3272         (test_results): Likewise.
3273         (test): Update members.
3274         (TEST): Redefine using new macros.
3275         (INF): New macro.
3276         (fetestmodes): New structure.
3277         (do_test): Refactor to be type generic.
3278         (test_in_one_mode): Refactor duplicate code into
3279         (GEN_ONE_TEST): New macro.
3281         * stdlib/tst-strtod-round-data.h: Regenerate.
3283         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3284         Extend to pass additional arbitrary parameters to
3285         generators.
3287 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3289         [BZ #15479]
3290         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3291         floating-point state after first floating-point operation on
3292         input.  Restore full floating-point state instead of just rounding
3293         mode.
3294         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3295         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3296         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3297         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3298         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3300         [BZ #15479]
3301         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3302         floating-point state after first floating-point operation on
3303         input.  Restore full floating-point state instead of just rounding
3304         mode.
3305         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3306         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3307         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3308         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3309         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3311 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3313         [BZ #19727]
3314         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3315         valid high surrogate.
3316         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3317         of an utf16 surrogate.
3318         * iconv/gconv_simple.c (BODY): Likewise.
3319         * iconvdata/bug-iconv12.c: New file.
3320         * iconvdata/Makefile (tests): Add bug-iconv12.
3322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3324         [BZ #19726]
3325         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3326         outptrp in case of an illegal input.
3327         * iconv/tst-iconv6.c: New file.
3328         * iconv/Makefile (tests): Add tst-iconv6.
3330 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3332         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3333         an error in case of a value in range of an utf16 low surrogate.
3335 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3337         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3338         an error in case of a value in range of an utf16 low surrogate.
3340 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3342         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3343         Move to ...
3344         * sysdeps/s390/Makefile: ... here.
3345         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3346         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3347         (BRANCH_ON_COUNT): New define.
3348         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3349         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3350         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3351         run on s390-32, too.
3352         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3353         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3354         run on s390-32, too.
3355         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3356         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3357         run on s390-32, too.
3359 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3361         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3362         etf3eh or new vector loop-variant.
3364 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3366         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3367         etf3eh or new vector loop-variant.
3369 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3371         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3372         or new vector loop-variant.
3374 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3376         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3377         Rename to TR_LOOP and usage of tr instead of troo instruction.
3379 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3381         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3384 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3386         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3387         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3388         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3389         New override define.
3390         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3392 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3394         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3395         * sysdeps/s390/configure.ac: Add test for S390 vector register
3396         support in gcc.
3397         * sysdeps/s390/configure: Regenerated.
3399 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3401         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3402         Install file from $(objpfx)gconv-modules.
3403         ($(objpfx)gconv-modules): Concatenate architecture specific file
3404         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3405         * sysdeps/s390/gconv-modules: New file.
3406         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3407         Deleted.
3408         ($(objpfx)gconv-modules-s390): Deleted.
3409         (sysdeps-gconv-modules): New variable.
3411 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3413         [BZ #15479]
3414         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3415         of immediate operand to rounding instruction.
3416         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3417         Likewise.
3418         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3419         Likewise.
3420         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3421         Likewise.
3423 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3425         * math/libm-test.inc (MIN_EXP): Directly define as
3426         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3428 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3430         * math/libm-test.inc (MANT_DIG): Directly define as
3431         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3433 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3435         * stdlib/gen-tst-strtod-round.c (main):
3436           Change usage to more closely match the generated
3437           output.  Add usage and compilation instructions.
3438           (string_to_fp): Add and use FILE* parameter as
3439           output target.
3440           (print_fp): Likewise.
3441           (round_str): Likewise.
3442           (round_for_all): Likewise.
3443         * stdlib/tst-strtod-round.c (tests): Move into
3444         * stdlib/tst-strtod-round-data.h: New file.
3446 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3448         [BZ #15479]
3449         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3450         (__round): Do not force "inexact" exception.
3451         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3452         variable.
3453         (__round): Do not force "inexact" exception.
3454         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3455         (__roundf): Do not force "inexact" exception.
3456         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3457         (__roundl): Do not force "inexact" exception.
3458         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3459         (__roundl): Do not force "inexact" exception.
3460         * math/libm-test.inc (round_test_data): Do not allow spurious
3461         "inexact" exceptions.
3463         [BZ #15479]
3464         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3465         exception in comment.
3466         (huge): Remove variable.
3467         (__floor): Do not force "inexact" exception.
3468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3469         "inexact" exception in comment.
3470         (huge): Remove variable.
3471         (__floor): Do not force "inexact" exception.
3472         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3473         exception in comment.
3474         (huge): Remove variable.
3475         (__floorf): Do not force "inexact" exception.
3476         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3477         exception in comment.
3478         (huge): Remove variable.
3479         (__floorl): Do not force "inexact" exception.
3481         [BZ #15479]
3482         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3483         exception in comment.
3484         (huge): Remove variable.
3485         (__ceil): Do not force "inexact" exception.
3486         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3487         "inexact" exception in comment.
3488         (huge): Remove variable.
3489         (__ceil): Do not force "inexact" exception.
3490         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3491         (__ceilf): Do not force "inexact" exception.
3492         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3493         exception in comment.
3494         (huge): Remove variable.
3495         (__ceill): Do not force "inexact" exception.
3497 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3499         * config.h.in (BIND_NOW): New.
3500         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3501         * configure: Regenerated.
3502         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3503         indirect branch via the GOT slot.
3505 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3507         [BZ #19765]
3508         * sysdeps/s390/mempcpy.S: New File.
3509         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3510         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3511         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3512         Add mempcpy variants.
3513         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3514         (memcpy): Adjust to be usable from mempcpy entry point.
3515         (__memcpy_mvcle): Likewise.
3516         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3517         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3518         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3519         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3520         (__memcpy_z10): Likewise.
3521         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3523 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3525         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3526         Remove __GI_ symbol.
3527         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3528         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3529         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3530         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3531         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3532         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3534 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3536         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3537         Use cghi instead of chi to compare 64bit value.
3539 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3541         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3542         Jump to 1MB check before executing mvc-loop.
3544 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3546         [BZ #6527]
3547         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3548         unconditionally.
3549         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3551 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3553         * stdlib/tst-strtod6.c (do_test): Use new type generic
3554         invocation of the test function.
3555         (test): Refactor into ...
3556         (TEST_STRTOD): New macro base function.
3558 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3560         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3561         (TEST_STRTOD): New macro.
3562         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3564 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3566         * stdlib/tst-strtod6.c (do_test): Use new type generic
3567         invocation of the test function.
3568         (test): Refactor into ...
3569         (TEST_STRTOD): New macro base function.
3571 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3573         CVE-2016-4429
3574         [BZ #20112]
3575         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3576         payload.
3578 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3580         [BZ #20111]
3581         * bits/sockaddr.h (_SS_SIZE): Define.
3582         * 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/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3587         (_SS_PADSIZE): Adjust to account for all padding.
3588         (struct sockaddr_storage): Update comment.  Avoid implicit
3589         padding.
3590         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3591         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3592         (_SS_PADSIZE): Adjust to account for all padding.
3593         (struct sockaddr_storage): Update comment.  Avoid implicit
3594         padding.
3595         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3596         __SS_SIZE is 126 in this version.
3597         * inet/tst-sockaddr.c: New file.
3598         * inet/Makefile (tests): Add tst-sockaddr.c
3599         (tst-sockaddr.c): Compile with non-strict aliasing.
3601 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3603         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3604         [XPG3 || XPG4].
3605         (NL_ARGMAX): Also expect for [XPG3].
3606         (NL_LANGMAX): Likewise.
3607         (NL_MSGMAX): Likewise.
3608         (NL_NMAX): Likewise.
3609         (NL_SETMAX): Likewise.
3610         (NL_TEXTMAX): Likewise.
3611         (NZERO): Likewise.
3612         (TMP_MAX): Likewise.
3613         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3614         variable.
3616         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3617         (PF_MAX): Update value.
3618         (AF_KCM): New macro.
3619         (SOL_NETBEUI): Likewise.
3620         (SOL_LLC): Likewise.
3621         (SOL_DCCP): Likewise.
3622         (SOL_NETLINK): Likewise.
3623         (SOL_TIPC): Likewise.
3624         (SOL_RXRPC): Likewise.
3625         (SOL_PPPOL2TP): Likewise.
3626         (SOL_BLUETOOTH): Likewise.
3627         (SOL_PNPIPE): Likewise.
3628         (SOL_RDS): Likewise.
3629         (SOL_IUCV): Likewise.
3630         (SOL_CAIF): Likewise.
3631         (SOL_ALG): Likewise.
3632         (SOL_NFC): Likewise.
3633         (SOL_KCM): Likewise.
3634         (MSG_BATCH): New enum value and macro.
3636 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3638         [BZ #18185]
3639         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3640         sharing L2 cache to 2 for Knights Landing.
3642 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3644         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3645         (FTW_DP): Do not expect for [XPG3 || XPG4].
3646         (FTW_SL): Do not expect for [XPG3].
3647         (FTW_SLN): Likewise.
3648         (FTW_PHYS): Likewise.
3649         (FTW_MOUNT): Likewise.
3650         (FTW_DEPTH): Likewise.
3651         (FTW_CHDIR): Likewise.
3652         (nftw): Likewise.
3653         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3654         variable.
3656 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3658         * manual/errno.texi: Fix various typos & grammar errors.
3660 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3662         * manual/intro.texi: Fix duplicated typo.
3664 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #13304]
3667         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3668         <float.h>, <math_private.h> and <stdlib.h>.
3669         (add_split): New function.
3670         (mul_split): Likewise.
3671         (ext_val): New typedef.
3672         (store_ext_val): New function.
3673         (mul_ext_val): New function.
3674         (compare): New function.
3675         (add_split_ext): New function.
3676         (__fmal): After checking for Inf, NaN and zero, compute result as
3677         an exact sum of scaled double values in round-to-nearest before
3678         adding those up and adjusting for other rounding modes.
3679         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3680         tests of fma.
3681         * math/auto-libm-test-out: Regenerated.
3683 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3685         [BZ #20119]
3686         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3687         processor level type mask for CPUID with EAX == 11.
3689 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3691         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3692         logical threads if the HTT bit is 0.
3693         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3694         (index_cpu_HTT): Likewise.
3695         (reg_HTT): Likewise.
3697 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3699         [BZ #20115]
3700         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3701         Remove alignments on jump targets.
3703 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3705         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3706         (getpwent): Likewise.
3707         (setpwent): Likewise.
3708         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3709         variable.
3711         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3712         (remque): Likewise.
3713         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3714         variable.
3716 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3718         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3719         not being tested.
3721 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3723         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3724         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3725         call.
3726         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3727         (__condvar_cleanup1): Likewise.
3729 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3731         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3732         New
3733         (__pthread_unwind): Renamed to ...
3734         (PTHREAD_UNWIND): This.
3735         (__pthread_enable_asynccancel): Replace
3736         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3738 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3740         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3741         (CLONE_NEWCGROUP): New macro.
3743         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3744         (Q_GETNEXTQUOTA): New macro.
3746 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3748         [BZ #19907]
3749         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3750         buffer updated by the previous run.
3751         * string/test-memcpy.c (do_one_test): Likewise.
3752         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3753         * string/test-memmove.c (do_one_test): Likewise.
3755 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3757         [BZ #20094]
3758         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3759         not [__USE_XOPEN].
3760         (unlockpt): Likewise.
3761         (ptsname): Likewise.
3762         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3763         variable.
3765         [BZ #20076]
3766         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3767         instead of [__USE_UNIX98].
3768         (S_ISSOCK): Likewise.
3769         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3770         variable.
3772         [BZ #20074]
3773         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3774         [__USE_POSIX].
3775         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3776         variable.
3778         [BZ #20051]
3779         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3780         (ttyslot): Do not declare.
3781         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3782         (ttyslot): New prototype.
3783         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3784         variable.
3785         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3787 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3789         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3791 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3793         Fix race condition in tst-mallocfork2, use fewer resources.
3794         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3795         to current process group.
3796         (signal_sender): Yield in the non-sleeping case.
3798 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3800         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3801         (ecvt): Likewise.
3802         (fcvt): Likewise.
3803         (gcvt): Likewise.
3804         (getsubopt): Likewise.
3805         (grantpt): Likewise.
3806         (initstate): Likewise.
3807         (l64a): Likewise.
3808         (mktemp): Likewise.
3809         (mkstemp): Likewise.
3810         (ptsname): Likewise.
3811         (random): Likewise.
3812         (realpath): Likewise.
3813         (setstate): Likewise.
3814         (srandom): Likewise.
3815         (ttyslot): Likewise.
3816         (unlockpt): Likewise.
3817         (valloc): Likewise.
3819         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3820         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3821         variable.
3823 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3825         [BZ #20072]
3826         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3827         init_cpu_features only if SHARED is defined.
3828         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3830 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3832         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3833         non-inclusive caches on Intel processors.
3835 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3837         * malloc/malloc.c (dumped_main_arena_start)
3838         (dumped_main_arena_end): New variables.
3839         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3840         (do_check_chunk): Skip dumped fake mmapped chunks.
3841         (munmap_chunk): Likewise.
3842         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3843         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3844         mmapped chunks.
3845         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3846         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3847         and dumped_main_arena_end to cover the dumped heap.
3849 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3851         * conform/data/time.h-data (getdate_err): Do not expect for
3852         [XPG3].
3853         (getdate): Likewise.
3854         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3855         variable.
3857         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3858         (F_ULOCK): Likewise.
3859         (F_TEST): Likewise.
3860         (F_TLOCK): Likewise.
3861         (useconds_t): Likewise.
3862         (intptr_t): Do not expect for [XPG3] or [XPG4].
3863         (brk): Do not expect for [XPG3]
3864         (fchown): Likewise.
3865         (fchdir): Likewise.
3866         (ftruncate): Likewise.
3867         (getdtablesize): Likewise.
3868         (gethostid): Likewise.
3869         (getpagesize): Likewise.
3870         (getpgid): Likewise.
3871         (getsid): Likewise.
3872         (getwd): Likewise.
3873         (lchown): Likewise.
3874         (lockf): Likewise.
3875         (readlink): Likewise.
3876         (sbrk): Likewise.
3877         (setpgrp): Likewise.
3878         (setregid): Likewise.
3879         (setreuid): Likewise.
3880         (symlink): Likewise.
3881         (sync): Likewise.
3882         (truncate): Likewise.
3883         (ualarm): Likewise.
3884         (usleep): Likewise.
3885         (vfork): Likewise.
3886         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3887         variable.
3889         [BZ #20054]
3890         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3891         not [__USE_UNIX98].
3892         * conform/data/unistd.h-data (gethostname): Do not expect for
3893         [XPG3].
3895         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3896         [!POSIX] (S_IFBLK): Likewise.
3897         [!POSIX] (S_IFCHR): Likewise.
3898         [!POSIX] (S_IFIFO): Likewise.
3899         [!POSIX] (S_IFREG): Likewise.
3900         [!POSIX] (S_IFDIR): Likewise.
3901         [!POSIX] (S_IFLNK): Likewise.
3902         [!POSIX] (S_IFSOCK): Likewise.
3903         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3904         variable.
3905         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3907 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3909         * sysdeps/aarch64/memset.S (__memset):
3910         Rewrite of optimized memset.
3912 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3914         [BZ #19703]
3915         Partially async-signal-safe fork for single-threaded processes.
3916         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3917         variable.  Do not acquire and reset/release malloc and libio locks
3918         in single-threaded processes.
3919         * malloc/tst-mallocfork2.c: New file.
3920         * malloc/Makefile (tests): Add it.
3922 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3924         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3925         argument.  Use scratch buffer instead of extend_alloca.
3926         (gethosts): Use scratch buffer instead of extend_alloca.
3927         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3928         extend_alloca.
3929         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3931 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3933         [BZ #20055]
3934         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3935         instead of [__USE_UNIX98].
3936         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3937         [__USE_UNIX98].
3938         * conform/data/termios.h-data (tcgetsid): Do not expect for
3939         [XPG3].
3940         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3941         variable.
3942         (test-xfail-XPG4/termios.h/conform): Likewise.
3944 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3946         Do not use mcheck in localedef.
3947         * locale/programs/localedef.c (turn_on_mcheck)
3948         (__malloc_initialize_hook): Remove.
3950 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3952         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3953         * sysdeps/s390/s390-64/Makefile: Likewise.
3955 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3957         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3958         Remove ifunc-defines.sym.
3959         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3960         Likewise.
3961         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3962         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3963         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3964         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3965         rtld-global-offsets.sym.
3966         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3967         * sysdeps/x86/cpu-features-offsets.sym: This.
3968         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3969         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3971 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3973         [BZ #20073]
3974         * io/sys/stat.h (fchmod): Declare for
3975         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3976         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3977         variable.
3979         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3980         [XPG3] (S_IFSOCK): Likewise.
3981         [XPG3] (S_ISVTX): Likewise.
3982         [XPG3] (S_ISLNK): Likewise.
3983         [XPG3] (S_ISSOCK): Likewise.
3984         [XPG3] (fchmod): Likewise.
3985         [XPG3] (lstat): Likewise.
3986         [XPG3] (mknod): Likewise.
3988         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3989         [XPG3].  Expect type long and XFAIL for [XPG4].
3990         (st_blocks): Likewise.
3992         [BZ #20044]
3993         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3994         (pthread_atfork): New prototype.
3995         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3996         variable.
3998         [BZ #20043]
3999         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4000         prototype.
4002 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4004         [BZ #20017]
4005         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4006         gmtime.
4008 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4010         [BZ #19994]
4011         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4012         flag in _res.options.
4014 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4016         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4017         [XPG3 || XPG4].
4018         (blksize_t): Likewise.
4019         (clockid_t): Likewise.
4020         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4021         variable.
4022         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4024 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4026         * sysdeps/unix/sysv/linux/s390/init-first.c:
4027         Add VDSO_SYMBOL(getcpu).
4028         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4029         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4030         Add VDSO_SYMBOL(getcpu).
4031         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4032         New define HAVE_GETCPU_VSYSCALL.
4033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4035 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4037         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4038         instead of <sysdeps/x86_64/cacheinfo.c>.
4039         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4040         * sysdeps/x86/cacheinfo.c: Here.
4042 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4044         * malloc/malloc-internal.h: Adjust header file guard.
4046 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4048         [BZ #19787]
4049         * inet/getnameinfo.c (check_sprintf_result): New function.
4050         (CHECKED_SNPRINTF): New macro.
4051         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4052         to the host buffer.
4053         (gni_host_local): Use checked_copy to copy the host name.
4054         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4055         (gni_serv_local): Use checked_copy to copy the service name.
4056         (getnameinfo): Remove unnecessary truncation of result buffers.
4058 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4060         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4061         in case of inet_ntop failure.
4063 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4065         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4066         avoid long lines.
4067         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4068         variables.
4069         (gni_host_inet, gni_host_local): Add comment.
4070         (gni_host): Add comment.  Use temporary to avoid long lines.
4072 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4074         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4075         registers specifiers where general purpose registers specifiers should
4076         have been used.
4078 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4080         [BZ #19779]
4081         CVE-2016-1234
4082         Avoid copying names of directory entries.
4083         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4084         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4085         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4086         (struct readdir_result): New type.
4087         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4088         (GL_READDIR): New macros.
4089         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4090         (convert_dirent, convert_dirent64): New functions.
4091         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4092         convert_dirent64.  Adjust references to the readdir result.
4093         * sysdeps/unix/sysv/linux/i386/glob64.c:
4094         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4095         * posix/bug-glob2.c (LONG_NAME): Define.
4096         (filesystem): Add LONG_NAME.
4097         (my_DIR): Increase the size of room_for_dirent.
4099 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4101         [BZ #20041]
4102         * misc/sys/select.h (__need_timespec): Only define if
4103         [__USE_XOPEN2K].
4104         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4105         variable.
4106         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4107         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4108         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4110 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4111             Segher Boessenkool  <segher@gcc.gnu.org>
4113         [BZ #20004]
4114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4115         (__novec_swapcontext): Add missing load.
4117 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4119         [BZ #20023]
4120         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4121         <time.h>.
4122         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4123         variable.
4124         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4126 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4129         flags CLONE_VM compare.
4131 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4133         [BZ #20031]
4134         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4135         completely empty.
4137 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4139         [BZ #19573]
4140         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4141         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4142         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4143         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4144         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4145         (hesiod_free_list): Mark as hidden.
4146         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4147         res_set, res_get.
4148         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4149         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4150         (hesiod_init): Remove obsolete res_ninit call.
4151         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4152         (hesiod_bind): Do not call init.
4153         (get_txt_records): Use res_mkquery, res_send instead of
4154         res_nmkquery, res_nsend.
4155         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4156         instead of _nss_hesiod_init.
4157         (_nss_hesiod_initgroups_dyn): Likewise.
4158         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4159         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4160         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4162 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4164         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4165         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4167 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4169         * hesiod/hesiod.h: Remove RCS keyword.
4170         * hesiod/hesiod_p.h: Likewise.
4172         * hesiod/hesiod.c: Likewise.
4174 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4176         [BZ #12450]
4177         * locale/iso-639.def: Add Samogitian/sgs.
4179 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4181         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4183         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4185 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4186             Carlos O'Donell  <carlos@redhat.com>
4188         [BZ #19072]
4189         * grp/Makefile (headers): Add grp-merge.h
4190         (routines): Add grp-merge.
4191         * grp/getgrgid_r.c: Include grp-merge.h.
4192         (DEEPCOPY_FN): Define.
4193         (MERGE_FN): Define.
4194         * grp/getgrname_r.c: Include grp-merge.h.
4195         (DEEPCOPY_FN): Define.
4196         (MERGE_FN): Define.
4197         * grp/grp-merge.c: New file.
4198         * grp/grp-merge.h: New file.
4199         * include/grp-merge.h: New file.
4200         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4201         __copy_grp@GLIBC_PRIVATE.
4202         * manual/nss.texi (Actions in the NSS configuration): Describe
4203         return, continue, and merge.
4204         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4205         (DEEPCOPY_FN): Define.
4206         (MERGE_FN): Define.
4207         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4208         (DEEPCOPY_FN): Define.
4209         (MERGE_FN): Define.
4210         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4211         [!MERGE_FN]: Define __merge_einval.
4212         (CHECK_MERGE): Define.
4213         (REENTRANT_NAME): Process merge if do_merge is true.
4214         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4215         (__nss_getent_r): Likewise.
4216         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4217         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4219 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4221         [BZ #20012]
4222         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4223         length to calculate the buffer to read.
4224         (fmemopen_write): Set the buffer position based on bytes written.
4225         (fmemopen_seek): Return EINVAL for invalid whence modes.
4227         [BZ #19957]
4228         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4229         tst-getpid2.
4230         (test): Add tst-clone2.
4231         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4232         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4233         pid/tid fields for CLONE_VM.
4234         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4235         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4236         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4237         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4238         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4239         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4240         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4241         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4243         Likewise.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4245         Likewise.
4246         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4247         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4248         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4249         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4250         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4251         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4252         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4253         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4255 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4257         [BZ #19642]
4258         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4259         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4260         (gni_serv_local, gni_serv): New functions extracted from
4261         getnameinfo.
4262         (getnameinfo): Call gni_host and gni_serv to perform the
4263         processing.  Always free scratch buffer.
4265 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4267         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4268         remaining bytes in the dest string, with zeros.
4270 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4272         [BZ #20010]
4273         CVE-2016-3706
4274         * sysdeps/posix/getaddrinfo.c
4275         (convert_hostent_to_gaih_addrtuple): New function.
4276         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4277         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4278         AF_INET data.
4280 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4282         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4283         callback function gl_readdir.
4284         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4285         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4286         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4287         memcpy to copy the name.
4288         * manual/pattern.texi (Calling Glob): Document requirements for
4289         implementations of the gl_readdir callback function.
4290         * manual/examples/mkdirent.c: New example.
4291         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4292         per the manual guidance.
4293         * posix/tst-gnuglob.c (my_readdir): Likewise.
4295 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4297         [BZ #20014]
4298         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4299         not [__USE_POSIX].
4300         (getchar_unlocked): Likewise.
4301         (putc_unlocked): Likewise.
4302         (putchar_unlocked): Likewise.
4303         (flockfile): Likewise.
4304         (ftrylockfile): Likewise.
4305         (funlockfile): Likewise.
4306         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4307         variable.
4308         (test-xfail-XPG4/stdio.h/conform): Likewise.
4310         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4311         Expect constant.
4312         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4313         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4314         variable.
4315         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4316         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4318         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4319         [__USE_LARGEFILE64] (off64_t): Likewise.
4320         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4321         variable.
4323 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4325         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4327 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4329         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4330         * resolv/res_init.c: Likewise.
4331         * resolv/res_mkquery.c: Likewise.
4333 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4335         * resolv/res_init.c (isascii): Do not define.  Use definition in
4336         <ctype.h>.
4337         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4338         (LOG_AUTH): Remove.
4339         (SPRINTF): Remove, adjust caller.
4340         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4344         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4345         SUNSECURITY conditional.
4346         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4348 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4350         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4351         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4352         Remove BSD-related preprocessor conditionals.
4353         * conf/portability.h: Remove.
4355 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4357         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4358         * resolv/res_data.c: Likewise.
4360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4362         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4363         * resolv/res_data.c: Remove code conditional on ultrix.
4365 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4367         * resolv/res_init.c (RFC1535): Do not define.  Remove
4368         RFC1535 preprocessor conditionals.
4369         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4370         because there configuration options which make the resolver
4371         behavior different.
4373 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4375         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4376         RESOLVSORT preprocessor conditionals.
4377         * resolv/nss_dns/dns-host.c: Likewise.
4378         * resolv/res_init.c: Likewise.
4380 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4382         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4383         is never defined.
4385 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4387         * inet/inet_lnaof.c: Remove SCSS keyword.
4388         * inet/inet_mkadr.c: Likewise.
4389         * inet/inet_net.c: Likewise.
4390         * inet/inet_netof.c: Likewise.
4391         * inet/rcmd.c: Likewise.
4392         * inet/rexec.c: Likewise.
4393         * inet/ruserpass.c: Likewise.
4395 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4397         * resolv/inet_addr.c: Remove _LIBC conditionals.
4398         * resolv/res_data.c: Likewise.
4399         * resolv/res_init.c: Likewise.
4400         * resolv/res_mkquery.c: Likewise.
4401         * resolv/res_libc.c: Update comment.
4402         * resolv/README: Update.
4404 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4406         * resolv/gethnamaddr.c: Remove SCSS keyword.
4407         * resolv/herror.c: Likewise.
4408         * resolv/inet_addr.c: Likewise.
4409         * resolv/inet_net_ntop.c: Likewise.
4410         * resolv/inet_net_pton.c: Likewise.
4411         * resolv/inet_neta.c: Likewise.
4412         * resolv/inet_ntop.c: Likewise.
4413         * resolv/inet_pton.c: Likewise.
4414         * resolv/ns_date.c: Remove RCS keyword.
4415         * resolv/ns_name.c: Likewise.
4416         * resolv/ns_netint.c: Likewise.
4417         * resolv/ns_parse.c: Likewise.
4418         * resolv/ns_print.c: Likewise.
4419         * resolv/ns_samedomain.c: Likewise.
4420         * resolv/ns_ttl.c: Likewise.
4421         * resolv/nsap_addr.c: Likewise.
4422         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4423         * resolv/res_data.c: Remove RCS keyword.
4424         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4425         * resolv/res_init.c: Likewise.
4426         * resolv/res_mkquery.c: Likewise.
4427         * resolv/res_query.c: Likewise.
4428         * resolv/res_send.c: Likewise.
4430 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4432         * conform/data/stdio.h-data (fdopen): Expect also for
4433         [XPG3 || XPG4].
4435         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4436         (fseeko): Likewise.
4437         (ftello): Likewise.
4438         (ftrylockfile): Likewise.
4439         (funlockfile): Likewise.
4440         (getc_unlocked): Likewise.
4441         (getchar_unlocked): Likewise.
4442         (putc_unlocked): Likewise.
4443         (putchar_unlocked): Likewise.
4445 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4447         [BZ #19868]
4448         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4449         DNS packet syntax checks (which were not needed before).  Skip
4450         over non-PTR records.
4452 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4454         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4455         definition.  Include <stddef.h> instead.
4457 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4459         [BZ #19831]
4460         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4461         function.
4462         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4463         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4465 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4467         [BZ #19862]
4468         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4469         (getanswer_r): Do not call syslog.
4470         (gaih_getanswer_slice): Likewise.
4471         * resolv/gethnamaddr.c (AskedForGot): Remove.
4472         (getanswer): Do not call syslog.
4473         (gethostbyaddr): Likewise.
4475 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4477         * conform/data/signal.h-data (union sigval): Expect also if
4478         [XOPEN2K].
4479         (struct sigevent): Likewise.
4480         (SIGEV_NONE): Likewise.
4481         (SIGEV_SIGNAL): Likewise.
4482         (SIGEV_THREAD): Likewise.
4483         (SIGRTMIN): Likewise.
4484         (SIGRTMAX): Likewise.
4485         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4486         variable.
4487         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4489 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4491         [BZ #19830]
4492         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4493         (gaih_getanswer_slice): Likewise.
4494         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4495         Also check for availability of RR metadata.
4497 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4499         [BZ #19825]
4500         * resolv/res_send.c (send_vc): Remove early *resplen2
4501         initialization.  Set *resplen2 on socket error.  Call
4502         close_and_return_error for other errors.
4504 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4506         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4507         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4508         (SCM_IUCV_TRGCLS): New define.
4510 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4512         [BZ #20005]
4513         * libio/fmemopen.c (fmemopen_write): Update internal position after
4514         write.
4515         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4516         * stdio-common/tst-fmemopen4.c: New file..
4518 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4520         [BZ #19996]
4521         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4522         not [__USE_XOPEN2K].
4523         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4524         variable.
4526         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4527         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4528         variable.
4530         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4531         [__USE_XOPEN2K8].
4532         [__USE_LARGEFILE64] (off64_t): Likewise.
4533         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4534         variable.
4536 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4538         [BZ #19989]
4539         * libio/stdio.h (cuserid): Do not declare if
4540         [__USE_XOPEN2K && !__USE_GNU].
4541         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4542         variable.
4544 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4546         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4547         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4549         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4550         ifunc'ed strcspn.
4551         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4552         [EALIGN]: Removed.
4553         [END]: Likewise
4554         [STRSPN]: Define instead of the above to control symbol name.
4555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4556         New file.
4557         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4558         Likewise.
4559         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4560         Likewise.
4561         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4562         Likewise.
4563         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4564         [INITIAL_MASK]: New macro.
4565         [STRCSPN]: Likewise.
4566         [UPDATE_MASK]: Likewise.
4567         [USE_AS_STRCSPN]: Lisewise.
4569 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4571         [BZ #19931]
4572         * stdio-common/tst-vfprintf-width-prec.c: New file.
4573         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4574         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4575         (generated): Add mtrace-related files.
4576         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4577         (tst-%-mem.out): New pattern rule, replaces
4578         tst-printf-bz18872-mem.out.
4579         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4580         specifier, deallocate any previously allocated work buffer.
4582 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4584         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4585         Add nop before __startcontext, add explaining comments.
4587 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4589         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4590         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4591         completely different API.
4593         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4594         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4595         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4596         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4597         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4598         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4599         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4600         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4601         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4602         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4604 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4606         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4608 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4610         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4611         when it is the default of 0.
4613 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4615         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4616         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4617         (sysdep_routines): Add new strcasestr targets.
4618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4619         (__libc_ifunc_impl_list): Likewise.
4620         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4621         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4622         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4623         * sysdeps/powerpc/powerpc64/power8/Makefile:
4624         New file to add strcasestr-ppc64 to sysdep_routines.
4625         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4626         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4628 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4630         * benchtests/Makefile (wcsmbs-benchset): Include only for
4631         native builds and runs.
4632         (LOCALES): Likewise.
4633         (bench-build): Build timing-type here instead of the bench
4634         target.  Generate locale only for native builds.
4635         * benchtests/README: Add note for cross-building.
4637         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4639         * benchtests/README: Update README to include instructions on
4640         using bench-build.
4642         * Makefile.in (bench-build): New target.
4643         * Rules (PHONY): Add bench-build target.
4644         * benchtests/Makefile (bench): Depend on bench-build.
4645         (bench-build): New target.
4647 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4649         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4650         profil_reply_port.
4651         (profile_waiter): Do not initialize profil_reply_port.
4652         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4653         frequency instead of tick length in us.
4655 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4657         [BZ #18712]
4658         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4659         (__old_mempcpy_small): Likewise.
4660         (__old_strcpy_small): Likewise.
4661         (__old_stpcpy_small): Likewise.
4662         (__old_strpbrk_c2): Fix compat symbol name.
4663         (__old_strpbrk_c3): Likewise.
4664         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4665         (__mempcpy_small): Remove.
4666         (__strcpy_small): Remove.
4667         (__stpcpy_small): Remove.
4669 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4671         [BZ #19400]
4672         * locale/iso-639.def: Add the Talossan/tzl language.
4674 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4676         [BZ #16983]
4677         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4678         comment.  Add "ln" to strchr check on postal_fmt.
4680 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4682         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4683         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4684         tel_dom_fmt.
4686 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4688         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4689         (sysdep_routines): Added __strlen_power8.
4690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4691         __strlen_power8 entry.
4692         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4693         Implementation for POWER8.
4694         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4695         for __strlen_power8.
4696         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4697         Implementation for POWER8.
4699 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4701         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4703 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4705         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4706         Goldmont and Airmont processors.
4708 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4710         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4711         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4712         (__STRING2_SMALL_GET32): Remove.
4713         (memset): Remove.
4714         (__memset_1): Remove.
4715         (__memset_gc): Remove.
4716         (__mempcpy): Remove.
4717         (mempcpy): Remove.
4718         (__mempcpy_args): Remove.
4719         (strchr): Remove.
4720         (strcpy): Remove.
4721         (strcpy_args): Remove.
4722         (__stpcpy_args): Remove.
4723         (__strcmp_cc): Remove.
4724         (__strcmp_gc): Remove.
4725         (strstr): Remove.
4727 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4729         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4730         * nis/nis_call.c (nis_server_cache_add): Likewise.
4732 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4734         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4736 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4738         * malloc/arena.c (__malloc_fork_lock_parent)
4739         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4740         internal_function attribute.
4742 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4744         * stdio-common/printf_fp.c (__printf_fp_l):
4745         Rename ___printf_fp_l to __printf_fp_l and
4746         remove strong alias. Use libc_hidden_def instead
4747         of ldbl_hidden_def macro.
4749 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4751         Remove malloc hooks from fork handler.  They are no longer needed
4752         because malloc runs right before fork, and no malloc calls from
4753         other fork handlers are not possible anymore.
4754         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4755         declarations.
4756         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4757         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4758         (atfork_recursive_cntr): Remove.
4759         (__malloc_fork_lock_parent): Do not override malloc hooks and
4760         thread_arena.
4761         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4762         thread_arena.
4763         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4764         thread_arena instead of save_arena.
4766 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4768         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4769         (thread_atfork, thread_atfork_static): Remove.
4770         * sysdeps/mach/hurd/malloc-machine.h:
4771         (thread_atfork, thread_atfork_static): Remove.
4773 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4775         [BZ #19431]
4776         Run the malloc fork handler as late as possible to avoid deadlocks.
4777         * malloc/malloc-internal.h: New file.
4778         * malloc/malloc.c: Include it.
4779         * malloc/arena.c (ATFORK_MEM): Remove.
4780         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4781         Update comment.
4782         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4783         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4784         Remove outdated comment.
4785         (ptmalloc_init): Do not call thread_atfork.  Remove
4786         thread_atfork_static.
4787         * malloc/tst-malloc-fork-deadlock.c: New file.
4788         * Makefile (tests): Add tst-malloc-fork-deadlock.
4789         (tst-malloc-fork-deadlock): Link against libpthread.
4790         * manual/memory.texi (Aligned Memory Blocks): Update safety
4791         annotation comments.
4792         * sysdeps/nptl/fork.c (__libc_fork): Call
4793         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4794         __malloc_fork_unlock_child.
4795         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4797 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4799         [BZ #19613]
4800         Remove union wait.
4801         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4802         (w_stopsig, w_stopval): Remove.
4803         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4804         stat_loc argument.
4805         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4806         (__WAIT_STATUS_DEFN): Remove.
4807         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4808         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4809         (wait, wait3, wait4): Use int * for the stat_loc argument.
4810         * posix/wait.c (__wait): Likewise.
4811         * posix/wait3.c (__wait3): Likewise.
4812         * posix/wait4.c (__wait4): Likewise.
4813         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4814         (__WAIT_STATUS_DEFN): Remove.
4815         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4816         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4817         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4818         argument.
4819         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4820         * sysdeps/posix/wait3.c (__wait3): Likewise.
4821         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4822         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4823         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4824         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4825         stat_loc argument.
4826         * manual/process.texi (BSD Wait Functions): Remove union wait.
4828 2016-04-13  Andreas Schwab  <schwab@suse.de>
4830         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4831         (test-extras): Add tst-tlsalign-vars.
4832         * math/Makefile: Wrap long lines.
4833         (libm-vec-test-wrappers): Define.
4834         (test-extras): Add $(libm-vec-test-wrappers).
4835         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4836         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4837         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4838         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4839         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4840         (extra-test-objs): Add corresponding objects.
4842 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4844         [BZ #19928]
4845         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4846         New.
4847         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4848         times of shared cache size.
4849         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4850         (VMOVNT): New.
4851         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4852         (VMOVNT): Likewise.
4853         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4854         (VMOVNT): Likewise.
4855         (VMOVU): Changed to movups for smaller code sizes.
4856         (VMOVA): Changed to movaps for smaller code sizes.
4857         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4858         comments.
4859         (PREFETCH): New.
4860         (PREFETCH_SIZE): Likewise.
4861         (PREFETCHED_LOAD_SIZE): Likewise.
4862         (PREFETCH_ONE_SET): Likewise.
4863         Rewrite to use forward and backward loops, which move 4 vector
4864         registers at a time, to support overlapping addresses and use
4865         non temporal store if size is above the threshold and there is
4866         no overlap between destination and source.
4868 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4870         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4871         Include dl-vdso.
4872         * sysdeps/unix/sysv/linux/mips/Versions: Add
4873         __vdso_clock_gettime.
4874         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4875         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4876         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4877         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4878         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4879         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4880         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4881         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4882         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4884 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4886         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4887         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4888         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4889         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4890         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4891         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4894         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4895         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4896         syscalls generation.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4898         [__NR_pwrite64] (__NR_write): Remove define.
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4900         [__NR_pwrite64] (__NR_write): Remove define.
4901         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4902         Remove define.
4903         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4904         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4905         Remove define.
4906         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4907         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4908         Linux implementation as base.
4909         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4911         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4912         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4917         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4919         syscall generation.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4921         [__NR_pread64] (__NR_pread): Remove define.
4922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4923         [__NR_pread64] (__NR_pread): Likewise.
4924         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4925         define.
4926         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4927         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4928         Remove define.
4929         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4930         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4931         Linux implementation as base.
4932         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4934         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4936         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4937         definition.
4938         (__ALIGNMENT_COUNT): Likewise.
4939         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4940         (__ALIGNMENT_COUNT): Likewise.
4941         (SYSCALL_LL): New define.
4942         (SYSCALL_LL64): Likewise.
4943         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4944         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4945         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4946         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4948         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4949         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4950         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4951         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4952         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4953         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4955 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4957         [BZ #19865]
4958         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4959         original buffer before retry.
4961 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4963         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4964         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4965         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4966         GLRO(dl_auxv) list.
4967         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4968         including <ldsodefs.h>.
4969         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4971 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4973         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4974         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4975         $(CPPFLAGS).
4977 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4979         [BZ #17950]
4980         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4981         Add -mfpmath=387.
4983 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4985         * sysdeps/i386/configure.ac: Change == to = when calling test.
4986         * sysdeps/x86_64/configure.ac: Likewise.
4987         * sysdeps/i386/configure: Regenerated.
4988         * sysdeps/x86_64/configure: Likewise.
4990 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4992         [BZ #16137]
4993         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4994         * benchtests/bench-strcoll.c (input_files): Likewise.
4995         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4996         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4997         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4999 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5001         [BZ #19929]
5002         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5003         [__USE_XOPEN2K8 && !__USE_GNU].
5004         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5005         variable.
5007         [BZ #19925]
5008         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5009         define if [!__USE_MISC && __USE_XOPEN2K].
5010         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5011         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5012         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5013         Likewise.
5014         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5015         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5016         variable.
5017         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5019 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5021         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5022         (sysdep_routines): Add new strspn targets.
5023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5024         (__libc_ifunc_impl_list): Add strspn.
5025         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5026         New file.
5027         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5028         Likewise.
5029         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5030         Likewise.
5031         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5032         Likewise.
5034 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5036         * misc/hsearch_r.c: Include <limits.h>.
5038 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5040         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5042 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5044         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5045         (MEMCPY_SYMBOL): New.
5046         (MEMPCPY_SYMBOL): Likewise.
5047         (MEMMOVE_CHK_SYMBOL): Likewise.
5048         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5049         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5050         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5051         Provide alias for memcpy in libc.a and ld.so.
5053 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5055         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5056         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5057         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5058         Disabled fro now.
5059         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5060         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5062 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5064         * benchtests/Makefile (string-benchset): Add memcpy-large,
5065         memmove-large and memset-large.
5066         * benchtests/bench-memcpy-large.c: New file.
5067         * benchtests/bench-memmove-large.c: Likewise.
5068         * benchtests/bench-memmove-large.c: Likewise.
5069         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5071 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5073         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5074         32-bit displacement to avoid long nop between instructions.
5076 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5078         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5079         a comment on VMOVU and VMOVA.
5081 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5083         [BZ #19633]
5084         Use specified locale for number formatting in strfmon_l.
5085         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5086         (__nl_lookup_word): New inline functions.
5087         * include/printf.h (__print_fp_l): Declare.
5088         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5089         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5090         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5091         (___printf_fp): New function.
5092         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5093         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5094         * stdlib/tst-strfmon_l.c (do_test): New test.
5095         * stdlib/Makefile (tests): Add kt.
5096         (LOCALES): Build additional locales.
5097         (tst-strfmon_l.out): Require locales.
5099 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5101         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5102         if not in libc.
5103         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5104         Likewise.
5105         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5106         Likewise.
5107         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5108         Likewise.
5110 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5112         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5113         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5114         with unaligned_erms.
5115         (__memmove_erms): Skip if source == destination.
5116         (__memmove_unaligned_erms): Don't check source == destination
5117         first.
5119 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5121         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5122         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5124 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5126         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5127         * string/strspn.c (strspn): Likewise.
5129 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5131         * benchtests/bench-memset.c (do_test): Support 64-byte
5132         alignment.
5133         (test_main): Test 64-byte alignment.
5135 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5137         * benchtests/bench-memmove.c (test_main): Test 64-byte
5138         alignment.
5140 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5142         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5144 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5146         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5147         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5148         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5150         * string/strpbrk.c (strpbrk): Rewrite function.
5151         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5152         (__strpbrk_c2): Likewise.
5153         (__strpbrk_c3): Likewise.
5154         * string/string-inlines.c
5155         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5156         Likewise.
5157         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5158         Likewise.
5160         * string/strspn.c (strcspn): Rewrite function.
5161         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5162         (__strspn_c1): Remove inline function.
5163         (__strspn_c2): Likewise.
5164         (__strspn_c3): Likewise.
5165         * string/string-inlines.c
5166         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5167         compatibility symbol.
5168         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5169         Likewise.
5170         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5171         Likewise.
5172         * string/string-inlines.c: Include generic version.
5174 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5175             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5177         * string/Version (libc): Add GLIBC_2.24.
5178         * string/strcspn.c (strcspn): Rewrite function.
5179         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5180         (__strcspn_c1): Remove inline function.
5181         (__strcspn_c2): Likewise.
5182         (__strcspn_c3): Likewise.
5183         * string/string-inline.c
5184         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5185         compatibility symbol.
5186         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5187         Likewise.
5188         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5189         Likewise.
5190         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5192 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5194         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5195         Use ahi instead of aghi to adjust stack pointer.
5197 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5199         [BZ #19853]
5200         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5201         TEST to take significant digits as second parameter.
5202         [TEST]: Redefine in terms of TEST_N taking 30
5203         significant digits.
5204         (do_test): Add test case to demonstrate precision
5205         failure in the ldbl-128ibm printf.
5206         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5207         (__mpn_extract_long_double): Carry 7 extra intermediate
5208         bits of precision to aide computing difference when
5209         signs differ.
5211 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5213         [BZ #19881]
5214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5215         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5216         memset-avx512-unaligned-erms.
5217         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5218         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5219         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5220         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5221         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5222         __memset_sse2_unaligned_erms, __memset_erms,
5223         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5224         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5225         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5226         file.
5227         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5228         Likewise.
5229         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5230         Likewise.
5231         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5232         Likewise.
5234 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5236         [BZ #19776]
5237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5238         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5239         memmove-avx512-unaligned-erms.
5240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5241         (__libc_ifunc_impl_list): Test
5242         __memmove_chk_avx512_unaligned_2,
5243         __memmove_chk_avx512_unaligned_erms,
5244         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5245         __memmove_chk_sse2_unaligned_2,
5246         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5247         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5248         __memmove_avx512_unaligned_erms, __memmove_erms,
5249         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5250         __memcpy_chk_avx512_unaligned_2,
5251         __memcpy_chk_avx512_unaligned_erms,
5252         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5253         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5254         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5255         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5256         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5257         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5258         __mempcpy_chk_avx512_unaligned_erms,
5259         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5260         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5261         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5262         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5263         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5264         __mempcpy_erms.
5265         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5266         file.
5267         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5268         Likwise.
5269         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5270         Likwise.
5271         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5272         Likwise.
5274 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5276         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5277         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5278         (La_s390_64_regs): Likewise.
5279         (La_s390_32_retval): Append vector register lrv_v24.
5280         (La_s390_64_retval): Likeweise.
5281         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5282         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5283         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5284         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5286 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5288         [BZ #19916]
5289         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5290         to create a non-vector/vector version for _dl_runtime_resolve and
5291         _dl_runtime_profile. Move implementation to ...
5292         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5293         (_dl_runtime_resolve) Save and restore fpr/vrs.
5294         (_dl_runtime_profile) Save and restore vrs and fix some issues
5295         if _dl_call_pltexit is called.
5296         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5297         Choose the correct resolver function if running on a machine with vx.
5298         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5299         to create a non-vector/vector version for _dl_runtime_resolve and
5300         _dl_runtime_profile. Move implementation to ...
5301         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5302         (_dl_runtime_resolve) Save and restore fpr/vrs.
5303         (_dl_runtime_profile) Save and restore vrs and fix some issues
5304         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5305         Choose the correct resolver function if running on a machine with vx.
5307 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5309         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5311 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5313         [BZ #19509]
5314         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5315         skip_map != NULL.
5316         * elf/tst-dlsym-error.c: New file.
5317         * elf/Makefile (tests): Add tst-dlsym-error.
5318         (tst-dlsym-error): Link against libdl.
5320 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5322         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5323         (__ASSUME_FUTIMESAT): Remove macro.
5324         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5326 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5328         [BZ #19879]
5329         CVE-2016-3075
5330         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5331         copy name.
5333 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5335         [BZ #19837]
5336         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5337         error if parse_line fails.
5339 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5341         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5342         (index_cpu_ERMS): Likewise.
5343         (reg_ERMS): Likewise.
5345 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5347         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5348         PER_LINUX_FDPIC): Add.
5350 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5353         memcpy-avx512-no-vzeroupper.
5354         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5355         to ...
5356         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5357         (MEMCPY): Don't define.
5358         (MEMCPY_CHK): Likewise.
5359         (MEMPCPY): Likewise.
5360         (MEMPCPY_CHK): Likewise.
5361         (MEMPCPY_CHK): Renamed to ...
5362         (__mempcpy_chk_avx512_no_vzeroupper): This.
5363         (MEMPCPY_CHK): Renamed to ...
5364         (__mempcpy_chk_avx512_no_vzeroupper): This.
5365         (MEMCPY_CHK): Renamed to ...
5366         (__memmove_chk_avx512_no_vzeroupper): This.
5367         (MEMCPY): Renamed to ...
5368         (__memmove_avx512_no_vzeroupper): This.
5369         (__memcpy_avx512_no_vzeroupper): New alias.
5370         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5372 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5374         [BZ #18858]
5375         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5376         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5377         and mempcpy-avx512-no-vzeroupper.
5378         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5379         New.
5380         (MEMPCPY): Likewise.
5381         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5382         (MEMPCPY_CHK): New.
5383         (MEMPCPY): Likewise.
5384         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5385         (MEMPCPY): Likewise.
5386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5387         (MEMPCPY): Likewise.
5388         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5389         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5390         Likewise.
5391         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5392         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5394 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5395              Amit Pawar  <Amit.Pawar@amd.com>
5397         [BZ #19583]
5398         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5399         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5400         processors.  Set Fast_Copy_Backward for AMD Excavator
5401         processors.
5402         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5403         New.
5404         (index_arch_Fast_Unaligned_Copy): Likewise.
5405         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5406         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5408 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5410         [BZ #19791]
5411         * resolv/res_send.c (close_and_return_error): New function.
5412         (send_dg): Initialize *resplen2 after reopen failure.  Call
5413         close_and_return_error for error returns.  On error paths without
5414         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5415         successful return.
5417 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5419         [BZ# 19860]
5420         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5421         zero if the compiler does not provide the AVX512F bit.
5423 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5425         [BZ #19848]
5426         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5427         from 8 to 4.
5428         (__ieee754_powl): Compare integer exponent against 4 not 8.
5429         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5430         from 8 to 4.
5431         (__ieee754_powl): Compare integer exponent against 4 not 8.
5432         * math/auto-libm-test-in: Add more tests of pow.
5433         * math/auto-libm-test-out: Regenerated.
5434         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5437 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5439         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5440         Make code unconditional.
5441         [!__NR_utimensat]: Remove conditional code.
5442         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5443         Make code unconditional.
5444         [!__NR_utimensat]: Remove conditional code.
5445         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5446         Make code unconditional.
5447         [!__NR_utimensat]: Remove conditional code.
5449 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5451         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5452         Make code unconditional.
5454 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5456         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5457         call-clobbered %eax on retry path.
5458         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5460 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5462         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5463         Don't set %rcx twice before "rep movsb".
5465 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5467         [BZ #19583]
5468         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5469         inline.  Check family before setting family, model and
5470         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5471         bits here.
5472         (init_cpu_features): Replace HAS_CPU_FEATURE and
5473         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5474         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5475         for Intel processors with usable AVX2.  Call get_common_indeces
5476         for other processors with family == NULL.
5477         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5478         (CPU_FEATURES_ARCH_P): Likewise.
5479         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5480         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5482 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5484         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5485         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5486         $(shared-thread-library) instead of hardcoding the path to libpthread.
5488 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5490         * sysdeps/unix/sysv/linux/kernel-features.h
5491         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5492         * sysdeps/unix/sysv/linux/getdents.c
5493         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5494         [!have_no_getdents64_defined]: Likewise.
5495         (__GETDENTS): Remove __have_no_getdents64 conditional.
5497 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5499         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5500         Remove macro.
5501         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5502         <kernel-features.h>.
5503         (signalfd) [__NR_signalfd4]: Make code unconditional.
5504         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5506 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5508         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5509         style.
5511 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5513         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5514         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5515         __pthread_unwind.
5516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5517         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5518         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5519         (__condvar_cleanup1): Likewise.
5521 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5523         [BZ #19822]
5524         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5525         move it to the final $@ location.
5527 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5529         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5530         access where posix_spawn success and pid argument is null.
5531         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5532         success case.
5534 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5536         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5538         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5540         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5541         and __fcntl.
5542         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5543         __fcntl only.
5544         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5545         adding attribute_hidden to __open and __fcntl.
5547         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5548         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5549         depend on libc-modules.h,
5550         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5552 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5555         Remove macro.
5556         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5557         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5558         entry.
5560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5561         Remove macro.
5562         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5563         include <kernel-features.h>.
5564         [!__ASSUME_FALLOCATE]: Remove conditional code.
5565         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5567 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5570         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5571         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5572         (_ZGVdN4v_cos_avx2): Likewise.
5573         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5574         (_ZGVdN4v_cos): Likewise.
5575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5576         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5577         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5578         (_ZGVdN4v_exp_avx2): Likewise.
5579         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5580         (_ZGVdN4v_exp): Likewise.
5581         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5582         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5583         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5584         (_ZGVdN4v_log_avx2): Likewise.
5585         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5586         (_ZGVdN4v_log): Likewise.
5587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5588         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5590         (_ZGVdN4vv_pow_avx2): Likewise.
5591         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5592         (_ZGVdN4vv_pow): Likewise.
5593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5594         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5595         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5596         (_ZGVdN4v_sin_avx2): Likewise.
5597         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5598         (_ZGVdN4v_sin): Likewise.
5599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5600         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5602         (_ZGVdN4vvv_sincos_avx2): Likewise.
5603         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5604         (_ZGVdN4vvv_sincos): Likewise.
5605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5606         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5607         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5608         (_ZGVbN4v_cosf_sse4): Likewise.
5609         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5610         (_ZGVdN8v_cosf_avx2): Likewise.
5611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5612         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5614         (_ZGVbN4v_expf_sse4): Likewise.
5615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5616         (_ZGVdN8v_expf_avx2): Likewise.
5617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5618         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5620         (_ZGVbN4v_logf_sse4): Likewise.
5621         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5622         (_ZGVdN8v_logf_avx2): Likewise.
5623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5624         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5626         (_ZGVbN4vv_powf_sse4): Likewise.
5627         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5628         (_ZGVdN8vv_powf_avx2): Likewise.
5629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5630         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5632         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5633         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5634         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5636         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5638         (_ZGVbN4v_sinf_sse4): Likewise.
5639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5640         (_ZGVdN8v_sinf_avx2): Likewise.
5641         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5642         Use JUMPTARGET to call callee.
5643         (WRAPPER_IMPL_SSE2_ff): Likewise.
5644         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5645         (WRAPPER_IMPL_AVX): Likewise.
5646         (WRAPPER_IMPL_AVX_ff): Likewise.
5647         (WRAPPER_IMPL_AVX_fFF): Likewise.
5648         (WRAPPER_IMPL_AVX512): Likewise.
5649         (WRAPPER_IMPL_AVX512_ff): Likewise.
5650         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5651         Likewise.
5652         (WRAPPER_IMPL_SSE2_ff): Likewise.
5653         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5654         (WRAPPER_IMPL_AVX): Likewise.
5655         (WRAPPER_IMPL_AVX_ff): Likewise.
5656         (WRAPPER_IMPL_AVX_fFF): Likewise.
5657         (WRAPPER_IMPL_AVX512): Likewise.
5658         (WRAPPER_IMPL_AVX512_ff): Likewise.
5659         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5661 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5663         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5664         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5665         qualifier.
5666         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5667         internal_function qualifiers.
5669 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5671         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5672         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5673         * math/atest-exp.c (exp_mpn): Mark chk unused.
5674         * math/atest-exp2.c (exp_mpn): Likwise.
5675         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5676         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5678 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5681         Remove macro.
5682         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5683         <kernel-features.h>.
5684         [__NR_ppoll]: Make code unconditional.
5685         [!__ASSUME_PPOLL]: Remove conditional code.
5687         * sysdeps/unix/sysv/linux/kernel-features.h
5688         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5689         (__ASSUME_ACCEPT4): Likewise.
5690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5691         Define.
5692         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5693         Likewise.
5694         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5695         Likewise.
5696         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5697         Likewise.
5698         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5699         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5701         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5702         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5703         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5705         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5706         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5707         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5709         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5712         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5713         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5714         Likewise.
5715         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5716         Likewise.
5717         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5718         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5719         0x040300].
5720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5721         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5723         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5724         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5725         0x030300].
5726         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5727         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5728         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5729         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5730         0x040300].
5731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5734         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5735         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5736         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5737         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5738         0x030300].
5739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5740         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5741         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5742         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5743         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5744         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5747         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5748         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5749         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5750         0x040300].
5751         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5753         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5754         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5756         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5757         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5758         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5759         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5760         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5762         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5763         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5764         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5765         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5766         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5768         Likewise.
5769         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5770         Likewise.
5772 2016-03-15  Andreas Schwab  <schwab@suse.de>
5774         [BZ #19257]
5775         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5776         statp->_u._ext.nscount as loop count.
5778 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5780         * math/test-signgam-finite-c99.c: Also #undef
5781         __LIBC_INTERNAL_MATH_INLINES.
5782         * math/test-signgam-main.c: Likewise.
5784 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5786         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5787         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5788         (MADV_FREE): Likewise.
5789         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5790         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5791         EPOLLEXCLUSIVE.
5793 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5795         * timezone/README: Remove mention of checktab.awk. Mention wiki
5796         SharedSourceFiles.
5798 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5800         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5801         WUNTRACED.
5803 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5805         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5806         order to match the type of p when calling atomic_exchange_acq().
5808 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5810         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5811         cfi_offset calls.
5812         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5813         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5814         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5815         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5816         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5818 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5820         * timezone/checktab.awk: Removed.
5822 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5824         * manual/math.texi (Errors in Math Functions): Document relaxed
5825         accuracy goals for IBM long double.
5826         * math/libm-test.inc (test_exceptions): Always allow spurious
5827         "underflow" and "inexact" exceptions for IBM long double.
5829 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5831         [BZ #19762]
5832         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5833         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5834         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5835         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5836         (bit_arch_*): This for feature array.
5837         (bit_*): Renamed to ...
5838         (bit_cpu_*): This for cpu array.
5839         (index_*): Renamed to ...
5840         (index_arch_*): This for feature array.
5841         (index_*): Renamed to ...
5842         (index_cpu_*): This for cpu array.
5843         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5844         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5845         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5846         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5847         bit_##name with index_cpu_##name and bit_cpu_##name.
5848         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5849         bit_##name with index_arch_##name and bit_arch_##name.
5851 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5853         [BZ #19792]
5854         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5855         Terminate FDE before return label.
5857 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5859         [BZ #19790]
5860         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5861         (rintl): Define as macro.
5862         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5863         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5864         of fesetround.  Ensure results are evaluated before end of scope.
5865         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5866         USE_AS_NEARBYINTL and include s_rintl.c.
5867         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5868         Disable exception traps in new environment.
5869         (libc_feholdsetround_ppc_ctx): Likewise.
5871 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5873         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5874         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5875         (tst_audit10_aux) [__AVX512F__]: ... here.
5877 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5879         * include/sys/auxv.h: New file.
5881 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5883         [BZ #19759]
5884         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5886 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5888         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5889         operand modifier.
5890         (feclearexcept): Likewise.
5892 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5894         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5895         to reflect the entire 32-bit HWCAP.
5896         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5897         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5899 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5901         [BZ #19783]
5902         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5903         $(test-via-rtld-prefix).
5904         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5906 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5908         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5909         union wait.  Report any non-zero exit status as error.
5911 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5913         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5914         configured with --enable-hardcoded-path-in-tests.
5916 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5918         [BZ #19677]
5919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5920         (__ieee754_remainderl): Put zero low parts in canonical form.
5921         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5922         file.  Based on
5923         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5924         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5925         with wrapper round test-fmodrem-ldbl-128ibm.c.
5926         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5927         file.
5928         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5929         Likewise.
5930         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5931         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5933 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5935         [BZ #19610]
5936         * elf/ldconfig.c (opt_link): Update comment.
5937         (options): Update help string for option -X.
5938         (search_dir): Unlink stale symbolic link only if updating symbolic
5939         links.
5940         * elf/tst-ldconfig-X.sh: New file.
5941         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5942         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5944 2016-03-07  Andreas Schwab  <schwab@suse.de>
5946         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5947         needed arguments.
5949 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5951         [BZ #15333]
5952         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5953         to lstat64.
5955 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5957         * libio/filedoalloc.c (isatty): Remove.
5958         (local_isatty): Add comment.  Call __isatty directly.
5959         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5960         * libio/wfiledoalloc.c (isatty): Remove.
5961         (_IO_wfile_doallocate): Update comment.
5963 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5965         [BZ #19269]
5966         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5967         tst-audit4-aux.o.
5968         (tst-audit10): Depend on tst-audit10-aux.o.
5969         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5970         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5971         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5972         instead of inline AVX code.
5973         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5974         instead of inline AVX512 code.
5975         * sysdeps/x86_64/tst-audit4-aux.c: New file
5976         * sysdeps/x86_64/tst-audit10-aux.c: New file
5978         [BZ #19648]
5979         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5981 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5983         [BZ #14750]
5984         [BZ #10354]
5985         [BZ #18433]
5986         * include/sched.h (__clone): Add hidden prototype.
5987         (__clone2): Likewise.
5988         * include/unistd.h (__dup): Likewise.
5989         * posix/Makefile (tests): Add tst-spawn2.
5990         * posix/tst-spawn2.c: New file.
5991         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5992         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5993         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5994         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5995         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5996         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5997         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5998         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5999         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6000         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6001         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6003         Likewise.
6004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6005         Likewise.
6006         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6007         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6008         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6009         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6010         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6011         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6012         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6013         * sysdeps/unix/sysv/linux/nptl-signals.h
6014         (____nptl_is_internal_signal): New function.
6015         * sysdeps/unix/sysv/linux/spawni.c: New file.
6017         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6018         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6019         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6020         * posix/tst-execvp2.c (do_test): Likewise.
6021         * posix/tst-execvp3.c (do_test): Likewise.
6022         * posix/tst-execvp4.c (do_test): Likewise.
6023         * posix/tst-execvpe1.c: New file.
6024         * posix/tst-execvpe2.c: Likewise.
6025         * posix/tst-execvpe3.c: Likewise.
6026         * posix/tst-execvpe4.c: Likewise.
6027         * posix/tst-execvpe5.c: Likewise.
6028         * posix/tst-execvpe6.c: Likewise.
6030         [BZ #19534]
6031         * posix/execl.c (execl): Remove dynamic memory allocation.
6032         * posix/execle.c (execle): Likewise.
6033         * posix/execlp.c (execlp): Likewise.
6035 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6037         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6038         Replace .text with .text.avx512.
6039         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6040         Likewise.
6042 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6044         * sysdeps/generic/libnsl.abilist: New file.
6045         * sysdeps/generic/libutil.abilist: New file.
6047 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6049         [BZ #19762]
6050         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6051         HAS_ARCH_FEATURE with Fast_Rep_String.
6052         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6053         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6054         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6055         Likewise.
6056         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6057         Likewise.
6058         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6059         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6060         Likewise.
6061         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6062         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6063         Likewise.
6065 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6067         [BZ #19745]
6068         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6069         with *%rax in call.
6071 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6073         [BZ #19745]
6074         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6075         with *__libc_start_main@GOTPCREL(%rip) in call.
6077 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6079         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6080         inside conditional for nonempty $(CXX).
6082         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6083         nonempty.
6085         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6086         to test for empty $(CXX) rather than $(CXX) of "no".
6088 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6090         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6092 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6093             H.J. Lu  <hongjiu.lu@intel.com>
6095         [BZ #18880]
6096         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6097         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6098         enable __memcpy_ssse3_back.
6100 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6102         [BZ #19758]
6103         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6104         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6106 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6108         [BZ #19490]
6109         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6110         (__fentry__): Likewise.
6112 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6114         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6115         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6117 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6119         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6120         __mcount_internal directly.
6121         (C_LABEL(__fentry__)): Likewise.
6122         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6123         directly.
6125 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6127         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6128         (__start_context): Call __setcontext directly.
6130 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6133         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6134         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6135         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6136         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6137         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6138         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6139         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6140         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6141         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6142         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6143         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6144         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6145         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6146         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6148         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6150         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6151         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6152         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6153         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6154         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6155         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6156         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6157         Remove conditional code.
6158         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6159         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6160         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6161         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6162         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6163         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6164         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6165         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6166         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6167         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6168         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6169         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6171 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6173         * NEWS (2.23): Fix typo in bug 19048 text.
6175 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6177         [BZ #14259]
6178         * Makeconfig: Rename msgcatdir to localedir.
6179         Rename inst_msgcatdir to inst_localedir.
6180         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6181         * config.make.in: Add localedir.
6182         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6183         (ldd-rewrite): Likewise.
6184         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6185         (install-others): Use inst_localedir.
6186         (CPPFLAGS): Use localedir.
6187         * locale/Makefile (locale-CPPFLAGS): Likewise.
6188         * po/Makefile (mo-installed): Use inst_localedir.
6190         [BZ #19575]
6191         * localedata/charmaps/GB18030: Update comments regarding PAU to
6192         non-PUA mappings.
6194 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6196         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6197         test for header.
6198         * sysdeps/unix/sysv/linux/configure: Regenerated.
6199         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6200         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6201         Remove conditional code.
6202         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6204         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6205         Define to 3.2.0.
6206         (arch_minimum_kernel): Likewise.
6207         * sysdeps/unix/sysv/linux/configure: Regenerated.
6208         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6209         Define to 2.6.32.
6210         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6211         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6212         (arch_minimum_kernel): Define to 2.6.32.
6213         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6214         * README: Document Linux 3.2 requirement.
6215         * manual/install.texi (Linux): Document Linux 3.2 headers
6216         requirement.
6217         * INSTALL: Regenerated.
6219 2016-02-24  Andreas Schwab  <schwab@suse.de>
6221         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6222         if !NO_LONG_DOUBLE.
6224 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6226         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6227         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6229 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6231         [BZ #19512]
6232         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6234 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6236         * posix/tst-dir.c: Include libc-internal.h.
6238 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6240         [BZ #19056]
6241         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6242         * manual/filesys.texi (Reading/Closing Directory): Mention
6243         deprecaion.
6244         * posix/tst-dir.c (main): Disable deprecation warning in test.
6246 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6248         [BZ #19679]
6249         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6250         Renamed to ...
6251         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6252         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6253         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6254         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6255         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6256         * sysdeps/x86_64/dl-trampoline.h
6257         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6258         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6260 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6262         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6264 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6266         * elf/elf.h (R_386_GOT32X): New.
6267         (R_386_NUM): Update.
6268         (R_X86_64_GOTPCRELX: New.
6269         (R_X86_64_REX_GOTPCRELX): New.
6270         (R_X86_64_NUM): Update.
6272 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6274         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6276 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6278         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6279         assign attr->stackaddr to it, and adjust it down when
6280         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6281         [_STACK_GROWS_UP]: Delete assert.
6282         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6283         Implement stack grows up logic.
6284         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6285         stack grows up logic.
6287 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6289         * NEWS: Update with 2.24 template.
6291 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #19678]
6294         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6295         Ensure +0.0 is returned when taking the next value below the least
6296         positive value.
6298 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6300         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6301         available.  Do not define NO_THREADS.
6302         * malloc/malloc.c: Do not check NO_THREADS.
6303         * malloc/arena.c: Likewise.
6305 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6307         * malloc/malloc.c (__libc_mallinfo): Update comment.
6308         (struct malloc_par): Remove max_total_mem member, it was always 0.
6309         (int_mallinfo): Store 0 into usmblks (no functional change).
6310         * malloc/hooks.c (struct malloc_state): Document that
6311         max_total_mem is always 0.
6312         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6313         always 0.
6314         * manual/memory.texi (Statistics of Malloc): Likewise.
6316 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6318         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6319         * malloc/arena.c (arena_max): Remove.
6320         (heap_trim, _int_new_arena): Do not update arena_max.
6322 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6324         * resolv/res_init.c (res_ninit): Update comment.
6326 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6328         [BZ #19505]
6329         * posix/spawn_int.h: Add headers and include guard.
6330         (__spawn_valid_fd): New function.
6331         * posix/spawn_faction_addopen.c
6332         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6333         * posix/spawn_faction_addclose.c
6334         (posix_spawn_file_actions_addclose): Likewise.
6335         * posix/spawn_faction_adddup2.c
6336         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6337         second file descriptor.
6338         * posix/spawn_valid_fd.c: New file.
6339         * posix/tst-posix_spawn-fd.c: New file.
6340         * posix/Makefile (routines): Add spawn_valid_fd.
6341         (tests): Add tst-posix_spawn-fd.
6343 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6345         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6346         (do_test): Limit the number of arenas, so that we can use fewer
6347         outer threads.  Limit timeout to 3 seconds, in preparation for a
6348         larger TIMEOUT value.
6350 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6352         [BZ #19674]
6353         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6354         sign in overflowing and underflowing results when overflow or
6355         underflow is detected early.  Include sign in result before rather
6356         than after scaling.
6358         [BZ #19603]
6359         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6360         (__ieee754_remainderl): Adjust sign of integer version of low part
6361         when taking absolute value of high part.
6362         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6363         * math/libm-test.inc (remainder_test_data): Add another test.
6364         (remquo_test_data): Likewise.
6366 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6368         [BZ #19602]
6369         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6370         equal high parts and both low parts zero specially.
6371         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6372         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6373         Add test-fmodl-ldbl-128ibm.
6375         [BZ #19595]
6376         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6377         common logic for all cases of shifting subnormal results.  Do not
6378         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6379         exponent to ldbl_insert_mantissa in subnormal case.
6381         [BZ #19594]
6382         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6383         on high and low parts then adjust result and use
6384         ldbl_canonicalize_int if needed.
6386         [BZ #19593]
6387         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6388         on high part and __floor or __ceil on low part then use
6389         ldbl_canonicalize_int if needed.
6391         [BZ #19592]
6392         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6393         high and low parts then use ldbl_canonicalize_int if needed.
6395         [BZ #17899]
6396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6397         New function.
6398         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6399         on high and low parts then use ldbl_canonicalize_int if needed.
6401 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6403         * configure: Regenerated.
6405         * po/libc.pot: Regenerated.
6407         * po/be.po: Updated translation.
6408         * po/bg.po: Likewise.
6409         * po/ca.po: Likewise.
6410         * po/cs.po: Likewise.
6411         * po/da.po: Likewise.
6412         * po/el.po: Likewise.
6413         * po/eo.po: Likewise.
6414         * po/es.po: Likewise.
6415         * po/fi.po: Likewise.
6416         * po/fr.po: Likewise.
6417         * po/gl.po: Likewise.
6418         * po/hr.po: Likewise.
6419         * po/hu.po: Likewise.
6420         * po/ia.po: Likewise.
6421         * po/id.po: Likewise.
6422         * po/it.po: Likewise.
6423         * po/ja.po: Likewise.
6424         * po/lt.po: Likewise.
6425         * po/nb.po: Likewise.
6426         * po/nl.po: Likewise.
6427         * po/pt_BR.po: Likewise.
6428         * po/rw.po: Likewise.
6429         * po/sk.po: Likewise.
6430         * po/sl.po: Likewise.
6431         * po/sv.po: Likewise.
6432         * po/tr.po: Likewise.
6433         * po/zh_CN.po: Likewise.
6434         * po/zh_TW.po: Likewise.
6436         * version.h (RELEAES): Set to "development".
6437         (VERSION): Set to 2.23.90.
6439         * version.h (RELEASE): Set to "stable".
6440         (VERSION): Set to 2.23.
6441         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6443         * NEWS: Updated fixed bugs.
6445 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6446             Wilco Dijkstra  <wdijkstr@arm.com>
6448         [BZ #19462]
6449         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6450         (_STRING_INLINE_unaligned): This.
6451         * include/string.h: Include <string_private.h>.
6452         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6453         _STRING_INLINE_unaligned.
6454         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6455         (_STRING_INLINE_unaligned): New.
6456         * sysdeps/aarch64/string_private.h: New file.
6457         * sysdeps/generic/string_private.h: Likewise.
6458         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6459         * sysdeps/s390/string_private.h: Likewise.
6460         * sysdeps/x86/string_private.h: Likewise.
6461         * sysdeps/m68k/m680x0/m68020/bits/string.h
6462         (_STRING_ARCH_unaligned): Renamed to ...
6463         (_STRING_INLINE_unaligned): This.
6464         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6465         to ...
6466         (_STRING_INLINE_unaligned): This.
6467         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6468         to ...
6469         (_STRING_INLINE_unaligned): This.
6470         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6471         to ...
6472         (_STRING_INLINE_unaligned): This.
6474 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6475             H.J. Lu  <hongjiu.lu@intel.com>
6477         [BZ #19590]
6478         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6479         relocation.
6481 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6483         [BZ #18665]
6484         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6485         *herrno_p.
6486         (gaih_getanswer): Document functional behviour. Return tryagain
6487         if any result is tryagain.
6488         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6489         when freed.
6490         * resolv/res_send.c: Add copyright text.
6491         (__libc_res_nsend): Document that MAXPACKET is expected.
6492         (send_vc): Document. Remove buffer reuse.
6493         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6494         size of the buffer. Add Dprint for truncated UDP buffer.
6496 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6498         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6499         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6500         * INSTALL: Regenerate.
6502 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6503             Jonathan Wakely  <jwakely@redhat.com>
6504             Carlos O'Donell  <carlos@redhat.com>
6506         [BZ 19439]
6507         * math/Makefile (tests): Add test-math-isinff.
6508         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6509         * math/bits/mathcalls.h [__USE_MISC]: Use
6510         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6511         functions not in C++11 and which don't conflict e.g. isinff,
6512         isinfl etc.
6513         * math/test-math-isinff.cc: New file.
6515 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6517         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6519 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6521         [BZ #19529]
6522         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6524 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6526         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6528 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6530         [BZ #19550]
6531         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6532         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6533         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6534         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6535         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6536         New syscall entry.
6537         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6538         New syscall entry.
6539         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6540         syscall entry.
6542 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6544         [BZ #18240]
6545         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6546         unsigned int wraparound.
6548 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6550         [BZ #18240]
6551         * misc/bug18240.c: New test.
6552         * misc/Makefile (tests): Add it.
6554 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6555             Joseph Myers  <joseph@codesourcery.com>
6557         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6558         load in branch delay slot when less than a word of input left.
6560 2016-01-27  Andreas Schwab  <schwab@suse.de>
6562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6563         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6564         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6565         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6567 2016-01-26  David S. Miller  <davem@davemloft.net>
6569         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6571 2016-01-25  David S. Miller  <davem@davemloft.net>
6573         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6574         __sqrtl_finite.
6575         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6576         instead using versioned_symbol.
6577         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6578         of entries.
6580         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6581         __sqrtl_finite to GLIBC_2.23
6583 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6585         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6587 2016-01-25  Andreas Schwab  <schwab@suse.de>
6589         [BZ #17514]
6590         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6591         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6592         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6593         * nptl/tst-mutex-errorcheck.c: New file.
6595 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6597         [BZ #18560]
6598         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6599         (IPCOP_semop): Likewise.
6600         (IPCOP_semget): Likewise.
6601         (IPCOP_semctl): Likewise.
6602         (IPCOP_msgsnd): Likewise.
6603         (IPCOP_msgrcv): Likewise.
6604         (IPCOP_msgget): Likewise.
6605         (IPCOP_msgctl): Likewise.
6606         (IPCOP_shmat): Likewise.
6607         (IPCOP_shmdt): Likewise.
6608         (IPCOP_shmget): Likewise.
6609         (IPCOP_shmctl): Likewise.
6611 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6613         * string/tst-endian.c: Include <libc-internal.h>.
6614         (do_test): Ignore tautological-compare warnings around
6615         "htobeXX (beXXtoh (i)) != i" and
6616         "htoleXX (leXXtoh (i)) != i" if-statements.
6618 2016-01-24  David S. Miller  <davem@davemloft.net>
6620         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6621         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6622         alias.
6623         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6624         __sqrtl_finite.
6626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6628 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6630         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6631         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6632         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6634 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6636         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6637         (thread_func): Use new function to simplify barrier check.
6638         (do_test): Use new function to simplify checking barrier exit
6639         code, and actually join the child thread.
6641 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6643         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6644         semicolon.
6645         (__libc_tend): Likewise.
6646         (__libc_tabort): Likewise.
6648 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6650         * sysdeps/nios2/libm-test-ulps: Update.
6651         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6652         (__gtsf2): Likewise.
6653         (__unorddf2): Likewise.
6654         (__unordsf2): Likewise.
6655         (__ledf2): Likewise.
6657 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6659         * nis/nis_table.c (__follow_path): Disable diagnostic for
6660         uninitialized variable that is a false positive for gcc 4.7.
6661         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6663 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6665         * sysdeps/nacl/lowlevellock-futex.h
6666         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6667         Always evaluate PRIVATE argument.
6669 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6671         [BZ #19490]
6672         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6673         (pthread_cond_broadcast): Use ENTRY/END
6674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6675         (pthread_cond_signal): Likewise.
6676         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6677         Likewise.
6678         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6679         Likewise.
6680         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6681         Likewise.
6683 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6685         * sysdeps/ieee754/dbl-64/s_finite.c
6686         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6687         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6688         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6689         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6690         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6693         (__gtsf2): Add as optional for libc.so.
6694         (__unordsf2): Likewise.
6695         (__signbit): Remove for libc.so.
6696         (__signbitl): Likewise.
6698 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6700         * iconvdata/bug-iconv11.c (test_ibm93x):
6701         Use %zu printf format specifier for size_t argument.
6703 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6705         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6706         already-recorded ulps.
6707         * sysdeps/arm/libm-test-ulps: Regenerated.
6708         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6709         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6710         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6712 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6713             Paul Pluzhnikov  <ppluzhnikov@google.com>
6715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6716         assembler not supporting AVX-512.
6718 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6720         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6722 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6724         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6725         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6727         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6729         * sysdeps/arm/libm-test-ulps: Regenerated.
6731 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6733         [BZ #19451]
6734         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6736 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6738         [BZ #19486]
6739         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6740         * sysdeps/generic/fix-fp-int-convert-overflow.h
6741         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6742         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6743         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6744         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6745         Likewise.
6746         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6747         Avoid conversions to long int where inexact exceptions
6748         could be raised.
6749         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6750         Likewise.
6751         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6752         Avoid conversions to long long int where inexact exceptions
6753         could be raised.
6754         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6755         Likewise.
6757 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6759         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6760         * configure: Regenerated.
6762 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6764         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6766 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6768         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6769         outside of comment.
6771 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6773         * nptl/tst-barrier1.c: Add description on first line.
6774         * nptl/tst-barrier2.c: Likewise.
6775         * nptl/tst-barrier3.c: Likewise.
6776         * nptl/tst-barrier4.c: Likewise.
6777         * nptl/tst-barrier5.c: Likewise.
6779 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6781         [BZ #18868]
6782         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6784 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6788         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6789         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6790         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6791         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6792         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6793         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6794         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6795         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6796         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6798 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6800         [BZ #13065]
6801         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6802         new implementation.
6803         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6804         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6805         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6806         (BARRIER_IN_THRESHOLD): New macro.
6807         * nptl/pthread_barrierattr_setpshared.c
6808         (pthread_barrierattr_setpshared): Clean up.
6809         * nptl/tst-barrier4.c: Correct comment.
6810         * nptl/tst-barrier5.c: New file.
6811         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6812         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6813         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6814         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6815         * nptl/lowlevelbarrier.sym: Remove.
6816         * nptl/DESIGN-barrier.txt: Remove.
6817         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6818         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6819         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6820         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6821         error.
6822         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6823         implementation.
6825 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6827         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6828         (do_child): Mask SIGRTMIN while thr is running.
6830 2016-01-15  Martin Sebor  <msebor@redhat.com>
6832         [BZ #19432]
6833         * iconvdata/Makefile: Add bug-iconv11.
6834         * iconvdata/bug-iconv11.c: New test.
6835         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6836         * iconvdata/ibm933.c: Same.
6837         * iconvdata/ibm935.c: Same.
6838         * iconvdata/ibm937.c: Same.
6839         * iconvdata/ibm939.c: Same.
6841 2016-01-15  Martin Sebor  <msebor@redhat.com>
6843         [BZ #19443]
6844         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6845         [DEBUG] (_ufc_set_bits): Declare used.
6846         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6847         [DEBUG] (print_all): Declare used.
6848         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6849         operands of the ternary ?: expression to target type.
6850         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6851         calling the undeclared abort.
6852         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6854 2016-01-15  Martin Sebor  <msebor@redhat.com>
6856         [BZ #18755]
6857         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6858         warnings.
6859         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6860         (__gai_create_helper_thread): Same.
6861         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6862         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6863         to suppress -Wmaybe-uninitialized warnings.
6865 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6867         [BZ #19465]
6868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6869         inside if.
6870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6874 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6876         [BZ #19466]
6877         * time/tst-mktime2.c (time_t_max): Removed.
6878         (time_t_min): Likewise.
6879         (TYPE_SIGNED): New.
6880         (TYPE_MINIMUM): Likewise.
6881         (TYPE_MAXIMUM): Likewise.
6882         (TIME_T_MIN): Likewise.
6883         (TIME_T_MAX): Likewise.
6884         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6885         and TIME_T_MIN.
6886         (do_test): Likewise.
6888 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6890         [BZ #19467]
6891         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6892         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6894 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6896         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6898 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6900         * benchtests/Makefile (PYTHON): Define.
6901         (bench-func): Use $(PYTHON) to run python scripts.
6902         ($(objpfx)bench-%.c): Likewise.
6904 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6906         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6907         leading slash when `file_name' is "/".
6909 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6911         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6912         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6913         Likewise.
6914         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6915         Likewise.
6916         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6917         Likewise.
6918         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6919         enum constant and macro.
6920         (PTRACE_SETSIGMASK): Likewise.
6921         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6922         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6923         (PTRACE_GETSIGMASK): Likewise.
6924         (PTRACE_SETSIGMASK): Likewise.
6925         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6926         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6927         Likewise.
6928         (PTRACE_SETSIGMASK): Likewise.
6929         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6930         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6931         (PTRACE_GETSIGMASK): Likewise.
6932         (PTRACE_SETSIGMASK): Likewise.
6933         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6935         Likewise.
6936         (PTRACE_SETSIGMASK): Likewise.
6937         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6938         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6939         Likewise.
6940         (PTRACE_SETSIGMASK): Likewise.
6941         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6942         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6943         Likewise.
6944         (PTRACE_SETSIGMASK): Likewise.
6945         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6947 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6948             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6950         [BZ #19439]
6951         * math/bits/mathcalls.h
6952         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6953         prototype.
6954         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6956 2016-01-11  Andreas Schwab  <schwab@suse.de>
6958         [BZ #19253]
6959         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6960         cache when TZDEFRULES was used.
6961         * time/tst-tzname.c: New file.
6962         * time/Makefile (test): Add tst-tzname.
6963         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6964         * timezone/Makefile (test-zones): Add $(posixrules-file).
6965         ($(testdata)/$(posixrules-file)): New rule.
6967 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6969         Fix doc quoting problems with Texinfo 5
6970         Without this change, in the info file output, Texinfo 5 quotes code
6971         in text with undirected single quotes 'like this' and generates
6972         code examples that with many PDF readers cannot be cut out of PDFs
6973         and pasted into code.
6974         * manual/libc.texinfo: Configure the libc manual like the GNU
6975         Emacs manual, by using @documentencoding and setting
6976         txicodequoteundirected and txicodequotebacktick.  This way,
6977         Texinfo 5 quotes code in text with directed single quotes ‘like
6978         this’ and produces examples that can be cut out of PDFs.  This
6979         change causes Texinfo 5 to generate info files that contain UTF-8
6980         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6981         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6983 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6985         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6986         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6987         barriers to their respective compiler built-ins.
6988         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6989         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6990         * sysdeps/powerpc/sysdep.h: Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6995 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6997         * scripts/config.guess: Revert previous shebang change.
6998         * scripts/config.sub: Likewise.
6999         * scripts/mkinstalldirs: Likewise.
7001 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7003         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7004         PPC_FEATURE2_HAS_IEEE128.
7005         * sysdeps/powerpc/dl-procinfo.c:
7006         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7008 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7010         [BZ #19415]
7011         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7012         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7013         (_dl_lookup_address): Rewrite using function resolver trampoline.
7014         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7015         two bits in address.
7017 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7019         * longlong.h: Change !__SHMEDIA__ to
7020         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7021         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7023 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7024             Joseph Myers  <joseph@codesourcery.com>
7025             Mark Shinwell  <shinwell@codesourcery.com>
7026             Andrew Stubbs  <ams@codesourcery.com>
7027             Rich Felker <dalias@libc.org>
7029         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7031 2016-01-07  Richard Henderson  <rth@redhat.com>
7033         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7035 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7037         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7038         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7039         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7040         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7041         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7043 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7044             Joseph Myers  <joseph@codesourcery.com>
7046         * timezone/private.h: Update from tzcode 2015g.
7047         * timezone/tzfile.h: Likewise.
7048         * timezone/tzselect.ksh: Likewise.
7049         * timezone/zdump.c: Likewise.
7050         * timezone/zic.c: Likewise.
7051         * timezone/ialloc.c: Remove file.
7052         * timezone/scheck.c: Likewise.
7053         * timezone/Makefile (extra-objs): Remove variable.
7054         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7055         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7056         -Wno-maybe-uninitialized.
7057         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7058         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7059         (CFLAGS-ialloc.c): Remove variable.
7060         (CFLAGS-scheck.c): Likewise.
7061         * timezone/README: Update list of files from tzcode.
7063 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7065         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7066         instead of __fxprintf when _LIBC is undefined.
7068 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7070         * catgets/test-gencat.sh: Remove space after shebang.
7071         * conform/GlibcConform.pm: Likewise.
7072         * conform/check-header-lists.sh: Likewise.
7073         * conform/conformtest.pl: Likewise.
7074         * conform/linknamespace.pl: Likewise.
7075         * conform/list-header-symbols.pl: Likewise.
7076         * debug/catchsegv.sh: Likewise.
7077         * elf/genrtldtbl.awk: Likewise.
7078         * elf/tst-pathopt.sh: Likewise.
7079         * elf/tst-rtld-load-self.sh: Likewise.
7080         * grp/tst_fgetgrent.sh: Likewise.
7081         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7082         * iconvdata/gen-8bit-gap.sh: Likewise.
7083         * iconvdata/gen-8bit.sh: Likewise.
7084         * iconvdata/run-iconv-test.sh: Likewise.
7085         * intl/tst-gettext.sh: Likewise.
7086         * intl/tst-gettext2.sh: Likewise.
7087         * intl/tst-gettext4.sh: Likewise.
7088         * intl/tst-gettext6.sh: Likewise.
7089         * intl/tst-translit.sh: Likewise.
7090         * io/ftwtest-sh: Likewise.
7091         * libio/test-freopen.sh: Likewise.
7092         * locale/gen-translit.pl: Likewise.
7093         * malloc/tst-mtrace.sh: Likewise.
7094         * manual/check-safety.sh: Likewise.
7095         * manual/libc-texinfo.sh: Likewise.
7096         * manual/tsort.awk: Likewise.
7097         * manual/xtract-typefun.awk: Likewise.
7098         * nptl/tst-cancel-wrappers.sh: Likewise.
7099         * nptl/tst-tls6.sh: Likewise.
7100         * posix/globtest.sh: Likewise.
7101         * posix/tst-getconf.sh: Likewise.
7102         * posix/wordexp-tst.sh: Likewise.
7103         * scripts/check-c++-types.sh: Likewise.
7104         * scripts/check-local-headers.sh: Likewise.
7105         * scripts/config.guess: Likewise.
7106         * scripts/config.sub: Likewise.
7107         * scripts/cpp: Likewise.
7108         * scripts/cross-test-ssh.sh: Likewise.
7109         * scripts/documented.sh: Likewise.
7110         * scripts/evaluate-test.sh: Likewise.
7111         * scripts/gen-libc-abis: Likewise.
7112         * scripts/gen-sorted.awk: Likewise.
7113         * scripts/list-fixed-bugs.py: Likewise.
7114         * scripts/merge-test-results.sh: Likewise.
7115         * scripts/mkinstalldirs: Likewise.
7116         * scripts/rellns-sh: Likewise.
7117         * scripts/test-installation.pl: Likewise.
7118         * scripts/update-copyrights: Likewise.
7119         * stdio-common/tst-printf.sh: Likewise.
7120         * stdio-common/tst-unbputc.sh: Likewise.
7121         * stdlib/tst-fmtmsg.sh: Likewise.
7122         * stdlib/tst-setcontext3.sh: Likewise.
7123         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7124         * sysdeps/unix/make-syscalls.sh: Likewise.
7126 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7128         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7129         asm stw with atomic_exchange_rel.  Add explanatory comment.
7130         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7131         Likewise.
7133 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7135         [BZ #19122]
7136         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7137         * sysdeps/generic/dl-unistd.h: New file.
7138         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7140 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7142          [BZ #19122]
7143          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7144          * sysdeps/generic/dl-mman.h: New file.
7145          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7147 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7149         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7150         trailing whitespace removed.
7151         * scripts/config.guess: Update to version 2016-01-01.
7152         * scripts/config.sub: Update to version 2016-01-01.
7153         * scripts/move-if-change: Update from gnulib.
7155 2016-01-04  Anton Blanchard  <anton@samba.org>
7157         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7158         for array indices.
7159         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7161 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7163         * NEWS: Update copyright dates.
7164         * catgets/gencat.c (print_version): Likewise.
7165         * csu/version.c (banner): Likewise.
7166         * debug/catchsegv.sh: Likewise.
7167         * debug/pcprofiledump.c (print_version): Likewise.
7168         * debug/xtrace.sh (do_version): Likewise.
7169         * elf/ldconfig.c (print_version): Likewise.
7170         * elf/ldd.bash.in: Likewise.
7171         * elf/pldd.c (print_version): Likewise.
7172         * elf/sotruss.sh: Likewise.
7173         * elf/sprof.c (print_version): Likewise.
7174         * iconv/iconv_prog.c (print_version): Likewise.
7175         * iconv/iconvconfig.c (print_version): Likewise.
7176         * locale/programs/locale.c (print_version): Likewise.
7177         * locale/programs/localedef.c (print_version): Likewise.
7178         * login/programs/pt_chown.c (print_version): Likewise.
7179         * malloc/memusage.sh (do_version): Likewise.
7180         * malloc/memusagestat.c (print_version): Likewise.
7181         * malloc/mtrace.pl: Likewise.
7182         * manual/libc.texinfo: Likewise.
7183         * nptl/version.c (banner): Likewise.
7184         * nscd/nscd.c (print_version): Likewise.
7185         * nss/getent.c (print_version): Likewise.
7186         * nss/makedb.c (print_version): Likewise.
7187         * posix/getconf.c (main): Likewise.
7188         * scripts/test-installation.pl: Likewise.
7189         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7191         * All files with FSF copyright notices: Update copyright dates
7192         using scripts/update-copyrights.
7193         * intl/plural.c: Regenerated.
7194         * locale/programs/charmap-kw.h: Likewise.
7195         * locale/programs/locfile-kw.h: Likewise.
7197 2016-01-02  Helge Deller  <deller@gmx.de>
7199         [BZ #19285]
7200         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7201         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7202         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7203         (MADV_xxK_PAGES): Remove.
7205 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7207         [BZ #15421]
7208         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7209         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7210         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7211         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7213 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7215         [BZ #19408]
7216         * sysdeps/unix/sysv/linux/personality.c: New file.
7217         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7218         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7219         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7220         (sysdep_routines): Add personality.
7221         (tests): Add tst-personality.
7222         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7224         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7225         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7226         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7227         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7228         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7229         Likewise.
7230         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7231         Likewise.
7232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7233         Likewise.
7234         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7235         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7236         Likewise.
7238 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7240         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7241         (PATH_ARM_SYSTYPE): Remove.
7242         (PATH_CPUINFO): Likewise.
7243         (IO_BASE_FOOTBRIDGE): Likewise.
7244         (IO_SHIFT_FOOTBRIDGE): Likewise.
7245         (struct platform): Likewise.
7246         (init_iosys): Remove compatibility code for 2.4 kernels.
7247         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7249 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7251         * malloc/tst-malloc-thread-fail.c: New file.
7252         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7253         (tst-malloc-thread-fail): Link against libpthread.
7255 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7257         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7258         (get_parser): New function.
7259         (main): New function.
7261 2015-12-29  Rob Wu  <rob@robwu.nl>
7263         [BZ #19369]
7264         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7266 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7268         [BZ #19270]
7269         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7271 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7273         [BZ #15421]
7274         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7276 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7278         [BZ #13690]
7279         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7280         after releasing it.
7281         (__lll_robust_unlock): Likewise.
7282         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7283         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7284         (lll_robust_unlock): Likewise.
7285         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7286         Prevent warnings in callers.
7288 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7290         * malloc/arena.c (list_lock): Update comment.
7292 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7294         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7295         __parse_hwcap_and_convert_at_platform to libc.a.
7297 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7299         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7300         platform and feature support for POWER9.
7301         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7302         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7303         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7304         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7305         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7306         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7307         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7308         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7310 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7312         Harmonize generic stdio-lock support with nptl
7314         This fixes build when _IO_funlockfile is a macro, fixes build where
7315         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7316         stack unwind.
7318         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7319         _IO_release_lock ): Use cleanup attribute on new
7320         _IO_acquire_lock_file variable instead of assuming that
7321         _IO_release_lock will be called.
7322         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7323         _IO_acquire_lock_needs_exceptions_enabled.
7324         (_IO_acquire_lock_clear_flags2): New macro.
7326 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7328         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7330 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7332         [BZ #19182]
7333         * malloc/arena.c (list_lock): Document lock ordering requirements.
7334         (free_list_lock): New lock.
7335         (ptmalloc_lock_all): Comment on free_list_lock.
7336         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7337         (detach_arena): Update comment.  free_list_lock is now needed.
7338         (_int_new_arena): Use free_list_lock around detach_arena call.
7339         Acquire arena lock after list_lock.  Add comment, including FIXME
7340         about incorrect synchronization.
7341         (get_free_list): Switch to free_list_lock.
7342         (reused_arena): Acquire free_list_lock around detach_arena call
7343         and attached threads counter update.  Add two FIXMEs about
7344         incorrect synchronization.
7345         (arena_thread_freeres): Switch to free_list_lock.
7346         * malloc/malloc.c (struct malloc_state): Update comments to
7347         mention free_list_lock.
7349 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7351         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7352         Remove functions.
7353         (sloww, sloww1): Accept argument to offset quadrant.
7354         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7355         quadrant.
7356         (__sin, __cos): Consolidate common code into new functions.
7357         (reduce_sincos_1, do_sincos_1): New functions.
7358         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7361         code to new functions.
7362         (reduce_sincos_2, do_sincos_2): New functions.
7363         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7366         common code for sincos.
7367         (__cos) [!IN_SINCOS]: Likewise.
7368         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7369         New function.
7370         (__sincos): Use it.
7372 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7374         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7375         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7376         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7378 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7380         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7383         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7384         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7385         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7386         index_Prefer_No_VZEROUPPER): New feature.
7387         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7388         Prefer_No_VZEROUPPER for Knights Landing.
7390 015-12-18  Torvald Riegel  <triegel@redhat.com>
7392         * math/atest-exp2.c (mp_exp_m1): Remove.
7394 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7396         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7397         syscalls.
7398         (__SYSCALL0): New macro.
7399         (__SYSCALL1): Likewise.
7400         (__SYSCALL2): Likewise.
7401         (__SYSCALL3): Likewise.
7402         (__SYSCALL4): Likewise.
7403         (__SYSCALL5): Likewise.
7404         (__SYSCALL6): Likewise.
7405         (__SYSCALL_CONCAT_X): Likewise.
7406         (__SYSCALL_CONCAT): Likewise.
7407         (__SYSCALL_DIST): Likewise.
7408         (__SYSCALL_CALL): Likewise.
7410 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7412         [BZ #19363]
7413         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7415 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7417         [BZ #19375]
7418         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7419         negative subnormals.
7421 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7424         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7425         (INTERNAL_SYSCALL_NCS): Use it.
7426         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7428 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7430         [BZ #19243]
7431         * malloc/arena.c (get_free_list): Remove assert and adjust
7432         reference count handling.  Add comment about reused_arena
7433         interaction.
7434         (reused_arena): Add comments abount get_free_list interaction.
7435         * malloc/tst-malloc-thread-exit.c: New file.
7436         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7437         (tst-malloc-thread-exit): Link against libpthread.
7439 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7441         [BZ #19367]
7442         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7443         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7444         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7445         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7446         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7448 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7450         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7451         Silvermont optimizations for Knights Landing.
7453 2015-12-15  Andreas Schwab  <schwab@suse.de>
7455         [BZ #17197]
7456         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7457         immediately after emitting SI.
7458         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7459         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7460         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7461         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7462         * iconvdata/bug-iconv10.c: New file.
7463         * iconvdata/Makefile (tests): Add bug-iconv10.
7464         ($(objpfx)bug-iconv10.out): New rule.
7466 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7468         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7469         aliasing violation.
7471 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #18472]
7474         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7475         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7476         conditionals for them.
7477         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7478         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7480         sys/kdaemon.h.
7481         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7482         compat-only syscall, obsoleted in glibc 2.23.
7483         (create_module): Likewise.
7484         (get_kernel_syms): Likewise.
7485         (query_module): Likewise.
7486         (uselib): Likewise.
7487         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7489 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7491         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7492         <linux/version.h>.
7493         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7494         conditional code.
7495         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7496         and ioshift_name initialization.
7498 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7501         Fix indentation.
7503 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7507 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7509         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7511 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7512             Jakub Wilk  <jwilk@debian.org>
7514         [BZ #19347]
7515         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7516         to change the group of the device to the tty group.
7518 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7520         Split large string section; add truncation advice
7521         * manual/examples/strncat.c: Remove.
7522         This example was misleading, as the code would have undefined
7523         behavior if "hello" was longer than SIZE.  Anyway, the manual
7524         shouldn't encourage strncpy+strncat for this sort of thing.
7525         * manual/string.texi (Copying Strings and Arrays): Split into
7526         three sections Copying Strings and Arrays, Concatenating Strings,
7527         and Truncating Strings, as this section was way too long.  All
7528         cross-referenced changed.  Add advice about string-truncation
7529         functions.  Remove misleading strncat example.
7531 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7533         * manual/nss.texi (NSS Modules Interface): Document
7534         NSS_STATUS_NOTFOUND and SUCCESS.
7536 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7538         [BZ 18568]
7539         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7540         201505L, for Unicode 8.
7542 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7544         * locale/C-translit.h: Regenerate.
7546 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7548         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7549         and U+0153.
7551 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7553         [BZ #19351]
7554         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7555         expanding log(1+z), compare z rather than its square with epsilon
7556         to determine when to avoid evaluating the expansion.
7558         [BZ #19350]
7559         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7560         Increase overflow threshold.
7562         [BZ #19349]
7563         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7564         when small.
7566         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7568         New macro.
7569         [__LINUX_KERNEL_VERSION >= 0x040300]
7570         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7572         Likewise.
7573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7574         Likewise.
7575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7576         Likewise.
7577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7578         Likewise.
7579         [__LINUX_KERNEL_VERSION >= 0x040300]
7580         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7581         [__LINUX_KERNEL_VERSION >= 0x040300]
7582         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7583         [__LINUX_KERNEL_VERSION >= 0x040300]
7584         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7585         [__LINUX_KERNEL_VERSION >= 0x040300]
7586         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7587         [__LINUX_KERNEL_VERSION >= 0x040300]
7588         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7590         Likewise.
7591         [__LINUX_KERNEL_VERSION >= 0x040300]
7592         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7594         Likewise.
7595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7596         Likewise.
7597         [__LINUX_KERNEL_VERSION >= 0x040300]
7598         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7600         Likewise.
7601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7602         Likewise.
7603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7605         Likewise.
7606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7607         Likewise.
7608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7609         Likewise.
7610         [__LINUX_KERNEL_VERSION >= 0x040300]
7611         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7613         Likewise.
7614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7615         Likewise.
7616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7617         Likewise.
7618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7619         Likewise.
7620         [__LINUX_KERNEL_VERSION >= 0x040300]
7621         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7622         [__LINUX_KERNEL_VERSION >= 0x040300]
7623         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7624         [__LINUX_KERNEL_VERSION >= 0x040300]
7625         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7626         [__LINUX_KERNEL_VERSION >= 0x040300]
7627         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7628         [__LINUX_KERNEL_VERSION >= 0x040300]
7629         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7631         Likewise.
7632         [__LINUX_KERNEL_VERSION >= 0x040300]
7633         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7635         Likewise.
7636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7637         Likewise.
7638         [__LINUX_KERNEL_VERSION >= 0x040300]
7639         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7641         Likewise.
7642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7643         Likewise.
7644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7645         (__ASSUME_SOCKET_SYSCALL): Likewise.
7646         (__ASSUME_BIND_SYSCALL): Likewise.
7647         (__ASSUME_CONNECT_SYSCALL): Likewise.
7648         (__ASSUME_LISTEN_SYSCALL): Likewise.
7649         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7650         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7651         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7652         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7653         (__ASSUME_SEND_SYSCALL): Likewise.
7654         (__ASSUME_SENDTO_SYSCALL): Likewise.
7655         (__ASSUME_RECV_SYSCALL): Likewise.
7656         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7657         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7658         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7659         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7660         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7661         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7662         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7664         Likewise.
7665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7666         Likewise.
7667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7668         Likewise.
7669         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7670         Likewise.
7671         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7672         Likewise.
7673         [__LINUX_KERNEL_VERSION >= 0x020625]
7674         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7675         [__LINUX_KERNEL_VERSION >= 0x020625]
7676         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7677         [__LINUX_KERNEL_VERSION >= 0x020625]
7678         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7680         Likewise.
7681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7682         Likewise.
7683         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7684         Likewise.
7685         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7686         Likewise.
7687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7688         Likewise.
7689         [__LINUX_KERNEL_VERSION >= 0x020625]
7690         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7691         [__LINUX_KERNEL_VERSION >= 0x020625]
7692         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7693         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7694         Likewise.
7695         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7696         Likewise.
7698 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7700         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7701         record the current if the current ABI and CPU support the FP64
7702         extension.
7703         (has-modd-spreg): Define to record the current if the current ABI and
7704         CPU support 32-bit floating point values in odd FPU registers.
7705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7706         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7707         $(has-modd-spreg) equals yes.
7708         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7709         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7710         $(has-modd-spreg) equal yes.
7712 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7714         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7715         basename.
7717 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7719         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7720         (bench-string): ... here.
7721         (bench): Add bench-string.
7722         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7723         to *-benchset to reflect what they are.
7724         (benchset): Adjust.
7726         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7727         cos-inputs.
7729 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7731         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7732         __attribute__ ((__simd__)) for vector math function declarations.
7734 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7736         Fix typo in strncat, wcsncat manual entries
7737         * manual/string.texi (Copying and Concatenation): Fix typos in
7738         sample implementations of strncat and wcsncat, by having them use
7739         the old value of the destination length, not the new one.
7741 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #16961]
7744         [BZ #16962]
7745         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7746         string on the stack for strtod.
7747         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7748         a string on the stack for strtof.
7749         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7750         constructing a string on the stack for strtold.
7751         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7752         __strtold_nan to GLIBC_PRIVATE.
7753         * math/test-nan-overflow.c: New file.
7754         * math/test-nan-payload.c: Likewise.
7755         * math/Makefile (tests): Add test-nan-overflow and
7756         test-nan-payload.
7758 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7760         Consistency about byte vs character in string.texi
7761         * manual/string.texi (String and Array Utilities):
7762         Distinguish more carefully among bytes, multibyte characters,
7763         and wide characters.  Use "byte" when talking about C 'char',
7764         to distinguish it more clearly from multibyte characters.
7765         Say "wide character" or "multibyte character" instead of
7766         "character", when a wide or multibyte character is intended.
7767         Similarly for "multibyte string" versus "string".
7768         Define these terms more carefully.
7770 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7772         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7773         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7774         Likewise.
7775         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7776         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7777         * sysdeps/sh/math_private.h: New file.
7778         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7779         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7780         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7781         long double function name.
7782         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7783         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7788         Remove __finitel, __isinfl, and __isnanl.
7789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7790         Likewise.
7791         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7793         Remove __finitel.
7794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7795         Likewise.
7796         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7798 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7800         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7801         installed libmvec_nonshared.a.
7803 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7805         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7806         (sysdep_routines): Likewise.
7807         (sysdep-rtld-routines): Likewise.
7808         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7809         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7810         * sysdeps/powerpc/Versions: Added new
7811         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7812         * sysdeps/powerpc/hwcapinfo.c: New file.
7813         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7814         and parse hwcap, hwcap2 and platform number information.
7815         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7816         to store HWCAP+HWCAP2 and platform number.
7817         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7818         for HWCAP+HWCAP2 and platform number in the TCB.
7819         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7820         the HWCAP, HWCAP2 and platform number in the TCB.
7821         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7822         (TLS_INIT_TP): Included calls to add the hwcap and
7823         at_platform values in the TCB in TP initialization.
7824         (TLS_DEFINE_INIT_TP): Likewise.
7825         (THREAD_GET_HWCAP): New macro.
7826         (THREAD_SET_HWCAP): Likewise.
7827         (THREAD_GET_AT_PLATFORM): Likewise.
7828         (THREAD_SET_AT_PLATFORM): Likewise.
7829         * sysdeps/powerpc/powerpc32/dl-machine.h:
7830         (dl_platform_init): New function that calls
7831         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7832         powerpc32.
7833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7834         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7835         this functionality, static linking case.
7836         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7837         linking case.
7838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7839         __parse_hwcap_and_convert_at_platform for the static linking case.
7840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7841         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7842         ABI list for GLIBC 2.23.
7843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7844         Likewise.
7845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7846         Likewise.
7848 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7850         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7851         * configure: Regenerate.
7852         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7853         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7855 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7857         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7858         * iconvdata/ibm933.c: Likewise.
7859         * iconvdata/ibm935.c: Likewise.
7860         * iconvdata/ibm937.c: Likewise.
7861         * iconvdata/ibm939.c: Likewise.
7863 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7865         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7866         pthread_join.
7867         * nptl/tst-cancel21.c (tf): Likewise.
7869 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7871         [BZ #19313]
7872         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7873         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7874         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7875         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7876         Likewise.
7877         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7878         Likewise.
7879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7880         Likewise.
7881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7882         Likewise.
7883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7884         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7885         unsigned long int with __CPU_MASK_TYPE.
7887 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7889         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7891 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7893         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7894         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7895         t512.x.
7896         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7898 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7900         [BZ #19214]
7901         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7902         argument to return extended model.  Update family and model
7903         with extended family and model when family == 0x0f.
7904         (init_cpu_features): Updated.
7906 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7908         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7909         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7911         * sysdeps/mach/hurd/mmap64.c: New file.
7913 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7915         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7916         rights for its main user thread in NEWTASK.
7918 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7920         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7921         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7923 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7925         [BZ #14259]
7926         * Makeconfig: Rename localedir to complocaledir.
7927         Rename inst_localedir to inst_complocaledir.
7928         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7929         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7930         * configure.ac: Use libc_cv_complocaledir.
7931         * configure: Regenerate.
7932         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7933         -DCOMPLOCALEDIR.
7934         * locale/findlocale.c: Use COMPLOCALEDIR.
7935         * locale/loadarchive.c: Likewise.
7936         * locale/programs/locale.c: Likewise.
7937         * locale/programs/localedef.c: Likewise.
7938         * locale/programs/locarchive.c: Likewise.
7939         * localedata/Makefile: Use inst_complocaledir.
7940         * sysdeps/gnu/configure: Regenerate.
7941         * sysdeps/hppa/configure: Regenerate.
7942         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7943         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7945         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7946         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7947         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7948         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7950 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7952         [BZ #19058]
7953         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7954         AS_NEEDED.
7955         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7956         workaround.
7957         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7958         libmvec-static-only-routines): Added new file.
7959         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7961 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7963         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7964         of interrupted RPC instead of restoring it.
7966         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7967         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7968         libc_hidden_def.
7969         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7970         into initialized data instead of common. Define rtld_hidden_data_def.
7971         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7972         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7973         libc_hidden_def.
7974         (if_freenameindex): Add libc_hidden_weak.
7975         (if_nameindex): Add libc_hidden_weak.
7976         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7977         __open64.
7978         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7979         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7980         * sysdeps/mach/nanosleep.c: Include <time.h>
7981         (__nanosleep): Rename to __libc_nanosleep.
7982         (__nanosleep): Add weak_alias.
7983         (nanosleep): Update alias.
7985 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7987         * stdlib/strtod_nan.c: New file.
7988         * stdlib/strtod_nan_double.h: Likewise.
7989         * stdlib/strtod_nan_float.h: Likewise.
7990         * stdlib/strtod_nan_main.c: Likewise.
7991         * stdlib/strtod_nan_narrow.h: Likewise.
7992         * stdlib/strtod_nan_wide.h: Likewise.
7993         * stdlib/strtof_nan.c: Likewise.
7994         * stdlib/strtold_nan.c: Likewise.
7995         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7996         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7997         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7998         * wcsmbs/wcstod_nan.c: Likewise.
7999         * wcsmbs/wcstof_nan.c: Likewise.
8000         * wcsmbs/wcstold_nan.c: Likewise.
8001         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8002         strtold_nan.
8003         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8004         wcstof_nan.
8005         * include/stdlib.h (__strtof_nan): Declare and use
8006         libc_hidden_proto.
8007         (__strtod_nan): Likewise.
8008         (__strtold_nan): Likewise.
8009         (__wcstof_nan): Likewise.
8010         (__wcstod_nan): Likewise.
8011         (__wcstold_nan): Likewise.
8012         * include/wchar.h (____wcstoull_l_internal): Declare.
8013         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8014         (____strtoull_l_internal): Remove declaration.
8015         (STRTOF_NAN): Define macro.
8016         (SET_MANTISSA): Remove macro.
8017         (STRTOULL): Likewise.
8018         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8019         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8020         (STRTOF_NAN): Define macro.
8021         (SET_MANTISSA): Remove macro.
8022         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8023         (SET_MANTISSA): Remove macro.
8024         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8025         macro.
8026         (SET_MANTISSA): Remove macro.
8027         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8028         macro.
8029         (SET_MANTISSA): Remove macro.
8030         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8031         (SET_MANTISSA): Remove macro.
8032         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8033         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8034         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8036         [BZ #19266]
8037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8038         upper case and lower case letters inside NAN(), not using TOLOWER.
8039         * stdlib/tst-strtod-nan-locale-main.c: New file.
8040         * stdlib/tst-strtod-nan-locale.c: Likewise.
8041         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8042         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8043         Depend on $(gen-locales).
8044         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8045         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8046         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8047         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8048         Depend on $(gen-locales).
8049         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8051 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8053         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8055         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8057         __finitel, __isinfl, and __isnanl.
8058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8059         Likewise.
8060         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8062         __finitel.
8063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8064         Likewise.
8065         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8067 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8069         * malloc/memusage.c (me): Remove redundant getenv call.
8071 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8073         [BZ #19143]
8074         [BZ #19164]
8075         * nptl/check-cpuset.h: Remove.
8076         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8077         Remove CPU set size check.
8078         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8079         Likewise.
8080         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8081         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8082         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8083         (__pthread_setaffinity_new): Remove CPU set size check.
8084         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8085         (__kernel_cpumask_size): Remove.
8086         (__sched_setaffinity_new): Remove CPU set size check.
8087         * manual/threads.texi (Default Thread Attributes): Remove stale
8088         reference to check_cpuset_attr, determine_cpumask_size in comment.
8089         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8090         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8091         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8092         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8093         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8094         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8095         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8096         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8097         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8098         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8099         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8100         skeleton test file.
8101         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8102         tst-affinity-pid.
8104 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8106         * scripts/update-abilist.sh: New file.
8107         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8108         * Makerules (update-all-abi-%, update-all-abi)
8109         (subdir_update-all-abi): New targets.
8110         * elf/Makefile (update-all-abi): New target.
8112 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8114         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8115         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8116         (__libc_lock_define_initialized): Use it.
8117         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8118         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8119         * malloc/malloc.c (main_arena): Likewise.
8120         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8121         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8123 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8125         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8126         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8127         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8128         (PTRACE_O_MASK): Update value.
8129         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8130         New value in enum __ptrace_setoptions.
8131         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8132         (PTRACE_O_MASK): Update value.
8133         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8134         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8135         (PTRACE_O_MASK): Update value.
8136         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8137         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8138         (PTRACE_O_MASK): Update value.
8139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8140         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8141         (PTRACE_O_MASK): Update value.
8142         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8143         New value in enum __ptrace_setoptions.
8144         (PTRACE_O_MASK): Update value.
8145         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8146         New value in enum __ptrace_setoptions.
8147         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8148         (PTRACE_O_MASK): Update value.
8150         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8151         New macro.
8152         (PACKET_AUXDATA): Likewise.
8153         (PACKET_ORIGDEV): Likewise.
8154         (PACKET_VERSION): Likewise.
8155         (PACKET_HDRLEN): Likewise.
8156         (PACKET_RESERVE): Likewise.
8157         (PACKET_TX_RING): Likewise.
8158         (PACKET_LOSS): Likewise.
8159         (PACKET_VNET_HDR): Likewise.
8160         (PACKET_TX_TIMESTAMP): Likewise.
8161         (PACKET_TIMESTAMP): Likewise.
8162         (PACKET_FANOUT): Likewise.
8163         (PACKET_TX_HAS_OFF): Likewise.
8164         (PACKET_QDISC_BYPASS): Likewise.
8165         (PACKET_ROLLOVER_STATS): Likewise.
8166         (PACKET_FANOUT_DATA): Likewise.
8167         (PACKET_MR_UNICAST): Likewise.
8169         [BZ #19242]
8170         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8171         (TOUPPER): Likewise.
8172         * stdlib/tst-strtol-locale-main.c: New file.
8173         * stdlib/tst-strtol-locale.c: Likewise.
8174         * stdlib/Makefile (tests): Add tst-strtol-locale.
8175         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8176         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8177         Depend on $(gen-locales).
8178         * wcsmbs/tst-wcstol-locale.c: New file.
8179         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8180         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8181         tr_TR.ISO-8859-9.
8182         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8183         Depend on $(gen-locales).
8185 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8187         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8188         __glibc_likely instead of __builtin_expect.  After falling back to
8189         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8190         system interface to register the code pages as occupied.
8192 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8194         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8195         [!ARM_MATH_PRIVATE_H].
8196         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8197         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8198         [!HPPA_MATH_PRIVATE_H].
8199         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8200         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8201         to [!I386_MATH_PRIVATE_H].
8202         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8203         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8204         Change guard to [!M68K_MATH_PRIVATE_H].
8205         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8206         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8207         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8208         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8209         macro.
8210         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8211         [!MIPS_MATH_PRIVATE_H].
8212         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8213         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8214         [!NIO2_MATH_PRIVATE_H].
8215         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8216         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8217         [!TILE_MATH_PRIVATE_H].
8218         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8220         [BZ #15421]
8221         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8222         initialize with 0 and define as weak alias of __signgam.
8223         * include/math.h [!_ISOMAC] (__signgam): Declare.
8224         * math/Makefile (libm-calls): Add w_lgamma_compat.
8225         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8226         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8227         test-signgam-ullong-init.
8228         (tests-static): Add test-signgam-uchar-static,
8229         test-signgam-uchar-init-static, test-signgam-uint-static,
8230         test-signgam-uint-init-static, test-signgam-ullong-static and
8231         test-signgam-ullong-init-static.
8232         (CFLAGS-test-signgam-uchar.c): New variable.
8233         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8234         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8235         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8236         (CFLAGS-test-signgam-uint.c): Likewise.
8237         (CFLAGS-test-signgam-uint-init.c): Likewise.
8238         (CFLAGS-test-signgam-uint-static.c): Likewise.
8239         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8240         (CFLAGS-test-signgam-ullong.c): Likewise.
8241         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8242         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8243         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8244         * math/Versions (libm): Add GLIBC_2.23.
8245         * math/lgamma-compat.h: New file.
8246         * math/test-signgam-main.c: Likewise.
8247         * math/test-signgam-uchar-init-static.c: Likewise.
8248         * math/test-signgam-uchar-init.c: Likewise.
8249         * math/test-signgam-uchar-static.c: Likewise.
8250         * math/test-signgam-uchar.c: Likewise.
8251         * math/test-signgam-uint-init-static.c: Likewise.
8252         * math/test-signgam-uint-init.c: Likewise.
8253         * math/test-signgam-uint-static.c: Likewise.
8254         * math/test-signgam-uint.c: Likewise.
8255         * math/test-signgam-ullong-init-static.c: Likewise.
8256         * math/test-signgam-ullong-init.c: Likewise.
8257         * math/test-signgam-ullong-static.c: Likewise.
8258         * math/test-signgam-ullong.c: Likewise.
8259         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8260         wrapper of w_lgamma_main.c.
8261         * math/w_lgamma_compat.c: New file.
8262         * math/w_lgamma_compatf.c: Likewise.
8263         * math/w_lgamma_compatl.c: Likewise.
8264         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8265         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8266         defining compatibility symbols.
8267         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8268         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8269         wrapper of w_lgammaf_main.c.
8270         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8271         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8272         defining compatibility symbols.
8273         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8274         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8275         wrapper of w_lgammal_main.c.
8276         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8277         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8278         defining compatibility symbols.
8279         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8280         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8281         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8282         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8283         <lgamma-compat.h>.
8284         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8285         (__ieee754_gamma): Define as alias.
8286         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8287         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8288         <lgamma-compat.h>.
8289         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8290         (__ieee754_gammaf): Define as alias.
8291         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8292         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8293         <lgamma-compat.h>.
8294         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8295         (__ieee754_gammal): Define as alias.
8296         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8297         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8298         <math/w_lgamma_compat.c>.
8299         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8300         Define as alias of __lgamma_compat and use in defining lgammal.
8301         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8302         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8303         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8304         (USE_AS_COMPAT): New macro.
8305         (LGAMMA_OLD_VER): Undefine and redefine.
8306         (lgammal): Do not define here.
8307         (gammal): Only define here if [GAMMA_ALIAS].
8308         * conform/linknamespace.pl (@whitelist): Remove signgam.
8309         * sysdeps/nacl/libm.abilist: Update.
8310         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8313         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8314         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8315         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8316         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8320         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8321         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8323         Likewise.
8324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8325         Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8327         Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8329         Likewise.
8330         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8331         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8332         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8334         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8336         Likewise.
8337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8338         Likewise.
8339         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8340         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8341         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8343 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8345         [BZ #16364]
8346         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8347         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8349 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8351         * sysdeps/s390/fpu/bits/mathinline.h:
8352         Use __asm__ [__volatile__] instead of asm [volatile].
8353         * sysdeps/s390/abort-instr.h: Likewise.
8354         * sysdeps/s390/atomic-machine.h: Likewise.
8355         * sysdeps/s390/bits/string.h: Likewise.
8356         * sysdeps/s390/dl-tls.h: Likewise.
8357         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8358         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8359         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8360         * sysdeps/s390/fpu/fesetround.c: Likewise.
8361         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8362         * sysdeps/s390/fpu/s_fma.c: Likewise.
8363         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8364         * sysdeps/s390/memusage.h: Likewise.
8365         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8366         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8367         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8368         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8369         * sysdeps/s390/nptl/tls.h: Likewise.
8370         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8371         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8372         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8373         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8374         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8375         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8376         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8377         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8378         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8379         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8380         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8381         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8382         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8383         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8384         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8385         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8386         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8387         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8388         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8390         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8392         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8394 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8395             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8397         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8398         Add lwarx hint, and use macro for acquire instruction.
8399         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8400         Likewise.
8401         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8402         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8403         update to use new atomic macros.
8405 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8407         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8408         (__lll_trylock_elision): Fix setting of adapt_count.
8409         * sysdeps/unix/sysv/linux/powerpc/htm.h
8410         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8411         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8412         (_ABORT_SYSCALL): Renumber, and clarify definition.
8413         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8415 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8417         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8418         after system headers to prevent MIN/MAX redefinition.  Define
8419         HAVE_ALLOCA to preserve builtin alloca usage.
8421 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8424         static and don't set or restore rounding.
8425         (__cos)[IN_SINCOS]: Likewise.
8426         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8427         (__sincos): Set and restore rounding mode.  Remove check for infinite
8428         or NaN input.
8430         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8432         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8433         as used.
8435 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8437         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8439 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8441         * config.make.in (have-glob-dat-reloc): New.
8442         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8443         target supports GLOB_DAT relocaton. AC_SUBST.
8444         * configure: Regenerated.
8445         * elf/Makefile (tests): Add tst-prelink.
8446         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8447         (tst-prelink-ENV): New.
8448         ($(objpfx)tst-prelink-conflict.out): Likewise.
8449         ($(objpfx)tst-prelink-cmp.out): Likewise.
8450         * sysdeps/x86/tst-prelink.c: Moved to ...
8451         * elf/tst-prelink.c: Here.
8452         * sysdeps/x86/tst-prelink.exp: Moved to ...
8453         * elf/tst-prelink.exp: Here.
8454         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8455         (tst-prelink-ENV): Removed.
8456         ($(objpfx)tst-prelink-conflict.out): Likewise.
8457         ($(objpfx)tst-prelink-cmp.out): Likewise.
8458         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8460 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8462         [BZ #14551]
8463         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8464         (__mpn_construct_long_double): If high part overflows to infinity,
8465         set errno and recompute overflowed result of the correct sign.
8466         * sysdeps/ieee754/ldbl-128ibm/Makefile
8467         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8468         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8469         $(libm).
8470         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8472 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #15479]
8475         [BZ #19238]
8476         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8477         floating-point state after first operation on input.  Restore full
8478         state rather than just rounding mode.
8479         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8480         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8481         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8483         [BZ #19235]
8484         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8485         add 0.5 to integer arguments.
8486         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8487         Likewise.
8488         (.LC2): New object.
8490 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8492         * scripts/pylintrc (reports): Set to no.
8494 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8496         * elf/dl-load.c (open_verify): Take new argument FD.
8497         Skip __open call if passed FD is not -1.
8498         (_dl_map_object, open_path): Update callers.
8499         * elf/dl-sysdep-open.h: New file.
8500         * elf/dl-load.c: Include it.
8501         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8502         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8503         * sysdeps/nacl/dl-sysdep-open.h: New file.
8504         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8505         from libc to rtld.
8507 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8509         [BZ #19228]
8510         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8511         and restore full floating-point state.
8512         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8513         Likewise.
8514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8515         Likewise.
8516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8517         Likewise.
8518         * math/test-nearbyint-except-2.c: New file.
8519         * math/Makefile (tests): Add test-nearbyint-except-2.
8521 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8523         [BZ #19178]
8524         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8525         (tst-prelink-ENV): New.
8526         ($(objpfx)tst-prelink-conflict.out): Likewise.
8527         ($(objpfx)tst-prelink-cmp.out): Likewise.
8528         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8529         * sysdeps/x86/tst-prelink.c: New file.
8530         * sysdeps/x86/tst-prelink.exp: Likewise.
8532 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8534         * math/auto-libm-test-in: Add another test of pow.
8535         * math/auto-libm-test-out: Regenerated.
8536         * math/libm-test.inc (pow_test_data): Add another test.
8538 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8540         [BZ #19219]
8541         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8542         weak_alias to nearbyintl.
8544 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8546         * sysdeps/aarch64/bits/string.h: New file.
8547         (_STRING_ARCH_unaligned): Define.
8549 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8551         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8552         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8553         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8554         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8557 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8559         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8560         for original name of the DSO.  Add it to the name list of the DSO
8561         if it is actually given.
8562         (_dl_map_object): Keep track of whether an audit module rewrote
8563         the file name.  If yes, pass the original name to
8564         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8565         debugging is enabled, log the change of the file name.
8566         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8567         _dl_map_object_from_fd.
8568         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8569         * elf/tst-audit11.c: New file
8570         * elf/tst-auditmod11.c: New file.
8571         * elf/tst-audit11mod1.c: New file.
8572         * elf/tst-audit11mod2.c: New file.
8573         * elf/tst-audit11mod2.map: New file.
8574         * elf/tst-audit12.c: New file
8575         * elf/tst-auditmod12.c: New file.
8576         * elf/tst-audit12mod1.c: New file.
8577         * elf/tst-audit12mod2.c: New file.
8578         * elf/tst-audit12mod2.map: New file.
8579         * elf/tst-audit12mod3.c: New file.
8581 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8583         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8584         Don't create weak aliases,
8585         because versioned symbols are created later.
8586         * sysdeps/s390/s390-32/setjmp.S
8587         (setjmp, _setjmp): Remove weak and rename to an unique name
8588         in SHARED case due to existing versioned symbols.
8589         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8591         (getcontext): Create weak alias only in non SHARED case.
8592         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8594 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8596         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8597         (__ASSUME_*_SYSCALL) Define new macros.
8598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8599         Remove socketcall syscalls.
8600         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8601         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8602         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8603         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8604         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8605         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8607 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8609         [BZ #12926]
8610         Terminate process on invalid netlink response.
8611         * sysdeps/unix/sysv/linux/netlinkaccess.h
8612         (__netlink_assert_response): Declare.
8613         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8614         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8615         (sysdep_routines): Add netlink_assert_response.
8616         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8617         __netlink_assert_response.
8618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8619         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8620         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8621         __netlink_assert_response.
8623 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8625         [BZ #19178]
8626         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8627         (RTYPE_CLASS_PLT): Likewise.
8628         (RTYPE_CLASS_COPY): Likewise.
8629         (RTYPE_CLASS_TLS): Likewise.
8630         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8631         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8632         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8633         DL_DEBUG_PRELINK.
8635 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8637         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8638         calls with argument -0.5.
8639         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8641         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8642         (libc_cv_z_nodlopen): Likewise.
8643         (libc_cv_z_initfirst): Likewise.
8644         * configure: Regenerated.
8646 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8648         Simplify abilist format to be line-based.
8649         * scripts/abilist.awk: Collect descriptors in the descs variable.
8650         (emit): Write descs variable and sort it
8651         externally, with sort.
8652         * sysdeps/**/*.abilist: Convert to new format.
8654 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8656         [BZ #11460]
8657         * io/Makefile (routines): Add fts64.
8658         (tests): Add tst-fts and tst-fts-lfs.
8659         (CFLAGS-fts64.c): New.
8660         * io/Versions (GLIBC_2.23): New.
8661         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8662         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8663         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8664         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8665         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8666         (FTSENT64): Likewise.
8667         (fts64_children): Likewise.
8668         (fts64_close): Likewise.
8669         (fts64_open): Likewise.
8670         (fts64_read): Likewise.
8671         (fts64_set): Likewise.
8672         * io/fts64.c: New file.
8673         * io/tst-fts.c: New test.
8674         * io/tst-fts-lfs.c: Likewise.
8675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8676         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8677         fts64_set.
8678         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8681         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8682         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8687         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8688         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8689         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8690         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8692         Likewise.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8694         Likewise.
8695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8697         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8698         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8699         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8700         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8707         * sysdeps/wordsize-64/fts.c: New file.
8708         * sysdeps/wordsize-64/fts64.c: Likewise.
8709         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8710         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8711         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8712         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8714 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8716         * math/libm-test.inc (NON_FINITE): New macro.
8717         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8718         * math/gen-libm-test.pl (show_exceptions): Add argument
8719         $non_finite.
8720         (parse_args): Update call to show_exceptions.
8721         * math/test-math-finite.h: New file.
8722         * math/test-math-no-finite.h: Likewise.
8723         * math/test-double-finite.c: Likewise.
8724         * math/test-float-finite.c: Likewise.
8725         * math/test-ldouble-finite.c: Likewise.
8726         * math/test-double.c: Include "test-math-no-finite.h".
8727         * math/test-float.c: Include "test-math-no-finite.h".
8728         * math/test-ldouble.c: Include "test-math-no-finite.h".
8729         * math/test-math-inline.h (TEST_FINITE): New macro.
8730         * math/test-math-vector.h (TEST_FINITE): Likewise.
8731         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8732         (libm-tests): Add test-float-finite and test-double-finite.
8733         ($(objpfx)test-float-finite.o): New dependency on
8734         $(objpfx)libm-test.stmp.
8735         ($(objpfx)test-double-finite.o): Likewise.
8736         ($(objpfx)test-ldouble-finite.o): Likewise.
8737         (libm-test-no-inline-cflags): New variable.
8738         (libm-test-finite-cflags): Likewise.
8739         (CFLAGS-test-float-finite.c): Likewise.
8740         (CFLAGS-test-double-finite.c): Likewise.
8741         (CFLAGS-test-ldouble-finite.c): Likewise.
8742         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8743         (CFLAGS-test-double.c): Likewise.
8744         (CFLAGS-test-ldouble.c): Likewise.
8746 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8748         * io/fcntl.c (__fcntl): Add ... to prototype.
8749         * misc/ioctl.c (__ioctl): Likewise.
8750         * misc/syscall.c (syscall): Likewise.
8752 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8754         * scripts/list-fixed-bugs.py: New file.
8756         [BZ #19213]
8757         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8758         returned for argument 1.
8759         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8760         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8761         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8762         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8763         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8764         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8766         [BZ #19211]
8767         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8768         __USE_XOPEN], not if [!__USE_ISOC99].
8769         (lgammaf): Likewise.
8770         (lgammal): Likewise.
8771         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8772         (gammaf): Likewise.
8773         (gammal): Likewise.
8774         * math/test-signgam-finite-c11.c: New file.
8775         * math/test-signgam-finite-c99.c: Likewise.
8776         * math/test-signgam-finite.c: Likewise.
8777         * math/Makefile (tests): Add test-signgam-finite,
8778         test-signgam-finite-c99 and test-signgam-finite-c11.
8779         (CFLAGS-test-signgam-finite.c): New variable.
8780         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8781         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8783         [BZ #19212]
8784         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8785         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8786         500].
8787         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8788         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8789         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8791         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8792         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8793         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8794         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8795         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8796         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8798         [BZ #19209]
8799         * math/bits/math-finite.h (ldexp): Remove declaration.
8800         (ldexpf): Likewise.
8801         (ldexpl): Likewise.
8803         [BZ #19205]
8804         * math/bits/math-finite.h (acosf): Condition declaration on
8805         [__USE_ISOC99].
8806         (acosl): Likewise.
8807         (acoshf): Likewise.
8808         (acoshl): Likewise.
8809         (asinf): Likewise.
8810         (asinl): Likewise.
8811         (atan2f): Likewise.
8812         (atan2l): Likewise.
8813         (atanhf): Likewise.
8814         (atanhl): Likewise.
8815         (coshf): Likewise.
8816         (coshl): Likewise.
8817         (expf): Likewise.
8818         (expl): Likewise.
8819         (fmodf): Likewise.
8820         (fmodl): Likewise.
8821         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8822         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8823         (j0l): Likewise.
8824         (y0f): Likewise.
8825         (y0l): Likewise.
8826         (j1f): Likewise.
8827         (j1l): Likewise.
8828         (y1f): Likewise.
8829         (y1l): Likewise.
8830         (jnf): Likewise.
8831         (jnl): Likewise.
8832         (ynf): Likewise.
8833         (ynl): Likewise.
8834         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8835         (lgammal_r): Likewise.
8836         (__lgamma_r_finite): New declaration.
8837         (__lgammaf_r_finite): Likewise.
8838         (__lgammal_r_finite): Likewise.
8839         (lgamma): Use __lgamma_r_finite.
8840         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8841         __lgammaf_r_finite.
8842         (lgammal): Condition definition on [__USE_ISOC99].  Use
8843         __lgammal_r_finite.
8844         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8845         __lgamma_r_finite.
8846         (gammaf): Condition definition on [__USE_ISOC99].  Use
8847         __lgammaf_r_finite.
8848         (gammal): Condition definition on [__USE_ISOC99].  Use
8849         __lgammal_r_finite.
8850         (logf): Condition declaration on [__USE_ISOC99].
8851         (logl): Likewise.
8852         (log10f): Likewise.
8853         (log10l): Likewise.
8854         (ldexpf): Likewise.
8855         (ldexpl): Likewise.
8856         (powf): Likewise.
8857         (powl): Likewise.
8858         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8859         __USE_ISOC99].
8860         (remainderf): Condition declaration on [__USE_ISOC99].
8861         (remainderl): Likewise.
8862         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8863         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8864         (scalbl): Likewise.
8865         (sinhf): Condition declaration on [__USE_ISOC99].
8866         (sinhl): Likewise.
8867         (sqrtf): Likewise.
8868         (sqrtl): Likewise.
8870 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8872         * sysdeps/arm/atomic-machine.h
8873         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8874         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8875         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8876         Remove conditional code.
8877         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8878         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8879         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8880         Change conditional to [__ASSEMBLER__].
8881         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8882         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8883         [!__ASSEMBLER__].
8884         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8885         code.
8886         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8887         conditional macro definitions.
8888         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8889         (__arch_compare_and_exchange_val_16_acq): Likewise.
8890         (__arch_compare_and_exchange_val_32_acq): Likewise.
8891         (atomic_exchange_and_add): Likewise.
8892         (atomic_add): Likewise.
8893         (atomic_add_negative): Likewise.
8894         (atomic_add_zero): Likewise.
8895         (atomic_bit_set): Likewise.
8896         (atomic_bit_test_set): Likewise.
8897         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8898         code unconditional.
8899         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8901         * math/test-math-errno.h: New file.
8902         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8903         empty.
8904         (TEST_ERRNO): New macro.
8905         (TEST_EXCEPTIONS): Likewise.
8906         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8907         (TEST_EXCEPTIONS): Likewise.
8908         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8909         * math/test-double.c: Include "test-math-errno.h".
8910         * math/test-float.c: Likewise.
8911         * math/test-ldouble.c: Likewise.
8912         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8913         code unconditional.
8914         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8915         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8916         unconditional.
8917         (test_errno): Only run code if TEST_ERRNO.
8918         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8920 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8922         * nptl/tst-once5.cc: Remove attribution.
8924 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8926         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8927         sqrt, tan, tanh, y0, y1 and yn.
8928         * math/auto-libm-test-out: Regenerated.
8929         * math/libm-test.inc (scalb_test_data): Add more tests.
8930         (scalbn_test_data): Likewise.
8931         (scalbln_test_data): Likewise.
8932         (signbit_test_data): Likewise.
8933         (sin_test_data): Likewise.
8934         (sincos_test_data): Likewise.
8935         (sinh_test_data): Likewise.
8936         (sqrt_test_data): Likewise.
8937         (tan_test_data): Likewise.
8938         (tanh_test_data): Likewise.
8939         (tgamma_test_data): Likewise.
8940         (y0_test_data): Likewise.
8941         (y1_test_data): Likewise.
8942         (yn_test_data): Likewise.
8943         (significand_test_data): Likewise.
8944         * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 2015-11-03  David Kastrup  <dak@gnu.org>
8948         [BZ #18604]
8949         * assert/assert.h (assert): Don't macro-expand failed assertion
8950         expression in error message.
8951         * malloc/malloc.c (assert): Likewise.
8953 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8955         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8956         test.
8957         * configure: Regenerated.
8959 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8961         * math/libm-test.inc (modf_test_data): Add more tests.
8962         (nearbyint_test_data): Likewise.
8963         (nextafter_test_data): Likewise.
8964         (nexttoward_test_data): Likewise.
8965         (pow_test_data): Likewise.
8966         (remainder_test_data): Likewise.
8967         (remquo_test_data): Likewise.
8968         (rint_test_data): Likewise.
8970         [BZ #19201]
8971         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8972         Check for zero remainder in case of large exponents and ensure
8973         correct sign of result in that case.
8974         * math/libm-test.inc (remainder_test_data): Add more tests.
8976         [BZ #6799]
8977         * math/s_nextafter.c: Include <errno.h>.
8978         (__nextafter): Set errno on overflow and underflow.
8979         * math/s_nexttowardf.c: Include <errno.h>.
8980         (__nexttowardf): Set errno on overflow and underflow.
8981         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8982         (__nextafterl): Set errno on overflow and underflow.
8983         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8984         (__nexttoward): Set errno on overflow and underflow.
8985         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8986         (__nexttowardf): Set errno on overflow and underflow.
8987         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8988         (__nextafterf): Set errno on overflow and underflow.
8989         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8990         (__nextafterl): Set errno on overflow and underflow.
8991         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8992         (__nexttoward): Set errno on overflow and underflow.
8993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8994         (__nexttowardf): Set errno on overflow and underflow.
8995         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8996         (__nextafterl): Set errno on overflow and underflow.
8997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8998         (__nexttoward): Set errno on overflow and underflow.
8999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9000         (__nexttowardf): Set errno on overflow and underflow.
9001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9002         (__nexttoward): Set errno on overflow and underflow.
9003         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9004         (__nexttowardf): Set errno on overflow and underflow.
9005         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9006         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9007         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9008         (__nextafterl): Set errno on overflow and underflow.
9009         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9010         setting to be missing on overflow.  Add more tests.
9011         (nexttoward_test_data): Likewise.
9013         * configure.ac (libc_cv_initfini_array): Remove configure test.
9014         * configure: Regenerated.
9016 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9018         [BZ #19189]
9019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9020         non-finite argument handle arguments with negative sign.
9022         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9023         result from infinite argument.
9024         (j1_test_data): Likewise.
9025         (jn_test_data): Likewise.
9026         (y0_test_data): Likewise.
9027         (y1_test_data): Likewise.
9028         (yn_test_data): Likewise.
9030         [BZ #16171]
9031         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9032         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9033         * math/w_remainderf.c (dremf): Define as weak alias of
9034         __remainderf.
9035         * math/w_remainderl.c (dreml): Define as weak alias of
9036         __remainderl.
9037         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9038         __remainder.
9039         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9040         __remainderf.
9041         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9042         __remainderl.
9043         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9044         weak alias of remainderl.
9045         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9046         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9047         alias of __remainder.
9048         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9049         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9050         strong alias of __remainderl.
9051         (dreml): Use long_double_symbol.
9052         * math/Makefile (libm-calls): Remove w_drem.
9053         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9054         (CFLAGS-nldbl-drem.c): Remove variable.
9055         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9056         * math/w_drem.c: Remove file.
9057         * math/w_dremf.c: Likewise.
9058         * math/w_dreml.c: Likewise.
9059         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9060         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9061         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9063         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9064         * sysdeps/i386/configure: Regenerated.
9065         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9066         * sysdeps/x86_64/configure: Regenerated.
9068         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9069         test.
9070         (libc_cv_visibility_attribute): Likewise.
9071         (libc_cv_protected_data): Test unconditionally.
9072         (libc_cv_broken_visibility_attribute): Remove configure test.
9073         (libc_cv_have_sdata_section): Test unconditionally.
9074         * configure: Regenerated.
9076         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9077         * include/scratch_buffer.h: Include <stddef.h> instead of
9078         <libc-internal.h>.
9079         (struct scratch_buffer): Use max_align_t instead of
9080         libc_max_align_t.
9082 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9084         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9085         instead of extend_alloca.  Change control flow to avoid a goto.
9086         Remove assert which is trivially always true.
9088 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9090         [BZ #16068]
9091         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9092         (FE_ALL_EXCEPT_X86): New macro.
9093         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9094         FE_ALL_EXCEPT.  Ensure precision control is included in
9095         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9096         handle "denormal operand exception" and clear FZ and DAZ bits.
9097         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9098         (FE_ALL_EXCEPT_X86): New macro.
9099         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9100         FE_ALL_EXCEPT.  Ensure precision control is included in
9101         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9102         handle "denormal operand exception" and clear FZ and DAZ bits.
9103         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9104         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9105         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9106         test-fenv-x87 and test-fenv-sse-2.
9107         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9109         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9110         * math/test-double.h (BUILD_COMPLEX): New macro.
9111         * math/test-float.h (BUILD_COMPLEX): Likewise.
9112         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9114         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9115         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9116         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9118         instead of DBL_DENORM_MIN in comment.
9119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9120         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9122         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9124         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9126 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9128         [BZ# 19048]
9129         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9130         attached_threads member.
9131         (main_arena): Initialize attached_threads.
9132         * malloc/arena.c (list_lock): Update comment.
9133         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9134         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9135         (deattach_arena): New function.
9136         (_int_new_arena): Initialize arena reference count and deattach
9137         replaced arena.
9138         (get_free_list, reused_arena): Update reference count and deattach
9139         replaced arena.
9140         (arena_thread_freeres): Update arena reference count and only put
9141         unreferenced arenas on the free list.
9143 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9145         [BZ #19181]
9146         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9147         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9148         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9149         * math/test-fenv-clear-main.c: New file.
9150         * math/test-fenv-clear.c: Likewise.
9151         * math/Makefile (tests): Add test-fenv-clear.
9152         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9153         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9154         test-fenv-clear-sse.
9155         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9157         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9158         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9159         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9161 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9163         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9164         static libc.
9166 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9168         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9169         test.
9170         * sysdeps/i386/configure: Regenerated.
9171         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9172         test.
9173         * sysdeps/x86_64/configure: Regenerated.
9174         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9176         memset-avx2 unconditionally instead of conditionally on
9177         [$(config-cflags-avx2) = yes].
9178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9179         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9180         unconditional.
9181         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9182         * sysdeps/x86_64/multiarch/memset_chk.S
9183         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9184         to [IS_IN (libc) && SHARED].
9186 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9188         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9189         configure test.
9190         * sysdeps/arm/configure: Regenerated.
9191         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9192         Define variable if not already defined.
9194         [BZ #17404]
9195         * sysdeps/mips/atomic-machine.h
9196         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9197         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9198         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9200         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9201         unconditional.
9202         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9203         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9204         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9205         unconditional.
9206         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9207         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9208         unconditional.
9209         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9210         * stdlib/setenv.c
9211         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9212         code unconditional.
9213         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9214         Remove conditional code.
9215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9216         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9217         unconditional.
9218         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9219         code.
9220         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9221         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9222         unconditional.
9223         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9224         code.
9225         * sysdeps/ieee754/ldbl-128/k_tanl.c
9226         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9227         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9228         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9229         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9230         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9232         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9233         unconditional.
9234         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9235         code.
9236         * sysdeps/ieee754/ldbl-96/k_tanl.c
9237         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9238         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9240         * nptl/tst-initializers1-c11.c: New file.
9241         * nptl/tst-initializers1-gnu11.c: Likewise.
9242         * nptl/Makefile (tests): Add these new tests.
9243         (CFLAGS-tst-initializers1-c11.c): New variable.
9244         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9246         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9247         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9248         instead of -std=gnu99.
9249         * configure.ac (systemtap): Test with -std=gnu11 instead of
9250         -std=gnu99.
9251         * configure: Regenerated.
9252         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9253         in compilation command in comment.
9255         * sysdeps/nptl/configure.ac: Remove file.
9256         * sysdeps/nptl/configure: Remove generated file.
9257         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9258         * configure: Regenerated.
9259         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9260         * config.make.in (have-forced-unwind): Remove variable.
9261         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9262         unconditional.
9263         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9264         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9265         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9266         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9267         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9268         unconditional.
9270 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9272         [BZ #19174]
9273         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9274         .skip_lock_out_of_tbegin_retries.
9275         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9276         (__lll_lock_elision): Likewise, and respect a value of
9277         try_tbegin <= 0.
9279 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9281         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9282         statement.
9284 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9286         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9287         variable.
9288         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9289         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9291         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9292         of -std=c1x -D_ISOC11_SOURCE.
9294         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9295         * configure: Regenerated.
9296         * manual/install.texi (Tools for Compilation): Document
9297         requirement for GCC 4.7 or later.
9298         * INSTALL: Regenerated.
9300 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9302         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9303         on CNT to a conditional jump to 'puntdata'.
9305 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9307         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9308         (libc_cv_gcc_tls_model_attr): Likewise.
9309         * configure: Regenerated.
9311         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9312         * configure: Regenerated.
9313         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9315 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9317         * configure.ac (old_glibc_headers): Remove configure test.
9318         * configure: Regenerated.
9319         * config.make.in (old-glibc-headers): Remove variable.
9320         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9321         (install): Remove dependency on remove-old-headers.
9322         (headers2_0): Remove variable.
9323         (remove-old-headers): Remove rule.
9325         * configure.ac (libc_cv_dot_text): Remove configure test.
9326         (libc_cv_asm_set_directive): Use .text instead of
9327         ${libc_cv_dot_text} in configure test.
9328         * configure: Regenerated.
9330 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9332         [BZ #19168]
9333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9335 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9337         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9338         not support static linking.
9339         * configure: Regenerate.
9341 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9343         * math/libm-test.inc (check_float_internal): Do not special-case
9344         errors up to 0.5 ulp.
9346         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9347         log2.
9348         * math/auto-libm-test-out: Regenerated.
9349         * math/libm-test.inc (MAX_EXP): New macro.
9350         (ilogb_test_data): Add more tests.
9351         (isfinite_test_data): Likewise.
9352         (isgreater_test_data): Likewise.
9353         (isgreaterequal_test_data): Likewise.
9354         (isinf_test_data): Likewise.
9355         (isless_test_data): Likewise.
9356         (islessequal_test_data): Likewise.
9357         (islessgreater_test_data): Likewise.
9358         (isnan_test_data): Likewise.
9359         (isnormal_test_data): Likewise.
9360         (issignaling_test_data): Likewise.
9361         (isunordered_test_data): Likewise.
9362         (j0_test_data): Likewise.
9363         (j1_test_data): Likewise.
9364         (jn_test_data): Likewise.
9365         (lgamma_test_data): Likewise.
9366         (log_test_data): Likewise.
9367         (log10_test_data): Likewise.
9368         (log1p_test_data): Likewise.
9369         (log2_test_data): Likewise.
9370         (logb_test_data): Likewise.
9371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9373         [BZ #18611]
9374         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9375         avoid excess range and precision on underflow.
9376         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9377         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9379         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9380         underflow.
9381         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9383         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9385         * math/auto-libm-test-in: Do not allow missing errno setting for
9386         tests of j1 and jn.
9387         * math/auto-libm-test-out: Regenerated.
9389 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9391         [BZ #15491]
9392         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9393         floating-point environment instead of clearing all exceptions.
9394         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9395         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9396         merging in "invalid" exceptions from frndint.
9397         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9398         * math/test-nearbyint-except.c: New file.
9399         * math/Makefile (tests): Add test-nearbyint-except.
9401 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9403         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9405         * sysdeps/tile/libm-test-ulps: Regenerated.
9407 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9410         (__NR_sync_file_range2): Assume it is always defined.
9411         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9412         (__NR_sync_file_range): Assume it is always defined.
9414 2015-10-22  Andreas Schwab  <schwab@suse.de>
9416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9417         INTERNAL_SYSCALL_ERRNO.
9418         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9419         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9420         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9421         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9422         Likewise.
9423         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9425 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9427         * io/tst-fcntl.c (fd): New static variable.
9428         (do_prepare): Open temporary file here....
9429         (do_test): ...not here.
9431         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9433 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9435         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9436         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9437         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9438         Moved before "#ifdef __ASSEMBLER__".
9440 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9442         [BZ #19156]
9443         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9444         arguments very close to 0.
9446 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9448         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9449         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9451 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9453         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9454         New.  Defined for GCC 5 and above when not compiling for
9455         profiling.
9456         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9458         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9459         Renamed to ...
9460         (CFLAGS-epoll_pwait.o): This.
9461         (CFLAGS-mmap.c): Renamed to ...
9462         (CFLAGS-mmap.o): This.
9463         (CFLAGS-mmap64.c): Renamed to ...
9464         (CFLAGS-mmap64.o): This.
9465         (CFLAGS-epoll_pwait.os): New.
9466         (CFLAGS-mmap.os): Likewise.
9467         (CFLAGS-mmap64.os): Likewise.
9468         (CFLAGS-semtimedop.os): Likewise.
9469         (CFLAGS-semtimedop.c): Renamed to ...
9470         (CFLAGS-semtimedop.o): This.
9472 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9474         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9475         warning message.
9477 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9479         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9480         * Makefile ($(objpfx)c++-types-check.out): Filter out
9481         $(+gccwarn-c) instead of -Wstrict-prototypes.
9483         * io/fts.c (fts_open): Convert to prototype-style function
9484         definition.
9485         * malloc/mcheck.c (mcheck): Likewise.
9486         (mcheck_pedantic): Likewise.
9487         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9488         internal_function.
9489         (re_search_internal): Likewise.
9490         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9491         prototype-style function definition.
9492         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9493         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9494         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9495         (xdr_utmpptr): Likewise.
9496         (xdr_utmparr): Likewise.
9497         (xdr_utmpidle): Likewise.
9498         (xdr_utmpidleptr): Likewise.
9499         (xdr_utmpidlearr): Likewise.
9501         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9502         log, log10 and log2.
9503         * math/auto-libm-test-out: Regenerated.
9504         * math/libm-test.inc (fmod_test_data): Add more tests.
9505         (fpclassify_test_data): Likewise.
9506         (frexp_test_data): Likewise.
9507         (hypot_test_data): Likewise.
9508         (ilogb_test_data): Likewise.
9510 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9512         * debug/fortify_fail.c (__fortify_fail): Convert to
9513         prototype-style function definition.  Use internal_function.
9514         * libio/genops.c (save_for_backup): Convert to prototype-style
9515         function definition.
9516         * libio/wgenops.c (save_for_wbackup): Likewise.
9517         * login/grantpt.c (grantpt): Likewise.
9518         * login/ptsname.c (ptsname): Likewise.
9519         (__ptsname_r): Likewise.
9520         * login/unlockpt.c (unlockpt): Likewise.
9521         * mach/msgserver.c (__mach_msg_server): Likewise.
9522         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9523         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9524         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9525         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9526         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9527         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9528         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9529         Likewise.
9530         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9531         internal_function.
9532         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9533         prototype-style function definition.
9534         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9535         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9536         (__pthread_create_2_0): Likewise.
9537         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9538         * nptl/register-atfork.c (__register_atfork): Likewise.
9539         * posix/glob.c (glob): Likewise.
9540         * posix/regcomp.c (re_comp): Likewise.
9541         * posix/regexec.c (re_exec): Likewise.
9542         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9543         [!__STDC__]: Remove conditional code.
9544         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9545         [!__STDC__]: Remove conditional code.
9546         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9547         [!__STDC__]: Remove conditional code.
9548         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9549         [!__STDC__]: Remove conditional code.
9550         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9551         [!__STDC__]: Remove conditional code.
9552         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9553         [!__STDC__]: Remove conditional code.
9554         * stdlib/mul.c [__STDC__]: Make code unconditional.
9555         [!__STDC__]: Remove conditional code.
9556         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9557         [!__STDC__]: Remove conditional code.
9558         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9559         [!__STDC__]: Remove conditional code.
9560         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9561         function definition.
9562         (STRTOF): Likewise.
9563         * stdlib/strtod_l.c (__STRTOF): Likewise.
9564         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9565         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9566         (__strtol_l): Likewise.
9567         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9568         [!__STDC__]: Remove conditional code.
9569         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9570         definition.
9571         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9572         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9573         type.
9574         (__strcasecmp): Convert to prototype-style function definition.
9575         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9576         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9577         type.
9578         (__strncasecmp): Convert to prototype-style function definition.
9579         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9580         * sunrpc/xdr.c (xdr_union): Likewise.
9581         * sunrpc/xdr_array.c (xdr_array): Likewise.
9582         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9583         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9584         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9585         Likewise.
9586         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9587         Likewise.
9588         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9589         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9590         Likewise.
9591         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9592         (LOCALE_PARAM_PROTO): Likewise.
9593         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9594         argument type.
9595         (ut_argument_spec): Remove macro.
9596         (ut_argument_spec_iso): Rename to ut_argument_spec.
9597         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9598         prototype-style function definition.
9599         (memcpy_uppcase): Likewise.
9600         (__strftime_internal): Likewise.
9601         (my_strftime): Likewise.
9602         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9603         (LOCALE_PARAM_DECL): Likewise.
9604         [_LIBC] (LOCALE_PARAM): Include argument type.
9605         (__strptime_internal): Convert to prototype-style function
9606         definition.
9607         (strptime): Likewise.
9608         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9609         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9610         type.
9611         (__wcscasecmp): Convert to prototype-style function definition.
9612         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9613         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9614         type.
9615         (__wcsncasecmp): Convert to prototype-style function definition.
9617         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9618         function definition.
9619         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9620         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9621         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9622         * elf/dl-minimal.c (_itoa): Likewise.
9623         * hurd/hurdmalloc.c (malloc): Likewise.
9624         (free): Likewise.
9625         (realloc): Likewise.
9626         * inet/inet6_option.c (inet6_option_space): Likewise.
9627         (inet6_option_init): Likewise.
9628         (inet6_option_append): Likewise.
9629         (inet6_option_alloc): Likewise.
9630         (inet6_option_next): Likewise.
9631         (inet6_option_find): Likewise.
9632         * io/ftw.c (FTW_NAME): Likewise.
9633         (NFTW_NAME): Likewise.
9634         (NFTW_NEW_NAME): Likewise.
9635         (NFTW_OLD_NAME): Likewise.
9636         * libio/iofwide.c (_IO_fwide): Likewise.
9637         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9638         (_IO_str_init_static): Likewise.
9639         (_IO_str_init_readonly): Likewise.
9640         (_IO_str_overflow): Likewise.
9641         (_IO_str_underflow): Likewise.
9642         (_IO_str_count): Likewise.
9643         (_IO_str_seekoff): Likewise.
9644         (_IO_str_pbackfail): Likewise.
9645         (_IO_str_finish): Likewise.
9646         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9647         (_IO_wstr_overflow): Likewise.
9648         (_IO_wstr_underflow): Likewise.
9649         (_IO_wstr_count): Likewise.
9650         (_IO_wstr_seekoff): Likewise.
9651         (_IO_wstr_pbackfail): Likewise.
9652         (_IO_wstr_finish): Likewise.
9653         * locale/programs/localedef.c (normalize_codeset): Likewise.
9654         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9655         (add_locales_to_archive): Likewise.
9656         (delete_locales_from_archive): Likewise.
9657         * malloc/malloc.c (__libc_mallinfo): Likewise.
9658         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9659         * misc/tsearch.c (__tfind): Likewise.
9660         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9661         * nptl/pthread_attr_getdetachstate.c
9662         (__pthread_attr_getdetachstate): Likewise.
9663         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9664         Likewise.
9665         * nptl/pthread_attr_getinheritsched.c
9666         (__pthread_attr_getinheritsched): Likewise.
9667         * nptl/pthread_attr_getschedparam.c
9668         (__pthread_attr_getschedparam): Likewise.
9669         * nptl/pthread_attr_getschedpolicy.c
9670         (__pthread_attr_getschedpolicy): Likewise.
9671         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9672         Likewise.
9673         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9674         Likewise.
9675         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9676         Likewise.
9677         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9678         Likewise.
9679         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9680         (__pthread_attr_init_2_0): Likewise.
9681         * nptl/pthread_attr_setdetachstate.c
9682         (__pthread_attr_setdetachstate): Likewise.
9683         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9684         Likewise.
9685         * nptl/pthread_attr_setinheritsched.c
9686         (__pthread_attr_setinheritsched): Likewise.
9687         * nptl/pthread_attr_setschedparam.c
9688         (__pthread_attr_setschedparam): Likewise.
9689         * nptl/pthread_attr_setschedpolicy.c
9690         (__pthread_attr_setschedpolicy): Likewise.
9691         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9692         Likewise.
9693         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9694         Likewise.
9695         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9696         Likewise.
9697         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9698         Likewise.
9699         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9700         Likewise.
9701         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9702         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9703         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9704         use internal_function.
9705         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9706         prototype-style function definition.
9707         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9708         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9709         internal_function.
9710         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9711         Convert to prototype-style function definition.
9712         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9713         Likewise.
9714         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9715         Likewise.
9716         (__pthread_mutex_unlock): Likewise.
9717         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9718         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9719         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9720         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9721         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9722         * nss/makedb.c (process_input): Likewise.
9723         * posix/fnmatch.c (__strchrnul): Likewise.
9724         (__wcschrnul): Likewise.
9725         (fnmatch): Likewise.
9726         * posix/fnmatch_loop.c (FCT): Likewise.
9727         * posix/glob.c (globfree): Likewise.
9728         (__glob_pattern_type): Likewise.
9729         (__glob_pattern_p): Likewise.
9730         * posix/regcomp.c (re_compile_pattern): Likewise.
9731         (re_set_syntax): Likewise.
9732         (re_compile_fastmap): Likewise.
9733         (regcomp): Likewise.
9734         (regerror): Likewise.
9735         (regfree): Likewise.
9736         * posix/regexec.c (regexec): Likewise.
9737         (re_match): Likewise.
9738         (re_search): Likewise.
9739         (re_match_2): Likewise.
9740         (re_search_2): Likewise.
9741         (re_search_stub): Likewise.  Use internal_function
9742         (re_copy_regs): Likewise.
9743         (re_set_registers): Convert to prototype-style function
9744         definition.
9745         (prune_impossible_nodes): Likewise.  Use internal_function.
9746         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9747         prototype-style function definition.
9748         (inet_net_pton_ipv4): Likewise.
9749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9750         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9751         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9752         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9753         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9754         Make variadic.
9755         * time/strptime_l.c (localtime_r): Convert to prototype-style
9756         function definition.
9757         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9758         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9759         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9760         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9762         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9763         definition.
9764         (_ufc_doit_r): Likewise.
9765         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9766         (_ufc_output_conversion_r): Likewise.
9767         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9768         * inet/rcmd.c (rcmd_af): Likewise.
9769         (rcmd): Likewise.
9770         (ruserok_af): Likewise.
9771         (ruserok): Likewise.
9772         (ruserok2_sa): Likewise.
9773         (ruserok_sa): Likewise.
9774         (iruserok_af): Likewise.
9775         (iruserok): Likewise.
9776         (__ivaliduser): Likewise.
9777         (__validuser2_sa): Likewise.
9778         * inet/rexec.c (rexec_af): Likewise.
9779         (rexec): Likewise.
9780         * inet/ruserpass.c (ruserpass): Likewise.
9781         * locale/programs/xmalloc.c (xcalloc): Likewise.
9782         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9783         * math/w_drem.c (__drem): Likewise.
9784         * math/w_dremf.c (__dremf): Likewise.
9785         * math/w_dreml.c (__dreml): Likewise.
9786         * misc/daemon.c (daemon): Likewise.
9787         * resolv/res_debug.c (p_fqnname): Likewise.
9788         * stdlib/div.c (div): Likewise.
9789         * string/memcmp.c (memcmp_bytes): Likewise.
9790         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9791         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9793         * crypt/cert.c (main): Convert to prototype-style function
9794         definition.
9795         * io/pipe.c (__pipe): Likewise.
9796         * io/pipe2.c (__pipe2): Likewise.
9797         * misc/futimesat.c (futimesat): Likewise.
9798         * misc/utimes.c (__utimes): Likewise.
9799         * posix/execve.c (__execve): Likewise.
9800         * posix/execvp.c (execvp): Likewise.
9801         * posix/execvpe.c (__execvpe): Likewise.
9802         * posix/fexecve.c (fexecve): Likewise.
9803         * socket/socketpair.c (socketpair): Likewise.
9804         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9805         * stdlib/erand48.c (erand48): Likewise.
9806         * stdlib/erand48_r.c (__erand48_r): Likewise.
9807         * stdlib/jrand48.c (jrand48): Likewise.
9808         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9809         * stdlib/lcong48.c (lcong48): Likewise.
9810         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9811         * stdlib/nrand48.c (nrand48): Likewise.
9812         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9813         * stdlib/seed48.c (seed48): Likewise.
9814         * stdlib/seed48_r.c (__seed48_r): Likewise.
9815         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9816         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9817         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9819 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9821         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9822         * configure: Regenerated.
9823         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9824         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9825         unconditional.
9826         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9827         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9828         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9829         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9830         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9831         unconditional.
9832         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9834         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9835         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9837         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9838         function definition.
9839         * crypt/crypt_util.c (__encrypt_r): Likewise.
9840         * libio/genops.c (_IO_no_init): Likewise.
9841         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9842         (_IO_old_fopencookie): Likewise.
9843         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9844         * libio/iogetline.c (_IO_getline): Likewise.
9845         (_IO_getline_info): Likewise.
9846         * libio/iogetwline.c (_IO_getwline): Likewise.
9847         (_IO_getwline_info): Likewise.
9848         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9849         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9850         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9851         (find_entry): Likewise.
9852         (iterate_table): Likewise.
9853         (lookup): Likewise.
9854         * login/forkpty.c (forkpty): Likewise.
9855         * misc/hsearch_r.c (__hsearch_r): Likewise.
9856         * misc/select.c (__select): Likewise.
9857         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9858         Likewise.
9859         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9860         Likewise.
9861         * nptl/old_pthread_cond_timedwait.c
9862         (__pthread_cond_timedwait_2_0): Likewise.
9863         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9864         * nptl/pthread_barrierattr_getpshared.c
9865         (pthread_barrierattr_getpshared): Likewise.
9866         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9867         Likewise.
9868         * nptl/pthread_mutex_setprioceiling.c
9869         (pthread_mutex_setprioceiling): Likewise.
9870         * nptl/pthread_mutexattr_getprioceiling.c
9871         (pthread_mutexattr_getprioceiling): Likewise.
9872         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9873         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9874         Likewise.
9875         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9876         Likewise.
9877         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9878         Likewise.
9879         * socket/recvfrom.c (__recvfrom): Likewise.
9880         * socket/sendto.c (__sendto): Likewise.
9881         * socket/setsockopt.c (__setsockopt): Likewise.
9882         * stdio-common/_itoa.c (_itoa): Likewise.
9883         * stdio-common/_itowa.c (_itowa): Likewise.
9884         * stdio-common/reg-printf.c (__register_printf_specifier):
9885         Likewise.
9886         (__register_printf_function): Likewise.
9887         * stdio-common/tempname.c (__path_search): Likewise.
9888         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9889         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9890         * stdlib/random_r.c (__initstate_r): Likewise.
9891         * stdlib/setenv.c (__add_to_environ): Likewise.
9892         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9893         * streams/getpmsg.c (getpmsg): Likewise.
9894         * streams/putmsg.c (putmsg): Likewise.
9895         * streams/putpmsg.c (putpmsg): Likewise.
9896         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9897         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9898         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9899         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9900         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9901         * sunrpc/svc_udp.c (cache_get): Likewise.
9902         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9903         * sysdeps/mach/hurd/getcwd.c
9904         (__canonicalize_directory_name_internal): Likewise.
9905         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9906         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9907         * sysdeps/mach/hurd/select.c (__select): Likewise.
9908         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9909         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9910         * sysdeps/sparc/nptl/pthread_barrier_init.c
9911         (__pthread_barrier_init): Likewise.
9912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9913         (__pthread_cond_timedwait): Likewise.
9914         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9915         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9916         Likewise.
9917         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9918         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9919         Likewise.
9920         * sysvipc/semtimedop.c (semtimedop): Likewise.
9921         * time/setitimer.c (__setitimer): Likewise.
9922         * time/strftime_l.c (emacs_strftime): Likewise.
9924 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9926         * config.make.in (have-ssp): Delete.
9927         (stack-protector): New variable.
9928         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9929         cache test for -fstack-protector-strong.  Export stack_protector to
9930         the best ssp flag.
9931         * configure: Regenerated.
9932         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9933         * nscd/Makefile (CFLAGS-nscd): Likewise.
9934         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9936 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9938         [BZ #19122]
9939         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9940         attribute_hidden.
9942 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9944         [BZ #18743]
9945         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9946         code to...
9947         (ELIDE_LOCK): ...here.
9948         (__get_new_count): New function with part of the code from
9949         __elide_lock that updates the value of adapt_count after a
9950         transaction abort.
9951         (__elided_trylock): Moved this code to...
9952         (ELIDE_TRYLOCK): ...here.
9954 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9956         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9957         * configure: Regenerate.
9958         * INSTALL: Regenerate.
9959         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9960         and tweak grammar.
9962 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9964         * login/programs/pt_chown.c: Include signal.h
9965         (main): Clear any signal mask from the parent process.
9967 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9969         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9970         * configure: Regenerated.
9971         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9972         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9973         $(gnu89-inline-CFLAGS).
9975         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9976         test.
9977         (libc_cv_asm_weakext_directive): Likewise.
9978         * configure: Regenerated.
9979         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9980         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9981         * include/libc-symbols.h
9982         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9983         #error.
9984         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9985         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9987         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9988         prototype-style function definition.
9989         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9990         * sysdeps/i386/ffs.c (__ffs): Likewise.
9991         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9992         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9993         Likewise.
9994         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9995         Likewise.
9996         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9998         Likewise.
9999         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10000         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10001         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10002         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10003         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10004         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10005         * sysdeps/mach/hurd/access.c (__access): Likewise.
10006         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10007         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10008         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10009         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10010         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10011         (cthread_getspecific): Likewise.
10012         (cthread_setspecific): Likewise.
10013         (__libc_getspecific): Likewise.
10014         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10015         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10016         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10017         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10018         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10019         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10020         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10021         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10022         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10023         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10024         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10025         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10026         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10027         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10028         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10029         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10030         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10031         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10032         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10033         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10034         * sysdeps/mach/hurd/link.c (__link): Likewise.
10035         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10036         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10037         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10038         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10039         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10040         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10041         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10042         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10043         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10044         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10045         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10046         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10047         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10048         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10049         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10050         * sysdeps/mach/hurd/send.c (__send): Likewise.
10051         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10052         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10053         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10054         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10055         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10056         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10057         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10058         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10059         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10060         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10061         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10062         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10063         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10064         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10065         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10066         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10067         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10068         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10069         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10070         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10071         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10072         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10073         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10074         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10075         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10076         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10077         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10078         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10079         * sysdeps/posix/alarm.c (alarm): Likewise.
10080         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10081         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10082         * sysdeps/posix/dup.c (__dup): Likewise.
10083         * sysdeps/posix/dup2.c (__dup2): Likewise.
10084         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10085         (main): Likewise.
10086         * sysdeps/posix/flock.c (__flock): Likewise.
10087         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10088         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10089         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10090         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10091         * sysdeps/posix/isatty.c (__isatty): Likewise.
10092         * sysdeps/posix/killpg.c (killpg): Likewise.
10093         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10094         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10095         * sysdeps/posix/raise.c (raise): Likewise.
10096         * sysdeps/posix/remove.c (remove): Likewise.
10097         * sysdeps/posix/rename.c (rename): Likewise.
10098         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10099         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10100         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10101         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10102         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10103         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10104         * sysdeps/posix/sigset.c (sigset): Likewise.
10105         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10106         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10107         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10108         * sysdeps/posix/time.c (time): Likewise.
10109         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10110         (ttyname): Likewise.
10111         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10112         * sysdeps/posix/utime.c (utime): Likewise.
10113         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10114         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10115         Likewise.
10116         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10117         (pthread_spin_trylock): Likewise.
10118         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10119         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10120         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10121         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10122         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10123         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10124         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10125         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10126         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10127         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10128         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10129         * sysdeps/s390/ffs.c (__ffs): Likewise.
10130         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10131         Likewise.
10132         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10133         Likewise.
10134         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10135         Likewise.
10136         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10137         (pthread_barrier_destroy): Likewise.
10138         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10139         (__pthread_barrier_wait): Likewise.
10140         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10141         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10142         (__pthread_barrier_wait): Likewise.
10143         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10144         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10145         (memcmp_not_common_alignment): Likewise.
10146         (MEMCMP): Likewise.
10147         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10148         (_wordcopy_fwd_dest_aligned): Likewise.
10149         (_wordcopy_bwd_aligned): Likewise.
10150         (_wordcopy_bwd_dest_aligned): Likewise.
10151         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10152         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10153         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10154         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10155         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10156         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10157         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10158         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10159         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10160         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10161         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10162         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10163         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10164         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10165         * sysdeps/unix/stime.c (stime): Likewise.
10166         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10167         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10168         Likewise.  Use internal_function.
10169         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10170         Convert to prototype-style function definition.
10171         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10172         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10173         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10174         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10175         Likewise.  Use internal_function.
10176         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10177         prototype-style function definition
10178         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10179         Likewise.
10180         (__getlogin_r): Likewise.
10181         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10183         (__pthread_cond_broadcast): Likewise.
10184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10185         (__pthread_cond_destroy): Likewise.
10186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10187         (__pthread_cond_init): Likewise.
10188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10189         (__pthread_cond_signal): Likewise.
10190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10191         (__pthread_cond_wait): Likewise.
10192         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10193         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10194         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10195         Likewise.
10196         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10197         Likewise.
10198         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10199         Likewise.
10200         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10201         Likewise.
10202         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10204         (__ftruncate64): Likewise.
10205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10206         (truncate64): Likewise.
10207         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10208         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10209         (pthread_getcpuclockid): Likewise.
10210         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10211         Likewise.
10212         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10213         Likewise.
10214         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10215         Likewise.
10216         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10217         Likewise.
10218         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10219         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10220         (__libc_sigaction): Likewise.
10221         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10222         Likewise.
10223         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10224         (__sigprocmask): Likewise.
10225         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10226         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10227         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10228         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10229         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10230         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10231         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10234         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10235         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10236         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10237         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10238         Likewise.
10239         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10240         (__sigprocmask): Likewise.
10241         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10242         (cfgetispeed): Likewise.
10243         (cfsetospeed): Likewise.
10244         (cfsetispeed): Likewise.
10245         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10246         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10247         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10248         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10249         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10250         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10251         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10252         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10253         Likewise.
10254         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10257         Likewise.
10258         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10259         Likewise.
10260         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10262 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10264         sunrpc: Rewrite with explicit TLS access using __thread.
10265         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10266         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10267         directly.
10268         (__rpc_thread_variables): Access thread_rpc_vars directly.
10269         Eliminate redundant assignment of the tvp variable.
10271 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10273         malloc: Rewrite with explicit TLS access using __thread.
10274         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10275         (tsd_setspecific, tsd_getspecific): Remove.
10276         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10277         (tsd_setspecific, tsd_getspecific): Likewise.
10278         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10279         (tsd_setspecific, tsd_getspecific): Likewise.
10280         * malloc/arena.c (thread_arena): New TLS variable.
10281         (arena_key): Remove variable.
10282         (arena_get): Use thread_arena.
10283         (arena_lookup): Remove macro.
10284         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10285         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10286         (_int_new_arena, get_free_list, reused_arena)
10287         (arena_thread_freeres): Use thread_arena.
10288         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10289         tsd_getspecific, tsd_setspecific from safety annotations.
10290         (Allocating Cleared Space): Remove arena_lookup from safety
10291         annotations.
10293 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10295         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10296         struct scratch_buffer instead of extend_alloca.
10298 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10300         * sysdeps/unix/sysv/linux/kernel-features.h
10301         (__ASSUME_SOCK_CLOEXEC): Remove.
10302         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10303         (__have_paccept): Remove unused macro.
10304         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10305         * misc/syslog.c (openlog_internal): Remove fallback code for
10306         !__ASSUME_SOCK_CLOEXEC.
10307         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10308         missing SOCK_CLOEXEC.
10309         * nscd/connections.c (have_sock_cloexec): Remove definition.
10310         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10311         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10312         !__ASSUME_SOCK_CLOEXEC.
10313         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10314         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10315         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10316         definition.
10317         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10318         code for !__ASSUME_SOCK_CLOEXEC.
10320 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10322         [BZ #18982]
10323         * manual/stdio.texi (Variable Arguments Output): Add portability
10324         note, explaining that vfprintf clobbers the va_list pointer.
10326 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10328         * math/libm-test.inc (fabs_test_data): Add more tests.
10329         (fdim_test_data): Likewise.
10330         (fma_test_data): Likewise.
10331         (fmax_test_data): Likewise.
10332         (fmin_test_data): Likewise.
10333         (fmod_test_data): Likewise.
10335 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10337         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10338         data.
10340 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10342         * math/libm-test.inc (ceil_test_data): Add more tests and more
10343         expectations for "inexact".
10344         (floor_test_data): Add more tests.
10345         (round_test_data): Likewise.
10346         (trunc_test_data): Likewise.
10348         * crypt/cert.c (good_bye): Convert to prototype-style function
10349         definition.
10350         (get8): Likewise.
10351         (put8): Likewise.
10352         * crypt/crypt-entry.c (crypt): Likewise.
10353         (__fcrypt): Likewise.
10354         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10355         (_ufc_set_bits): Likewise.
10356         (_ufc_clearmem): Likewise.
10357         (__init_des_r): Likewise.
10358         (shuffle_sb): Likewise.
10359         (shuffle_sb): Likewise.
10360         (_ufc_setup_salt_r): Likewise.
10361         (_ufc_mk_keytab_r): Likewise.
10362         (_ufc_dofinalperm_r): Likewise.
10363         (encrypt): Likewise.
10364         (__setkey_r): Likewise.
10365         (setkey): Likewise.
10366         * crypt/md5.c (md5_init_ctx): Likewise.
10367         (md5_read_ctx): Likewise.
10368         (md5_finish_ctx): Likewise.
10369         (md5_stream): Likewise.
10370         (md5_buffer): Likewise.
10371         (md5_process_bytes): Likewise.
10372         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10373         (__sha256_finish_ctx): Likewise.
10374         (__sha256_process_bytes): Likewise.
10375         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10376         (__sha512_finish_ctx): Likewise.
10377         (__sha512_process_bytes): Likewise.
10378         * ctype/isctype.c (__isctype): Likewise.
10379         * debug/backtrace.c (__backtrace): Likewise.
10380         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10381         * debug/fgets_chk.c (__fgets_chk): Likewise.
10382         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10383         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10384         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10385         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10386         * debug/memset_chk.c (__memset_chk): Likewise.
10387         * debug/strcat_chk.c (__strcat_chk): Likewise.
10388         * debug/strncat_chk.c (__strncat_chk): Likewise.
10389         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10390         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10391         * dirent/dirfd.c (dirfd): Likewise.
10392         * dirent/getdents.c (__getdirentries): Likewise.
10393         * dirent/getdents64.c (getdirentries64): Likewise.
10394         * dirent/rewinddir.c (__rewinddir): Likewise.
10395         * dirent/seekdir.c (seekdir): Likewise.
10396         * dirent/telldir.c (telldir): Likewise.
10397         * elf/sln.c (makesymlinks): Likewise.
10398         (makesymlink): Likewise.
10399         * gmon/gmon.c (__moncontrol): Likewise.
10400         (__monstartup): Likewise.
10401         (write_hist): Likewise.
10402         (write_call_graph): Likewise.
10403         (write_bb_counts): Likewise.
10404         * grp/setgroups.c (setgroups): Likewise.
10405         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10406         * inet/inet_net.c (inet_network): Likewise.
10407         * inet/inet_netof.c (inet_netof): Likewise.
10408         * inet/rcmd.c (rresvport_af): Likewise.
10409         (rresvport): Likewise.
10410         * io/access.c (__access): Likewise.
10411         * io/chdir.c (__chdir): Likewise.
10412         * io/chmod.c (__chmod): Likewise.
10413         * io/chown.c (__chown): Likewise.
10414         * io/close.c (__close): Likewise.
10415         * io/creat.c (creat): Likewise.
10416         * io/creat64.c (creat64): Likewise.
10417         * io/dup.c (__dup): Likewise.
10418         * io/dup2.c (__dup2): Likewise.
10419         * io/dup3.c (__dup3): Likewise.
10420         * io/euidaccess.c (__euidaccess): Likewise.
10421         * io/faccessat.c (faccessat): Likewise.
10422         * io/fchmod.c (__fchmod): Likewise.
10423         * io/fchmodat.c (fchmodat): Likewise.
10424         * io/fchown.c (__fchown): Likewise.
10425         * io/fchownat.c (fchownat): Likewise.
10426         * io/fcntl.c (__fcntl): Likewise.
10427         * io/flock.c (__flock): Likewise.
10428         * io/fts.c (fts_load): Likewise.
10429         (fts_close): Likewise.
10430         (fts_read): Likewise.
10431         (fts_set): Likewise.
10432         (fts_children): Likewise.
10433         (fts_build): Likewise.
10434         (fts_stat): Likewise.
10435         (fts_sort): Likewise.
10436         (fts_alloc): Likewise.
10437         (fts_lfree): Likewise.
10438         (fts_palloc): Likewise.
10439         (fts_padjust): Likewise.
10440         (fts_maxarglen): Likewise.
10441         (fts_safe_changedir): Likewise.
10442         * io/getwd.c (getwd): Likewise.
10443         * io/isatty.c (__isatty): Likewise.
10444         * io/lchown.c (__lchown): Likewise.
10445         * io/link.c (__link): Likewise.
10446         * io/linkat.c (linkat): Likewise.
10447         * io/lseek.c (__libc_lseek): Likewise.
10448         * io/mkdir.c (__mkdir): Likewise.
10449         * io/mkdirat.c (mkdirat): Likewise.
10450         * io/mkfifo.c (mkfifo): Likewise.
10451         * io/mkfifoat.c (mkfifoat): Likewise.
10452         * io/open.c (__libc_open): Likewise.
10453         * io/open64.c (__libc_open64): Likewise.
10454         * io/readlink.c (__readlink): Likewise.
10455         * io/readlinkat.c (readlinkat): Likewise.
10456         * io/rmdir.c (__rmdir): Likewise.
10457         * io/symlink.c (__symlink): Likewise.
10458         * io/symlinkat.c (symlinkat): Likewise.
10459         * io/ttyname.c (ttyname): Likewise.
10460         * io/ttyname_r.c (__ttyname_r): Likewise.
10461         * io/umask.c (__umask): Likewise.
10462         * io/unlink.c (__unlink): Likewise.
10463         * io/unlinkat.c (unlinkat): Likewise.
10464         * io/utime.c (utime): Likewise.
10465         * libio/clearerr.c (clearerr): Likewise.
10466         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10467         * libio/feof.c (_IO_feof): Likewise.
10468         * libio/feof_u.c (feof_unlocked): Likewise.
10469         * libio/ferror.c (_IO_ferror): Likewise.
10470         * libio/ferror_u.c (ferror_unlocked): Likewise.
10471         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10472         * libio/fileno.c (__fileno): Likewise.
10473         * libio/fputc.c (fputc): Likewise.
10474         * libio/fputc_u.c (fputc_unlocked): Likewise.
10475         * libio/fputwc.c (fputwc): Likewise.
10476         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10477         * libio/freopen.c (freopen): Likewise.
10478         * libio/freopen64.c (freopen64): Likewise.
10479         * libio/fseek.c (fseek): Likewise.
10480         * libio/fseeko.c (fseeko): Likewise.
10481         * libio/fseeko64.c (fseeko64): Likewise.
10482         * libio/ftello.c (__ftello): Likewise.
10483         * libio/ftello64.c (ftello64): Likewise.
10484         * libio/fwide.c (fwide): Likewise.
10485         * libio/genops.c (_IO_un_link): Likewise.
10486         (_IO_link_in): Likewise.
10487         (_IO_least_marker): Likewise.
10488         (_IO_switch_to_main_get_area): Likewise.
10489         (_IO_switch_to_backup_area): Likewise.
10490         (_IO_switch_to_get_mode): Likewise.
10491         (_IO_free_backup_area): Likewise.
10492         (_IO_switch_to_put_mode): Likewise.
10493         (__overflow): Likewise.
10494         (__underflow): Likewise.
10495         (__uflow): Likewise.
10496         (_IO_setb): Likewise.
10497         (_IO_doallocbuf): Likewise.
10498         (_IO_default_underflow): Likewise.
10499         (_IO_default_uflow): Likewise.
10500         (_IO_default_xsputn): Likewise.
10501         (_IO_sgetn): Likewise.
10502         (_IO_default_xsgetn): Likewise.
10503         (_IO_sync): Likewise.
10504         (_IO_default_setbuf): Likewise.
10505         (_IO_default_seekpos): Likewise.
10506         (_IO_default_doallocate): Likewise.
10507         (_IO_init): Likewise.
10508         (_IO_old_init): Likewise.
10509         (_IO_default_sync): Likewise.
10510         (_IO_default_finish): Likewise.
10511         (_IO_default_seekoff): Likewise.
10512         (_IO_sputbackc): Likewise.
10513         (_IO_sungetc): Likewise.
10514         (_IO_set_column): Likewise.
10515         (_IO_set_column): Likewise.
10516         (_IO_adjust_column): Likewise.
10517         (_IO_get_column): Likewise.
10518         (_IO_init_marker): Likewise.
10519         (_IO_remove_marker): Likewise.
10520         (_IO_marker_difference): Likewise.
10521         (_IO_marker_delta): Likewise.
10522         (_IO_seekmark): Likewise.
10523         (_IO_unsave_markers): Likewise.
10524         (_IO_nobackup_pbackfail): Likewise.
10525         (_IO_default_pbackfail): Likewise.
10526         (_IO_default_seek): Likewise.
10527         (_IO_default_stat): Likewise.
10528         (_IO_default_read): Likewise.
10529         (_IO_default_write): Likewise.
10530         (_IO_default_showmanyc): Likewise.
10531         (_IO_default_imbue): Likewise.
10532         (_IO_iter_next): Likewise.
10533         (_IO_iter_file): Likewise.
10534         * libio/getc.c (_IO_getc): Likewise.
10535         * libio/getwc.c (_IO_getwc): Likewise.
10536         * libio/iofclose.c (_IO_new_fclose): Likewise.
10537         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10538         * libio/iofflush.c (_IO_fflush): Likewise.
10539         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10540         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10541         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10542         * libio/iofgets.c (_IO_fgets): Likewise.
10543         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10544         * libio/iofgetws.c (fgetws): Likewise.
10545         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10546         * libio/iofopen64.c (_IO_fopen64): Likewise.
10547         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10548         (_IO_cookie_write): Likewise.
10549         (_IO_cookie_seek): Likewise.
10550         (_IO_cookie_close): Likewise.
10551         (_IO_cookie_seekoff): Likewise.
10552         (_IO_old_cookie_seek): Likewise.
10553         * libio/iofputs.c (_IO_fputs): Likewise.
10554         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10555         * libio/iofputws.c (fputws): Likewise.
10556         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10557         * libio/iofread.c (_IO_fread): Likewise.
10558         * libio/iofread_u.c (__fread_unlocked): Likewise.
10559         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10560         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10561         * libio/ioftell.c (_IO_ftell): Likewise.
10562         * libio/iofwrite.c (_IO_fwrite): Likewise.
10563         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10564         * libio/iogets.c (_IO_gets): Likewise.
10565         * libio/iopadn.c (_IO_padn): Likewise.
10566         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10567         (_IO_new_popen): Likewise.
10568         (_IO_new_proc_close): Likewise.
10569         * libio/ioputs.c (_IO_puts): Likewise.
10570         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10571         (_IO_seekoff): Likewise.
10572         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10573         (_IO_seekpos): Likewise.
10574         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10575         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10576         * libio/ioungetc.c (_IO_ungetc): Likewise.
10577         * libio/ioungetwc.c (ungetwc): Likewise.
10578         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10579         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10580         * libio/iowpadn.c (_IO_wpadn): Likewise.
10581         * libio/libc_fatal.c (__libc_fatal): Likewise.
10582         * libio/memstream.c (__open_memstream): Likewise.
10583         (_IO_mem_sync): Likewise.
10584         (_IO_mem_finish): Likewise.
10585         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10586         (_IO_old_file_close_it): Likewise.
10587         (_IO_old_file_finish): Likewise.
10588         (_IO_old_file_fopen): Likewise.
10589         (_IO_old_file_attach): Likewise.
10590         (_IO_old_file_setbuf): Likewise.
10591         (_IO_old_do_write): Likewise.
10592         (old_do_write): Likewise.
10593         (_IO_old_file_underflow): Likewise.
10594         (_IO_old_file_overflow): Likewise.
10595         (_IO_old_file_sync): Likewise.
10596         (_IO_old_file_seekoff): Likewise.
10597         (_IO_old_file_write): Likewise.
10598         (_IO_old_file_xsputn): Likewise.
10599         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10600         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10601         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10602         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10603         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10604         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10605         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10606         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10607         (_IO_old_popen): Likewise.
10608         (_IO_old_proc_close): Likewise.
10609         * libio/oldpclose.c (__old_pclose): Likewise.
10610         * libio/pclose.c (__new_pclose): Likewise.
10611         * libio/peekc.c (_IO_peekc_locked): Likewise.
10612         * libio/putc.c (_IO_putc): Likewise.
10613         * libio/putc_u.c (putc_unlocked): Likewise.
10614         * libio/putchar.c (putchar): Likewise.
10615         * libio/putchar_u.c (putchar_unlocked): Likewise.
10616         * libio/putwc.c (putwc): Likewise.
10617         * libio/putwc_u.c (putwc_unlocked): Likewise.
10618         * libio/putwchar.c (putwchar): Likewise.
10619         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10620         * libio/rewind.c (rewind): Likewise.
10621         * libio/setbuf.c (setbuf): Likewise.
10622         * libio/setlinebuf.c (setlinebuf): Likewise.
10623         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10624         * libio/vscanf.c (_IO_vscanf): Likewise.
10625         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10626         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10627         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10628         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10629         (_IO_switch_to_main_wget_area): Likewise.
10630         (_IO_switch_to_wbackup_area): Likewise.
10631         (_IO_wsetb): Likewise.
10632         (_IO_wdefault_pbackfail): Likewise.
10633         (_IO_wdefault_finish): Likewise.
10634         (_IO_wdefault_uflow): Likewise.
10635         (__woverflow): Likewise.
10636         (__wuflow): Likewise.
10637         (__wunderflow): Likewise.
10638         (_IO_wdefault_xsputn): Likewise.
10639         (_IO_wdefault_xsgetn): Likewise.
10640         (_IO_wdoallocbuf): Likewise.
10641         (_IO_wdefault_doallocate): Likewise.
10642         (_IO_switch_to_wget_mode): Likewise.
10643         (_IO_free_wbackup_area): Likewise.
10644         (_IO_switch_to_wput_mode): Likewise.
10645         (_IO_sputbackwc): Likewise.
10646         (_IO_sungetwc): Likewise.
10647         (_IO_adjust_wcolumn): Likewise.
10648         (_IO_init_wmarker): Likewise.
10649         (_IO_wmarker_delta): Likewise.
10650         (_IO_seekwmark): Likewise.
10651         (_IO_unsave_wmarkers): Likewise.
10652         * libio/wmemstream.c (open_wmemstream): Likewise.
10653         (_IO_wmem_sync): Likewise.
10654         (_IO_wmem_finish): Likewise.
10655         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10656         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10657         * locale/programs/simple-hash.c (init_hash): Likewise.
10658         (delete_hash): Likewise.
10659         (insert_entry): Likewise.
10660         (set_entry): Likewise.
10661         (next_prime): Likewise.
10662         (is_prime): Likewise.
10663         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10664         (xmalloc): Likewise.
10665         (xrealloc): Likewise.
10666         * locale/programs/xstrdup.c (xstrdup): Likewise.
10667         * localedata/collate-test.c (xstrcoll): Likewise.
10668         * localedata/xfrm-test.c (xstrcmp): Likewise.
10669         * login/getlogin_r.c (__getlogin_r): Likewise.
10670         * login/getpt.c (__posix_openpt): Likewise.
10671         * login/login_tty.c (login_tty): Likewise.
10672         * login/setlogin.c (setlogin): Likewise.
10673         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10674         (mach_msg_destroy_port): Likewise.
10675         (mach_msg_destroy_memory): Likewise.
10676         * malloc/mcheck.c (flood): Likewise.
10677         * misc/acct.c (acct): Likewise.
10678         * misc/brk.c (__brk): Likewise.
10679         * misc/chflags.c (chflags): Likewise.
10680         * misc/chroot.c (chroot): Likewise.
10681         * misc/fchflags.c (fchflags): Likewise.
10682         * misc/fstab.c (getfsspec): Likewise.
10683         (getfsfile): Likewise.
10684         * misc/fsync.c (fsync): Likewise.
10685         * misc/ftruncate.c (__ftruncate): Likewise.
10686         * misc/ftruncate64.c (__ftruncate64): Likewise.
10687         * misc/getdomain.c (getdomainname): Likewise.
10688         (getdomainname): Likewise.
10689         * misc/gethostname.c (__gethostname): Likewise.
10690         * misc/getpass.c (getpass): Likewise.
10691         * misc/getttyent.c (skip): Likewise.
10692         (value): Likewise.
10693         * misc/gtty.c (gtty): Likewise.
10694         * misc/hsearch.c (hsearch): Likewise.
10695         (hcreate): Likewise.
10696         * misc/hsearch_r.c (__hcreate_r): Likewise.
10697         (__hdestroy_r): Likewise.
10698         * misc/ioctl.c (__ioctl): Likewise.
10699         * misc/mkdtemp.c (mkdtemp): Likewise.
10700         * misc/mkostemp.c (mkostemp): Likewise.
10701         * misc/mkostemp64.c (mkostemp64): Likewise.
10702         * misc/mkostemps.c (mkostemps): Likewise.
10703         * misc/mkostemps64.c (mkostemps64): Likewise.
10704         * misc/mkstemp.c (mkstemp): Likewise.
10705         * misc/mkstemp64.c (mkstemp64): Likewise.
10706         * misc/mkstemps.c (mkstemps): Likewise.
10707         * misc/mkstemps64.c (mkstemps64): Likewise.
10708         * misc/mktemp.c (__mktemp): Likewise.
10709         * misc/preadv.c (preadv): Likewise.
10710         * misc/preadv64.c (preadv64): Likewise.
10711         * misc/pwritev.c (pwritev): Likewise.
10712         * misc/pwritev64.c (pwritev64): Likewise.
10713         * misc/readv.c (__readv): Likewise.
10714         * misc/revoke.c (revoke): Likewise.
10715         * misc/setdomain.c (setdomainname): Likewise.
10716         * misc/setegid.c (setegid): Likewise.
10717         * misc/seteuid.c (seteuid): Likewise.
10718         * misc/sethostid.c (sethostid): Likewise.
10719         * misc/sethostname.c (sethostname): Likewise.
10720         * misc/setregid.c (__setregid): Likewise.
10721         * misc/setreuid.c (__setreuid): Likewise.
10722         * misc/sstk.c (sstk): Likewise.
10723         * misc/stty.c (stty): Likewise.
10724         * misc/syscall.c (syscall): Likewise.
10725         * misc/syslog.c (setlogmask): Likewise.
10726         * misc/truncate.c (__truncate): Likewise.
10727         * misc/truncate64.c (truncate64): Likewise.
10728         * misc/ualarm.c (ualarm): Likewise.
10729         * misc/usleep.c (usleep): Likewise.
10730         * misc/ustat.c (ustat): Likewise.
10731         * misc/writev.c (__writev): Likewise.
10732         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10733         * nptl/old_pthread_cond_broadcast.c
10734         (__pthread_cond_broadcast_2_0): Likewise.
10735         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10736         Likewise.
10737         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10738         Likewise.
10739         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10740         Likewise.
10741         * nptl/pt-raise.c (raise): Likewise.
10742         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10743         Likewise.
10744         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10745         * nptl/pthread_barrierattr_destroy.c
10746         (pthread_barrierattr_destroy): Likewise.
10747         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10748         Likewise.
10749         * nptl/pthread_barrierattr_setpshared.c
10750         (pthread_barrierattr_setpshared): Likewise.
10751         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10752         Likewise.
10753         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10754         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10755         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10756         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10757         Likewise.
10758         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10759         Likewise.
10760         * nptl/pthread_condattr_getpshared.c
10761         (pthread_condattr_getpshared): Likewise.
10762         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10763         Likewise.
10764         * nptl/pthread_condattr_setpshared.c
10765         (pthread_condattr_setpshared): Likewise.
10766         * nptl/pthread_detach.c (pthread_detach): Likewise.
10767         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10768         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10769         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10770         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10771         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10772         Likewise.
10773         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10774         Likewise.
10775         * nptl/pthread_mutex_getprioceiling.c
10776         (pthread_mutex_getprioceiling): Likewise.
10777         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10778         Likewise.
10779         * nptl/pthread_mutexattr_getprotocol.c
10780         (pthread_mutexattr_getprotocol): Likewise.
10781         * nptl/pthread_mutexattr_getpshared.c
10782         (pthread_mutexattr_getpshared): Likewise.
10783         * nptl/pthread_mutexattr_getrobust.c
10784         (pthread_mutexattr_getrobust): Likewise.
10785         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10786         Likewise.
10787         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10788         Likewise.
10789         * nptl/pthread_mutexattr_setprioceiling.c
10790         (pthread_mutexattr_setprioceiling): Likewise.
10791         * nptl/pthread_mutexattr_setprotocol.c
10792         (pthread_mutexattr_setprotocol): Likewise.
10793         * nptl/pthread_mutexattr_setpshared.c
10794         (pthread_mutexattr_setpshared): Likewise.
10795         * nptl/pthread_mutexattr_setrobust.c
10796         (pthread_mutexattr_setrobust): Likewise.
10797         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10798         Likewise.
10799         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10800         Likewise.
10801         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10802         Likewise.
10803         * nptl/pthread_rwlockattr_getkind_np.c
10804         (pthread_rwlockattr_getkind_np): Likewise.
10805         * nptl/pthread_rwlockattr_getpshared.c
10806         (pthread_rwlockattr_getpshared): Likewise.
10807         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10808         Likewise.
10809         * nptl/pthread_rwlockattr_setkind_np.c
10810         (pthread_rwlockattr_setkind_np): Likewise.
10811         * nptl/pthread_rwlockattr_setpshared.c
10812         (pthread_rwlockattr_setpshared): Likewise.
10813         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10814         Likewise.
10815         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10816         Likewise.
10817         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10818         Likewise.
10819         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10820         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10821         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10822         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10823         * nptl/sem_close.c (sem_close): Likewise.
10824         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10825         * nptl/sem_init.c (__old_sem_init): Likewise.
10826         * nptl/sigaction.c (__sigaction): Likewise.
10827         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10828         * posix/_exit.c (_exit): Likewise.
10829         * posix/alarm.c (alarm): Likewise.
10830         * posix/confstr.c (confstr): Likewise.
10831         * posix/fpathconf.c (__fpathconf): Likewise.
10832         * posix/getgroups.c (__getgroups): Likewise.
10833         * posix/getpgid.c (__getpgid): Likewise.
10834         * posix/group_member.c (__group_member): Likewise.
10835         * posix/pathconf.c (__pathconf): Likewise.
10836         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10837         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10838         * posix/setgid.c (__setgid): Likewise.
10839         * posix/setpgid.c (__setpgid): Likewise.
10840         * posix/setuid.c (__setuid): Likewise.
10841         * posix/sleep.c (__sleep): Likewise.
10842         * posix/sysconf.c (__sysconf): Likewise.
10843         * posix/times.c (__times): Likewise.
10844         * posix/uname.c (__uname): Likewise.
10845         * posix/waitid.c (__waitid): Likewise.
10846         * pwd/getpw.c (__getpw): Likewise.
10847         * resolv/base64.c (b64_pton): Likewise.
10848         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10849         * resolv/gethnamaddr.c (Dprintf): Likewise.
10850         (gethostbyname): Likewise.
10851         (gethostbyname2): Likewise.
10852         (gethostbyaddr): Likewise.
10853         (_sethtent): Likewise.
10854         (_gethtbyname): Likewise.
10855         (_gethtbyname2): Likewise.
10856         (_gethtbyaddr): Likewise.
10857         (map_v4v6_address): Likewise.
10858         (map_v4v6_hostent): Likewise.
10859         (addrsort): Likewise.
10860         (ht_sethostent): Likewise.
10861         (ht_gethostbyname): Likewise.
10862         (ht_gethostbyaddr): Likewise.
10863         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10864         (inet_net_ntop_ipv4): Likewise.
10865         * resolv/inet_neta.c (inet_neta): Likewise.
10866         * resolv/inet_ntop.c (inet_ntop): Likewise.
10867         (inet_ntop4): Likewise.
10868         (inet_ntop6): Likewise.
10869         * resolv/inet_pton.c (__inet_pton): Likewise.
10870         (inet_pton4): Likewise.
10871         (inet_pton6): Likewise.
10872         * resolv/res_debug.c (loc_aton): Likewise.
10873         (loc_ntoa): Likewise.
10874         * resource/getpriority.c (__getpriority): Likewise.
10875         * resource/getrusage.c (__getrusage): Likewise.
10876         * resource/nice.c (nice): Likewise.
10877         * resource/setpriority.c (__setpriority): Likewise.
10878         * resource/setrlimit64.c (setrlimit64): Likewise.
10879         * resource/vlimit.c (vlimit): Likewise.
10880         * resource/vtimes.c (vtimes): Likewise.
10881         * rt/aio_error.c (aio_error): Likewise.
10882         * rt/aio_return.c (aio_return): Likewise.
10883         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10884         * signal/kill.c (__kill): Likewise.
10885         * signal/killpg.c (killpg): Likewise.
10886         * signal/raise.c (raise): Likewise.
10887         * signal/sigaction.c (__sigaction): Likewise.
10888         * signal/sigaddset.c (sigaddset): Likewise.
10889         * signal/sigaltstack.c (sigaltstack): Likewise.
10890         * signal/sigandset.c (sigandset): Likewise.
10891         * signal/sigblock.c (__sigblock): Likewise.
10892         * signal/sigdelset.c (sigdelset): Likewise.
10893         * signal/sigempty.c (sigemptyset): Likewise.
10894         * signal/sigfillset.c (sigfillset): Likewise.
10895         * signal/sighold.c (sighold): Likewise.
10896         * signal/sigignore.c (sigignore): Likewise.
10897         * signal/sigintr.c (siginterrupt): Likewise.
10898         * signal/sigisempty.c (sigisemptyset): Likewise.
10899         * signal/sigismem.c (sigismember): Likewise.
10900         * signal/signal.c (signal): Likewise.
10901         * signal/sigorset.c (sigorset): Likewise.
10902         * signal/sigpause.c (__sigpause): Likewise.
10903         * signal/sigpending.c (sigpending): Likewise.
10904         * signal/sigprocmask.c (__sigprocmask): Likewise.
10905         * signal/sigrelse.c (sigrelse): Likewise.
10906         * signal/sigreturn.c (__sigreturn): Likewise.
10907         * signal/sigset.c (sigset): Likewise.
10908         * signal/sigsetmask.c (__sigsetmask): Likewise.
10909         * signal/sigstack.c (sigstack): Likewise.
10910         * signal/sigsuspend.c (__sigsuspend): Likewise.
10911         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10912         * signal/sysv_signal.c (__sysv_signal): Likewise.
10913         * socket/accept.c (accept): Likewise.
10914         * socket/accept4.c (__libc_accept4): Likewise.
10915         * socket/bind.c (__bind): Likewise.
10916         * socket/connect.c (__connect): Likewise.
10917         * socket/getpeername.c (getpeername): Likewise.
10918         * socket/getsockname.c (__getsockname): Likewise.
10919         * socket/getsockopt.c (getsockopt): Likewise.
10920         * socket/listen.c (__listen): Likewise.
10921         * socket/recv.c (__recv): Likewise.
10922         * socket/recvmsg.c (__recvmsg): Likewise.
10923         * socket/send.c (__send): Likewise.
10924         * socket/sendmsg.c (__sendmsg): Likewise.
10925         * socket/shutdown.c (shutdown): Likewise.
10926         * socket/sockatmark.c (sockatmark): Likewise.
10927         * socket/socket.c (__socket): Likewise.
10928         * stdio-common/ctermid.c (ctermid): Likewise.
10929         * stdio-common/cuserid.c (cuserid): Likewise.
10930         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10931         * stdio-common/remove.c (remove): Likewise.
10932         * stdio-common/rename.c (rename): Likewise.
10933         * stdio-common/renameat.c (renameat): Likewise.
10934         * stdio-common/tempname.c (__gen_tempname): Likewise.
10935         * stdio-common/xbug.c (InitBuffer): Likewise.
10936         (AppendToBuffer): Likewise.
10937         (ReadFile): Likewise.
10938         * stdlib/a64l.c (a64l): Likewise.
10939         * stdlib/drand48_r.c (drand48_r): Likewise.
10940         * stdlib/getcontext.c (getcontext): Likewise.
10941         * stdlib/getenv.c (getenv): Likewise.
10942         * stdlib/l64a.c (l64a): Likewise.
10943         * stdlib/llabs.c (llabs): Likewise.
10944         * stdlib/lldiv.c (lldiv): Likewise.
10945         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10946         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10947         * stdlib/putenv.c (putenv): Likewise.
10948         * stdlib/random.c (__srandom): Likewise.
10949         (__initstate): Likewise.
10950         (__setstate): Likewise.
10951         * stdlib/random_r.c (__srandom_r): Likewise.
10952         (__setstate_r): Likewise.
10953         (__random_r): Likewise.
10954         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10955         * stdlib/setcontext.c (setcontext): Likewise.
10956         * stdlib/setenv.c (setenv): Likewise.
10957         (unsetenv): Likewise.
10958         * stdlib/srand48.c (srand48): Likewise.
10959         * stdlib/srand48_r.c (__srand48_r): Likewise.
10960         * stdlib/swapcontext.c (swapcontext): Likewise.
10961         * stdlib/system.c (__libc_system): Likewise.
10962         * stdlib/tst-strtod.c (expand): Likewise.
10963         * stdlib/tst-strtol.c (expand): Likewise.
10964         * stdlib/tst-strtoll.c (expand): Likewise.
10965         * streams/fattach.c (fattach): Likewise.
10966         * streams/fdetach.c (fdetach): Likewise.
10967         * streams/getmsg.c (getmsg): Likewise.
10968         * streams/isastream.c (isastream): Likewise.
10969         * string/ffs.c (__ffs): Likewise.
10970         * string/ffsll.c (ffsll): Likewise.
10971         * string/memcmp.c (memcmp_common_alignment): Likewise.
10972         (memcmp_not_common_alignment): Likewise.
10973         (MEMCMP): Likewise.
10974         * string/memcpy.c (memcpy): Likewise.
10975         * string/memmove.c (MEMMOVE): Likewise.
10976         * string/memset.c (memset): Likewise.
10977         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10978         * string/strchrnul.c (STRCHRNUL): Likewise.
10979         * string/strerror.c (strerror): Likewise.
10980         * string/strndup.c (__strndup): Likewise.
10981         * string/strverscmp.c (__strverscmp): Likewise.
10982         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10983         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10984         (clnttcp_freeres): Likewise.
10985         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10986         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10987         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10988         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10989         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10990         (xdr_callhdr): Likewise.
10991         * sunrpc/rpcinfo.c (udpping): Likewise.
10992         (tcpping): Likewise.
10993         (pstatus): Likewise.
10994         (pmapdump): Likewise.
10995         (brdcst): Likewise.
10996         (deletereg): Likewise.
10997         (getprognum): Likewise.
10998         (getvers): Likewise.
10999         (get_inet_address): Likewise.
11000         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11001         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11002         (svcudp_stat): Likewise.
11003         (svcudp_recv): Likewise.
11004         (svcudp_reply): Likewise.
11005         (svcudp_getargs): Likewise.
11006         (svcudp_freeargs): Likewise.
11007         (svcudp_destroy): Likewise.
11008         * sunrpc/xdr.c (xdr_bytes): Likewise.
11009         (xdr_netobj): Likewise.
11010         (xdr_string): Likewise.
11011         (xdr_wrapstring): Likewise.
11012         * sunrpc/xdr_float.c (xdr_float): Likewise.
11013         (xdr_double): Likewise.
11014         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11015         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11016         * sysvipc/ftok.c (ftok): Likewise.
11017         * sysvipc/msgctl.c (msgctl): Likewise.
11018         * sysvipc/msgget.c (msgget): Likewise.
11019         * sysvipc/msgrcv.c (msgrcv): Likewise.
11020         * sysvipc/msgsnd.c (msgsnd): Likewise.
11021         * sysvipc/semget.c (semget): Likewise.
11022         * sysvipc/semop.c (semop): Likewise.
11023         * sysvipc/shmat.c (shmat): Likewise.
11024         * sysvipc/shmctl.c (shmctl): Likewise.
11025         * sysvipc/shmdt.c (shmdt): Likewise.
11026         * sysvipc/shmget.c (shmget): Likewise.
11027         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11028         * termios/speed.c (cfgetospeed): Likewise.
11029         (cfgetispeed): Likewise.
11030         (cfsetospeed): Likewise.
11031         (cfsetispeed): Likewise.
11032         * termios/tcflow.c (tcflow): Likewise.
11033         * termios/tcflush.c (tcflush): Likewise.
11034         * termios/tcgetattr.c (__tcgetattr): Likewise.
11035         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11036         * termios/tcgetsid.c (tcgetsid): Likewise.
11037         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11038         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11039         * time/adjtime.c (__adjtime): Likewise.
11040         * time/dysize.c (dysize): Likewise.
11041         * time/ftime.c (ftime): Likewise.
11042         * time/getitimer.c (__getitimer): Likewise.
11043         * time/gettimeofday.c (__gettimeofday): Likewise.
11044         * time/gmtime.c (__gmtime_r): Likewise.
11045         (gmtime): Likewise.
11046         * time/localtime.c (__localtime_r): Likewise.
11047         (localtime): Likewise.
11048         * time/offtime.c (__offtime): Likewise.
11049         * time/settimeofday.c (__settimeofday): Likewise.
11050         * time/stime.c (stime): Likewise.
11051         * time/strftime_l.c (tm_diff): Likewise.
11052         (iso_week_days): Likewise.
11053         * time/strptime.c (strptime): Likewise.
11054         * time/time.c (time): Likewise.
11055         * time/timespec_get.c (timespec_get): Likewise.
11056         * time/tzset.c (tzset_internal): Likewise.
11057         (compute_change): Likewise.
11058         (__tz_compute): Likewise.
11059         * wcsmbs/btowc.c (__btowc): Likewise.
11060         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11061         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11062         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11063         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11064         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11065         * wcsmbs/wcscat.c (__wcscat): Likewise.
11066         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11067         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11068         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11069         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11070         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11071         * wcsmbs/wcslen.c (__wcslen): Likewise.
11072         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11073         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11074         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11075         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11076         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11077         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11078         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11079         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11080         * wcsmbs/wcstok.c (wcstok): Likewise.
11081         * wcsmbs/wctob.c (wctob): Likewise.
11082         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11083         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11084         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11085         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11086         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11087         * wcsmbs/wmemset.c (__wmemset): Likewise.
11088         * wctype/wcfuncs.c (__towlower): Likewise.
11089         (__towupper): Likewise.
11091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11092         (lll_unlock_elision): Add adapt_count parameter.
11094 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11096         * sysdeps/nptl/configure.ac: Do not give errors based on the
11097         results of top-level configure tests.
11098         * sysdeps/nptl/configure: Regenerated.
11100         * configure.ac (libc_cv_Bgroup): Remove configure test.
11101         * configure: Regenerated.
11102         * config.make.in (have-Bgroup): Remove variable.
11104         * configure.ac (sizeof_long_double): Remove configure test.
11105         * configure: Regenerated.
11106         * config.make.in (sizeof-long-double): Remove variable.
11108         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11109         * configure: Regenerated.
11110         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11111         variable.
11112         (exceptions): Likewise.
11113         * sysdeps/arm/configure: Regenerated.
11114         * config.make.in (exceptions): Remove variable.
11115         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11116         $(exceptions).
11117         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11118         (CFLAGS-vdprintf_chk.c): Likewise.
11119         (CFLAGS-printf_chk.c): Likewise.
11120         (CFLAGS-fprintf_chk.c): Likewise.
11121         (CFLAGS-vprintf_chk.c): Likewise.
11122         (CFLAGS-vfprintf_chk.c): Likewise.
11123         (CFLAGS-gets_chk.c): Likewise.
11124         (CFLAGS-fgets_chk.c): Likewise.
11125         (CFLAGS-fgets_u_chk.c): Likewise.
11126         (CFLAGS-fread_chk.c): Likewise.
11127         (CFLAGS-fread_u_chk.c): Likewise.
11128         (CFLAGS-wprintf_chk.c): Likewise.
11129         (CFLAGS-fwprintf_chk.c): Likewise.
11130         (CFLAGS-vwprintf_chk.c): Likewise.
11131         (CFLAGS-vfwprintf_chk.c): Likewise.
11132         (CFLAGS-fgetws_chk.c): Likewise.
11133         (CFLAGS-fgetws_u_chk.c): Likewise.
11134         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11135         (CFLAGS-fputc.c): Likewise.
11136         (CFLAGS-fputwc.c): Likewise.
11137         (CFLAGS-freopen64.c): Likewise.
11138         (CFLAGS-freopen.c): Likewise.
11139         (CFLAGS-fseek.c): Likewise.
11140         (CFLAGS-fseeko64.c): Likewise.
11141         (CFLAGS-fseeko.c): Likewise.
11142         (CFLAGS-ftello64.c): Likewise.
11143         (CFLAGS-ftello.c): Likewise.
11144         (CFLAGS-fwide.c): Likewise.
11145         (CFLAGS-genops.c): Likewise.
11146         (CFLAGS-getc.c): Likewise.
11147         (CFLAGS-getchar.c): Likewise.
11148         (CFLAGS-getwc.c): Likewise.
11149         (CFLAGS-getwchar.c): Likewise.
11150         (CFLAGS-iofclose.c): Likewise.
11151         (CFLAGS-iofflush.c): Likewise.
11152         (CFLAGS-iofgetpos64.c): Likewise.
11153         (CFLAGS-iofgetpos.c): Likewise.
11154         (CFLAGS-iofgets.c): Likewise.
11155         (CFLAGS-iofgetws.c): Likewise.
11156         (CFLAGS-iofputs.c): Likewise.
11157         (CFLAGS-iofputws.c): Likewise.
11158         (CFLAGS-iofread.c): Likewise.
11159         (CFLAGS-iofsetpos64.c): Likewise.
11160         (CFLAGS-iofsetpos.c): Likewise.
11161         (CFLAGS-ioftell.c): Likewise.
11162         (CFLAGS-iofwrite.c): Likewise.
11163         (CFLAGS-iogetdelim.c): Likewise.
11164         (CFLAGS-iogetline.c): Likewise.
11165         (CFLAGS-iogets.c): Likewise.
11166         (CFLAGS-iogetwline.c): Likewise.
11167         (CFLAGS-ioputs.c): Likewise.
11168         (CFLAGS-ioseekoff.c): Likewise.
11169         (CFLAGS-ioseekpos.c): Likewise.
11170         (CFLAGS-iosetbuffer.c): Likewise.
11171         (CFLAGS-iosetvbuf.c): Likewise.
11172         (CFLAGS-ioungetc.c): Likewise.
11173         (CFLAGS-ioungetwc.c): Likewise.
11174         (CFLAGS-oldfileops.c): Likewise.
11175         (CFLAGS-oldiofclose.c): Likewise.
11176         (CFLAGS-oldiofgetpos64.c): Likewise.
11177         (CFLAGS-oldiofgetpos.c): Likewise.
11178         (CFLAGS-oldiofsetpos64.c): Likewise.
11179         (CFLAGS-oldiofsetpos.c): Likewise.
11180         (CFLAGS-peekc.c): Likewise.
11181         (CFLAGS-putc.c): Likewise.
11182         (CFLAGS-putchar.c): Likewise.
11183         (CFLAGS-putwc.c): Likewise.
11184         (CFLAGS-putwchar.c): Likewise.
11185         (CFLAGS-rewind.c): Likewise.
11186         (CFLAGS-wfileops.c): Likewise.
11187         (CFLAGS-wgenops.c): Likewise.
11188         (CFLAGS-oldiofopen.c): Likewise.
11189         (CFLAGS-iofopen.c): Likewise.
11190         (CFLAGS-iofopen64.c): Likewise.
11191         (CFLAGS-oldtmpfile.c): Likewise.
11192         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11193         (CFLAGS-fprintf.c): Likewise.
11194         (CFLAGS-printf.c): Likewise.
11195         (CFLAGS-vfwprintf.c): Likewise.
11196         (CFLAGS-vfscanf.c): Likewise.
11197         (CFLAGS-vfwscanf.c): Likewise.
11198         (CFLAGS-fscanf.c): Likewise.
11199         (CFLAGS-scanf.c): Likewise.
11200         (CFLAGS-isoc99_vfscanf.c): Likewise.
11201         (CFLAGS-isoc99_vscanf.c): Likewise.
11202         (CFLAGS-isoc99_fscanf.c): Likewise.
11203         (CFLAGS-isoc99_scanf.c): Likewise.
11204         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11205         (CFLAGS-isoc99_fwscanf.c): Likewise.
11206         (CFLAGS-isoc99_vwscanf.c): Likewise.
11207         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11209         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11210         after mkstemp64.
11211         * login/tst-utmp.c (do_prepare): Likewise.
11212         * rt/tst-aio.c (do_prepare): Likewise.
11213         * rt/tst-aio64.c (do_prepare): Likewise.
11215 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11217         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11218         (__lll_lock_elision): Remove adapt_count decrement...
11219         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11220         (__lll_trylock_elision): Likewise.
11221         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11222         (__lll_unlock_elision): ... to here. And utilize
11223         new adapt_count parameter.
11224         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11225         (__lll_unlock_elision): Update to include adapt_count
11226         parameter.
11227         (lll_unlock_elision): Pass pointer to adapt_count
11228         variable.
11230 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11232         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11233         Add elision adapt_count parameter to list of arguments.
11234         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11235         (lll_unlock_elision): Update with new parameter list
11236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11237         (lll_unlock_elision): Likewise.
11238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11239         (lll_unlock_elision): Likewise.
11241 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11243         [BZ #19122]
11244         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11245         attribute_hidden.
11247         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11248         attribute_hidden.
11249         [IS_IN (rtld)] (__strdup): Likewise.
11250         [IS_IN (rtld)] (__strerror_r): Likewise.
11251         [IS_IN (rtld)] (__strsep_g): Likewise.
11252         [IS_IN (rtld)] (memchr): Likewise.
11253         [IS_IN (rtld)] (memcmp): Likewise.
11254         [IS_IN (rtld)] (memcpy): Likewise.
11255         [IS_IN (rtld)] (memmove): Likewise.
11256         [IS_IN (rtld)] (memset): Likewise.
11257         [IS_IN (rtld)] (rawmemchr): Likewise.
11258         [IS_IN (rtld)] (stpcpy): Likewise.
11259         [IS_IN (rtld)] (strchr): Likewise.
11260         [IS_IN (rtld)] (strcmp): Likewise.
11261         [IS_IN (rtld)] (strlen): Likewise.
11262         [IS_IN (rtld)] (strnlen): Likewise.
11263         [IS_IN (rtld)] (strsep): Likewise.
11265         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11266         attribute_hidden.
11267         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11269         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11270         attribute_hidden.
11271         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11273         * include/setjmp.h (__longjmp): Add attribute_hidden.
11274         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11276         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11277         Add attribute_hidden.
11279         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11280         [IS_IN (rtld)] (__open): Likewise.
11281         [IS_IN (rtld)] (__fcntl): Likewise.
11283         * include/dirent.h (__opendirat): Add attribute_hidden.
11284         (__getdents): Likewise.
11285         (__getdents64): Likewise.
11286         (__alloc_dir): Likewise.
11287         [IS_IN (rtld)] (__closedir): Likewise.
11288         [IS_IN (rtld)] (__fdopendir): Likewise.
11289         [IS_IN (rtld)] (__readdir): Likewise.
11290         [IS_IN (rtld)] (__readdir64): Likewise.
11291         [IS_IN (rtld)] (__rewinddir): Likewise.
11293         * include/dlfcn.h (_dl_catch_error): Moved to ...
11294         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11295         attribute_hidden.
11297         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11298         (_itoa_word): Likewise.
11300         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11301         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11302         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11303         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11304         (_dl_higher_prime_number): Likewise.
11305         (_dl_debug_printf_c): Likewise.
11306         (_dl_signal_cerror): Likewise.
11307         (_dl_receive_error): Likewise.
11308         (_dl_reloc_bad_type): Likewise.
11309         (_dl_resolve_conflicts): Likewise.
11310         (_dl_check_all_versions): Likewise.
11311         (_dl_check_map_versions): Likewise.
11312         (_dl_sort_fini): Likewise.
11313         (_dl_debug_initialize): Likewise.
11314         (_dl_init_paths): Likewise.
11315         (_dl_show_auxv): Likewise.
11316         (_dl_next_ld_env_entry): Likewise.
11317         (_dl_important_hwcaps): Likewise.
11318         (_dl_load_cache_lookup): Likewise.
11319         (_dl_update_slotinfo): Likewise.
11320         (_dl_show_scope): Likewise.
11322         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11323         attribute_hidden.
11324         (_wordcopy_fwd_dest_aligned): Likewise.
11325         (_wordcopy_bwd_aligned): Likewise.
11326         (_wordcopy_bwd_dest_aligned): Likewise.
11328         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11329         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11330         Likewise.
11331         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11332         Likewise.
11333         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11335 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11338         GCC 5 requirement.
11340 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11342         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11343         test.
11344         * sysdeps/i386/configure: Regenerated.
11345         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11346         code unconditional.
11348         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11349         test.
11350         (libc_cv_asm_popsection_directive): Likewise.
11351         * configure: Regenerated.
11352         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11353         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11354         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11355         (__make_section_unallocated): Make definition unconditional.
11356         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11357         Remove conditional definition.
11358         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11359         (__make_section_unallocated): Likewise.
11361         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11362         * configure: Regenerated.
11363         * config.make.in (static-libgcc): Remove variable.
11364         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11365         $(static-libgcc).
11366         (build-module-helper): Likewise.
11368         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11369         * configure: Regenerated.
11371 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11373         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11374         (struct char_buffer): New type.
11375         (char_buffer_start, char_buffer_size, char_buffer_error)
11376         (char_buffer_rewind, char_buffer_add): New functions.
11377         (ADDW): Remove macro, replaced by the char_buffer_add function.
11378         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11379         of extend_alloca.  Make control flow more explicit.
11381 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11383         [BZ #19137]
11384         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11385         Add -fomit-frame-pointer.
11386         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11388 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11390         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11391         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11393         only if !__GNUC_PREREQ (5,0).
11394         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11395         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11396         (INTERNAL_SYSCALL_NCS): Likewise.
11397         (LOADREGS_0): New macro for GCC 5.
11398         (ASMARGS_0): Likewise.
11399         (LOADREGS_1): Likewise.
11400         (ASMARGS_1): Likewise.
11401         (LOADREGS_2): Likewise.
11402         (ASMARGS_2): Likewise.
11403         (LOADREGS_3): Likewise.
11404         (ASMARGS_3): Likewise.
11405         (LOADREGS_4): Likewise.
11406         (ASMARGS_4): Likewise.
11407         (LOADREGS_5): Likewise.
11408         (ASMARGS_5): Likewise.
11409         (LOADREGS_6): Likewise.
11410         (ASMARGS_6): Likewise.
11412 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11414         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11415         -fomit-frame-pointer.
11416         (CFLAGS-mmap64.c): Likewise.
11417         (CFLAGS-semtimedop.c): Likewise.
11418         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11419         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11420         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11421         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11423 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11425         [BZ #18928]
11426         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11427         _dl_pointer_guard member.
11428         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11429         initializer.
11430         (security_init): Always set up pointer guard.
11431         (process_envvars): Do not process LD_POINTER_GUARD.
11433 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11435         [BZ #19134]
11436         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11437         (.LC2): Likewise.
11438         (.LC3): Likewise.
11439         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11441 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11443         [BZ #19129]
11444         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11445         r0 and r1.
11447 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11449         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11451 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11453         * include/stap-probe.h: Fix macro definition formatting.
11455 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11457         [BZ #19074]
11458         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11459         load and store num_ifs.
11461 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11463         [BZ #18822]
11464         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11465         (__sched_getaffinity_new): Add libc_hidden_proto and
11466         libc_hidden_def.
11468 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11470         [BZ #19007]
11471         * scripts/localplt.awk: Also allow GOT references.
11472         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11473         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11474         with "+ REL R_386_GLOB_DAT".
11475         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11476         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11478 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11480         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11481         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11482         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11485         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11486         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11487         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11488         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11489         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11491         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11492         Likewise.
11493         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11495 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11497         [BZ #19125]
11498         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11499         <math_private.h> and <stdint.h>.
11500         (__llround): Avoid conversions to and from long long int, and
11501         subtractions, where those might raise spurious exceptions.
11502         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11503         <math_private.h> and <stdint.h>.
11504         (__llroundf): Avoid conversions to and from long long int, and
11505         subtractions, where those might raise spurious exceptions.
11507 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11509         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11510         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11511         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11512         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11513         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11514         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11515         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11516         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11517         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11518         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11519         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11520         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11521         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11522         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11523         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11524         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11525         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11526         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11527         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11528         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11529         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11530         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11531         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11532         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11533         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11534         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11535         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11536         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11537         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11538         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11539         (__xstat64_conv): Likewise.
11540         (__xstat32_conv): Likewise.
11542 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11544         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11545         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11546         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11547         <sysdeps/unix/sysv/linux/sysdep.h>.
11548         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11549         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11550         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11551         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11552         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11553         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11554         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11555         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11556         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11561         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11562         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11564         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11565         (sysdep-dl-routines): Add sysdep.
11566         [$(subdir) == nptl] (libpthread-routines): Likewise.
11567         [$(subdir) == rt] (librt-routines): Likewise.
11568         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11569         PIC when branching to SYSCALL_ERROR_LABEL.
11570         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11571         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11572         <sysdeps/unix/sysv/linux/sysdep.h>.
11573         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11574         (SYSCALL_ERROR_ERRNO): Removed.
11575         (SYSCALL_ERROR_HANDLER): Changed to empty.
11576         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11577         (__syscall_error): New prototype.
11578         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11579         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11581 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11583         [BZ #19124]
11584         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11585         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11586         _dl_runtime_resolve_avx.
11587         (_dl_runtime_profile_avx512): Make it a hidden alias of
11588         _dl_runtime_profile_avx.
11590 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11592         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11593         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11594         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11595         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11597         [BZ #16422]
11598         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11599         New configure test.
11600         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11601         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11602         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11603         <math_private.h> and <stdint.h>.
11604         (__llrint): Avoid conversions to long long int where those might
11605         raise spurious exceptions.
11606         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11607         <math_private.h> and <stdint.h>.
11608         (__llrintf): Avoid conversions to long long int where those might
11609         raise spurious exceptions.
11611 2015-10-12  Andreas Schwab  <schwab@suse.de>
11613         [BZ #18969]
11614         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11615         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11616         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11617         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11618         $(gen-locales).
11619         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11620         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11621         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11622         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11623         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11624         $(gen-locales).
11625         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11626         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11627         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11628         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11629         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11630         ($(objpfx)tst-ftell-active-handler.out)
11631         ($(objpfx)tst-ftell-append.out)
11632         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11633         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11634         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11635         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11636         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11637         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11638         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11639         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11640         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11641         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11642         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11643         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11644         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11645         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11646         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11647         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11648         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11649         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11650         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11651         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11652         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11653         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11654         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11655         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11656         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11657         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11658         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11659         $(gen-locales).
11660         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11661         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11662         $(gen-locales).
11663         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11664         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11665         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11666         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11667         $(gen-locales).
11668         * libio/tst_wprintf2.c (main): Use explicit locale.
11669         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11671 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11673         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11674         __msg_sig_post.
11675         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11677 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11679         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11682         * sysdeps/arm/libm-test-ulps: Regenerated.
11684         [BZ #15470]
11685         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11687         [BZ #16399]
11688         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11689         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11690         and <fix-fp-int-convert-overflow.h>.
11691         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11692         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11693         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11694         and <fix-fp-int-convert-overflow.h>.
11695         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11696         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11697         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11698         <fix-fp-int-convert-overflow.h>.
11699         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11700         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11701         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11702         <fix-fp-int-convert-overflow.h>.
11703         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11704         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11705         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11706         and <fix-fp-int-convert-overflow.h>.
11707         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11708         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11709         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11710         <limits.h> and <fix-fp-int-convert-overflow.h>.
11711         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11712         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11713         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11714         and <fix-fp-int-convert-overflow.h>.
11715         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11716         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11717         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11718         and <fix-fp-int-convert-overflow.h>.
11719         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11720         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11721         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11723 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11725         [BZ #18589]
11726         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11727         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11728         $(gen-locales).
11730 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11731             Phil Blundell <pb@pbcl.net>
11733         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11734         * nptl/tst-cancel26.c: New file.
11735         * nptl/tst-cancel27.c: Likewise.
11737 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11739         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11740         __ILP32__ isn't defined.
11741         (lrint): Likewise.
11742         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11743         (lrintf): Likewise.
11744         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11745         (lrintl): Likewise.
11746         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11747         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11748         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11750 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11752         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11753         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11755         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11756         file.
11757         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11758         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11760 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11762         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11763         configure test.
11764         * sysdeps/i386/configure: Regenerated.
11765         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11766         configure test.
11767         * sysdeps/x86_64/configure: Regenerated.
11768         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11769         Make code unconditional.
11771         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11772         test.
11773         * sysdeps/i386/configure: Regenerated.
11774         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11775         test.
11776         * sysdeps/x86_64/configure: Regenerated.
11777         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11778         Make code unconditional.
11779         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11780         Likewise.
11781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11782         Likewise.
11783         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11784         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11785         code unconditional.
11786         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11787         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11788         code unconditional.
11789         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11790         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11791         code unconditional.
11792         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11793         code unconditional.
11794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11795         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11796         code unconditional.
11797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11798         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11799         code unconditional.
11800         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11801         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11802         code unconditional.
11803         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11804         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11805         code unconditional.
11806         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11807         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11809         [BZ #19095]
11810         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11811         mantissa to long int before shifting left.
11813 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11815         [BZ #19094]
11816         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11817         <limits.h>.
11818         (__lrint) [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_llrintl.c: Include <fenv.h> and
11821         <limits.h>.
11822         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11823         when result overflows but exception would not result from cast.
11824         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11825         <limits.h>.
11826         (__lrintl) [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_llrintl.c: Include <fenv.h> and
11829         <limits.h>.
11830         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11831         when result overflows but exception would not result from cast.
11832         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11833         <limits.h>.
11834         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11835         when result overflows but exception would not result from cast.
11836         * math/libm-test.inc (lrint_test_data): Add more tests.
11837         (llrint_test_data): Likewise.
11839 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11841         [BZ #18872]
11842         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11843         Move out from under [$(run-built-tests) = yes] conditional.
11844         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11845         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11847 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11849         [BZ #18589]
11850         * string/Makefile (tests): Add bug-strcoll2.
11851         (LOCALES): Add cs_CZ.UTF-8.
11852         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11854         [BZ #18589]
11855         * string/bug-strcoll2.c: New file.
11856         * locale/categories.def: Revert commit
11857         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11858         * locale/langinfo.h: Likewise.
11859         * locale/localeinfo.h: Likewise.
11860         * locale/C-collate.c: Likewise.
11861         * locale/programs/ld-collate.c (collate_output): Likewise.
11862         * string/strcoll_l.c (STRDIFF): Likewise.
11863         (STRCOLL): Likewise.
11864         * wcsmbs/wcscoll_l.c: Likewise.
11866 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11868         * math/libm-test.inc (lround_test_data): Do not expect the absence
11869         of "inexact" for some tests with non-integer arguments.
11870         (llround_test_data): Likewise.
11872         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11873         test.
11874         (libc_cv_cc_sse2avx): Likewise.
11875         * sysdeps/i386/configure: Regenerated.
11876         * sysdeps/i386/i686/multiarch/Makefile
11877         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11878         [$(subdir) = math].
11879         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11880         code unconditional.
11881         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11882         Likewise.
11883         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11884         Likewise.
11885         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11886         Likewise.
11887         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11888         test.
11889         (libc_cv_cc_sse2avx): Likewise.
11890         * sysdeps/x86_64/configure: Regenerated.
11891         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11892         unconditional.
11893         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11894         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11895         unconditional.
11896         (_dl_runtime_profile)
11897         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11898         conditional code.
11899         * sysdeps/x86_64/fpu/multiarch/Makefile
11900         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11903         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11904         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11905         * sysdeps/x86_64/fpu/multiarch/e_log.c
11906         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11907         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11908         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11909         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11910         Likewise.
11911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11912         Likewise.
11913         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11914         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11915         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11916         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11917         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11918         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11919         (HAVE_SSE2AVX_SUPPORT): Likewise.
11921 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11923         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11924         instead of #pragma optimize.
11926 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11928         [BZ #17195]
11929         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11930         as is similarly done in systrim and _int_free already.
11932 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11934         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11936 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11938         [BZ #19088]
11939         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11940         <limits.h>.
11941         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11942         overflows but exception would not result from cast.
11943         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11944         and <limits.h>.
11945         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11946         overflows but exception would not result from cast.
11947         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11948         <limits.h>.
11949         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11950         overflows but exception would not result from cast.
11951         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11952         <limits.h>.
11953         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11954         overflows but exception would not result from cast.
11955         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11956         <limits.h>.
11957         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11958         overflows but exception would not result from cast.
11959         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11960         <limits.h>.
11961         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11962         overflows but exception would not result from cast.
11963         * math/libm-test.inc (lround_test_data): Add more tests.
11964         (llround_test_data): Likewise.
11966 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11968         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11969         (CFLAGS-ialloc.c): Ditto.
11970         (CFLAGS-scheck.c): Ditto.
11972 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11974         [BZ #19086]
11975         * manual/filesys.texi (Storage Allocation): Fix argument order for
11976         posix_fallocate64.
11978 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11980         [BZ #19085]
11981         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11982         exponent below 48 inside case for non-overflowing exponent.
11983         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11985 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11987         * iconvdata/cp737.h (from_idx): Add const.
11988         * iconvdata/cp775.h (from_idx): Likewise.
11990 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11992         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11993         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11994         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11996         [BZ #19079]
11997         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11998         file, conditioned on [!_LP64].
11999         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12000         [!_LP64] (__lround): Do not define as function or alias.
12001         [!_LP64] (lround): Likewise.
12002         [!_LP64] (__lroundl): Likewise.
12003         [!_LP64] (lroundl): Likewise.
12004         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12005         macro.
12006         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12007         Likewise.
12009 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12011         * math/libm-test.inc (lrint_test_data): Add more tests.
12012         (llrint_test_data): Likewise.
12013         (lround_test_data): Likewise.
12014         (llround_test_data): Likewise.
12016         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12017         (llrint_test_data): Add tests used for lrint.
12019         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12020         test.
12021         * sysdeps/i386/configure: Regenerated.
12022         * sysdeps/i386/i686/multiarch/Makefile
12023         [$(config-cflags-sse4) = yes]: Make code unconditional.
12024         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12025         Likewise.
12026         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12027         Likewise.
12028         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12029         test.
12030         * sysdeps/x86_64/configure: Regenerated.
12031         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12032         Make code unconditional.
12033         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12034         Likewise.
12035         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12036         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12038         * scripts/rpm2dynsym.sh: Remove file.
12040 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12042         * configure.ac (libc_cv_cxx_thread_local): Define.
12043         * configure: Regenerate.
12044         * config.make.in (have-cxx-thread_local): Define.
12045         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12046         (LDLIBS-tst-thread_local1): Define.
12047         (tests): Add tst-thread_local1.
12048         [have-cxx-thread_local != yes] (tests-unsupported): Add
12049         tst-thread_local1.
12050         * nptl/tst-thread_local1.cc: New file.
12052 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12054         [BZ #19078]
12055         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12056         (u_thres): Likewise.
12057         (__expl): Determine whether to call __kernel_standard_l based on
12058         value of result, not argument.
12060         * math/libm-test.inc (scalb_test_data): Add more expectations for
12061         the "inexact" exception.
12063         [BZ #19077]
12064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12065         0.0L for argument 1.0L.
12067         [BZ #19076]
12068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12069         constant 0.0L when computing infinite result.
12071 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12073         [BZ #10432]
12074         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12075         malloc_usable_size.
12077 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12079         [BZ #19018]
12080         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12081         Mangle function pointer before storing it.
12082         (__call_tls_dtors): Demangle function pointer before calling it.
12084 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12086         [BZ #19012]
12087         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12088         Clean up on failure.
12090 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #19071]
12093         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12094         long int variable to store possibly incremented high part of
12095         mantissa.
12096         * math/libm-test.inc (lround_test_data): Add tests used for
12097         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12098         for tests requiring 64-bit long.  Do not condition tests on
12099         [TEST_FLOAT] unnecessarily.
12100         (llround_test_data): Add tests used for lround.  Add another
12101         expectation for the "inexact" exception.  Do not condition tests
12102         on [TEST_FLOAT] unnecessarily.
12104         [BZ #887]
12105         [BZ #19049]
12106         [BZ #19050]
12107         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12108         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12109         <fix-int-fp-convert-zero.h>.
12110         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12111         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12112         <fix-int-fp-convert-zero.h>.
12113         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12114         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12115         <fix-int-fp-convert-zero.h>.
12116         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12117         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12118         <fix-int-fp-convert-zero.h>.
12119         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12120         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12121         <fix-int-fp-convert-zero.h>.
12122         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12123         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12124         <fix-int-fp-convert-zero.h>.
12125         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12126         * sysdeps/ieee754/flt-32/s_erff.c: Include
12127         <fix-int-fp-convert-zero.h>.
12128         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12129         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12130         <fix-int-fp-convert-zero.h>.
12131         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12133         <fix-int-fp-convert-zero.h>.
12134         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12135         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12136         <fix-int-fp-convert-zero.h>.
12137         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12138         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12139         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12140         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12141         file.
12142         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12144 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12148 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12150         [BZ #19059]
12151         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12152         overflowing computation.
12153         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12154         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12155         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12156         Likewise.
12157         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12158         Likewise.
12159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12160         Likewise.
12161         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12162         Likewise.
12163         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12164         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12165         Likewise.
12166         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12167         Likewise.
12168         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12170         * nss/rewrite_field.c (__nss_rewrite_field): Use
12171         internal_function.
12172         * nss/valid_field.c (__nss_valid_field): Likewise.
12173         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12175 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12177         [BZ #18724]
12178         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12179         (__nss_invalid_field_characters, __nss_valid_field)
12180         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12181         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12182         tst-field.c: New file.
12183         * nss/Makefile (routines): Add valid_field, rewrite_field.
12184         (tests-static): Define unconditionally.
12185         (tests): Include tests-static.
12186         [build-static-nss] (tests-static): Use append.
12187         [build-static-nss] (tests): Remove modification.
12188         * nss/getent.c (print_group): Call putgrent.  Report error.
12189         (print_gshadow): Call putsgent.  Report error.
12190         (print_passwd): Call putpwent.  Report error.
12191         (print_shadow): Call putspent.  Report error.
12192         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12193         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12194         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12195         name, password, directory, shell fields for valid syntax.  Rewrite
12196         GECOS field to match syntax.
12197         * pwd/Makefile (tests): Add tst-putpwent.
12198         * pwd/tst-putpwent.c: New file.
12199         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12200         Check grName, grpasswd, gr_mem fields for valid syntax.
12201         Change loop variable i to size_t.
12202         * grp/Makefile (tests): Add tst-putgrent.
12203         * grp/tst-putgrent.c: New file.
12204         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12205         valid syntax.
12206         * shadow/Makefile (tests): Add tst-putspent.
12207         * shadow/tst-putspent.c: New file.
12208         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12209         sg_mem fields for valid syntax.
12210         * gshadow/Makefile (tests): Add tst-putsgent.
12211         * gshadow/tst-putsgent.c: New file.
12213 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12215         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12216         assembly instructions.
12218 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12220         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12221         prefix from operands.
12223 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12225         [BZ #16347]
12226         [BZ #19046]
12227         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12228         <libc-internal.h>.
12229         (MAXLGM): Do not use diagnostic control macros.
12230         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12231         threshold for ldbl-128ibm.
12232         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12233         instead of multiplying by log then subtracting.
12234         * math/auto-libm-test-in: Add more tests of lgamma.
12235         * math/auto-libm-test-out: Regenerated.
12237         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12238         (TYPE_HEX_DIG): Likewise.
12239         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12240         precisions when printing floating-point numbers.
12241         (check_float_internal): Likewise.
12243 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12245         [BZ #16620]
12246         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12247         of log (10) rounded downward to 48 bits.
12248         (log10_low): Use corresponding low part of log (10).
12250         [BZ #19032]
12251         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12252         compute result as (x - x) / (x - x) not as 0 / 0.
12253         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12254         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12256         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12257         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12258         and expm1.
12259         * math/auto-libm-test-out: Regenerated.
12260         * math/libm-test.inc (acos_test_data): Add more tests.
12261         (asin_test_data): Likewise.
12262         (asinh_test_data): Likewise.
12263         (atan_test_data): Likewise.
12264         (atanh_test_data): Likewise.
12265         (atan2_test_data): Likewise.
12266         (cbrt_test_data): Likewise.
12267         (ceil_test_data): Likewise.
12268         (copysign_test_data): Likewise.
12269         (cos_test_data): Likewise.
12270         (cosh_test_data): Likewise.
12271         (erf_test_data): Likewise.
12272         (erfc_test_data): Likewise.
12273         (exp_test_data): Likewise.
12274         (exp10_test_data): Likewise.
12275         (exp2_test_data): Likewise.
12276         (expm1_test_data): Likewise.
12277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12279 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12281         [BZ #19006]
12282         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12283         to ...
12284         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12285         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12286         to ...
12287         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12288         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12289         to ...
12290         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12291         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12292         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12293         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12294         to ...
12295         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12296         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12297         Moved to ...
12298         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12299         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12300         Moved to ...
12301         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12303         to ...
12304         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12305         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12306         Moved to ...
12307         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12308         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12309         to ...
12310         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12311         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12312         Removed.
12313         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12316         Likewise.
12317         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12318         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12319         Likewise.
12320         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12321         Likewise.
12322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12323         Likewise.
12324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12327         Likewise.
12328         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12329         Likewise.
12330         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12331         Likewise.
12332         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12333         Likewise.
12334         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12335         Likewise.
12336         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12337         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12342         Likewise.
12343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12344         Likewise.
12345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12346         Likewise.
12347         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12348         Replace ../i486/pthread_cond_timedwait.S with
12349         ../pthread_cond_timedwait.S.
12351 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12353         * math/libm-test.inc (acos_test_data): Refine expectations for
12354         errno and "inexact" exceptions.
12355         (acosh_test_data): Likewise.
12356         (asin_test_data): Likewise.
12357         (asinh_test_data): Likewise.
12358         (atan_test_data): Likewise.
12359         (atanh_test_data): Likewise.
12360         (atan2_test_data): Likewise.
12361         (cbrt_test_data): Likewise.
12362         (ceil_test_data): Likewise.
12363         (copysign_test_data): Likewise.
12364         (cosh_test_data): Likewise.
12365         (erf_test_data): Likewise.
12366         (erfc_test_data): Likewise.
12367         (exp_test_data): Likewise.
12368         (exp10_test_data): Likewise.
12369         (exp2_test_data): Likewise.
12370         (expm1_test_data): Likewise.
12371         (fabs_test_data): Likewise.
12372         (floor_test_data): Likewise.
12373         (fma_test_data): Likewise.
12374         (fmax_test_data): Likewise.
12375         (fmin_test_data): Likewise.
12376         (fmod_test_data): Likewise.
12377         (fpclassify_test_data): Likewise.
12378         (frexp_test_data): Likewise.
12379         (hypot_test_data): Likewise.
12380         (ilogb_test_data): Likewise.
12381         (isgreater_test_data): Likewise.
12382         (isgreaterequal_test_data): Likewise.
12383         (isinf_test_data): Likewise.
12384         (isless_test_data): Likewise.
12385         (islessequal_test_data): Likewise.
12386         (islessgreater_test_data): Likewise.
12387         (isnan_test_data): Likewise.
12388         (isnormal_test_data): Likewise.
12389         (issignaling_test_data): Likewise.
12390         (isunordered_test_data): Likewise.
12391         (j0_test_data): Likewise.
12392         (j1_test_data): Likewise.
12393         (jn_test_data): Likewise.
12394         (lgamma_test_data): Likewise.
12395         (lrint_test_data): Likewise.
12396         (llrint_test_data): Likewise.
12397         (log_test_data): Likewise.
12398         (log10_test_data): Likewise.
12399         (log1p_test_data): Likewise.
12400         (log2_test_data): Likewise.
12401         (logb_test_data): Likewise.
12402         (lround_test_data): Likewise.
12403         (llround_test_data): Likewise.
12404         (modf_test_data): Likewise.
12405         (nearbyint_test_data): Likewise.
12406         (nextafter_test_data): Likewise.
12407         (nexttoward_test_data): Likewise.
12408         (pow_test_data): Likewise.
12409         (remainder_test_data): Likewise.
12410         (remquo_test_data): Likewise.
12411         (rint_test_data): Likewise.
12412         (round_test_data): Likewise.
12413         (signbit_test_data): Likewise.
12414         (sinh_test_data): Likewise.
12415         (sqrt_test_data): Likewise.
12416         (tanh_test_data): Likewise.
12417         (tgamma_test_data): Likewise.
12418         (trunc_test_data): Likewise.
12419         (y0_test_data): Likewise.
12420         (y1_test_data): Likewise.
12421         (yn_test_data): Likewise.
12422         (significand_test_data): Likewise.
12424 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12426         * manual/filesys.texi (Storage Allocation): Document that
12427         posix_fallocate emulation fails when fd is open with O_WRONLY.
12429 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12431         [BZ #19016]
12432         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12433         allow more cases with X^2 + Y^2 >= 0.5.
12434         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12435         normal element in sum instead of special-casing based on values of
12436         arguments.
12437         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12438         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12439         -1 as normal element in sum instead of special-casing based on
12440         values of arguments.
12441         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12442         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12443         (__x2y2m1): Update comment.
12444         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12445         as normal element in sum instead of special-casing based on values
12446         of arguments.
12447         * math/s_clog.c (__clog): Handle more cases using log1p without
12448         hypot.
12449         * math/s_clog10.c (__clog10): Likewise.
12450         * math/s_clog10f.c (__clog10f): Likewise.
12451         * math/s_clog10l.c (__clog10l): Likewise.
12452         * math/s_clogf.c (__clogf): Likewise.
12453         * math/s_clogl.c (__clogl): Likewise.
12454         * math/auto-libm-test-in: Add more tests of clog and clog10.
12455         * math/auto-libm-test-out: Regenerated.
12456         * sysdeps/i386/fpu/libm-test-ulps: Update.
12457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12459 2015-09-28  Martin Sebor  <msebor@redhat.com>
12461         [BZ #18969]
12462         * string/Makefile (LOCALES): Define.
12463         (gen-locales.mk): Include.
12464         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12465         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12466         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12467         on setlocale failure.
12469 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12471         [BZ #18985]
12472         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12473         (__strftime_internal): Likewise.
12474         * time/tst-strftime.c (do_bz18985): New test.
12475         (do_test): Call it.
12477 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12479         [BZ #18956]
12480         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12481         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12482         extracting high part.
12483         * math/auto-libm-test-in: Add another test of pow.
12484         * math/auto-libm-test-out: Regenerated.
12485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12487 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12489         [BZ #18825]
12490         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12491         New macro.
12492         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12493         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12494         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12495         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12496         DBL_NARROW_EVAL, reloading the PIC register as needed.
12497         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12498         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12499         FLT_NARROW_EVAL.  Use separate return path for case when first
12500         argument is NaN.
12501         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12502         DEFINE_LDBL_MIN.
12503         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12504         PIC register.
12505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12506         math_check_force_underflow_nonneg.
12507         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12508         underflow for subnormal result.
12509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12511         math_check_force_underflow_nonneg.
12512         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12513         math_check_force_underflow.
12514         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12515         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12516         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12517         DEFINE_LDBL_MIN.
12518         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12519         * math/auto-libm-test-in: Add more tests of pow.
12520         * math/auto-libm-test-out: Regenerated.
12522 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12524         * nss/bug17079.c (init_test_items): Add diagnostic for
12525         inconsistent entries.
12526         (test_buffer_size): Skip inconsistent entries.
12528 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12530         [BZ #13304]
12531         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12532         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12533         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12535         [BZ #13304]
12536         * sysdeps/microblaze/s_fma.c: New file.
12537         * sysdeps/microblaze/s_fmaf.c: Likewise.
12538         * sysdeps/microblaze/sfp-machine.h: Likewise.
12540 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12542         [BZ #17250]
12543         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12544         member.
12546 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #18803]
12549         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12550         (MO): New macro.
12551         (__ieee754_hypot) [PIC]: Load PIC register.
12552         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12553         DBL_NARROW_EVAL.
12554         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12555         math_check_force_underflow_nonneg in case where result might be
12556         tiny.
12557         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12558         Likewise.
12559         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12560         Likewise.
12561         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12562         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12563         * math/auto-libm-test-in: Add more tests of hypot.
12564         * math/auto-libm-test-out: Regenerated.
12566 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12568         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12570 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12572         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12573         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12574         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12575         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12576         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12577         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12578         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12580         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12581         LOAD_PIC_REG.
12583         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12584         (FLT_CHECK_FORCE_UFLOW): Likewise.
12585         (DBL_CHECK_FORCE_UFLOW): Likewise.
12586         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12587         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12588         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12589         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12590         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12591         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12592         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12593         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12594         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12596         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12597         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12598         (flt_min): Replace with use of DEFINE_FLT_MIN.
12599         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12600         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12602         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12603         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12604         (flt_min): Replace with use of DEFINE_FLT_MIN.
12605         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12606         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12607         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12608         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12609         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12610         (flt_min): Replace with use of DEFINE_FLT_MIN.
12611         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12612         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12613         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12614         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12615         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12616         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12617         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12618         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12620         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12621         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12622         (flt_min): Replace with use of DEFINE_FLT_MIN.
12623         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12624         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12626         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12627         main computation.
12628         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12629         (flt_min): Replace with use of DEFINE_FLT_MIN.
12630         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12631         main computation.
12632         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12633         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12634         (MO): New macro.
12635         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12636         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12637         (flt_min): Replace with use of DEFINE_FLT_MIN.
12638         (MO): New macro.
12639         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12640         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12641         (__log1pl): Use MO.
12643         [BZ #19003]
12644         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12645         $(config-cflags-nofma).
12647 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12649         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12651 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12653         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12654         (TWO127): Likewise.
12656         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12657         (min_of_type): Likewise.
12658         (math_check_force_underflow): Likewise.
12659         (math_check_force_underflow_nonneg): Likewise.
12660         (math_check_force_underflow_complex): Likewise.
12661         * math/e_exp2l.c (__ieee754_exp2l): Use
12662         math_check_force_underflow_nonneg.
12663         * math/k_casinh.c (__kernel_casinh): Likewise.
12664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12666         * math/s_catan.c (__catan): Use
12667         math_check_force_underflow_complex.
12668         * math/s_catanf.c (__catanf): Likewise.
12669         * math/s_catanh.c (__catanh): Likewise.
12670         * math/s_catanhf.c (__catanhf): Likewise.
12671         * math/s_catanhl.c (__catanhl): Likewise.
12672         * math/s_catanl.c (__catanl): Likewise.
12673         * math/s_ccosh.c (__ccosh): Likewise.
12674         * math/s_ccoshf.c (__ccoshf): Likewise.
12675         * math/s_ccoshl.c (__ccoshl): Likewise.
12676         * math/s_cexp.c (__cexp): Likewise.
12677         * math/s_cexpf.c (__cexpf): Likewise.
12678         * math/s_cexpl.c (__cexpl): Likewise.
12679         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12680         * math/s_clog10.c (__clog10): Likewise.
12681         * math/s_clog10f.c (__clog10f): Likewise.
12682         * math/s_clog10l.c (__clog10l): Likewise.
12683         * math/s_clogf.c (__clogf): Likewise.
12684         * math/s_clogl.c (__clogl): Likewise.
12685         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12686         * math/s_csinf.c (__csinf): Likewise.
12687         * math/s_csinh.c (__csinh): Likewise.
12688         * math/s_csinhf.c (__csinhf): Likewise.
12689         * math/s_csinhl.c (__csinhl): Likewise.
12690         * math/s_csinl.c (__csinl): Likewise.
12691         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12692         * math/s_csqrtf.c (__csqrtf): Likewise.
12693         * math/s_csqrtl.c (__csqrtl): Likewise.
12694         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12695         * math/s_ctanf.c (__ctanf): Likewise.
12696         * math/s_ctanh.c (__ctanh): Likewise.
12697         * math/s_ctanhf.c (__ctanhf): Likewise.
12698         * math/s_ctanhl.c (__ctanhl): Likewise.
12699         * math/s_ctanl.c (__ctanl): Likewise.
12700         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12701         instead of volatile.
12702         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12703         math_check_force_underflow.
12704         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12705         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12706         volatile when forcing underflow.
12707         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12708         math_check_force_underflow_nonneg.
12709         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12710         Likewise.
12711         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12712         math_check_force_underflow.
12713         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12714         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12715         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12716         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12717         math_check_force_underflow_nonneg.
12718         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12719         math_check_force_underflow.
12720         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12722         instead of volatile.
12723         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12724         math_check_force_underflow.
12725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12727         math_check_force_underflow_nonneg.
12728         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12729         math_check_force_underflow.
12730         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12731         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12732         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12733         math_check_force_underflow_nonneg.
12734         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12735         Likewise.
12736         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12737         math_check_force_underflow.
12738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12739         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12740         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12741         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12742         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12743         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12744         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12745         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12746         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12747         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12748         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12749         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12750         Likewise.
12751         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12752         math_check_force_underflow_nonneg.
12753         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12754         Likewise.
12755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12756         math_check_force_underflow.
12757         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12758         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12759         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12760         Likewise.
12761         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12762         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12763         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12764         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12765         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12766         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12768         instead of volatile.
12769         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12770         math_check_force_underflow.
12771         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12773         math_check_force_underflow.
12774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12775         Likewise.
12776         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12777         Use math_check_force_underflow_nonneg.
12778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12779         math_check_force_underflow.
12780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12781         Likewise.
12782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12783         Likewise.
12784         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12786         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12790         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12791         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12792         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12793         math_check_force_underflow_nonneg.
12794         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12795         math_check_force_underflow.
12796         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12797         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12798         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12799         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12800         math_check_force_underflow_nonneg.
12801         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12802         math_check_force_underflow.
12803         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12805         instead of volatile.
12806         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12807         math_check_force_underflow.
12809         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12810         * stdlib/strtod_l.c: Include <math_private.h>.
12811         (overflow_value): Use math_narrow_eval.
12812         (underflow_value): Likewise.
12813         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12814         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12815         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12816         (__ieee754_gamma_r): Likewise.
12817         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12818         Likewise.
12819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12820         Likewise.
12821         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12822         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12823         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12824         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12825         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12826         (__ieee754_gammaf_r): Likewise.
12827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12828         Likewise.
12829         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12830         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12831         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12832         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12833         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12834         volatile.
12835         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12836         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12837         math_narrow_eval.
12838         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12839         Likewise.
12840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12841         Likewise.
12842         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12843         Likewise.
12844         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12845         volatile.
12846         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12847         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12848         math_narrow_eval.
12849         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12850         Likewise.
12851         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12852         Likewise.
12854 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12856         * nptl/Versions: Remove ignored symbols.
12858 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12860         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12861         * nss/Makefile (tests): Update.
12863 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12865         * nss/bug18287.c: New file.
12866         * nss/Makefile (tests): Add bug18287.
12868 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12870         * mach/Versions (__mach_host_self_): Add symbol.
12872 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12874         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12875         vm_page_size.
12877 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12879         Really fix sysdeps/i386/fpu/s_scalbn.S build
12881         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12882         (libc: GLIBC_2_22): Remove unused version set.
12884 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12886         * config.make.in (enable-timezone-tools): New variable.
12887         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12888         (enable_timezone_tools): Export to generated files.
12889         * configure: Regenerate.
12890         * INSTALL: Regenerate.
12891         * manual/install.texi (--disable-timezone-tools): Document new flag.
12892         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12893         ifeq ($(enable-timezone-tools),yes) check.
12895 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12897         * timezone/Makefile: Revert previous change.
12899         [BZ #18980]
12900         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12901         (DEFINE_DBL_MIN): Likewise.
12902         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12903         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12904         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12905         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12906         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12907         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12908         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12909         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12910         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12912         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12913         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12914         (flt_min): Replace with use of DEFINE_FLT_MIN.
12915         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12916         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12917         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12918         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12919         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12920         (flt_min): Replace with use of DEFINE_FLT_MIN.
12921         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12922         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12923         (flt_min): Replace with use of DEFINE_FLT_MIN.
12924         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12925         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12926         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12927         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12928         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12929         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12930         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12931         (__ieee754_pow): Use DBL_NARROW_EVAL.
12932         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12933         (__ieee754_powf): Use FLT_NARROW_EVAL.
12934         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12935         (__ieee754_expf_sse2): Convert double-precision result to single
12936         precision.
12937         * sysdeps/i386/fpu/libm-test-ulps: Update.
12939 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12941         * timezone/Makefile: Ignore unused variable errors due to private.h
12942         (time_t_min) and (time_t_max).
12943         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12944         Likewise.
12946 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12948         [BZ #18981]
12949         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12950         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12951         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12952         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12953         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12954         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12955         (__scalbn): Use DBL_NARROW_EVAL.
12956         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12957         (__scalbnf): Use FLT_NARROW_EVAL.
12959 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12961         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12962         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12963         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12964         * stdio-common/printf_fp.c (___printf_fp):
12965         Use signbit to get the sign. Use isinf macro to allow inlining.
12966         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12967         * stdio-common/printf_size.c (__printf_size): Likewise.
12969 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12971         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12973 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12975         [BZ #18980]
12976         * sysdeps/generic/math_private.h: Include <float.h>.
12977         (math_narrow_eval): New macro.
12978         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12979         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12980         math_narrow_eval on overflowing return value.
12981         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12982         Likewise.
12983         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12984         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12986         Likewise.
12987         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12989 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12991         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12992         * math/Makefile: Remove isinf_ns.c.
12993         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12994         * math/multc3.c (__multc3): Likewise.
12995         * math/s_casin.c (__casin): Likewise.
12996         * math/s_casinf.c (__casinf): Likewise.
12997         * math/s_casinl.c (__casinl): Likewise.
12998         * math/s_cproj.c (__cproj): Likewise.
12999         * math/s_cprojf.c (__cprojf): Likewise.
13000         * math/s_cprojl.c (__cprofl): Likewise.
13001         * math/s_ctan.c (__ctan): Likewise.
13002         * math/s_ctanf.c (__ctanf): Likewise.
13003         * math/s_ctanh.c (__ctanh): Likewise.
13004         * math/s_ctanhf.c (__ctanhf): Likewise.
13005         * math/s_ctanhl.c (__ctanhl): Likewise.
13006         * math/s_ctanl.c (__ctanl): Likewise.
13007         * math/w_fmod.c (__fmod): Likewise.
13008         * math/w_fmodf.c (__fmodf): Likewise.
13009         * math/w_fmodl.c (_fmodl): Likewise.
13010         * math/w_remainder.c (__remainder): Likewise.
13011         * math/w_remainderf.c (__remainderf): Likewise.
13012         * math/w_remainderl.c (__remainderl): Likewise.
13013         * math/w_scalb.c (__scalb): Likewise.
13014         * math/w_scalbf.c (__scalbf): Likewise.
13015         * math/w_scalbl.c (__scalbl): Likewise.
13016         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13017         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13018         with isinf.
13019         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13021         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13022         __isinf_nsf with isinf.
13023         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13024         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13025         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13026         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13027         with isinf.
13028         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13029         __isinf_nsl with isinf.
13030         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13031         with isinf.
13032         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13033         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13034         __isinf_nsl with isinf.
13035         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13036         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13037         with isinf.
13039 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13041         * resolv/base64.c (rcsid): Remove unused static.
13042         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13043         static.  (tqpi1): Likewise.
13044         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13045         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13046         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13047         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13048         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13049         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13051         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13052         Likewise.
13054 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13056         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13057         <nptl/pthreadP.h>.
13058         (_longjmp_unwind): Use __libc_ptf_call.
13059         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13061 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13063         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13064         * sysdeps/arm/__longjmp.S: Likewise.
13066 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13068         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13069         Use __builtin_signbit.
13070         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13071         Use __builtin_signbitf.
13072         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13073         Use __builtin_signbitl.
13074         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13075         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13077 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13079         [BZ #15367]
13080         [BZ #17441]
13082         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13083         * math/math.h (fpclassify): Use __builtin_fpclassify when
13084         available.  (signbit): Use __builtin_signbit(f/l).
13085         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13086         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13087         (isinf): Use __builtin_isinf_sign.
13089 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13091         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13092         * benchtests/bench-math-inlines.c: New benchmark.
13093         * benchtests/bench-util.h: New file.
13094         * benchtests/bench-util.c: New file.
13095         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13097 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13099         * elf/tst-dlmopen1.c: Define TEST_SO.
13100         (do_test): Use TEST_SO.
13102         * elf/dl-load.c: Include libc-internal.h.
13103         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13105 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13107         [BZ #17887]
13108         * time/strptime_l.c (__strptime_internal): Make %z accept
13109         [+-]HH:MM time zones.
13111 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13113         [BZ #17886]
13114         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13115         valid time zone.
13117 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13119         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13120         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13121         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13122         (__ASSUME_FDATASYNC): Delete.
13124 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13126         * conform/linknamespace.pl: Require weak undefined symbols to be
13127         in the standard namespace.
13128         (%strong_syms): Rename to %seen_syms.
13129         (%strong_seen): Rename to %seen_where.
13131 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13133         [BZ #18970]
13134         * misc/error.c (error): Replace pthread_setcancelstate with
13135         __pthread_setcancelstate.
13136         (error_at_line): Likewise.
13137         * posix/wordexp.c (parse_comm): Likewise.
13138         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13139         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13140         (__pthread_setcancelstate): This.
13141         (pthread_setcancelstate): Add an alias.
13142         * nptl/nptl-init.c (pthread_functions): Replace
13143         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13144         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13145         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13146         hidden_proto.
13147         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13148         it with hidden_def.
13149         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13150         (pthread_setcancelstate): Renamed to ...
13151         (__pthread_setcancelstate): This.
13152         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13153         __libc_ptf_call with __pthread_setcancelstate.
13155 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13156             Andreas Schwab  <schwab@suse.de>
13158         [BZ #17118]
13159         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13160         result when imaginary part of argument is infinite using sine and
13161         cosine.
13162         * math/s_ctanf.c (__ctanf): Likewise.
13163         * math/s_ctanl.c (__ctanl): Likewise.
13164         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13165         of result when real part of argument is infinite using sine and
13166         cosine.
13167         * math/s_ctanhf.c (__ctanhf): Likewise.
13168         * math/s_ctanhl.c (__ctanhl): Likewise.
13169         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13170         (ctanh_test_data): Add more tests of ctanh.
13172 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13174         [BZ #15384]
13175         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13176         bit-mask as in subtraction.
13177         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13178         Likewise.
13179         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13180         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13181         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13183         [BZ #18951]
13184         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13185         underflow exception for small results.
13186         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13187         Likewise.
13188         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13189         Likewise.
13190         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13191         Likewise.
13192         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13193         Likewise.
13194         * math/auto-libm-test-in: Add more tests of tgamma.
13195         * math/auto-libm-test-out: Regenerated.
13197 2015-09-17  Andreas Schwab  <schwab@suse.de>
13199         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13201 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13203         [BZ #18977]
13204         * math/bits/mathcalls.h
13205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13206         not declare.
13207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13208         Likewise.
13209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13210         Likewise.
13211         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13212         Likewise.
13213         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13214         Likewise.
13215         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13216         Likewise.
13217         * conform/data/math.h-data
13218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13219         function.
13220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13225         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13227         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13228         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13229         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13230         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13232         [BZ #6803]
13233         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13234         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13235         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13236         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13237         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13238         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13239         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13240         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13241         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13243         Likewise.
13244         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13245         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13248         long_double_symbol calls.
13249         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13250         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13251         strong alias of __ldexpl.
13252         (scalbnl): Define using long_double_symbol.
13253         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13254         Remove alias.
13255         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13256         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13257         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13258         (scalbln_test_data): Add more errno expectations.
13260 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13262         Cache the host port like we cache the task port.  This way we do not
13263         need to call the kernel just to get the port.  Furthermore, we no
13264         longer increase the reference count on every invocation of
13265         `mach_host_self'.
13267         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13268         Protect declarations against the macro expansion.
13269         * mach/mach_init.c (__mach_host_self_): New variable.
13270         (mach_init): Initialize `__mach_host_self_'.
13271         * mach/mach_init.h (__mach_host_self_): New declaration.
13272         (__mach_host_self, mach_host_self): New macros.
13273         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13274         Release reference.
13276 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13278         [BZ #4404]
13279         * po/de.po: Update from Translation Project.
13281         [BZ #16415]
13282         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13283         (__expm1l): Remove code to handle positive infinity and overflow.
13284         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13285         variable.
13286         (__expm1l): Remove code to handle positive infinity and overflow.
13288 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13289             Paul Pluzhnikov  <ppluzhnikov@google.com>
13291         [BZ #18872]
13292         * stdio-common/Makefile (tst-printf-bz18872): New test.
13293         (tst-printf-bz18872-mem.out): Likewise.
13294         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13295         * stdio-common/vfprintf.c: Fix memory leaks.
13297 2015-09-16  Andreas Schwab  <schwab@suse.de>
13299         [BZ #17244]
13300         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13301         Remove extra va_start/va_end calls.
13303         [BZ #17243]
13304         * posix/execl.c (execl): Add missing va_end.
13305         * posix/execle.c (execle): Likewise.
13306         * posix/execlp.c (execlp): Likewise.
13308 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13310         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13311         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13313 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13315         [BZ #18967]
13316         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13317         undefine around includes of <bits/mathcalls.h>.
13318         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13319         not declare function.
13320         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13321         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13322         (scalb): Likewise.
13323         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13324         not define macro.
13325         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13326         variable.
13327         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13328         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13329         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13331         [BZ #18857]
13332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13333         return non-finite argument without doing ordered comparisons on
13334         it.
13336         [BZ #16296]
13337         * math/fenv.h (fegetround): Use __attribute_pure__.
13338         * include/fenv.h (__fegetround): Likewise.
13340         [BZ #18595]
13341         * math/s_ctan.c (__ctan): Force underflow exception for results
13342         whose real or imaginary part has small absolute value.
13343         * math/s_ctanf.c (__ctanf): Likewise.
13344         * math/s_ctanh.c (__ctanh): Likewise.
13345         * math/s_ctanhf.c (__ctanhf): Likewise.
13346         * math/s_ctanhl.c (__ctanhl): Likewise.
13347         * math/s_ctanl.c (__ctanl): Likewise.
13348         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13349         and ctanh.  Add more tests of ctan and ctanh.
13351         [BZ #15918]
13352         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13353         handling of cases where one argument is an infinity.
13355         [BZ #18875]
13356         [BZ #18966]
13357         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13358         (MO): New macro.
13359         (__ieee754_exp10): For small results, force underflow exception
13360         and remove excess range and precision from return value.
13361         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13362         (MO): New macro.
13363         (__ieee754_exp10f): For small results, force underflow exception
13364         and remove excess range and precision from return value.
13365         * math/auto-libm-test-in: Add more tests of exp10.
13366         * math/auto-libm-test-out: Regenerated.
13368 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13370         [BZ #18875]
13371         [BZ #18961]
13372         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13373         (MO): New macro.
13374         (__ieee754_exp): For small results, force underflow exception and
13375         remove excess range and precision from return value.
13376         (__exp_finite): Likewise.
13377         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13378         (MO): New macro.
13379         (__ieee754_expf): For small results, force underflow exception and
13380         remove excess range and precision from return value.
13381         (__expf_finite): Likewise.
13382         * math/auto-libm-test-in: Add more tests of exp.
13383         * math/auto-libm-test-out: Regenerated.
13385         [BZ #16521]
13386         [BZ #18875]
13387         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13388         small results.
13389         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13390         (MO): New macro.
13391         (__ieee754_exp2): For small results, force underflow exception and
13392         remove excess range and precision from return value.
13393         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13394         (MO): New macro.
13395         (__ieee754_exp2f): For small results, force underflow exception
13396         and remove excess range and precision from return value.
13397         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13398         (MO): New macro.
13399         (__ieee754_exp2l): Force underflow exception for small results.
13400         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13401         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13402         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13403         (MO): New macro.
13404         (__ieee754_exp2l): Force underflow exception for small results.
13405         * math/auto-libm-test-in: Add more tests or exp2.
13406         * math/auto-libm-test-out: Regenerated.
13408 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13410         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13412         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13413         /dev/null.
13415 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13417         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13418         io fs process)): Drop spurious backslash.
13420 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13423         Use sysinfo system call instead of parsing /proc/meminfo.
13424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13425         Likewise.
13427 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13429         [BZ #16985]
13430         * programs/localedef.c (main): Display argv[remaining] when
13431         output_path is NULL.
13433 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13435         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13436         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13437         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13438         tanh.
13439         * math/auto-libm-test-out: Regenerated.
13440         * sysdeps/i386/fpu/libm-test-ulps: Update.
13441         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13442         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13445 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13447         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13448         Use 'override' keyword to freeze the value here, preventing
13449         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13451 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #14912]
13454         * sysdeps/aarch64/bits/atomic.h: Move to ...
13455         * sysdeps/aarch64/atomic-machine.h: ...here.
13456         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13457         _AARCH64_ATOMIC_MACHINE_H.
13458         * sysdeps/alpha/bits/atomic.h: Move to ...
13459         * sysdeps/alpha/atomic-machine.h: ...here.
13460         * sysdeps/arm/bits/atomic.h: Move to ...
13461         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13462         * bits/atomic.h: Move to ...
13463         * sysdeps/generic/atomic-machine.h: ...here.
13464         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13465         * sysdeps/i386/bits/atomic.h: Move to ...
13466         * sysdeps/i386/atomic-machine.h: ...here.
13467         * sysdeps/ia64/bits/atomic.h: Move to ...
13468         * sysdeps/ia64/atomic-machine.h: ...here.
13469         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13470         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13471         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13472         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13473         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13474         * sysdeps/microblaze/bits/atomic.h: Move to ...
13475         * sysdeps/microblaze/atomic-machine.h: ...here.
13476         * sysdeps/mips/bits/atomic.h: Move to ...
13477         * sysdeps/mips/atomic-machine.h: ...here.
13478         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13479         * sysdeps/powerpc/bits/atomic.h: Move to ...
13480         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13481         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13482         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13483         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13484         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13485         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13486         <atomic-machine.h> instead of <bits/atomic.h>.
13487         * sysdeps/s390/bits/atomic.h: Move to ...
13488         * sysdeps/s390/atomic-machine.h: ...here.
13489         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13490         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13491         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13492         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13493         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13494         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13495         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13496         * sysdeps/tile/bits/atomic.h: Move to ...
13497         * sysdeps/tile/atomic-machine.h: ...here.
13498         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13499         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13500         <sysdeps/tile/atomic-machine.h> instead of
13501         <sysdeps/tile/bits/atomic.h>.
13502         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13503         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13504         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13505         <sysdeps/tile/atomic-machine.h> instead of
13506         <sysdeps/tile/bits/atomic.h>.
13507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13508         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13509         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13510         <sysdeps/arm/atomic-machine.h> instead of
13511         <sysdeps/arm/bits/atomic.h>.
13512         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13513         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13514         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13515         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13516         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13517         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13518         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13519         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13520         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13521         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13522         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13523         * sysdeps/x86_64/bits/atomic.h: Move to ...
13524         * sysdeps/x86_64/atomic-machine.h: ...here.
13525         * include/atomic.h: Include <atomic-machine.h> instead of
13526         <bits/atomic.h>.
13528         * sysdeps/mips/mips32/libm-test-ulps: Update.
13529         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13531         [BZ #18952]
13532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13533         not convert non-integer negative arguments to int to determine the
13534         value of signgam.
13535         * math/auto-libm-test-in: Add more tests of lgamma.
13536         * math/auto-libm-test-out: Regenerated.
13538         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13539         cosh, csqrt, erfc, expm1 and lgamma.
13540         * math/auto-libm-test-out: Regenerated.
13541         * sysdeps/i386/fpu/libm-test-ulps: Update.
13542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13546         [BZ #2542]
13547         [BZ #2543]
13548         [BZ #2558]
13549         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13550         __lgamma_neg for arguments from -28.0 to -2.0.
13551         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13552         __lgamma_negf for arguments from -15.0 to -2.0.
13553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13554         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13555         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13556         Call __lgamma_negl for arguments from -33.0 to -2.0.
13557         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13558         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13559         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13560         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13561         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13562         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13563         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13564         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13565         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13567         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13568         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13569         (__lgamma_neg): Likewise.
13570         (__lgamma_negl): Likewise.
13571         (__lgamma_product): Likewise.
13572         (__lgamma_productl): Likewise.
13573         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13574         * math/auto-libm-test-in: Add more tests of lgamma.
13575         * math/auto-libm-test-out: Regenerated.
13576         * sysdeps/i386/fpu/libm-test-ulps: Update.
13577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13579 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13581         [BZ #18675]
13582         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13584 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13586         [BZ #14912]
13587         * bits/libc-lock.h: Move to ...
13588         * sysdeps/generic/libc-lock.h: ...here.
13589         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13590         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13591         * sysdeps/mach/hurd/libc-lock.h: ...here.
13592         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13593         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13594         * sysdeps/mach/bits/libc-lock.h: Move to ...
13595         * sysdeps/mach/libc-lock.h: ...here.
13596         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13597         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13598         * sysdeps/nptl/libc-lock.h: ...here.
13599         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13600         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13601         * sysdeps/nptl/libc-lockP.h: ...here.
13602         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13603         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13604         <bits/libc-lock.h>.
13605         * dirent/scandir-tail.c: Likewise.
13606         * dlfcn/dlerror.c: Likewise.
13607         * elf/dl-close.c: Likewise.
13608         * elf/dl-iteratephdr.c: Likewise.
13609         * elf/dl-lookup.c: Likewise.
13610         * elf/dl-open.c: Likewise.
13611         * elf/dl-support.c: Likewise.
13612         * elf/dl-writev.h: Likewise.
13613         * elf/rtld.c: Likewise.
13614         * grp/fgetgrent.c: Likewise.
13615         * gshadow/fgetsgent.c: Likewise.
13616         * gshadow/sgetsgent.c: Likewise.
13617         * iconv/gconv_conf.c: Likewise.
13618         * iconv/gconv_db.c: Likewise.
13619         * iconv/gconv_dl.c: Likewise.
13620         * iconv/gconv_int.h: Likewise.
13621         * iconv/gconv_trans.c: Likewise.
13622         * include/link.h: Likewise.
13623         * inet/getnameinfo.c: Likewise.
13624         * inet/getnetgrent.c: Likewise.
13625         * inet/getnetgrent_r.c: Likewise.
13626         * intl/bindtextdom.c: Likewise.
13627         * intl/dcigettext.c: Likewise.
13628         * intl/finddomain.c: Likewise.
13629         * intl/gettextP.h: Likewise.
13630         * intl/loadmsgcat.c: Likewise.
13631         * intl/localealias.c: Likewise.
13632         * intl/textdomain.c: Likewise.
13633         * libidn/idn-stub.c: Likewise.
13634         * libio/libioP.h: Likewise.
13635         * locale/duplocale.c: Likewise.
13636         * locale/freelocale.c: Likewise.
13637         * locale/newlocale.c: Likewise.
13638         * locale/setlocale.c: Likewise.
13639         * login/getutent_r.c: Likewise.
13640         * login/getutid_r.c: Likewise.
13641         * login/getutline_r.c: Likewise.
13642         * login/utmp-private.h: Likewise.
13643         * login/utmpname.c: Likewise.
13644         * malloc/mtrace.c: Likewise.
13645         * misc/efgcvt.c: Likewise.
13646         * misc/error.c: Likewise.
13647         * misc/fstab.c: Likewise.
13648         * misc/getpass.c: Likewise.
13649         * misc/mntent.c: Likewise.
13650         * misc/syslog.c: Likewise.
13651         * nis/nis_call.c: Likewise.
13652         * nis/nis_callback.c: Likewise.
13653         * nis/nss-default.c: Likewise.
13654         * nis/nss_compat/compat-grp.c: Likewise.
13655         * nis/nss_compat/compat-initgroups.c: Likewise.
13656         * nis/nss_compat/compat-pwd.c: Likewise.
13657         * nis/nss_compat/compat-spwd.c: Likewise.
13658         * nis/nss_nis/nis-alias.c: Likewise.
13659         * nis/nss_nis/nis-ethers.c: Likewise.
13660         * nis/nss_nis/nis-grp.c: Likewise.
13661         * nis/nss_nis/nis-hosts.c: Likewise.
13662         * nis/nss_nis/nis-network.c: Likewise.
13663         * nis/nss_nis/nis-proto.c: Likewise.
13664         * nis/nss_nis/nis-pwd.c: Likewise.
13665         * nis/nss_nis/nis-rpc.c: Likewise.
13666         * nis/nss_nis/nis-service.c: Likewise.
13667         * nis/nss_nis/nis-spwd.c: Likewise.
13668         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13669         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13670         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13671         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13672         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13673         * nis/nss_nisplus/nisplus-network.c: Likewise.
13674         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13675         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13676         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13677         * nis/nss_nisplus/nisplus-service.c: Likewise.
13678         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13679         * nis/ypclnt.c: Likewise.
13680         * nptl/libc_pthread_init.c: Likewise.
13681         * nss/getXXbyYY.c: Likewise.
13682         * nss/getXXent.c: Likewise.
13683         * nss/getXXent_r.c: Likewise.
13684         * nss/nss_db/db-XXX.c: Likewise.
13685         * nss/nss_db/db-netgrp.c: Likewise.
13686         * nss/nss_db/nss_db.h: Likewise.
13687         * nss/nss_files/files-XXX.c: Likewise.
13688         * nss/nss_files/files-alias.c: Likewise.
13689         * nss/nsswitch.c: Likewise.
13690         * posix/regex_internal.h: Likewise.
13691         * posix/wordexp.c: Likewise.
13692         * pwd/fgetpwent.c: Likewise.
13693         * resolv/res_hconf.c: Likewise.
13694         * resolv/res_libc.c: Likewise.
13695         * shadow/fgetspent.c: Likewise.
13696         * shadow/lckpwdf.c: Likewise.
13697         * shadow/sgetspent.c: Likewise.
13698         * socket/opensock.c: Likewise.
13699         * stdio-common/reg-modifier.c: Likewise.
13700         * stdio-common/reg-printf.c: Likewise.
13701         * stdio-common/reg-type.c: Likewise.
13702         * stdio-common/vfprintf.c: Likewise.
13703         * stdio-common/vfscanf.c: Likewise.
13704         * stdlib/abort.c: Likewise.
13705         * stdlib/cxa_atexit.c: Likewise.
13706         * stdlib/fmtmsg.c: Likewise.
13707         * stdlib/random.c: Likewise.
13708         * stdlib/setenv.c: Likewise.
13709         * string/strsignal.c: Likewise.
13710         * sunrpc/auth_none.c: Likewise.
13711         * sunrpc/bindrsvprt.c: Likewise.
13712         * sunrpc/create_xid.c: Likewise.
13713         * sunrpc/key_call.c: Likewise.
13714         * sunrpc/rpc_thread.c: Likewise.
13715         * sysdeps/arm/backtrace.c: Likewise.
13716         * sysdeps/generic/ldsodefs.h: Likewise.
13717         * sysdeps/generic/stdio-lock.h: Likewise.
13718         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13719         * sysdeps/i386/backtrace.c: Likewise.
13720         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13721         * sysdeps/m68k/backtrace.c: Likewise.
13722         * sysdeps/mach/hurd/cthreads.c: Likewise.
13723         * sysdeps/mach/hurd/dirstream.h: Likewise.
13724         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13725         * sysdeps/nptl/malloc-machine.h: Likewise.
13726         * sysdeps/nptl/stdio-lock.h: Likewise.
13727         * sysdeps/posix/dirstream.h: Likewise.
13728         * sysdeps/posix/getaddrinfo.c: Likewise.
13729         * sysdeps/posix/system.c: Likewise.
13730         * sysdeps/pthread/aio_suspend.c: Likewise.
13731         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13732         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13733         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13734         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13735         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13736         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13737         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13738         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13739         * sysdeps/unix/sysv/linux/system.c: Likewise.
13740         * sysdeps/x86_64/backtrace.c: Likewise.
13741         * time/alt_digit.c: Likewise.
13742         * time/era.c: Likewise.
13743         * time/tzset.c: Likewise.
13744         * wcsmbs/wcsmbsload.c: Likewise.
13745         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13746         instead of <bits/libc-lock.h> in comment.
13748 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13750         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13751         Only use .set mips2 if the current ISA is below mips2.
13752         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13753         Likewise.
13754         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13755         mips32r2 if the current ISA is below mips32r2.
13756         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13757         (TLS_IE): Updated to use the TLD_RDHWR macro.
13758         (TLS_LE): Likewise.
13759         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13760         __ASSEMBLER__ condition.
13762 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13764         Fix parallel build of before-compile targets.
13766         * sysdeps/mach/Makefile ($(patsubst
13767         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13768         mach-before-compile target.
13769         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13770         io fs process)): Move rule to dedicated hurd-before-compile target.
13772 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13774         Fix rules generating headers in hurd/ and mach/ when initial make call
13775         has subdir= explicitly set.
13777         * sysdeps/mach/Makefile ($(patsubst
13778         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13779         calling $(MAKE).
13780         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13781         io fs process)): Force subdir to hurd when calling $(MAKE).
13782         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13783         subdir to mach when calling $(MAKE).
13785 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13787         Check sysheaders when looking for Mach and Hurd headers
13789         * sysdeps/mach/configure.ac: Add sysheaders check.
13790         * sysdeps/mach/configure: Regenerate.
13791         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13792         * sysdeps/mach/hurd/configure: Regenerate.
13794 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13796         [BZ #18921]
13797         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13798         Fix inverted sense of test of 'o_directory_works' value.
13799         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13800         Bernhard Voelker <mail@bernhard-voelker.de>.
13802 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13804         [BZ #14912]
13805         * bits/linkmap.h: Move to ...
13806         * sysdeps/generic/linkmap.h: ...here.
13807         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13808         * sysdeps/aarch64/linkmap.h: ...here.
13809         * sysdeps/arm/bits/linkmap.h: Move to ...
13810         * sysdeps/arm/linkmap.h: ...here.
13811         * sysdeps/hppa/bits/linkmap.h: Move to ...
13812         * sysdeps/hppa/linkmap.h: ...here.
13813         * sysdeps/ia64/bits/linkmap.h: Move to ...
13814         * sysdeps/ia64/linkmap.h: ...here.
13815         * sysdeps/mips/bits/linkmap.h: Move to ...
13816         * sysdeps/mips/linkmap.h: ...here.
13817         * sysdeps/s390/bits/linkmap.h: Move to ...
13818         * sysdeps/s390/linkmap.h: ...here.
13819         * sysdeps/sh/bits/linkmap.h: Move to ...
13820         * sysdeps/sh/linkmap.h: ...here.
13821         * sysdeps/x86/bits/linkmap.h: Move to ...
13822         * sysdeps/x86/linkmap.h: ...here.
13823         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13825 2015-09-04  Andreas Schwab  <schwab@suse.de>
13827         [BZ #18635]
13828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13829         (__makecontext): Terminate FDE before return label.
13830         (__novec_makecontext): Likewise.
13832 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13834         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13835         first member of struct sv in syscall macro.
13837 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #14912]
13840         * bits/stdio-lock.h: Move to ...
13841         * sysdeps/generic/stdio-lock.h: ...here.
13842         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13843         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13844         * sysdeps/nptl/stdio-lock.h: ...here.
13845         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13846         * include/libio.h: Include <stdio-lock.h> instead of
13847         <bits/stdio-lock.h>.
13848         * sysdeps/nptl/fork.c: Likewise.
13849         * sysdeps/pthread/flockfile.c: Likewise.
13850         * sysdeps/pthread/ftrylockfile.c: Likewise.
13851         * sysdeps/pthread/funlockfile.c: Likewise.
13853         [BZ #14912]
13854         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13855         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13856         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13857         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13858         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13859         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13860         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13862 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13864         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13865         (test-xfail-tst-protected1b): New variable.
13867 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13869         [BZ #14912]
13870         * bits/libc-tsd.h: Move to ...
13871         * sysdeps/generic/libc-tsd.h: ...here.
13872         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13873         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13874         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13875         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13876         * include/ctype.h: Include <libc-tsd.h> instead of
13877         <bits/libc-tsd.h>.
13878         * include/rpc/rpc.h: Likewise.
13879         * locale/localeinfo.h: Likewise.
13880         * sunrpc/rpc_thread.c: Likewise.
13881         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13882         * sysdeps/nptl/malloc-machine.h: Likewise.
13884         * Makefile (headers): Remove bits/libc-lock.h.
13885         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13887         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13888         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13889         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13890         <bits/stdio-lock.h>.
13891         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13892         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13894 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13896         [BZ #18757]
13897         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13898         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13899         BZ #18757.
13901 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13903         * malloc/mtrace.pl: Filter out NULL entries.
13905 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13907         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13908         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13909         macro.
13911         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13912         (TCP_CC_INFO): Likewise.
13913         (TCP_SAVE_SYN): Likewise.
13914         (TCP_SAVED_SYN): Likewise.
13916 2015-08-31  Brett Neumeier <brett@neumeier.us>
13918         [BZ #18870]
13919         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13921 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13923         [BZ #18873]
13924         Fix broken overflow check in posix_fallocate
13925         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13926         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13927         Fix parenthesization typo.
13929 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13931         [BZ #18887]
13932         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13933         tst-mntent-blank-passno.
13934         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13935         * misc/tst-mntent-blank-corrupt.c: New test.
13936         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13937         * misc/tst-mntent.c (do_test): ... here.
13939 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13941         [BZ #4404]
13942         * po/de.po: Fix SIGALRM typo.
13944 2015-08-28  James Perkins  <james@loowit.net>
13946         * time/tst-strptime2.c (tests): Replace short list of test
13947         strings for strptime %z specifier with code which exhaustively
13948         tests every combination of sign and 0 to 5 digits. Tests for
13949         rejection of invalid strings.
13951 2015-08-28  James Perkins  <james@loowit.net>
13953         [BZ #16141]
13954         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13955         calculation, removing incorrect decimal time rounding, so that
13956         all minute values result in a valid seconds value.
13957         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13958         offset range limits to UTC-99:59 through UTC+99:59 to parse
13959         current and historical use cases.
13960         * time/tst-strptime2.c (tests): Modify and add tests for the
13961         strptime %z input field descriptor, specifically conversion of
13962         minutes to seconds and validating an offset range of -9959 to
13963         +9959.
13965 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13966             Dmitry V. Levin  <ldv@altlinux.org>
13968         [BZ #18877]
13969         * posix/Makefile (tests): Add tst-mmap-offset.
13970         * posix/tst-mmap.c: New file.
13971         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13972         offset calculation for negative values.
13974 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13976         * sysdeps/i386/init-arch.h: New file.
13977         * sysdeps/i386/i586/init-arch.h: Likewise.
13978         * sysdeps/i386/i686/init-arch.h: Likewise.
13979         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13980         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13981         * sysdeps/x86/cpu-features.h (bit_I586): New.
13982         (bit_I686): Likewise.
13983         (bit_CX8): Likewise.
13984         (bit_CMOV): Likewise.
13985         (index_CX8): Likewise.
13986         (index_CMOV): Likewise.
13987         (index_I586): Likewise.
13988         (index_I686): Likewise.
13989         (reg_CX8): Likewise.
13990         (reg_CMOV): Likewise.
13991         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13992         available at compile-time.
13993         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13994         available at compile-time.
13995         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13996         (USE_I686): Likewise.
13998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14000         * sysdeps/i386/bcopy.S: New file.
14001         * sysdeps/i386/bzero.S: Likewise.
14002         * sysdeps/i386/memcpy.S: Likewise.
14003         * sysdeps/i386/memmove.S: Likewise.
14004         * sysdeps/i386/mempcpy.S: Likewise.
14005         * sysdeps/i386/memset.S: Likewise.
14006         * sysdeps/i386/bzero.c: Removed.
14007         * sysdeps/i386/memset.c: Likewise.
14008         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14009         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14010         * sysdeps/i386/i586/memset_chk.S: Likewise.
14011         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14012         * sysdeps/i386/memcpy_chk.S: Here.
14013         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14014         * sysdeps/i386/memmove_chk.S: Here.
14015         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14016         * sysdeps/i386/mempcpy_chk.S: Likewise.
14017         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14018         * sysdeps/i386/memset_chk.S: Likewise.
14020 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14022         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14023         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14024         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14025         * soft-fp/fmadf4.c: Ditto.
14026         * soft-fp/fmatf4.c: Ditto.
14028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14030         * sysdeps/i386/i586/Implies: Removed.
14031         * sysdeps/i386/i686/Implies: Likewise.
14033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14035         * sysdeps/i386/i486/strlen.S: Moved to ...
14036         * sysdeps/i386/strlen.S: Here.
14038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14040         * sysdeps/i386/i486/strcat.S: Moved to ...
14041         * sysdeps/i386/strcat.S: Here.
14043 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14045         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14046         * sysdeps/i386/pthread_spin_trylock.S: Here.
14047         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14048         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14050 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14052         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14053         * sysdeps/i386/string-inlines.c: Here.
14055 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14057         * sysdeps/i386/i486/htonl.S: Moved ...
14058         * sysdeps/i386/htonl.S: here.
14060 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14062         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14063         * sysdeps/i386/bits/atomic.h: Here.
14065 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14067         * sysdeps/i386/i486/Versions: Removed.
14069 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14071         [BZ #2898]
14072         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14073         Based on patch by Aurelien Jarno.
14075 2015-08-26  Stan Shebs  <stanshebs@google.com>
14077         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14078         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14080 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14082         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14083         * sysdeps/powerpc/dl-procinfo.c:
14084         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14085         feature so it shows when LD_SHOW_AUXV=1.
14087 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14089         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14090         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14091         definition.  ISA 2.07B no longer requires full sync.
14093 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14095         [BZ #18863]
14096         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14097         (si_call_addr): Define.
14098         (si_syscall): Define.
14099         (si_arch): Define.
14101 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14103         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14104         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14105         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14106         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14107         (__memset_zero_constant_len_parameter): New.
14108         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14109         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14110         (__memset_zero_constant_len_parameter): Don't define if
14111         __memset_chk or USE_AS_BZERO are defined.
14113         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14114         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14115         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14117         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14118         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14119         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14120         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14121         comments.
14122         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14123         -mno-mmx for $(all-rtld-routines).
14124         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14125         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14126         i386.
14128 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14130         * sysdeps/generic/unwind.h
14131         (_Unwind_Word): Use __mode__(__unwind_word__)
14132         instead of __mode__(__word__).
14133         (_Unwind_Sword): Likewise.
14135         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14136         (MAX_NEEDED_INPUT): New define.
14137         (MAX_NEEDED_OUTPUT): New define.
14139         * NEWS: New item for IBM z13 string optimizations.
14141         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14142         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14143         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14144         * sysdeps/s390/multiarch/Makefile
14145         (sysdep_routines): Add memrchr functions.
14146         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14147         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14149         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14150         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14151         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14152         * sysdeps/s390/multiarch/Makefile
14153         (sysdep_routines): Add wmemcmp functions.
14154         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14155         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14156         * benchtests/bench-wmemcmp.c: New File.
14157         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14159         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14160         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14161         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14162         * sysdeps/s390/multiarch/Makefile
14163         (sysdep_routines): Add wmemset functions.
14164         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14165         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14166         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14167         * string/test-memset.c: Add wmemset support.
14168         * wcsmbs/test-wmemset.c: New File.
14169         * wcsmbs/Makefile (strop-tests): Add wmemset.
14170         * benchtests/bench-memset.c: Add wmemset support.
14171         * benchtests/bench-wmemset.c: New File.
14172         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14174         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14175         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14176         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14177         * sysdeps/s390/multiarch/Makefile
14178         (sysdep_routines): Add memccpy functions.
14179         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14180         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14181         * string/memccpy.c: Use MEMCCPY if defined.
14183         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14184         * sysdeps/s390/multiarch/memchr.c: Likewise.
14185         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14186         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14187         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14188         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14189         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14190         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14191         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14192         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14194         and rawmemchr functions.
14195         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14196         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14197         and wmemchr.
14198         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14199         * string/test-memchr.c: Add wmemchr support.
14200         * wcsmbs/test-wmemchr.c: New File.
14201         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14202         * benchtests/bench-memchr.c: Add wmemchr support.
14203         * benchtests/bench-wmemchr.c: New File.
14204         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14206         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14207         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14208         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14209         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14210         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14211         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14213         wcscspn functions.
14214         * sysdeps/s390/multiarch/ifunc-impl-list.c
14215         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14216         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14217         * string/test-strcspn.c: Add wcscspn support.
14218         * wcsmbs/test-wcscspn.c: New File.
14219         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14220         * benchtests/bench-strcspn.c: Add wcscspn support.
14221         * benchtests/bench-wcscspn.c: New File.
14222         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14224         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14225         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14226         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14227         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14228         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14229         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14231         wcspbrk functions.
14232         * sysdeps/s390/multiarch/ifunc-impl-list.c
14233         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14234         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14235         * string/test-strpbrk.c: Add wcspbrk support.
14236         * wcsmbs/test-wcspbrk.c: New File.
14237         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14238         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14239         * benchtests/bench-wcspbrk.c: New File.
14240         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14242         * sysdeps/s390/multiarch/strspn-c.c: New File.
14243         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14244         * sysdeps/s390/multiarch/strspn.c: Likewise.
14245         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14246         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14247         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14248         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14249         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14250         wcsspn functions.
14251         * sysdeps/s390/multiarch/ifunc-impl-list.c
14252         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14253         * string/test-strspn.c: Add wcsspn support.
14254         * wcsmbs/test-wcsspn.c: New File.
14255         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14256         * benchtests/bench-strspn.c: Add wcsspn support.
14257         * benchtests/bench-wcsspn.c: New File.
14258         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14260         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14261         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14262         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14263         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14264         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14265         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14267         wcsrchr functions.
14268         * sysdeps/s390/multiarch/ifunc-impl-list.c
14269         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14270         * benchtests/bench-wcsrchr.c: New File.
14271         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14273         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14274         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14275         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14276         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14277         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14278         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14280         wcschrnul functions.
14281         * sysdeps/s390/multiarch/ifunc-impl-list.c
14282         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14283         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14284         * string/test-strchr.c: Add wcschrnul support.
14285         * wcsmbs/test-wcschrnul.c: New File.
14286         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14287         * benchtests/bench-strchr.c: Add wcschrnul support.
14288         * benchtests/bench-wcschrnul.c: New File.
14289         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14291         * sysdeps/s390/multiarch/strchr-c.c: New File.
14292         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14293         * sysdeps/s390/multiarch/strchr.c: Likewise.
14294         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14295         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14296         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14298         wcschr functions.
14299         * sysdeps/s390/multiarch/ifunc-impl-list.c
14300         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14301         * string/strchr.c (STRCHR): Define and use macro.
14302         * benchtests/bench-wcschr.c: New File.
14303         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14305         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14306         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14307         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14308         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14309         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14310         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14311         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14312         wcsncmp functions.
14313         * sysdeps/s390/multiarch/ifunc-impl-list.c
14314         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14315         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14316         * benchtests/bench-strncmp.c: Add wcsncmp support.
14317         * benchtests/bench-wcsncmp.c: New File.
14318         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14320         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14321         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14322         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14323         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14324         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14325         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14326         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14328         wcscmp functions.
14329         * sysdeps/s390/multiarch/ifunc-impl-list.c
14330         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14331         * string/strcmp.c (STRCMP): Define and use macro.
14332         * benchtests/bench-wcscmp.c: New File.
14333         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14334         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14335         instead of _HAVE_STRING_ARCH_memchr.
14337         * sysdeps/s390/multiarch/strncat-c.c: New File.
14338         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14339         * sysdeps/s390/multiarch/strncat.c: Likewise.
14340         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14341         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14342         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14343         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14344         wcsncat functions.
14345         * sysdeps/s390/multiarch/ifunc-impl-list.c
14346         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14347         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14348         * string/test-strncat.c: Add wcsncat support.
14349         * wcsmbs/test-wcsncat.c: New File.
14350         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14351         * benchtests/bench-strncat.c: Add wcsncat support.
14352         * benchtests/bench-wcsncat.c: New File.
14353         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14355         * sysdeps/s390/multiarch/strcat-c.c: New File.
14356         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14357         * sysdeps/s390/multiarch/strcat.c: Likewise.
14358         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14359         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14360         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14362         wcscat functions.
14363         * sysdeps/s390/multiarch/ifunc-impl-list.c
14364         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14365         * string/strcat.c (STRCAT): Define and use macro.
14366         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14367         * string/test-strcat.c: Add wcscat support.
14368         * wcsmbs/test-wcscat.c: New File.
14369         * wcsmbs/Makefile (strop-tests): Add wcscat.
14370         * benchtests/bench-strcat.c: Add wcscat support.
14371         * benchtests/bench-wcscat.c: New File.
14372         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14374         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14375         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14376         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14377         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14378         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14379         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14381         wcpncpy functions.
14382         * sysdeps/s390/multiarch/ifunc-impl-list.c
14383         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14384         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14385         * string/test-stpncpy.c: Add wcpncpy support.
14386         * wcsmbs/test-wcpncpy.c: New File.
14387         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14388         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14389         * benchtests/bench-wcpncpy.c: New File.
14390         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14392         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14393         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14394         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14395         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14396         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14397         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14398         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14400         wcsncpy functions.
14401         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14402         * sysdeps/s390/multiarch/ifunc-impl-list.c
14403         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14404         * string/test-strncpy.c: Add wcsncpy support.
14405         * wcsmbs/test-wcsncpy.c: New File.
14406         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14407         * benchtests/bench-strncpy.c: Add wcsncpy support.
14408         * benchtests/bench-wcsncpy.c: New File.
14409         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14411         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14412         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14413         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14414         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14415         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14416         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14418         wcpcpy functions.
14419         * string/stpcpy.c: Use STPCPY if defined.
14420         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14421         * sysdeps/s390/multiarch/ifunc-impl-list.c
14422         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14423         * string/test-stpcpy.c: Add wcpcpy support.
14424         * wcsmbs/test-wcpcpy.c: New File.
14425         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14426         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14427         * benchtests/bench-wcpcpy.c: New File.
14428         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14430         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14431         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14432         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14433         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14434         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14435         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14436         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14438         wcscpy functions.
14439         * sysdeps/s390/multiarch/ifunc-impl-list.c
14440         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14441         * benchtests/bench-wcscpy.c: New File.
14442         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14444         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14445         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14446         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14447         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14448         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14449         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14451         wcsnlen functions.
14452         * sysdeps/s390/multiarch/ifunc-impl-list.c
14453         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14454         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14455         * string/test-strnlen.c: Add wcsnlen support.
14456         * wcsmbs/test-wcsnlen.c: New File.
14457         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14458         * benchtests/bench-strnlen.c: Add wcsnlen support.
14459         * benchtests/bench-wcsnlen.c: New File.
14460         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14462         * sysdeps/s390/multiarch/Makefile: New File.
14463         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14464         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14465         * sysdeps/s390/multiarch/strlen.c: Likewise.
14466         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14467         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14468         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14469         * string/strlen.c (STRLEN): Define and use macro.
14470         * sysdeps/s390/multiarch/ifunc-impl-list.c
14471         (IFUNC_VX_IMPL): New macro function.
14472         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14473         * benchtests/Makefile (wcsmbs-bench): New variable.
14474         (string-bench-all): Added wcsmbs-bench.
14475         * benchtests/bench-wcslen.c: New File.
14477         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14478         s390_vx_libc_ifunc2): New macro function.
14480         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14481         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14482         assembler support.
14483         * sysdeps/s390/configure: Regenerated.
14485         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14486         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14488         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14489         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14490         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14492         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14493         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14495         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14496         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14497         (memcmp, bcmp): Use __memcmp_default as alias source.
14498         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14499         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14500         Rename to __memcmp_default.
14501         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14502         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14503         (memcpy): Use __memcpy_default as alias source.
14504         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14505         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14506         Rename to __memcpy_default.
14507         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14508         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14509         (memset): Use __memset_default as alias source.
14510         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14511         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14512         Rename to __memset_default.
14513         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14514         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14516         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14517         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14518         (memcmp, bcmp): Use __memcmp_default as alias source.
14519         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14520         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14521         Rename to __memcmp_default.
14522         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14523         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14524         (memcpy): Use __memcpy_default as alias source.
14525         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14526         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14527         Rename to __memcpy_default.
14528         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14529         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14530         (memset): Use __memset_default as alias source.
14531         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14532         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14533         Rename to __memset_default.
14534         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14535         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14537         [BZ #18610]
14538         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14539         __ieee_instruction_pointer to __unused.
14540         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14541         __ieee_instruction_pointer.
14542         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14543         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14544         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14545         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14546         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14547         Mark dxc-field as reserved.
14549 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14551         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14552         if the weak reference is not null.
14554 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14556         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14558         [BZ #11214]
14559         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14561 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14563         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14564         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14565         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14566         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14567         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14568         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14569         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14570         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14571         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14572         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14573         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14574         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14575         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14576         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14577         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14578         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14579         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14580         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14582 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14584         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14585         register other than r0 for tabort, it has special meaning.
14586         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14587         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14588         transaction before starting syscall.
14590 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14592         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14594 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14596         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14598         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14599         * sysdeps/x86_64/rtld-memset.S: Likewise.
14600         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14601         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14602         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14603         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14605         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14607 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14609         * debug/strcpy_chk.c: Improve performance.
14610         * debug/stpcpy_chk.c: Likewise.
14611         * sysdeps/x86_64/strcpy_chk.S: Remove.
14612         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14614         [BZ #18240]
14615         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14617 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14619         [BZ #15128]
14620         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14621         ifuncmain8.
14622         (modules-names): Add ifuncmod8.
14623         ($(objpfx)ifuncmain8): New rule.
14624         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14625         <cpuid.h>.
14626         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14627         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14628         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14629         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14630         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14631         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14632         * sysdeps/x86_64/ifuncmain8.c: New file.
14633         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14634         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14635         Removed.
14636         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14637         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14638         Change rtld_savespace_sse to __glibc_unused2.
14639         (RTLD_CHECK_FOREIGN_CALL): Removed.
14640         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14641         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14642         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14644 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14646         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14648 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14650         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14651         Unconditionally set __fpcr to avoid uninialized warning.
14652         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14654 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14657         is corrupt.
14659         * malloc/arena.c (arena_get2): Drop unused argument.
14660         (arena_lock): Adjust.
14661         (arena_get_retry): Likewise.
14663 2015-08-24  Andreas Schwab  <schwab@suse.de>
14665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14666         Don't define.
14667         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14668         (__ASSUME_IPC64): Don't undef.
14669         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14670         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14671         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14672         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14673         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14674         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14675         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14676         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14677         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14678         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14679         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14680         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14681         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14682         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14683         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14684         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14685         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14686         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14687         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14688         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14689         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14691 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14693         * manual/Makefile (install): Only build manual when perl is available.
14695 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14698         '#undef memcpy' by '#undef memchr'.
14700 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14702         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14703         memchr not point to the internal __GI_memchr implementation.
14705 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14707         * timezone/Makefile (CFLAGS-zdump.c): Remove
14708         -Wno-strict-prototypes.
14709         (CFLAGS-zic.c): Likewise.
14710         (CFLAGS-ialloc.c): Likewise.
14711         (CFLAGS-scheck.c): Likewise.
14713         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14714         -Wno-error=undef.
14716 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14718         * i386/i686/multiarch/strcasestr-c.c: Removed.
14719         * x86_64/multiarch/strcasestr.c: Likewise.
14720         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14721         Remove strcasestr.
14723 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14725         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14727         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14728         variables for high and low parts before possibly modifying them.
14730 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14732         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14733         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14734         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14735         of "multiarch/init-arch.h".
14736         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14737         * sysdeps/x86/init-arch.h: This.
14739 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14741         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14742         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14744 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14746         [BZ #17787]
14747         * manual/macros.texi: Add twoexp macro.
14748         * manual/filesys.texi: Fix exponents.
14749         * manual/llio.texi: Likewise.
14750         * manual/stdio.texi: Likewise.
14752 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14754         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14755         incorrect use.
14757 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14759         [BZ #18370]
14760         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14761         whose real or imaginary part has small absolute value.
14762         * math/s_csqrtf.c (__csqrtf): Likewise.
14763         * math/s_csqrtl.c (__csqrtl): Likewise.
14764         * math/auto-libm-test-in: Add more tests of csqrt.
14765         * math/auto-libm-test-out: Regenerated.
14766         * sysdeps/i386/fpu/libm-test-ulps: Update.
14768 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14770         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14771         __ppc_set_ppr_very_low): New functions.
14772         * manual/platform.texi: Add documentation about
14773         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14775 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14777         * string/stpncpy.c (stpncpy): Improve performance using
14778         __strnlen/memcpy/memset.
14780 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14782         [BZ #18796]
14783         * scripts/test-installation.pl: Don't add -lmvec to build options if
14784         libmvec wasn't built.
14786 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14788         [BZ #14341]
14789         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14790         case when there is a gap between DT_REL and DT_JMPREL sections.
14791         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14792         (LDFLAGS-tst-split-dynreloc): New.
14793         (tst-split-dynreloc-ENV): Likewise.
14794         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14795         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14797 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14799         [BZ #18822]
14800         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14801         attribute_hidden.
14802         (__xstat64_conv): Likewise.
14803         (__xstat32_conv): Likewise.
14805 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14807         [BZ #18822]
14808         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14809         Don't load %ebx when calling __setcontext.  Call __setcontext
14810         with HIDDEN_JUMPTARGET.
14811         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14812         libc_hidden_def.
14814 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14816         * sysdeps/i386/i686/Makefile
14817         [$(subdir) == string] (sysdep_routines): Moved to ...
14818         * sysdeps/i386/Makefile: Here.
14819         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14820         * sysdeps/i386/cacheinfo.c: Here.
14821         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14822         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14823         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14824         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14826 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14828         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14829         __i586__ is defined.
14830         (HAS_I686): Defined to 1 if __i686__ is defined.
14832 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14834         * elf/Makefile [$(have-z-execstack) = yes]
14835         (CPPFLAGS-tst-execstack.c): New variable.
14837         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14838         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14839         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14840         UTMPX || _HAVE_UT_TV].
14841         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14842         UTMPX || _HAVE_UT_TV - 0].
14844 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14846         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14847         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14848         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14850 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14852         * sysdeps/powerpc/dl-procinfo.c:
14853         (_dl_powerpc_cap_flags): Added missing strings for some
14854         hwcap features.
14855         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14857 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14859         Port the 0x7efe...feff pattern to GCC 6.
14860         See Steve Ellcey's bug report in:
14861         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14862         * string/memrchr.c (MEMRCHR):
14863         * string/rawmemchr.c (RAWMEMCHR):
14864         * string/strchr.c (strchr):
14865         * string/strchrnul.c (STRCHRNUL):
14866         Rewrite code to avoid issues with signed shift overflow.
14868 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14870         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14871         whether cpuid is available only if HAS_CPUID is 0.
14872         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14873         (HAS_I586): Likewise.
14874         (HAS_I686): Likewise.
14876 2015-08-18  Zack Weinberg  <zackw@panix.com>
14878         * misc/Versions (libc): Add GLIBC_2.23.
14880 2015-08-18  Alan Modra  <amodra@gmail.com>
14882         [BZ #18421]
14883         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14884         .Lp__global.
14885         (_start): Load %dp via .Lp__global.
14886         [!SHARED]: Use .section .rodata.
14888 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14890         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14891         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14893 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14895         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14896         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14900         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14901         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14903 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14905         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14906         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14910         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14911         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14913 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14915         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14916         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14918 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14920         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14922 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14924         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14925         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14926         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14927         (__ASSUME_LWS_CAS): Delete.
14929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14931         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14932         * sysdeps/hppa/configure: Regenerated.
14933         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14934         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14935         * sysdeps/hppa/nptl/tls.h: Likewise.
14937 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14939         [BZ #18823]
14940         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14941         for scaling up small arguments.
14942         * math/s_csqrtf.c (__csqrtf): Likewise.
14943         * math/s_csqrtl.c (__csqrtl): Likewise.
14944         * math/auto-libm-test-in: Add more tests of csqrt.
14945         * math/auto-libm-test-out: Regenerated.
14947 2015-08-17  Andreas Schwab  <schwab@suse.de>
14949         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14950         version set GLIBC_2.19.
14952 2015-08-16  Zack Weinberg  <zackw@panix.com>
14954         [BZ #18681]
14955         * misc/regexp.h: This interface is no longer supported.
14956         Remove all contents, leaving only an #error directive.
14957         * misc/regexp.c (loc1, loc2, locs, step, advance):
14958         Demote to compatibility symbols.
14960 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14962         [BZ #18084]
14963         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14964         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14965         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14966         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14967         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14968         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14969         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14970         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14971         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14973 2015-08-15  Zack Weinberg  <zackw@panix.com>
14975         [BZ #18795]
14976         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14977         buffer length is known to be too large, not if it's known to be
14978         small enough.
14979         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14980         overflow at runtime, involving a length parameter, twice: once
14981         with a compile-time constant length parameter, once without.
14983 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14985         [BZ #18824]
14986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14987         scaling x * y up instead of down.
14988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14990         * math/auto-libm-test-in: Add more tests of fma.
14991         * math/auto-libm-test-out: Regenerated.
14993 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14997 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14999         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15000         unnecessary movq.
15001         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15002         Likewise.
15004 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15006         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15007         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15008         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15009         and tgamma.
15010         * math/auto-libm-test-out: Regenerated.
15011         * sysdeps/i386/fpu/libm-test-ulps: Update.
15012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014         [BZ #16520]
15015         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15016         (__tanh): Force underflow exception for arguments with small
15017         absolute value.
15018         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15019         (__tanhf): Force underflow exception for arguments with small
15020         absolute value.
15021         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15022         (__tanhl): Force underflow exception for arguments with small
15023         absolute value.
15024         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15025         (__tanhl): Force underflow exception for arguments with small
15026         absolute value.
15027         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15028         (__tanhl): Force underflow exception for arguments with small
15029         absolute value.
15030         * math/auto-libm-test-in: Add more tests of tanh.
15031         * math/auto-libm-test-out: Regenerated.
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15034 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15036         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15037         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15039 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15041         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15042         <cpuid.h>.
15044 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15046         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15047         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15049 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15051         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15052         Remove $(objpfx)init-arch.o.
15053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15054         init-arch.
15055         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15056         (INIT_ARCH_EXT): Defined as empty.
15057         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15058         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15059         __init_cpu_features call.  Replace HAS_XXX with
15060         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15061         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15065         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15066         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15067         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15068         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15071         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15087         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15097 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15099         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15100         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15101         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15102         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15103         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15104         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15105         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15106         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15107         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15108         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15109         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15110         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15111         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15112         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15113         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15114         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15115         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15116         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15117         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15118         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15119         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15121         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15122         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15123         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15124         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15126         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15127         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15128         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15129         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15130         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15131         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15132         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15133         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15134         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15135         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15136         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15137         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15138         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15139         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15140         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15141         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15143 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15145         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15146         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15147         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15148         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15149         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15150         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15151         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15152         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15153         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15154         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15155         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15156         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15157         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15158         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15159         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15160         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15162         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15163         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15164         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15166         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15167         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15170         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15171         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15172         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15173         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15174         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15175         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15176         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15177         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15178         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15179         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15180         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15181         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15182         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15183         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15184         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15185         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15186         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15187         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15189 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15191         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15192         (dl_platform_init): Call init_cpu_features.
15193         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15194         * sysdeps/i386/i686/cacheinfo.c
15195         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15196         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15197         * sysdeps/i386/i686/multiarch/Versions: Removed.
15198         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15199         Removed.
15200         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15201         * sysdeps/unix/sysv/linux/x86/Makefile
15202         (libpthread-sysdep_routines): Remove init-arch.
15203         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15204         <sysdeps/x86_64/dl-procinfo.c> instead of
15205         sysdeps/generic/dl-procinfo.c>.
15206         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15207         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15208         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15209         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15210         [$(subdir) == elf] (tests-static): Add
15211         tst-get-cpu-features-static.
15212         * sysdeps/x86/Versions: New file.
15213         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15214         * sysdeps/x86/cpu-features.c: Likewise.
15215         * sysdeps/x86/cpu-features.h: Likewise.
15216         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15217         * sysdeps/x86/libc-start.c: Likewise.
15218         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15219         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15220         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15221         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15222         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15223         Assume USE_MULTIARCH is defined and don't check it.
15224         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15225         (is_amd): Likewise.
15226         (max_cpuid): Likewise.
15227         (intel_check_word): Likewise.
15228         (__cache_sysconf): Don't call __init_cpu_features.
15229         (__x86_preferred_memory_instruction): Removed.
15230         (init_cacheinfo): Don't call __init_cpu_features. Replace
15231         __cpu_features with GLRO(dl_x86_cpu_features).
15232         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15233         (dl_platform_init): Call init_cpu_features.
15234         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15235         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15236         * sysdeps/x86_64/multiarch/Versions: Removed.
15237         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15238         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15239         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15240         Removed.
15241         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15243 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15245         [BZ #18820]
15246         * libio/Makefile (test-fmemopen-mem): New test.
15247         * libio/test-fmemopen.c (do_bz18820): New test.
15248         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15249         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15251 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15253         [BZ #16734]
15254         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15255         (FREE_BUF): Delete.
15256         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15257         * libio/genops.c (_IO_setb): Use malloc and free directly.
15258         (_IO_default_doallocate, _IO_default_finish): Likewise.
15259         ( _IO_unbuffer_all): Likewise.
15260         ( libc_freeres_fn): Likewise.
15261         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15262         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15263         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15264         (_IO_wdefault_doallocate): Likewise.
15266 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15268         [BZ #18086]
15269         * sysdeps/posix/nice.c (nice): Restore old errno.
15270         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15272 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15276 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15278         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15279         __bcopy and add a weak_alias to bcopy.
15280         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15281         for static build.
15283         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15284         cleanup macro usage.
15285         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15289         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15290         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15291         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15292         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15293         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15294         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15296         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15298         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15299         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15301         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15302         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15303         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15305         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15306         libc_hidden_def.
15307         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15309         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15310         (sysdep_routines): Add strstr-ppc64.
15311         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15313 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15315         [BZ #18778]
15316         * elf/Makefile (tests): Add Add tst-nodelete2.
15317         (modules-names): Add tst-nodelete2mod.
15318         (tst-nodelete2mod.so-no-z-defs): New.
15319         ($(objpfx)tst-nodelete2): Likewise.
15320         ($(objpfx)tst-nodelete2.out): Likewise.
15321         (LDFLAGS-tst-nodelete2): Likewise.
15322         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15323         out of loop through all loaded libraries.
15324         * elf/tst-nodelete2.c: New file.
15325         * elf/tst-nodelete2mod.c: Likewise.
15326         * elf/tst-znodelete-zlib.cc: Delete.
15328 2015-08-11  Andreas Schwab  <schwab@suse.de>
15330         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15331         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15332         (__openat64_nocancel): Likewise.
15334 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15336         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15337         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15338         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15339         * math/auto-libm-test-out: Regenerated.
15340         * sysdeps/i386/fpu/libm-test-ulps: Update.
15341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15343 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15345         [BZ #18790]
15346         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15347         threshold for returning +/- 1.
15348         * math/auto-libm-test-in: Add more tests of tanh.
15349         * math/auto-libm-test-out: Regenerated.
15350         * sysdeps/i386/fpu/libm-test-ulps: Update.
15352 2015-08-10  Andreas Schwab  <schwab@suse.de>
15354         [BZ #18781]
15355         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15356         MORE_OFLAGS to oflag.
15357         * io/test-lfs.c (do_test): Test openat64.
15359 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15361         [BZ #18789]
15362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15363         smaller threshold for returning the argument.
15364         * math/auto-libm-test-in: Add more tests of sinh.
15365         * math/auto-libm-test-out: Regenerated.
15366         * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15370         [BZ #18674]
15371         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15372         break.
15374 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15376         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15377         (generated): Don't add $(addprefix z.,$(tzfiles)).
15379 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15381         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15382         * scripts/sysd-rules.awk: Likewise.
15384 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15386         * iconvdata/tst-tables.sh: Change echo -n to printf.
15387         * nss/db-Makefile: Likewise.
15388         * posix/tst-getconf.sh: Likewise.
15389         * stdio-common/tst-unbputc.sh: Likewise.
15391 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15393         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15394         MADV_*_PAGES defines behind this feature check.
15396 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15398         [BZ #18480]
15399         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15400         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15401         Define.
15402         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15403         LOAD_REGS_5, LOAD_REGS_6): Update.
15404         (INTERNAL_SYSCALL): Update using new LOAD defines.
15405         (INTERNAL_SYSCALL_NCS): Likewise.
15406         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15408 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15410         [BZ #16734]
15411         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15413 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15415         [BZ #17905]
15416         * catgets/Makefile (tst-catgets-mem): New test.
15417         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15418         * catgets/open_catalog.c (__open_catalog): Likewise.
15419         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15421 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15423         [BZ #18787]
15424         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15425         clobber registers.
15426         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15427         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15428         Cast return to __typeof (oldval).
15430 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15432         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15433         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15434         and delete sys/syscall.h include.
15436 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15438         [BZ #16517]
15439         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15440         (tan): Force underflow exception for arguments with small absolute
15441         value.
15442         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15443         (__kernel_tanf): Force underflow exception for arguments with
15444         small absolute value.
15445         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15446         (__kernel_tanl): Force underflow exception for arguments with
15447         small absolute value.
15448         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15449         (__kernel_tanl): Force underflow exception for arguments with
15450         small absolute value.
15451         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15452         (__kernel_tanl): Force underflow exception for arguments with
15453         small absolute value.
15454         * math/auto-libm-test-in: Add more tests of tan.
15455         * math/auto-libm-test-out: Regenerated.
15457 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15459         Fix sysdeps/i386/fpu/s_scalbn.S build
15461         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15463 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15465         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15467 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15469         Fix gcrt0.o compilation
15471         When static-start-installed-name is different from
15472         start-installed-name, we must not use the shared objects.
15474         * csu/Makefile
15475         (extra-objs): Add gmon-start.o when building shared library and
15476         $(static-start-installed-name) is different from
15477         $(start-installed-name).
15478         $(objpfx)g$(static-start-installed-name): When building shared
15479         library and $(static-start-installed-name) is different from
15480         $(static-start-installed-name), revert to non-shared rule,
15481         i.e. using $(objpfx)% and gmon-start.o.
15483 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #16519]
15486         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15487         (__ieee754_sinh): Force underflow exception for arguments with
15488         small absolute value.
15489         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15490         (__ieee754_sinhf): Force underflow exception for arguments with
15491         small absolute value.
15492         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15493         (__ieee754_sinhl): Force underflow exception for arguments with
15494         small absolute value.
15495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15496         (__ieee754_sinhl): Force underflow exception for arguments with
15497         small absolute value.
15498         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15499         (__ieee754_sinhl): Force underflow exception for arguments with
15500         small absolute value.
15501         * math/auto-libm-test-in: Add more tests of sinh.
15502         * math/auto-libm-test-out: Regenerated.
15503         * sysdeps/i386/fpu/libm-test-ulps: Update.
15505 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15507         * libio/oldfileops.c: Include unistd.h.
15509 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15511         * stdlib/isomac.c: Include ctype.h.
15513 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15515         * dirent/tst-seekdir.c (main): Converted to ...
15516         (do_test): ... this.
15517         (TEST_FUNCTION): New macro.
15518         Include test-skeleton.c.
15519         * elf/tst-dlmodcount.c (main): Converted to ...
15520         (do_test): ... this.
15521         (TEST_FUNCTION): New macro.
15522         Include test-skeleton.c.
15523         * elf/tst-order-main.c (main): Converted to ...
15524         (do_test): ... this.
15525         (TEST_FUNCTION): New macro.
15526         Include test-skeleton.c.
15527         * elf/tst-pie2.c (main): Converted to ...
15528         (do_test): ... this.
15529         (TEST_FUNCTION): New macro.
15530         Include test-skeleton.c.
15531         * inet/tst-ether_aton.c (main): Converted to ...
15532         (do_test): ... this.
15533         (TEST_FUNCTION): New macro.
15534         Include test-skeleton.c.
15535         * misc/tst-mntent.c (main): Converted to ...
15536         (do_test): ... this.
15537         (TEST_FUNCTION): New macro.
15538         Include test-skeleton.c.
15539         * misc/tst-tsearch.c (main): Converted to ...
15540         (do_test): ... this.
15541         (TEST_FUNCTION): New macro.
15542         Include test-skeleton.c.
15543         * posix/tst-regexloc.c (main): Converted to ...
15544         (do_test): ... this.
15545         (TEST_FUNCTION): New macro.
15546         Include test-skeleton.c.
15547         * resolv/tst-aton.c (main): Converted to ...
15548         (do_test): ... this.
15549         (TEST_FUNCTION): New macro.
15550         Include test-skeleton.c.
15551         * stdio-common/test-fwrite.c (main): Converted to ...
15552         (do_test): ... this.
15553         (TEST_FUNCTION): New macro.
15554         Include test-skeleton.c.
15555         * stdio-common/tst-ferror.c (main): Converted to ...
15556         (do_test): ... this.
15557         (TEST_FUNCTION): New macro.
15558         Include test-skeleton.c.
15559         * stdio-common/tst-printf.c (main): Converted to ...
15560         (do_test): ... this.
15561         (TEST_FUNCTION): New macro.
15562         Include test-skeleton.c.
15563         * stdio-common/tst-printfsz.c (main): Converted to ...
15564         (do_test): ... this.
15565         (TEST_FUNCTION): New macro.
15566         Include test-skeleton.c.
15567         * stdlib/tst-strtod.c (main): Converted to ...
15568         (do_test): ... this.
15569         (TEST_FUNCTION): New macro.
15570         Include test-skeleton.c.
15571         * string/tst-strlen.c (main): Converted to ...
15572         (do_test): ... this.
15573         (TEST_FUNCTION): New macro.
15574         Include test-skeleton.c.
15575         * string/tst-svc.c (main): Converted to ...
15576         (do_test): ... this.
15577         (TEST_FUNCTION): New macro.
15578         Include test-skeleton.c.
15579         * time/tst-strptime.c (main): Converted to ...
15580         (do_test): ... this.
15581         (TEST_FUNCTION): New macro.
15582         Include test-skeleton.c.
15583         * timezone/tst-timezone.c (main): Converted to ...
15584         (do_test): ... this.
15585         (TEST_FUNCTION): New macro.
15586         Include test-skeleton.c.
15588 2015-08-05  Zack Weinberg  <zackw@panix.com>
15590         * misc/regexp.h: Update comments.
15592 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15594         [BZ #18635]
15595         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15596         before return label.
15598 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15600         [BZ #18661]
15601         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15602         when calling __errno_location.
15603         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15604         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15606 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15608         [BZ #18661]
15609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15610         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15611         __gettimeofday.
15613 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15615         [BZ #18661]
15616         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15617         (__start_context): Don't use pop to restore %rdi so that stack
15618         is aligned to 16 bytes when calling __setcontext.
15620 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15623         only for libc.
15624         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15626 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15628         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15629         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15630         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15632 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15634         * string/memccpy.c (memccpy):
15635         Improve performance by using memchr/memcpy/__mempcpy.
15637 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15639         * string/strncpy.c (strncpy):
15640         Improve performance by using __strnlen/memcpy.
15642 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15644         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15645         Optimize to avoid an unnecessary FPCR read.
15647 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15649         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15650         Optimize to reduce FPCR/FPSR accesses.
15652 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15654         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15655         dead->data[category] != NULL.
15657 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15659         [BZ #18647]
15660         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15661         and |x| close to 1, use absolute value of x when computing log.
15662         * math/auto-libm-test-in: Add more tests of pow.
15663         * math/auto-libm-test-out: Regenerated.
15665 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15667         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15668         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15669         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15671 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15673         [BZ #18525]
15674         * locales/km_KH: Remove timezone definition.
15675         * locales/lo_LA: Likewise.
15676         * locales/my_MM: Likewise.
15677         * locales/nan_TW@latin: Likewise.
15678         * locales/th_TH: Likewise.
15679         * locales/uk_UA: Likewise.
15681 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15683         [BZ #18265]
15684         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15685         (wcsncat): Likewise.
15686         (wcscmp): Likewise.
15687         (wcsncmp): Likewise.
15689 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15691         * test-skeleton.c (usage): New function.
15692         (main): Call usage when opt is '?'.
15694 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15696         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15697         before first use.
15699 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15701         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15702         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15703         in there too.
15705 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15707         * version.h (RELEASE): Set to "development".
15708         (VERSION): Set to "2.22.90"
15710         * version.h (RELEASE): Set to "stable".
15711         (VERSION): Set to "2.22"
15712         * include/features.h (__GLIBC_MINOR__): Set to 22.
15714 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15716         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15717         Restructure macro to avoid "value computed is not used" warning.
15718         (atomic_compare_and_exchange_val_acq): Likewise.
15720 2015-08-04  Andreas Schwab  <schwab@suse.de>
15722         [BZ #18635]
15723         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15724         ret.
15725         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15727 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15729         * po/pl.po: Updated translation.
15730         * po/uk.po: Likewise.
15731         * po/fi.po: Likewise.
15732         * po/ko.po: Likewise.
15733         * po/ru.po: Likewise.
15734         * po/vi.po: Likewise.
15736 2015-07-31  Zack Weinberg  <zackw@panix.com>
15738         [BZ #18681]
15739         * regexp.h: Add unconditional #warning stating that this header
15740         will be removed soon.  Revise banner comment to match.
15741         (compile): Consistently use ERROR instead of RETURN to report
15742         errors (partial fix for bz#18681).
15743         * regexp.c: Don't include regexp.h. Remove some unnecessary
15744         declarations.
15746 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15748         * po/libc.pot: Regenerated.
15750 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15752         [BZ #18740]
15753         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15754         float-vlen4-arch-ext-cflags): Removed.
15755         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15756         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15758 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15760         [BZ #14113]
15761         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15762         aligned to __aligned__.
15763         (pthread_cond_t, pthread_rwlock_t): Likewise.
15765 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15767         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15769 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15771         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15772         (struct sigaction): Change sa_flags from a long to an int, and add
15773         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15775 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15777         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15778         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15779         sysdeps/generic/sysdep.h include.
15780         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15781         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15782         sysdeps/hppa/sysdep.h.
15783         (ENTRY, PSEUDO): Undefine before defining.
15785 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15787         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15788         from scratch to use INTERNAL_SYSCALL.
15790 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15792         [BZ #18078]
15793         * scripts/check-localplt.awk: Support alternate relocations.
15794         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15795         sections.
15796         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15797         malloc entries with + REL R_386_GLOB_DAT.
15798         * sysdeps/x86_64/localplt.data: New file.
15800 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15802         [BZ #18731]
15803         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15804         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15807 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15809         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15811 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15813         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15814         directly in terms of __sync_fetch_and_add and delete (int) cast.
15816 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15818         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15819         the -D_ASM_IA64_CURRENT_H flag.
15821 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15823         [BZ #18641]
15824         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15826 2015-07-27  Andreas Schwab  <schwab@suse.de>
15828         * conform/conformtest.pl (checknamespace): Filter out string
15829         literals while tokenizing.
15831 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15833         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15834         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15835         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15837 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15839         * nptl/tst-join7mod.c: Add #include <string.h>.
15841 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15843         * sysdeps/nios2/libm-test-ulps: Update.
15845 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15847         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15848         Fix order of arguments to the rt_sigprocmask syscall.
15849         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15850         Likewise.
15852 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15854         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15856 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15858         [BZ #18457]
15859         * nptl/Makefile (tests): New test case tst-join7.
15860         (modules-names): New test case module tst-join7mod.
15861         * nptl/tst-join7.c: New file.
15862         * nptl/tst-join7mod.c: New file.
15863         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15864         all translation units in libc.so, libpthread.so and rtld.
15866 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15870 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15874         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15882         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15883         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15884         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15885         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15886         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15887         implementation.
15889 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15891         [BZ #17711]
15892         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15893         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15894         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15895         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15896         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15897         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15899 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15901         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15902         instead of just saying load lock in the comments.
15904 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15906         * sysdeps/unix/Subdirs: Moved ...
15907         * sysdeps/posix/Subdirs: ... here.
15908         * login/pty.h (struct termios, struct winsize): Add forward decls.
15909         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15910         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15911         * sysdeps/arm/nacl/libc.abilist: Updated.
15912         * sysdeps/nacl/libutil.abilist: New file.
15914         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15915         (SIGWINCH): New macro.
15917         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15918         * sysdeps/arm/nacl/libc.abilist: Add it.
15920 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15922         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15924 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15926         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15927         Swap __glibc_reserved0 and sa_flags order.
15929 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15931         [BZ #18657]
15932         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15933         are pending TLS destructor calls.
15934         * include/link.h (struct link_map): Add concurrency note for
15935         L_TLS_DTOR_COUNT.
15936         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15937         Don't touch the link map flag.  Atomically increment
15938         l_tls_dtor_count.
15939         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15940         Avoid taking the load lock and don't touch the link map flag.
15941         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15942         * stdlib/Makefile (tests): Use it.
15943         * stdlib/tst-tls-atexit.c (do_test): dlopen
15944         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15945         to allow tst-tls-atexit-nodelete test case to use it.
15947 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15949         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15950         to bits/types.h.
15951         (msgqnum_t): New typedef.
15952         (msglen_t): Likewise.
15953         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15954         and msg_qbytes type to msglen_t.
15956 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15958         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15959         pad0 to __glibc_reserved0.
15960         (struct stat64): Likewise.
15962 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15964         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15965         Change sa_flags from a long to an int and add __glibc_reserved0 before
15966         it for padding.
15968 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15970         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15971         anonymous by deleting "siginfo" name.
15973 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15975         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15976         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15977         rather than __nacl_irt_filename.
15978         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15980         * NEWS: New item for arm-nacl port.
15981         * sysdeps/arm/nacl/libc.abilist: New file.
15982         * sysdeps/nacl/ld.abilist: New file.
15983         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15984         * sysdeps/nacl/libanl.abilist: New file.
15985         * sysdeps/nacl/libcrypt.abilist: New file.
15986         * sysdeps/nacl/libdl.abilist: New file.
15987         * sysdeps/nacl/libm.abilist: New file.
15988         * sysdeps/nacl/libpthread.abilist: New file.
15989         * sysdeps/nacl/libresolv.abilist: New file.
15990         * sysdeps/nacl/librt.abilist: New file.
15992 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15994         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15995         __startcontext to initialize the new context.
15996         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15997         up CFI directive to forbid further backtracing.
15999 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16001         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16002         reference.
16003         * charmaps/ANSI_X3.4-1968: Likewise.
16004         * charmaps/BS_4730: Likewise.
16005         * charmaps/BS_VIEWDATA: Likewise.
16006         * charmaps/CP1250: Likewise.
16007         * charmaps/CP1251: Likewise.
16008         * charmaps/CP1252: Likewise.
16009         * charmaps/CP1253: Likewise.
16010         * charmaps/CP1254: Likewise.
16011         * charmaps/CP1255: Likewise.
16012         * charmaps/CP1256: Likewise.
16013         * charmaps/CSN_369103: Likewise.
16014         * charmaps/EBCDIC-DK-NO: Likewise.
16015         * charmaps/GB_1988-80: Likewise.
16016         * charmaps/GREEK-CCITT: Likewise.
16017         * charmaps/GREEK7: Likewise.
16018         * charmaps/INIS-8: Likewise.
16019         * charmaps/ISIRI-3342: Likewise.
16020         * charmaps/ISO_2033-1983: Likewise.
16021         * charmaps/ISO_5427-EXT: Likewise.
16022         * locales/POSIX: Likewise.
16023         * locales/ar_SA: Likewise.
16024         * locales/be_BY: Likewise.
16025         * locales/be_BY@latin: Likewise.
16026         * locales/ca_ES: Likewise.
16027         * locales/cs_CZ: Likewise.
16028         * locales/da_DK: Likewise.
16029         * locales/de_BE: Likewise.
16030         * locales/de_CH: Likewise.
16031         * locales/de_LU: Likewise.
16032         * locales/en_AU: Likewise.
16033         * locales/en_BW: Likewise.
16034         * locales/en_CA: Likewise.
16035         * locales/en_DK: Likewise.
16036         * locales/en_GB: Likewise.
16037         * locales/en_IE: Likewise.
16038         * locales/en_NZ: Likewise.
16039         * locales/en_ZA: Likewise.
16040         * locales/en_ZW: Likewise.
16041         * locales/es_AR: Likewise.
16042         * locales/es_BO: Likewise.
16043         * locales/es_CL: Likewise.
16044         * locales/es_CO: Likewise.
16045         * locales/es_DO: Likewise.
16046         * locales/es_EC: Likewise.
16047         * locales/es_ES: Likewise.
16048         * locales/es_HN: Likewise.
16049         * locales/es_MX: Likewise.
16050         * locales/es_PA: Likewise.
16051         * locales/es_PE: Likewise.
16052         * locales/es_PY: Likewise.
16053         * locales/es_SV: Likewise.
16054         * locales/es_US: Likewise.
16055         * locales/es_UY: Likewise.
16056         * locales/es_VE: Likewise.
16057         * locales/et_EE: Likewise.
16058         * locales/fa_IR: Likewise.
16059         * locales/fo_FO: Likewise.
16060         * locales/fr_CA: Likewise.
16061         * locales/fr_CH: Likewise.
16062         * locales/gv_GB: Likewise.
16063         * locales/he_IL: Likewise.
16064         * locales/hr_HR: Likewise.
16065         * locales/id_ID: Likewise.
16066         * locales/is_IS: Likewise.
16067         * locales/it_CH: Likewise.
16068         * locales/iw_IL: Likewise.
16069         * locales/kl_GL: Likewise.
16070         * locales/ko_KR: Likewise.
16071         * locales/kw_GB: Likewise.
16072         * locales/lg_UG: Likewise.
16073         * locales/lt_LT: Likewise.
16074         * locales/lv_LV: Likewise.
16075         * locales/mi_NZ: Likewise.
16076         * locales/nhn_MX: Likewise.
16077         * locales/nl_BE: Likewise.
16078         * locales/pl_PL: Likewise.
16079         * locales/sk_SK: Likewise.
16080         * locales/sl_SI: Likewise.
16081         * locales/sv_FI: Likewise.
16082         * locales/tl_PH: Likewise.
16083         * locales/tr_TR: Likewise.
16084         * locales/vi_VN: Likewise.
16086 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16088         [BZ #17475]
16089         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16090         of tu_IN and bh_IN.
16092 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16094         [BZ #18694]
16095         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16096         bits/wordsize.h.
16097         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16099 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16101         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16102         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16103         (spawn_thread): New function.
16104         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16105         (do_test): ... here.  Use IS_LOADED to test for its
16106         availability.
16108 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16110         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16112 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16114         [BZ #18696]
16115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16116         si_addr_bnd.
16117         (si_lower): New.
16118         (si_upper): Likewise.
16120 2015-07-16  David S. Miller  <davem@davemloft.net>
16122         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16124 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16126         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16127         buffer.
16128         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16129         fail output information.
16131 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16134         and strstr-ppc64..
16135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16136         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16137         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16138         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16139         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16141 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16143         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16144         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16145         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16146         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16148 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16150         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16151         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16152         rtld_hidden_proto.
16153         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16155 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16157         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16158         the test can fail.
16160         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16162         [BZ #18676]
16163         * elf/tst-nodelete-opened.c: New test case.
16164         * elf/tst-nodelete-opened-lib.c: New test case module.
16165         * elf/Makefile (tests, modules-names): Use them.
16166         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16167         early.
16169 2015-07-15  David S. Miller  <davem@davemloft.net>
16171         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16172         futex-intenal.h
16173         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16174         * sysdeps/sparc/sparc64/Makefile: Likewise.
16175         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16176         Remove space from macro define.
16177         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16179 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16181         [BZ #17475]
16182         * locale/iso-639.def: Update Bhili and Tulu language codes as
16183         per iso639-3.
16185 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16187         * elf/tst-leaks1.c (main): Converted to ...
16188         (do_test): ... this.
16189         (TEST_FUNCTION): New macro.
16190         Include test-skeleton.c.
16191         * localedata/tst-langinfo.c (main): Converted to ...
16192         (do_test): ... this.
16193         (TEST_FUNCTION): New macro.
16194         Include test-skeleton.c.
16195         * math/test-fpucw.c (main): Converted to ...
16196         (do_test): ... this.
16197         (TEST_FUNCTION): New macro.
16198         Include test-skeleton.c.
16199         * math/test-tgmath.c (main): Converted to ...
16200         (do_test): ... this.
16201         (TEST_FUNCTION): New macro.
16202         Include test-skeleton.c.
16203         * math/test-tgmath2.c (main): Converted to ...
16204         (do_test): ... this.
16205         (TEST_FUNCTION): New macro.
16206         Include test-skeleton.c.
16207         * setjmp/tst-setjmp.c (main): Converted to ...
16208         (do_test): ... this.
16209         (TEST_FUNCTION): New macro.
16210         Include test-skeleton.c.
16211         * stdio-common/tst-sscanf.c (main): Converted to ...
16212         (do_test): ... this.
16213         (TEST_FUNCTION): New macro.
16214         Include test-skeleton.c.
16215         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16216         (do_test): ... this.
16217         (TEST_FUNCTION): New macro.
16218         Include test-skeleton.c.
16220         * elf/tst-audit9.c (main): Converted to ...
16221         (do_test): ... this.
16222         (TEST_FUNCTION): New macro.
16223         Include test-skeleton.c.
16225 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16227         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16229 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16231         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16232         New variable.
16234 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16236         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16238 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16240         * sysdeps/generic/dl-fileid.h: New file.
16241         * sysdeps/posix/dl-fileid.h: New file.
16242         * sysdeps/nacl/dl-fileid.h: New file.
16243         * include/link.h: Include <dl-fileid.h>.
16244         (struct link_map): Replace l_dev and l_ino with l_file_id.
16245         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16246         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16247         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16249 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16251         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16253 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16255         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16256         Add iff $CXX is set.
16257         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16258         Likewise.
16259         (tst-nodelete-zmodiff): Likewise.
16260         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16262 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16264         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16266 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16268         * sysdeps/aarch64/fpu/math_private.h
16269         (define math_opt_barrier): Add AArch64 version.
16270         (math_force_eval): Likewise.
16272 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16274         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16276 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16278         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16279         %ld with %jd and cast to intmax_t.
16280         (do_test_length_zero): Likewise.
16282 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16284         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16286 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16288         * sysdeps/tile/libm-test-ulps: Regenerated.
16290         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16291         Comment out the whole function, not just its body.
16293 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16295         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16296         locks.
16298         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16300 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16302         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16303         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16305 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16307         * sysdeps/nptl/futex-internal.h: New file.
16308         * sysdeps/nacl/futex-internal.h: New file.
16309         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16310         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16311         error checking.
16312         (setxid_unmark_thread): Likewise.
16313         (__nptl_setxid): Likewise.
16314         (__wait_lookup_done): Likewise.
16315         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16316         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16317         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16318         * nptl/pthread_once.c (clear_once_control): Likewise.
16319         (__pthread_once_slow): Likewise.
16320         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16321         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16322         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16323         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16324         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16325         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16326         Likewise.
16327         (__pthread_rwlock_rdlock): Likewise.
16328         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16329         Likewise.
16330         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16331         Likewise.
16332         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16333         Likewise.
16334         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16335         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16336         Likewise.
16337         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16338         __ASSUME_PRIVATE_FUTEX check.
16339         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16340         Check that shared futexes are supported.
16341         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16342         wrappers with error checking.
16343         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16344         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16345         * nptl/pthread_barrierattr_setpshared.c
16346         (pthread_barrierattr_setpshared): Check that shared futexes are
16347         supported.
16348         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16349         Likewise.
16350         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16351         Likewise.
16352         * nptl/sem_init.c (futex_private_if_supported): Remove.
16353         (__new_sem_init): Adapt and check that shared futexes are supported.
16354         * nptl/sem_open.c (sem_open): Likewise.
16355         * nptl/sem_post.c (futex_wake): Remove.
16356         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16357         (do_futex_wait): Use futex wrappers with error checking.
16358         * nptl/sem_wait.c: Include lowlevellock.h.
16359         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16360         Use futex_supports_pshared.
16361         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16362         Use futex wrappers with error checking.
16363         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16364         Likewise.
16365         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16366         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16367         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16368         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16369         (futex_wake): Likewise.
16370         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16371         (do_futex_wait): Use futex wrappers with error checking.
16372         (__new_sem_wait_slow): Update EINTR handling.
16373         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16375 2015-07-09  Martin Sebor  <msebor@redhat.com>
16377         [BZ #18435]
16378         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16379         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16380         * nptl/Makefile (test-xfail-tst-once5): Define.
16382 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16384         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16385         * elf/dl-minimal.c: For readability, reorder some definitions and
16386         introduce more page breaks.  Include <stdio.h>.
16387         (__libc_fatal): New function.
16389         * include/unistd.h: Add rtld_hidden_proto for _exit.
16390         * posix/_exit.c: Add rtld_hidden_def.
16391         * sysdeps/mach/hurd/_exit.c: Likewise.
16392         * sysdeps/nacl/_exit.c: Likewise.
16393         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16394         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16396 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16399         bndmov encoding with zero displacement.
16401 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16402             H.J. Lu  <hongjiu.lu@intel.com>
16404         [BZ #18134]
16405         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16406         * sysdeps/i386/configure: Regenerated.
16407         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16408         (_dl_runtime_profile): Save and restore Intel MPX return bound
16409         registers when calling _dl_call_pltexit.  Add
16410         PRESERVE_BND_REGS_PREFIX before return.
16411         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16412         (LRV_BND1_OFFSET): Likewise.
16413         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16414         lrv_bnd1.
16415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16416         typo in bndmov encoding.
16417         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16418         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16419         branch instructions to preserve bounds.
16421 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16424         [GLIBC_2.22]: Add fmemopen.
16426 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16428         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16429         returns an error, also try to use host port from __mach_host_self for
16430         the __vm_wire call.
16431         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16433 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16435         [BZ #18400]
16436         [BZ #18648]
16437         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16438         Fix pr_uid and pr_gid members.
16439         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16440         definition to elf_greg_t.
16442 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16444         [BZ #18383]
16445         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16446         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16447         * sysdeps/arm/configure: Regenerated.
16448         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16449         (test-xfail-tst-tlsalign-static): Variable removed.
16451         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16452         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16453         rather than explicit 'ln -s'.
16455         * resolv/rpc/netdb.h: New file.
16456         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16458 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16460         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16461         length buffers.
16462         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16463         test-skeleton.c.
16465         [BZ #6544]
16466         [BZ #11216]
16467         [BZ #12836]
16468         [BZ #13151]
16469         [BZ #13152]
16470         [BZ #14292]
16471         * include/stdio.h (fmemopen): Remove hidden prototype.
16472         (__fmemopen): Add new hidden prototype.
16473         * libio/Makefile: Add oldfmemopen object.
16474         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16475         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16476         compliance.
16477         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16478         symbol compatibility.
16479         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16480         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16481         fmemopen.
16482         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16483         on append and read mode.
16484         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16485         fmemopen.
16486         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16487         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16488         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16489         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16490         Likewise.
16491         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16492         [GLIBC_2.22]: Likewise.
16493         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16494         Likewise.
16495         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16496         Likewise.
16497         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16498         [GLIBC_2.22]: Likewise.
16499         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16500         [GLIBC_2.22]: Likewise.
16501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16502         [GLIBC_2.22]: Likewise.
16503         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16504         [GLIBC_2.22]: Likewise.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16506         [GLIBC_2.22]: Likewise.
16507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16508         [GLIBC_2.22]: Likewise.
16509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16510         [GLIBC_2.22]: Likewise.
16511         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16514         Likewise.
16515         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16516         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16517         [GLIBC_2.22]: Likewise.
16518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16519         [GLIBC_2.22]: Likewise.
16520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16521         [GLIBC_2.22]: Likewise.
16522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16523         [GLIBC_2.22]: Likewise.
16524         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16525         Likewise.
16526         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16527         Likewise.
16528         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16531         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16533 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16535         [BZ #18643]
16536         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16537         IPV6_PATHMTU, and IPV6_DONTFRAG.
16539 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16541         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16542         and _IO_UNBUFFERED.
16543         * libio/oldfileops.c: Likewise.
16544         * libio/wfileops.c: Likewise.
16546 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16548         * nscd/selinux.c: Delete selinux/flask.h include.
16550 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16552         [BZ #18641]
16553         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16554         (putpwent): Likewise.
16555         (getpwnam): Likewise.
16556         (getpwent_r): Likewise.
16557         (getpwuid_r): Likewise.
16558         (getpwnam_r): Likewise.
16559         (fgetpwent_r): Likewise.
16561 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16563         [BZ #18557]
16564         * inet/rcmd.c (__validuser2_sa): Check user first to
16565         short-circuit host check.
16567 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16568             Mikhail Ilin  <m.ilin@samsung.com>
16570         [BZ #17833]
16571         * elf/Makefile (tests): Add tst-nodelete.
16572         (modules-names): Add tst-nodelete-uniquemod.
16573         (tst-nodelete-uniquemod.so-no-z-defs): New.
16574         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16575         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16576         ($(objpfx)tst-nodelete): Likewise.
16577         ($(objpfx)tst-nodelete.out): Likewise.
16578         (LDFLAGS-tst-nodelete): Likewise.
16579         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16580         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16581         implement forced object deletion.
16582         (_dl_close): Pass false to _dl_close_worker.
16583         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16584         * elf/tst-nodelete.cc: New file.
16585         * elf/tst-nodeletelib.cc: Likewise.
16586         * elf/tst-znodeletelib.cc: Likewise.
16587         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16589 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16591         [BZ #18508]
16592         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16593         Depend on $(libdl).
16594         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16595         is not called infinitely times.
16596         (backtrace_helper): New function.
16597         (trace_arg): New struct.
16598         (st1): Enlarge stack size.
16599         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16600         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16601         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16602         Likewise.
16604 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16606         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16608 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16610         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16611         Include sys/types.h instead of bits/types.h.
16612         Remove inclusion of bits/wordsize.h.
16614 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16616         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16617         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16618         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16619         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16620         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16621         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16623 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16625         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16626         link-defines.sym.
16627         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16628         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16629         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16630         and LR_SIZE.
16631         * sysdeps/i386/link-defines.sym: New file.
16633 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16635         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16636         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16637         ($(objpfx)tst-audit3): New rule.
16638         ($(objpfx)tst-audit3.out): Likewise.
16639         * sysdeps/i386/tst-audit3.c: New file.
16640         * sysdeps/i386/tst-audit3.h: Likewise.
16641         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16642         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16644 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16646         [BZ #18633]
16647         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16648         pointer in C code.
16649         (__strcat_c): Likewise.
16650         (__strcat_g): Likewise.
16652 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16654         [BZ #18592]
16655         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16657 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16659         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16660         New function.  (__ieee754_sqrtf): New function.
16661         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16662         New function.
16663         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16664         New function.
16666 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16668         * sysdeps/ieee754/support.c: Remove unused file.
16670 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16672         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16673         registers instead of d ones so the layout is kernel abi compatible.
16674         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16675         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16676         Likewise.
16678 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16680         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16682 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16684         [BZ #18619]
16685         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16686         and return argument in case of subnormal argument.
16688 2015-07-01  Martin Sebor  <msebor@redhat.com>
16690         [BZ #18435]
16691         * nptl/Makefile: Add tst-once5.cc.
16692         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16693         Remove macro redefinitions.
16694         * nptl/tst-once5.cc: New test.
16696 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16698         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16700         * sysdeps/arm/libm-test-ulps: Regenerated.
16702         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16705 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16707         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16708         lll_lock_wait_private and lll_futex_wake probes.
16710         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16711         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16712         Likewise.
16713         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16714         atomic_spin_nop.
16715         * sysdeps/x86_64/bits/atomic.h: Likewise.
16716         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16717         to atomic_spin_nop and move ...
16718         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16719         ... here and ...
16720         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16721         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16722         atomic_spin_nop instead of BUSY_WAIT_NOP.
16723         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16724         Likewise.
16725         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16726         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16727         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16728         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16729         instead of atomic_delay.
16731 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16733         [BZ #18613]
16734         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16735         X_ADJ not X when adjusting exponent.
16736         (__ieee754_gamma_r): Do intermediate computations in
16737         round-to-nearest then adjust overflowing and underflowing results
16738         as needed.
16739         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16740         of X_ADJ not X when adjusting exponent.
16741         (__ieee754_gammaf_r): Do intermediate computations in
16742         round-to-nearest then adjust overflowing and underflowing results
16743         as needed.
16744         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16745         log of X_ADJ not X when adjusting exponent.
16746         (__ieee754_gammal_r): Do intermediate computations in
16747         round-to-nearest then adjust overflowing and underflowing results
16748         as needed.  Use 1.0L not 1.0f as numerator of division.
16749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16750         log of X_ADJ not X when adjusting exponent.
16751         (__ieee754_gammal_r): Do intermediate computations in
16752         round-to-nearest then adjust overflowing and underflowing results
16753         as needed.  Use 1.0L not 1.0f as numerator of division.
16754         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16755         of X_ADJ not X when adjusting exponent.
16756         (__ieee754_gammal_r): Do intermediate computations in
16757         round-to-nearest then adjust overflowing and underflowing results
16758         as needed.  Use 1.0L not 1.0f as numerator of division.
16759         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16760         to auto-libm-test-in.
16761         (tgamma_test): Use ALL_RM_TEST.
16762         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16763         tests of tgamma with spurious-overflow.
16764         * math/auto-libm-test-out: Regenerated.
16765         * math/gen-libm-have-vector-test.sh: Do not check for START.
16766         * sysdeps/i386/fpu/libm-test-ulps: Update.
16767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16769         [BZ #18612]
16770         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16771         arguments, just return 0.5 times the argument, with underflow
16772         forced as needed.
16773         * math/auto-libm-test-in: Add more tests of j1.
16774         * math/auto-libm-test-out: Regenerated.
16776         [BZ #16559]
16777         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16778         (__ieee754_j1): Force underflow exception for small results.
16779         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16780         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16781         (__ieee754_j1f): Force underflow exception for small results.
16782         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16783         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16785         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16786         (__ieee754_j1l): Force underflow exception for small results.
16787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16788         * math/auto-libm-test-in: Add more tests of j1 and jn.
16789         * math/auto-libm-test-out: Regenerated.
16791         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16793         (PF_MPLS): Likewise.
16794         (AF_IB): Likewise.
16795         (AF_MPLS): Likewise.
16796         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16797         value and macro.
16798         (MS_RMT_MASK): Include MS_LAZYTIME.
16800 2015-06-26  Mel Gorman  <mgorman@suse.de>
16802         [BZ #18502]
16803         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16804         already minimal.
16806 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16808         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16809         (DT_MIPS_NUM): Update.
16810         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16811         DT_MIPS_RLD_MAP_REL.
16813 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16815         [BZ #16559]
16816         [BZ #18602]
16817         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16818         round-to-nearest internally then recompute results that
16819         underflowed to zero in the original rounding mode.
16820         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16821         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16824         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16825         * sysdeps/i386/fpu/libm-test-ulps: Update.
16826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16828 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16830         * NEWS: Fixed description of link with vector math library.
16832 2015-06-25  Andreas Schwab  <schwab@suse.de>
16834         [BZ #18549]
16835         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16836         * libio/test-fmemopen.c (do_test): Add test for it.
16838 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16840         [BZ #17841]
16841         * Makeconfig (no-pie-ldflag): New.
16842         (+link): Set to $(+link-pie) if default to PIE.
16843         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16844         * config.make.in (build-pie-default): New.
16845         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16846         is default.  AC_SUBST.
16847         * configure: Regenerated.
16848         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16850 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16852         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16853         to 'unsigned int'.
16855         * resolv/gai_misc.h (struct waitlist): Change type of field
16856         counterp to 'volatile unsigned int *'.
16857         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16858         FUTEXADDR and OLDVAL.
16859         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16860         Give local variable TOTAL type 'volatile unsigned int'.
16861         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16862         * resolv/gai_suspend.c (gai_suspend):
16863         Give local variable CNTR type 'unsigned int'.
16865         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16866         counterp to 'volatile unsigned int *'.
16867         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16868         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16869         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16870         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16871         Give local variable TOTAL type 'volatile unsigned int'.
16872         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16874 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16876         [BZ #18383]
16877         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16878         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16879         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16880         comment for i386/x86-64.
16881         (test-xfail-tst-tlsalign-extern-static): Removed.
16883 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16885         * math/test-double.h: New file.
16886         * math/test-float.h: Likewise.
16887         * math/test-ldouble.h: Likewise.
16888         * math/test-math-inline.h: Likewise.
16889         * math/test-math-no-inline.h: Likewise.
16890         * math/test-math-scalar.h: Likewise.
16891         * math/test-math-vector.h: Likewise.
16892         * math/test-vec-loop.h: Remove file.  Contents moved into
16893         test-math-vector.h.
16894         * math/libm-test.inc (MATHCONST): Do not document macro.
16895         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16896         and test-math-scalar.h.
16897         (FUNC): Remove macro.
16898         (FUNC_TEST): Likewise.
16899         (FLOAT): Likewise.
16900         (MATHCONST): Likewise.
16901         (PRINTF_EXPR): Likewise.
16902         (PRINTF_XEXPR): Likewise.
16903         (PRINTF_NEXPR): Likewise.
16904         (TEST_DOUBLE): Likewise.
16905         (TEST_MATHVEC): Likewise.
16906         (__NO_MATH_INLINES): Likewise.
16907         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16908         and test-math-scalar.h.
16909         (FUNC): Remove macro.
16910         (FUNC_TEST): Likewise.
16911         (FLOAT): Likewise.
16912         (MATHCONST): Likewise.
16913         (PRINTF_EXPR): Likewise.
16914         (PRINTF_XEXPR): Likewise.
16915         (PRINTF_NEXPR): Likewise.
16916         (TEST_FLOAT): Likewise.
16917         (TEST_MATHVEC): Likewise.
16918         (__NO_MATH_INLINES): Likewise.
16919         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16920         and test-math-scalar.h.
16921         (FUNC): Remove macro.
16922         (FUNC_TEST): Likewise.
16923         (FLOAT): Likewise.
16924         (MATHCONST): Likewise.
16925         (PRINTF_EXPR): Likewise.
16926         (PRINTF_XEXPR): Likewise.
16927         (PRINTF_NEXPR): Likewise.
16928         (TEST_DOUBLE): Likewise.
16929         (TEST_MATHVEC): Likewise.
16930         (TEST_INLINE): Likewise.
16931         (__NO_MATH_INLINES): Likewise.
16932         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16933         test-math-scalar.h.
16934         (FUNC): Remove macro.
16935         (FUNC_TEST): Likewise.
16936         (FLOAT): Likewise.
16937         (MATHCONST): Likewise.
16938         (PRINTF_EXPR): Likewise.
16939         (PRINTF_XEXPR): Likewise.
16940         (PRINTF_NEXPR): Likewise.
16941         (TEST_FLOAT): Likewise.
16942         (TEST_MATHVEC): Likewise.
16943         (TEST_INLINE): Likewise.
16944         (__NO_MATH_INLINES): Likewise.
16945         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16946         and test-math-scalar.h.
16947         (FUNC): Remove macro.
16948         (FUNC_TEST): Likewise.
16949         (FLOAT): Likewise.
16950         (MATHCONST): Likewise.
16951         (PRINTF_EXPR): Likewise.
16952         (PRINTF_XEXPR): Likewise.
16953         (PRINTF_NEXPR): Likewise.
16954         (TEST_LDOUBLE): Likewise.
16955         (TEST_MATHVEC): Likewise.
16956         (TEST_INLINE): Likewise.
16957         (__NO_MATH_INLINES): Likewise.
16958         * math/test-ldouble.c: Include test-ldouble.h,
16959         test-math-no-inline.h and test-math-scalar.h.
16960         (FUNC): Remove macro.
16961         (FUNC_TEST): Likewise.
16962         (FLOAT): Likewise.
16963         (MATHCONST): Likewise.
16964         (PRINTF_EXPR): Likewise.
16965         (PRINTF_XEXPR): Likewise.
16966         (PRINTF_NEXPR): Likewise.
16967         (TEST_LDOUBLE): Likewise.
16968         (TEST_MATHVEC): Likewise.
16969         (__NO_MATH_INLINES): Likewise.
16970         * math/test-double-vlen2.h: Include test-double.h,
16971         test-math-no-inline.h and test-math-vector.h.
16972         (FLOAT): Remove macro.
16973         (FUNC): Likewise.
16974         (MATHCONST): Likewise.
16975         (PRINTF_EXPR): Likewise.
16976         (PRINTF_XEXPR): Likewise.
16977         (PRINTF_NEXPR): Likewise.
16978         (TEST_DOUBLE): Likewise.
16979         (TEST_MATHVEC): Likewise.
16980         (__NO_MATH_INLINES): Likewise.
16981         (CNCT): Likewise.
16982         (CONCAT): Likewise.
16983         (WRAPPER_NAME): Likewise.
16984         (WRAPPER_DECL): Likewise.
16985         (WRAPPER_DECL_ff): Likewise.
16986         (WRAPPER_DECL_fFF): Likewise.
16987         (VECTOR_WRAPPER): Likewise.
16988         (VECTOR_WRAPPER_ff): Likewise.
16989         (VECTOR_WRAPPER_fFF): Likewise.
16990         (VEC_LEN): New macro.
16991         * math/test-double-vlen4.h: Include test-double.h,
16992         test-math-no-inline.h and test-math-vector.h.
16993         (FLOAT): Remove macro.
16994         (FUNC): Likewise.
16995         (MATHCONST): Likewise.
16996         (PRINTF_EXPR): Likewise.
16997         (PRINTF_XEXPR): Likewise.
16998         (PRINTF_NEXPR): Likewise.
16999         (TEST_DOUBLE): Likewise.
17000         (TEST_MATHVEC): Likewise.
17001         (__NO_MATH_INLINES): Likewise.
17002         (CNCT): Likewise.
17003         (CONCAT): Likewise.
17004         (WRAPPER_NAME): Likewise.
17005         (WRAPPER_DECL): Likewise.
17006         (WRAPPER_DECL_ff): Likewise.
17007         (WRAPPER_DECL_fFF): Likewise.
17008         (VECTOR_WRAPPER): Likewise.
17009         (VECTOR_WRAPPER_ff): Likewise.
17010         (VECTOR_WRAPPER_fFF): Likewise.
17011         (VEC_LEN): New macro.
17012         * math/test-double-vlen8.h: Include test-double.h,
17013         test-math-no-inline.h and test-math-vector.h.
17014         (FLOAT): Remove macro.
17015         (FUNC): Likewise.
17016         (MATHCONST): Likewise.
17017         (PRINTF_EXPR): Likewise.
17018         (PRINTF_XEXPR): Likewise.
17019         (PRINTF_NEXPR): Likewise.
17020         (TEST_DOUBLE): Likewise.
17021         (TEST_MATHVEC): Likewise.
17022         (__NO_MATH_INLINES): Likewise.
17023         (CNCT): Likewise.
17024         (CONCAT): Likewise.
17025         (WRAPPER_NAME): Likewise.
17026         (WRAPPER_DECL): Likewise.
17027         (WRAPPER_DECL_ff): Likewise.
17028         (WRAPPER_DECL_fFF): Likewise.
17029         (VECTOR_WRAPPER): Likewise.
17030         (VECTOR_WRAPPER_ff): Likewise.
17031         (VECTOR_WRAPPER_fFF): Likewise.
17032         (VEC_LEN): New macro.
17033         * math/test-float-vlen4.h: Include test-float.h,
17034         test-math-no-inline.h and test-math-vector.h.
17035         (FLOAT): Remove macro.
17036         (FUNC): Likewise.
17037         (MATHCONST): Likewise.
17038         (PRINTF_EXPR): Likewise.
17039         (PRINTF_XEXPR): Likewise.
17040         (PRINTF_NEXPR): Likewise.
17041         (TEST_FLOAT): Likewise.
17042         (TEST_MATHVEC): Likewise.
17043         (__NO_MATH_INLINES): Likewise.
17044         (CNCT): Likewise.
17045         (CONCAT): Likewise.
17046         (WRAPPER_NAME): Likewise.
17047         (WRAPPER_DECL): Likewise.
17048         (WRAPPER_DECL_ff): Likewise.
17049         (WRAPPER_DECL_fFF): Likewise.
17050         (VECTOR_WRAPPER): Likewise.
17051         (VECTOR_WRAPPER_ff): Likewise.
17052         (VECTOR_WRAPPER_fFF): Likewise.
17053         (VEC_LEN): New macro.
17054         * math/test-float-vlen8.h: Include test-float.h,
17055         test-math-no-inline.h and test-math-vector.h.
17056         (FLOAT): Remove macro.
17057         (FUNC): Likewise.
17058         (MATHCONST): Likewise.
17059         (PRINTF_EXPR): Likewise.
17060         (PRINTF_XEXPR): Likewise.
17061         (PRINTF_NEXPR): Likewise.
17062         (TEST_FLOAT): Likewise.
17063         (TEST_MATHVEC): Likewise.
17064         (__NO_MATH_INLINES): Likewise.
17065         (CNCT): Likewise.
17066         (CONCAT): Likewise.
17067         (WRAPPER_NAME): Likewise.
17068         (WRAPPER_DECL): Likewise.
17069         (WRAPPER_DECL_ff): Likewise.
17070         (WRAPPER_DECL_fFF): Likewise.
17071         (VECTOR_WRAPPER): Likewise.
17072         (VECTOR_WRAPPER_ff): Likewise.
17073         (VECTOR_WRAPPER_fFF): Likewise.
17074         (VEC_LEN): New macro.
17075         * math/test-float-vlen16.h: Include test-float.h,
17076         test-math-no-inline.h and test-math-vector.h.
17077         (FLOAT): Remove macro.
17078         (FUNC): Likewise.
17079         (MATHCONST): Likewise.
17080         (PRINTF_EXPR): Likewise.
17081         (PRINTF_XEXPR): Likewise.
17082         (PRINTF_NEXPR): Likewise.
17083         (TEST_FLOAT): Likewise.
17084         (TEST_MATHVEC): Likewise.
17085         (__NO_MATH_INLINES): Likewise.
17086         (CNCT): Likewise.
17087         (CONCAT): Likewise.
17088         (WRAPPER_NAME): Likewise.
17089         (WRAPPER_DECL): Likewise.
17090         (WRAPPER_DECL_ff): Likewise.
17091         (WRAPPER_DECL_fFF): Likewise.
17092         (VECTOR_WRAPPER): Likewise.
17093         (VECTOR_WRAPPER_ff): Likewise.
17094         (VECTOR_WRAPPER_fFF): Likewise.
17095         (VEC_LEN): New macro.
17096         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17097         test-vec-loop.h.
17098         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17099         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17100         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17101         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17102         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17103         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17104         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17106 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17108         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17109         (__getlogin_r): ... this.
17111 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17113         [BZ #18594]
17114         * math/s_ccosh.c (__ccosh): Compare with least normal value
17115         instead of comparing class with FP_SUBNORMAL.
17116         * math/s_ccoshf.c (__ccoshf): Likewise.
17117         * math/s_ccoshl.c (__ccoshl): Likewise.
17118         * math/s_cexp.c (__cexp): Likewise.
17119         * math/s_cexpf.c (__cexpf): Likewise.
17120         * math/s_cexpl.c (__cexpl): Likewise.
17121         * math/s_csin.c (__csin): Likewise.
17122         * math/s_csinf.c (__csinf): Likewise.
17123         * math/s_csinh.c (__csinh): Likewise.
17124         * math/s_csinhf.c (__csinhf): Likewise.
17125         * math/s_csinhl.c (__csinhl): Likewise.
17126         * math/s_csinl.c (__csinl): Likewise.
17127         * math/s_ctan.c (__ctan): Likewise.
17128         * math/s_ctanf.c (__ctanf): Likewise.
17129         * math/s_ctanh.c (__ctanh): Likewise.
17130         * math/s_ctanhf.c (__ctanhf): Likewise.
17131         * math/s_ctanhl.c (__ctanhl): Likewise.
17132         * math/s_ctanl.c (__ctanl): Likewise.
17133         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17134         csin, csinh, ctan and ctanh.
17135         * math/auto-libm-test-out: Regenerated.
17136         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17137         * sysdeps/i386/fpu/libm-test-ulps: Update.
17138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17140 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17142         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17143         return value is wrong, print the expected value too.
17145 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17147         [BZ #18585]
17148         * elf/readlib.c (is_gdb_python_file): New.
17149         (process_file): Don't issue errors on filenames with -gdb.py
17150         suffix.
17152 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17154         * math/auto-libm-test-in: Add more tests of csin and csinh.
17155         * math/auto-libm-test-out: Regenerated.
17156         * math/libm-test.inc (csin_test_data): Remove tests moved to
17157         auto-libm-test-in.
17158         (csinh_test_data): Likewise.
17160         [BZ #18593]
17161         * math/s_csin.c (__csin): Negate before rather than after possibly
17162         overflowing multiplication.
17163         * math/s_csinf.c (__csinf): Likewise.
17164         * math/s_csinh.c (__csinh): Likewise.
17165         * math/s_csinhf.c (__csinhf): Likewise.
17166         * math/s_csinhl.c (__csinhl): Likewise.
17167         * math/s_csinl.c (__csinl): Likewise.
17168         * math/auto-libm-test-in: Add some tests of csin and csinh.
17169         * math/auto-libm-test-out: Regenerated.
17170         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17171         (csinh_test_data): Likewise.
17172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17174         [BZ #18586]
17175         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17176         underflow exception for small results.
17178 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17182         variable and included header.
17183         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17184         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17191         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17192         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17193         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17194         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17195         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17196         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17197         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17198         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17200 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17202         [BZ #16526]
17203         [BZ #16538]
17204         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17205         (__sin): Force underflow exception for arguments with small
17206         absolute value.
17207         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17208         (__kernel_sinf): Force underflow exception for arguments with
17209         small absolute value.
17210         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17211         (__kernel_sincosl): Force underflow exception for arguments with
17212         small absolute value.
17213         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17214         (__kernel_sinl): Force underflow exception for arguments with
17215         small absolute value.
17216         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17217         (__kernel_sincosl): Force underflow exception for arguments with
17218         small absolute value.
17219         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17220         (__kernel_sinl): Force underflow exception for arguments with
17221         small absolute value.
17222         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17223         (__kernel_sinl): Force underflow exception for arguments with
17224         small absolute value.
17225         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17226         (__kernel_sinf): Force underflow exception for arguments with
17227         small absolute value.
17228         * math/auto-libm-test-in: Add more tests of sin and sincos.
17229         * math/auto-libm-test-out: Regenerated.
17231         [BZ #18245]
17232         [BZ #18583]
17233         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17234         (__kernel_standard_l): Use feholdexcept and fesetenv around
17235         conversion to double instead of special-casing overflow and
17236         underflow.
17237         * math/libm-test.inc (fmod_test_data): Add more tests.
17238         (remainder_test_data): Likewise.
17239         (sqrt_test_data): Likewise.
17241 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17243         [BZ #17403]
17244         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17245         atomic_read_barrier, atomic_write_barrier): Define.
17246         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17247         atomic_read_barrier, atomic_write_barrier): Define.
17249 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17251         * math/Makefile [$(PERL) != no]
17252         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17253         dependency on libm-test.stmp below the inclusion of Rules.
17255 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17259         and included header.
17260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17268         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17269         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17270         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17271         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17272         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17273         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17274         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17275         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17276         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17277         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17278         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17280 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17282         [BZ #18371]
17283         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17284         intermediate but not final result might underflow.
17285         * math/s_csqrtf.c (__csqrtf): Likewise.
17286         * math/s_csqrtl.c (__csqrtl): Likewise.
17287         * math/auto-libm-test-in: Add more tests of csqrt.
17288         * math/auto-libm-test-out: Regenerated.
17289         * sysdeps/i386/fpu/libm-test-ulps: Update.
17291         [BZ #18219]
17292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17293         threshold on absolute value of exponent for which scaling is used.
17294         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17295         * math/auto-libm-test-in: Add more tests of exp2.
17296         * math/auto-libm-test-out: Regenerated.
17298 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17300         [BZ #17977]
17301         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17302         when initializing interface list, based on the bug analysis
17303         and the patch proposed by Eric Newton.
17304         * resolv/tst-res_hconf_reorder.c: New test.
17305         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17306         tst-res_hconf_reorder.
17307         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17308         and $(shared-thread-library).
17309         (tst-res_hconf_reorder-ENV): New variable.
17311         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17312         in comment.
17314 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17316         [BZ #16353]
17317         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17318         (__expm1): Force underflow exception for arguments with small
17319         absolute value.
17320         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17321         (__expm1f): Force underflow exception for arguments with small
17322         absolute value.
17323         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17324         (__expm1): Force underflow exception for arguments with small
17325         absolute value.
17326         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17327         (__expm1f): Force underflow exception for arguments with small
17328         absolute value.
17329         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17330         Check for small arguments before calling __expm1.
17331         * math/auto-libm-test-in: Do not mark underflow exceptions as
17332         possibly missing for bug 16353.
17333         * math/auto-libm-test-out: Regenerated.
17335 2015-06-22  Andreas Schwab  <schwab@suse.de>
17337         [BZ #18513]
17338         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17339         PTR queries.
17341 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17343         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17345         * string/strcoll_l.c: Remove unused struct element idxnow.
17347 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17349         [BZ #18569]
17350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17351         underflow and return argument in case of subnormal argument.
17352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17353         Likewise.
17354         * math/auto-libm-test-in: Add more tests of expm1.
17355         * math/auto-libm-test-out: Regenerated.
17357         [BZ #16361]
17358         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17359         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17360         tiny results.
17361         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17362         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17363         tiny results.
17364         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17365         mark underflow exceptions as possibly missing for bug 16361.
17366         * math/auto-libm-test-out: Regenerated.
17368 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17370         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17371         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17372         Remove variable.
17373         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17374         (test-xfail-XOPEN2K8/utmpx.h/conform).
17376         * conform/conformtest.pl ($xerrors): New variable.
17377         (note_error): New function.
17378         (compiletest): New argument $xfail.  Use not_error.
17379         (runtest): Likewise.
17380         (top level): Handle xfail- lines.  Update calls to compiletest and
17381         runtest.  Handle xfail- and optional- in headers listed with
17382         allow-header.
17383         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17384         (O_EXEC): Likewise.
17385         (O_SEARCH): Likewise.
17386         * conform/data/stropts.h-data (ioctl): Likewise.
17387         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17388         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17389         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17390         (msghdr.msg_controllen): Likewise.
17391         (cmsghdr.cmsg_len): Likewise.
17392         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17393         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17394         variable.
17395         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17396         (test-xfail-XPG4/stropts.h/conform): Likewise.
17397         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17398         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17399         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17400         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17401         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17402         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17403         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17404         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17405         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17406         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17407         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17408         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17409         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17410         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17411         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17412         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17413         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17414         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17415         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17417 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17419         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17420         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17421         definitions for proper unfolding of __MATHDECL_VEC.
17423 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17425         * benchtests/bench-strcoll.c:
17426         Include string.h.
17427         (main): Remove unused variable res.
17429 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17431         * timezone/Makefile (%/UTC %/Universal):
17432         Generate test-result files for UTC and Universal.
17434 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17436         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17438 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17440         [BZ #16350]
17441         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17442         for arguments with small absolute value.
17443         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17444         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17445         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17446         (__asinh): Force underflow exception for arguments with small
17447         absolute value.
17448         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17449         (__asinhf): Force underflow exception for arguments with small
17450         absolute value.
17451         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17452         (__asinhl): Force underflow exception for arguments with small
17453         absolute value.
17454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17455         (__asinhl): Force underflow exception for arguments with small
17456         absolute value.
17457         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17458         (__asinhl): Force underflow exception for arguments with small
17459         absolute value.
17460         * math/auto-libm-test-in: Do not mark underflow exceptions as
17461         possibly missing for bug 16350.
17462         * math/auto-libm-test-out: Regenerated.
17464         * include/bits/ipc.h: Remove file.
17465         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17466         variable.
17467         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17468         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17469         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17470         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17471         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17472         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17473         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17474         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17475         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17477         * math/auto-libm-test-in: Remove spurious underflow allowance for
17478         tests of cexp.
17479         * math/auto-libm-test-out: Regenerated.
17481         [BZ #18558]
17482         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17483         unconditional definition.
17484         (MCAST_BLOCK_SOURCE): Likewise.
17485         (MCAST_UNBLOCK_SOURCE): Likewise.
17486         (MCAST_LEAVE_GROUP): Likewise.
17487         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17488         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17489         (MCAST_MSFILTER): Likewise.
17490         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17491         Remove variable.
17492         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17493         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17494         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17495         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17496         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17498 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17500         * NEWS: Mention addition of x86_64 vector sincosf.
17501         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17502         * math/test-float-vlen4.h: Likewise.
17503         * math/test-float-vlen8.h: Likewise.
17504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17505         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17507         * sysdeps/x86_64/fpu/Versions: New versions added.
17508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17510         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17517         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17518         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17519         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17520         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17521         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17522         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17523         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17524         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17525         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17526         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17527         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17528         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17529         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17530         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17531         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17533         * NEWS: Mention addition of x86_64 vector sincos.
17534         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17535         * math/math.h (__MATHDECL_VEC): New macro.
17536         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17537         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17538         declaration under condition.
17539         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17540         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17541         TEST_VEC_LOOP change.
17542         * math/test-double-vlen4.h: Likewise.
17543         * math/test-double-vlen8.h: Likewise.
17544         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17545         * math/test-float-vlen4.h: Likewise.
17546         * math/test-float-vlen8.h: Likewise.
17547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17548         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17550         * sysdeps/x86_64/fpu/Versions: New versions added.
17551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17553         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17560         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17561         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17562         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17563         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17564         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17565         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17566         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17568         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17571         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17573         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17574         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17576         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17577         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17578         redirections for powf.
17579         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17580         * sysdeps/x86_64/fpu/Versions: New versions added.
17581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17582         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17583         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17584         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17589         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17591         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17592         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17593         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17594         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17595         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17596         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17597         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17598         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17605         * math/test-float-vlen16.h: Fixed 2 argument macro.
17606         * math/test-float-vlen4.h: Likewise.
17607         * math/test-float-vlen8.h: Likewise.
17608         * NEWS: Mention addition of x86_64 vector powf.
17610 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17612         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17613         and redefine.
17614         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17615         and redefine.
17616         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17617         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17620         [BZ #18553]
17621         * resource/getpriority.c (getpriority): Rename to __getpriority
17622         and define as weak alias of __getpriority.
17623         * resource/setpriority.c (setpriority): Rename to __setpriority
17624         and define as weak alias of __setpriority.
17625         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17626         __getpriority and define as weak alias of __getpriority.
17627         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17628         __setpriority and define as weak alias of __setpriority.
17629         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17630         strong name.
17631         (setpriority): Use __setpriority as strong name.
17632         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17633         __getpriority and define as weak alias of __getpriority.
17634         * include/sys/resource.h (__getpriority): Declare.  Use
17635         libc_hidden_proto.
17636         (__setpriority): Likewise.
17637         (getpriority): Don't use libc_hidden_proto.
17638         (setpriority): Likewise.
17639         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17640         getpriority.  Call __setpriority instead of setpriority.
17641         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17642         Remove variable.
17644         [BZ #18547]
17645         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17646         as weak alias of __getttynam.  Use prototype function definition.
17647         Call __setttyent, __getttyent and __endttyent instead of
17648         setttyent, getttyent and endttyent.
17649         (getttyent): Rename to __getttyent and define as weak alias of
17650         __getttyent.  Call __setttyent instead of setttyent.  Call
17651         __fgets_unlocked instead of fgets_unlocked.
17652         (setttyent): Rename to __setttyent and define as weak alias of
17653         __setttyent.
17654         (endttyent): Rename to __endttyent and define as weak alias of
17655         __endttyent.
17656         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17657         (__setttyent): Likewise.
17658         (__endttyent): Likewise.
17659         (getttyent): Don't use libc_hidden_proto.
17660         (setttyent): Likewise.
17661         (endttyent): Likewise.
17662         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17663         __endttyent instead of setttyent, getttyent and endttyent.
17664         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17665         Remove variable.
17667         [BZ #18546]
17668         * socket/recv.c (__recv): Use libc_hidden_def.
17669         * socket/socket.c (__socket): Likewise.
17670         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17671         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17672         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17673         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17674         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17675         libc_hidden_def.
17676         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17677         libc_hidden_weak.
17678         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17679         Use libc_hidden_proto.
17680         (__recv): Likewise.
17681         * socket/Versions (libc): Export __recv and __socket at version
17682         GLIBC_PRIVATE.
17683         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17684         instead of recv.
17685         (init_mq_netlink): Call __socket instead of socket.
17686         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17687         Remove variable.
17689         [BZ #18545]
17690         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17691         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17692         hidden_weak.
17693         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17694         define as alias of __mq_timedsend.  Use hidden_weak.
17695         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17696         __mq_timedsend as strong name.
17697         (mq_timedreceive): Use __mq_timedreceive as strong name.
17698         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17699         (__mq_timedreceive): Likewise.
17700         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17701         __mq_timedreceive instead of mq_timedreceive.
17702         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17703         instead of mq_timedsend.
17704         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17705         Remove variable.
17707         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17708         hidden_def and hidden_weak instead of libc_hidden_def and
17709         libc_hidden_weak.
17710         (top level): Refer to hidden_def in comment.
17711         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17712         macro.  Use it instead of libc_hidden_def.
17713         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17714         specify __GI_* name explicitly.
17715         (mq_timedreceive): Likewise.
17716         (mq_setattr): Likewise.
17718         [BZ #18544]
17719         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17720         __pthread_barrier_init and define as weak alias of
17721         __pthread_barrier_init.
17722         * sysdeps/sparc/nptl/pthread_barrier_init.c
17723         (pthread_barrier_init): Likewise.
17724         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17725         __pthread_barrier_wait and define as weak alias of
17726         __pthread_barrier_wait.
17727         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17728         (pthread_barrier_wait): Likewise.
17729         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17730         (pthread_barrier_wait): Likewise.
17731         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17732         (pthread_barrier_wait): Likewise.
17733         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17734         (pthread_barrier_wait): Likewise.
17735         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17736         __pthread_barrier_wait at version GLIBC_PRIVATE.
17737         * include/pthread.h (__pthread_barrier_init): Declare.
17738         (__pthread_barrier_wait): Likewise.
17739         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17740         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17741         (helper_thread): Likewise.
17742         (init_mq_netlink): Call __pthread_barrier_init instead of
17743         pthread_barrier_init.
17745         [BZ #18542]
17746         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17747         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17748         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17749         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17750         vswscanf.
17751         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17752         Remove variable.
17754         [BZ #18540]
17755         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17756         strong alias of _IO_fflush.  Use libc_hidden_def.
17757         * libio/iofflush_u.c (fflush_unlocked): Rename to
17758         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17759         Use libc_hidden_weak.
17760         * include/stdio.h (__fflush_unlocked): Declare.  Use
17761         libc_hidden_proto.
17762         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17763         fflush_unlocked.
17764         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17765         Remove variable.
17767         [BZ #18539]
17768         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17769         define as weak alias of __addseverity.
17770         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17771         Remove variable.
17772         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17773         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17774         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17776         [BZ #18536]
17777         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17778         (__tfind): Likewise.
17779         (__tdelete): Likewise.
17780         (__twalk): Likewise.
17781         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17782         __twalk to GLIBC_PRIVATE.
17783         * include/search.h (__tsearch): Use libc_hidden_proto.
17784         (__tfind): Likewise.
17785         (__tdelete): Likewise.
17786         (__twalk): Likewise.
17787         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17788         Call __tdelete instead of tdelete.
17789         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17790         tfind.  Call __tsearch instead of tsearch.
17791         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17792         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17793         Remove variable.
17794         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17796         [BZ #18534]
17797         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17798         (dprintf): Define as a weak alias of __dprintf, not a strong
17799         alias.
17800         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17801         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17802         dprintf.
17803         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17804         Remove variable.
17805         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17806         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17808         [BZ #18533]
17809         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17810         not a strong alias.
17811         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17812         Remove variable.
17814         [BZ #18532]
17815         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17816         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17817         (in6addr_loopback): Rename to __in6addr_loopback and define as
17818         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17819         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17820         libc_hidden_proto.
17821         (__in6addr_any): Likewise.
17822         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17823         in6addr_any.
17824         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17825         variable.
17826         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17828 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17830         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17831         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17834         redirections for pow.
17835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17836         * sysdeps/x86_64/fpu/Versions: New versions added.
17837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17839         build of SSE, AVX2 and AVX512 IFUNC versions.
17840         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17847         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17848         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17849         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17850         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17851         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17852         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17853         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17857         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17861         * NEWS: Mention addition of x86_64 vector pow.
17863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17865         redirections for expf.
17866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17867         * sysdeps/x86_64/fpu/Versions: New versions added.
17868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17869         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17870         build of SSE, AVX2 and AVX512 IFUNC versions.
17871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17877         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17878         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17879         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17880         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17881         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17882         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17884         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17891         * NEWS: Mention addition of x86_64 vector expf.
17893         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17894         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17897         redirections for exp.
17898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17899         * sysdeps/x86_64/fpu/Versions: New versions added.
17900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17902         build of SSE, AVX2 and AVX512 IFUNC versions.
17903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17905         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17909         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17910         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17911         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17912         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17913         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17914         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17915         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17916         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17919         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17920         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17921         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17922         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17923         * NEWS: Mention addition of x86_64 vector exp.
17925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17927         redirections for logf.
17928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17929         * sysdeps/x86_64/fpu/Versions: New versions added.
17930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17932         build of SSE, AVX2 and AVX512 IFUNC versions.
17933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17934         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17935         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17936         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17937         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17939         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17940         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17941         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17942         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17943         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17944         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17945         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17946         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17947         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17948         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17951         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17952         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17953         * NEWS: Mention addition of x86_64 vector logf.
17955         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17956         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17957         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17958         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17959         redirections for log.
17960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17961         * sysdeps/x86_64/fpu/Versions: New versions added.
17962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17964         build of SSE, AVX2 and AVX512 IFUNC versions.
17965         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17966         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17967         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17968         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17970         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17971         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17972         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17973         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17974         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17975         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17976         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17977         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17978         test.
17979         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17985         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17986         * NEWS: Mention addition of x86_64 vector log.
17988 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17990         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17991         cfi_adjust_cfa_offset argument.
17992         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17993         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17995         [BZ #18034]
17996         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17997         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17998         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17999         ordering using ldar.
18000         (_dl_tlsdesc_dynamic): Likewise.
18001         (_dl_tlsdesc_return_lazy): Likewise.
18002         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18003         relaxed atomics instead of volatile and synchronize with release store.
18004         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18005         volatile.
18006         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18008 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18012         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18013         * sysdeps/x86_64/fpu/Versions: New versions added.
18014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18015         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18016         build of SSE, AVX2 and AVX512 IFUNC versions.
18017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18019         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18020         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18021         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18023         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18024         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18025         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18026         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18027         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18028         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18029         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18030         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18031         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18032         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18034         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18035         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18036         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18037         * NEWS: Mention addition of x86_64 vector sinf.
18039 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18041         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18042         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18043         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18044         Remove variable.
18045         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18046         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18048 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18050         [BZ #18530]
18051         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18052         strong alias of _IO_fputs.  Use libc_hidden_def.
18053         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18054         and define as weak alias of __fputs_unlocked.  Use
18055         libc_hidden_weak.
18056         * include/stdio.h (__fputs_unlocked): Declare.  Use
18057         libc_hidden_proto.
18058         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18059         fputs_unlocked.
18061         [BZ #18529]
18062         * resolv/netdb.h [__USE_POSIX]: Change condition to
18063         [__USE_XOPEN2K].
18064         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18065         not expect.
18066         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18067         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18068         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18069         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18070         [XPG4 || UNIX98] (AI_ALL): Likewise.
18071         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18072         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18073         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18074         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18075         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18076         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18077         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18078         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18079         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18080         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18081         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18082         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18083         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18084         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18085         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18086         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18087         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18088         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18089         [XPG4 || UNIX98] (gai_strerror): Likewise.
18090         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18091         [XPG4 || UNIX98] (getnameinfo): Likewise.
18093         [BZ #18528]
18094         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18095         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18096         __USE_XOPEN2K8].
18097         (getgrent): Likewise.
18098         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18099         expect.
18100         [XPG3 || POSIX2008] (endgrent): Likewise.
18101         [XPG3] (setgrent): Likewise.
18102         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18103         variable.
18104         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18106         [BZ #18527]
18107         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18108         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18109         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18110         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18111         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18112         * include/unistd.h (__getlogin_r): Declare.  Use
18113         libc_hidden_proto.
18114         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18115         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18116         variable.
18117         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18118         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18119         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18121 2015-06-12  Martin Sebor  <msebor@redhat.com>
18123         [BZ #18512]
18124         * Makerules (check-install-supported): New target.
18125         (install): Add check-install-supported as a dependency.
18126         * manual/install.texi (Installing the C Library): Document
18127         that overriding prefix and exec_prefix is not supported.
18128         Mention DESTDIR.
18129         * INSTALL: Regenerate from the above.
18131 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18133         [BZ #18519]
18134         * posix/Versions (libc): Export __libc_pread at version
18135         GLIBC_PRIVATE.
18136         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18137         instead of pread.
18138         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18139         variable.
18141         [BZ #18522]
18142         * misc/efgcvt_r.c
18143         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18144         (cvt_symbol): Use weak_alias instead of strong_alias.
18145         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18146         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18147         Remove variable.
18148         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18149         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18151         [BZ #18520]
18152         * inet/herrno.c (h_errno): Rename to __h_errno.
18153         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18154         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18155         to __h_errno instead of h_errno.
18156         * nptl/herrno.c (h_errno): Rename to __h_errno.
18157         (__h_errno_location): Refer to __h_errno not h_errno.
18158         * resolv/Versions (h_errno): Rename to __h_errno.
18159         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18160         Remove variable.
18161         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18163 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18165         * configure.ac: More strict check for AVX512 assembler support.
18166         * configure: Regenerated.
18168         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18169         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18170         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18171         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18173         * sysdeps/x86_64/fpu/Versions: New versions added.
18174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18176         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18179         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18183         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18184         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18185         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18186         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18187         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18188         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18190         test.
18191         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18193         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18194         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18195         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18196         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18197         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18198         * NEWS: Mention addition of x86_64 vector sin.
18200 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18202         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18203         comment.
18205 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18207         [BZ #18479]
18208         * nptl/pt-interp.c: New file.
18209         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18210         Add pt-interp.
18211         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18212         $(common-objpfx)runtime-linker.h.
18214 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18216         * Makeconfig (+interp): Remove unused variable.
18217         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18218         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18219         $(elf-objpfx)runtime-linker.h.
18220         ($(elf-objpfx)runtime-linker.h): Rename to
18221         $(common-objpfx)runtime-linker.h and move ...
18222         * Makerules [$(build-shared) = yes]: ... here.
18223         * elf/interp.c: Include <runtime-linker.h> instead of
18224         <elf/runtime-linker.h>.
18226 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18228         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18229         (__gettimeofday_syscall): Remove vsyscall fallback.
18230         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18231         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18232         Add syscall fallback function.
18233         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18234         if vDSO is not present.
18235         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18236         fallback function.
18237         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18238         present.
18239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18240         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18242 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18244         [BZ #18497]
18245         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18246         of wcscmp.
18247         (wcscmp): Define as weak alias of WCSCMP.
18248         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18249         wcscoll.
18250         (USE_HIDDEN_DEF): Define.
18251         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18252         __wcscoll.  Don't use libc_hidden_weak.
18253         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18254         wcscmp.
18255         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18256         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18257         __GI_wcscmp.
18258         (weak_alias): Undefine and redefine.
18259         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18260         __wcscmp and define as weak alias of __wcscmp.
18261         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18262         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18263         (__wcscoll): Likewise.
18264         (wcscmp): Don't use libc_hidden_proto.
18265         (wcscoll): Likewise.
18266         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18267         wcscoll.
18268         * posix/regexec.c (check_node_accept_bytes): Likewise.
18269         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18270         variable.
18271         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18272         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18274         [BZ #18507]
18275         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18276         __fstatvfs and define as weak alias of __fstatvfs.  Use
18277         libc_hidden_weak.
18278         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18279         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18280         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18281         Define as alias of __fstatvfs, not fstatvfs.
18282         (fstatvfs64): Likewise.
18283         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18284         Define as alias of __statvfs, not statvfs.
18285         (statvfs64): Likewise.
18286         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18287         Remove variable.
18289 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18292         (HAVE_GETCPU_VSYSCALL): Define.
18293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18294         (HAVE_GETCPU_VSYSCALL): Likewise.
18295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18296         * sysdeps/unix/sysv/linux/sched_getcpu.c
18297         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18298         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18299         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18300         prototype.
18301         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18302         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18303         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18305         Define.
18306         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18307         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18309         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18311 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18313         * sysdeps/x86_64/fpu/Makefile: New file.
18314         * sysdeps/x86_64/fpu/Versions: New file.
18315         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18316         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18317         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18318         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18319         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18320         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18321         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18329         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18331         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18332         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18333         * sysdeps/x86_64/configure: Regenerated.
18334         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18335         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18336         * manual/install.texi (Configuring and compiling): Document
18337         --disable-mathvec.
18338         * INSTALL: Regenerated.
18339         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18341         * math/Makefile: Added rules for vector tests.
18342         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18343         declaration under condition.
18344         * math/test-double-vlen2.h: New file.
18345         * math/test-double-vlen4.h: New file.
18346         * math/test-double-vlen8.h: New file.
18347         * math/test-vec-loop.h: Added initialization macro.
18348         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18350         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18351         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18352         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18354         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18355         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18356         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18357         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18358         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18361         * sysdeps/x86_64/fpu/Versions: New versions added.
18362         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18365         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18366         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18369         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18372         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18373         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18374         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18375         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18376         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18378         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18379         * NEWS: Mention addition of x86_64 vector cosf.
18381         * math/Makefile: Added CFLAGS for new tests.
18382         * math/test-float-vlen16.h: New file.
18383         * math/test-float-vlen4.h: New file.
18384         * math/test-float-vlen8.h: New file.
18385         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18386         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18388         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18389         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18390         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18391         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18392         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18394         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18395         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18397 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18399         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18400         * locale/programs/ld-ctype.c: Likewise.
18402 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18404         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18405         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18406         bit_ZMM16_31_state): New macro.
18407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18408         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18410 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18412         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18414 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18416         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18418 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18420         [BZ #18498]
18421         * libio/memstream.c (open_memstream): Rename to __open_memstream
18422         and define as weak alias of __open_memstream.
18423         * include/stdio.h (__open_memstream): Declare.  Use
18424         libc_hidden_proto.
18425         (open_memstream): Don't use libc_hidden_proto.
18426         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18427         open_memstream.
18428         * posix/getopt.c (_getopt_internal_r): Likewise.
18429         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18430         variable.
18431         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18432         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18433         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18435         [BZ #18496]
18436         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18437         instead of wcrtomb.
18439         [BZ #18483]
18440         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18441         [__USE_XOPEN2K8].  Remove redundant #endif.
18442         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18443         Remove redundant #if.
18444         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18445         Remove variable.
18446         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18447         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18449         [BZ #18495]
18450         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18451         (__iswlower): Likewise.
18452         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18453         (__iswlower): Likewise.
18454         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18455         instead of towlower.
18456         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18457         instead of iswlower.  Call __towupper instead of towupper.
18458         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18459         instead of iswalnum.
18461 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18463         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18464         errors to stderr.
18466 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18468         [BZ #15661]
18469         [BZ #17322]
18470         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18471         Check for overflow properly.  Check for O_APPEND.  Ignore large
18472         file system block sizes.  Add comments about problems.
18473         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18474         * manual/filesys.texi (Storage Allocation): New node.
18476 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18478         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18479         cancellable syscalls.
18480         (SYS_ify): Add guard to no redefine it.
18481         (INLINE_SYSCALL): Likewise.
18482         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18483         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18484         SYSCALL_CANCEL instead.
18485         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18486         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18487         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18488         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18489         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18490         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18491         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18492         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18493         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18494         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18495         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18496         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18497         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18498         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18499         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18501         Likewise.
18502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18503         (__libc_pread64): Likewise.
18504         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18505         (__libc_preadv): Likewise.
18506         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18507         (__libc_readv64): Likewise.
18508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18509         (__libc_pwrite): Likewise.
18510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18511         (__libc_pwrite64): Likewise.
18512         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18513         (__libc_pwritev): Likewise.
18514         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18515         (__libc_pwritev64): Likewise.
18516         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18517         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18518         (sync_file_range): Likewise.
18519         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18520         Likewise.
18521         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18522         Likewise.
18523         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18524         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18525         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18526         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18527         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18528         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18529         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18530         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18532         Likewise.
18533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18534         (__libc_read64): Likewise.
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18536         Likewise.
18537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18538         Likewise.
18539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18540         Likewise.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18542         Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18544         (__libc_pread64): Likewise.
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18546         Likewise.
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18548         (__libc_pwrite64): Likewise.
18549         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18550         (sync_file_range): Likewise.
18551         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18552         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18553         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18554         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18555         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18556         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18557         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18558         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18559         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18560         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18561         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18562         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18563         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18564         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18565         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18566         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18567         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18568         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18569         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18570         Likewise.
18571         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18572         Likewise.
18573         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18574         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18575         Likewise.
18576         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18577         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18578         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18580         Likewise.
18581         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18582         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18583         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18584         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18585         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18587 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18589         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18590         Include dl-vdso.
18591         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18592         Use VDSO routines for gettimeofday, clock_gettime if
18593         available.
18594         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18595         Declare VDSO symbols.
18596         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18597         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18598         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18599         * sysdeps/unix/sysv/linux/arm/Versions: Add
18600         __vdso_clock_gettime.
18602 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18604         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18605         be an inline implementation regardless of library is built within.
18606         (open_not_cancel_2): Likewise.
18607         (__read_nocancel): Likewise.
18608         (__write_nocancel): Likewise.
18609         (openat_not_cancel): Likewise.
18610         (openat_not_cancel_3): Likewise.
18611         (openat64_not_cancel): Likewise.
18612         (openat64_not_cancel_3): Likewise.
18613         (__close_nocancel): Likewise.
18614         (pause_not_cancel): Likewise.
18615         (nanosleep_not_cancel): Likewise.
18616         (sigsuspend_not_cancel): Likewise.
18618 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18620         [BZ #14958]
18621         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18622         wake-up.
18623         (__pthread_rwlock_rdlock_slow): Likewise.
18624         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18625         Likewise.
18626         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18627         Likewise.
18628         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18629         * nptl/tst-rwlock16.c: New file.
18630         * nptl/Makefile (tests): Add new test.
18632 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18634         [BZ #18324]
18635         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18636         missing wake-up of readers.
18637         * nptl/tst-rwlock15.c: New file.
18638         * nptl/Makefile (tests): Add new test.
18640 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18642         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18643         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18644         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18645         and __nacl_supply_interface_rtld.
18646         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18647         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18648         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18649         Add __nacl_supply_interface_rtld.
18650         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18652 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18654         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18655         isfinite.
18656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18657         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18659 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18661         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18662         __signbit* with standard C99 macros.
18663         * math/e_exp10l.c: Likewise.
18664         * math/e_exp2l.c: Likewise.
18665         * math/e_scalb.c: Likewise.
18666         * math/e_scalbf.c: Likewise.
18667         * math/e_scalbl.c: Likewise.
18668         * math/s_ldexp.c: Likewise.
18669         * math/s_ldexpf.c: Likewise.
18670         * math/s_ldexpl.c: Likewise.
18671         * math/w_atan2.c: Likewise.
18672         * math/w_atan2f.c: Likewise.
18673         * math/w_atan2l.c: Likewise.
18674         * math/w_cosh.c: Likewise.
18675         * math/w_coshf.c: Likewise.
18676         * math/w_coshl.c: Likewise.
18677         * math/w_exp10.c: Likewise.
18678         * math/w_exp10f.c: Likewise.
18679         * math/w_exp10l.c: Likewise.
18680         * math/w_exp2.c: Likewise.
18681         * math/w_exp2f.c: Likewise.
18682         * math/w_exp2l.c: Likewise.
18683         * math/w_fmod.c: Likewise.
18684         * math/w_fmodf.c: Likewise.
18685         * math/w_fmodl.c: Likewise.
18686         * math/w_hypot.c: Likewise.
18687         * math/w_hypotf.c: Likewise.
18688         * math/w_hypotl.c: Likewise.
18689         * math/w_jnl.c: Likewise.
18690         * math/w_lgamma.c: Likewise.
18691         * math/w_lgamma_r.c: Likewise.
18692         * math/w_lgammaf.c: Likewise.
18693         * math/w_lgammaf_r.c: Likewise.
18694         * math/w_lgammal.c: Likewise.
18695         * math/w_lgammal_r.c: Likewise.
18696         * math/w_pow.c: Likewise.
18697         * math/w_powf.c: Likewise.
18698         * math/w_powl.c: Likewise.
18699         * math/w_remainder.c: Likewise.
18700         * math/w_remainderf.c: Likewise.
18701         * math/w_remainderl.c: Likewise.
18702         * math/w_scalb.c: Likewise.
18703         * math/w_scalbf.c: Likewise.
18704         * math/w_scalbl.c: Likewise.
18705         * math/w_scalbln.c: Likewise.
18706         * math/w_scalblnf.c: Likewise.
18707         * math/w_scalblnl.c: Likewise.
18708         * math/w_sinh.c: Likewise.
18709         * math/w_sinhf.c: Likewise.
18710         * math/w_sinhl.c: Likewise.
18711         * math/w_tgamma.c: Likewise.
18712         * math/w_tgammaf.c: Likewise.
18713         * math/w_tgammal.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18716         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18718         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18720         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18721         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18722         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18723         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18724         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18725         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18726         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18728         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18731         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18732         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18735         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18738         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18739         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18740         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18742         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18743         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18744         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18745         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18746         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18747         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18748         * stdio-common/printf_fp.c: Likewise.
18749         * stdio-common/printf_fphex.c: Likewise.
18750         * stdio-common/printf_size.c: Likewise.
18752 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18754         [BZ #18470]
18755         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18756         strnlen.
18757         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18758         Remove variable.
18759         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18760         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18761         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18762         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18763         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18764         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18765         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18766         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18767         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18768         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18770         [BZ #18468]
18771         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18772         weak alias of __wmemchr.  Use libc_hidden_weak.
18773         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18774         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18775         instead of wmemchr.
18777 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18779         [BZ #18383]
18780         * elf/tst-tlsalign-extern.c: New file.
18781         * elf/tst-tlsalign-extern-static.c: New file.
18782         * elf/tst-tlsalign-vars.c: New file.
18783         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18784         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18785         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18786         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18787         (test-xfail-tst-tlsalign-extern-static): New variable.
18789 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18791         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18792         Use variable name _sc_err instead of err.
18793         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18794         instead of ret.
18795         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18796         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18797         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18798         (INLINE_SYSCALL): Likewise.
18800         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18801         * include/string.h (__strnlen): Use libc_hidden_proto.
18802         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18803         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18804         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18806         (libc_hidden_def): Undefine and redefine.
18807         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18808         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18809         __GI_strnlen.
18810         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18811         libc_hidden_def.
18812         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18814         [BZ #18469]
18815         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18816         weak alias of __towlower.  Use libc_hidden_weak.
18817         (towupper): Rename to __towupper and define as weak alias of
18818         __towupper.  Use libc_hidden_weak.
18819         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18820         (__towupper): Likewise.
18821         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18822         __towlower instead of towlower.
18824 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18826         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18827         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18829 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18831         * sysdeps/aarch64/libm-test-ulps: Update.
18833 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18835         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18836         Define.
18837         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18839         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18840         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18841         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18842         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18843         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18845 2015-06-01  Martin Sebor  <msebor@redhat.com>
18847         [BZ #18116]
18848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18849         (__setcontext): Use extended four-operand version of mtsf whenever
18850         possible.
18851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18852         (__novec_swapcontext): Likewise.
18854 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18856         * benchtests/scripts/compare_bench.py: New file.
18857         * benchtests/scripts/import_bench.py (mean): New function.
18858         (split_list): Likewise.
18859         (do_for_all_timings): Likewise.
18860         (compress_timings): Likewise.
18862         * benchtests/scripts/import_bench.py: New file.
18863         * benchtests/scripts/validate_benchout.py: Import import_bench
18864         instead of jsonschema.
18865         (validate_bench): Remove function.
18866         (main): Use import_bench.
18868 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18870         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18871         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18873 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18877 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18879         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18880         set THREAD_SELF->tid to a magic value and futex-wake it.
18881         Pass its address to the thread_exit system call.
18882         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18883         bit is clear.
18884         * sysdeps/nacl/lowlevellock.h: New file.
18885         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18887         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18888         Add TIMEOUT to current time, don't subtract it.
18890 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18892         [BZ #2981]
18893         [BZ #18422]
18894         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18895         ($(objpfx)tst-audit2.out): Also depend on
18896         $(objpfx)tst-auditmod9b.so.
18897         * elf/tst-audit2.c: Include <dlfcn.h>.
18898         (calloc_called): New.
18899         (calloc): Allow to be called more than once.
18900         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18902 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18904         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18905         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18907 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18909         * stdlib/monetary.h: Fix comment.
18911 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18913         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18914         Avoid using variables in #defines that might cause shadowing.
18915         (INTERNAL_VSYSCALL_CALL): Likewise.
18917 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18919         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18921         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18922         * nptl/lll_timedlock_wait.c: ... to this new file.
18923         * nptl/Makefile (libpthread-routines): Add it.
18924         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18925         * nptl/lll_timedwait_tid.c: ... to this new file.
18926         * nptl/Makefile (libpthread-routines): Add it.
18927         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18928         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18929         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18930         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18931         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18932         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18933         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18934         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18935         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18936         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18938 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18940         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18941         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18942         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18944         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18946         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18948         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18949         * sysdeps/unix/sysv/linux/tile/sysdep.h
18950         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18951         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18952         using vDSO syscall macro.
18954 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18956         [BZ #17293]
18957         * uk_UA: Fix sorting order for Ukrainian locale
18959 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18961         * stdlib/monetary.h: Fix comment.
18963 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18965         [BZ #18234]
18966         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18967         st_mtim and st_ctim members.
18968         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18969         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18970         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18971         (struct stat64): Likewise.
18972         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18973         (struct stat64): Likewise.
18974         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18975         (struct stat64): Likewise.
18977 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18979         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18980         Define and include sysdep-vdso.h.
18981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18982         Likewise.
18983         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18984         Likewise.
18985         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18986         Define with VDSO_SYMBOL and use PTR_MANGLE.
18987         (__vdso_clock_gettime): Likewise.
18988         (__vdso_clock_getres): Likewise.
18989         (_libc_vdso_platform_setup): Likewise.
18990         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18991         Likewise.
18992         (_libc_vdso_platform_setup): Likewise.
18993         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18994         Likewise.
18995         (__vdso_clock_gettime): Likewise.
18996         (__vdso_clock_getres): Likewise.
18997         (__vdso_get_tbfreq): Likewise.
18998         (__vdso_getcpu): Likewise.
18999         (__vdso_time): Likewise.
19000         (__vdso_sigtramp_rt64): Likewise.
19001         (__vdso_signtramp32): Likewise.
19002         (__vdso_sigtramp_rt32): Likewise.
19003         (_libc_vdso_platform_setup): Likewise.
19004         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19005         Likewise.
19006         (__vdso_clock_gettime): Likewise.
19007         (__vdso_clock_getres): Likewise.
19008         (_libc_vdso_platform_setup): Likewise.
19009         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19010         Likewise.
19011         (__vdso_clock_gettime): Likewise.
19012         (_libc_vdso_platform_setup): Likewise.
19013         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19014         Likewise.
19015         (__vdso_getcpu): Likewise.
19016         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19017         Use VDSO_SYMBOL macro to define.
19018         (__vdso_clock_gettime): Likewise.
19019         (__vdso_clock_getres): Likewise.
19020         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19021         Likewise.
19022         (__vdso_clock_gettime): Likewise.
19023         (__vdso_clock_getres): Likewise.
19024         (__vdso_get_tbfreq): Likewise.
19025         (__vdso_getcpu): Likewise.
19026         (__vdso_time): Likewise.
19027         (__vdso_sigtramp_rt64): Likewise.
19028         (__vdso_signtramp32): Likewise.
19029         (__vdso_sigtramp_rt32): Likewise.
19030         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19031         Likewise.
19032         (__vdso_clock_gettime): Likewise.
19033         (__vdso_clock_getres): Likewise.
19034         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19035         Likewise.
19036         (__vdso_clock_gettime): Likewise.
19037         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19038         Likewise.
19039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19040         macro.
19041         (INTERNAL_VSYSCALL): Likewise.
19042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19043         Remove macro.
19044         (INTERNAL_VSYSCALL): Likewise.
19045         (INTERNAL_VSYSCALL_NCS): Likewise.
19046         (INTERNAL_VSYSCALL_CALL): New macro.
19047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19049         Likewise.
19050         (INTERNAL_VSYSCALL): Likewise.
19051         (INTERNAL_VSYSCALL_NCS): Likewise.
19052         (INTERNAL_VSYSCALL_CALL): New macro.
19053         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19055         (INLINE_VSYSCALL): Remove macro.
19056         (INTERNAL_VSYSCALL): Remove macro.
19057         (INTERNAL_VSYSCALL_NCS): Remove macro.
19058         (INTERNAL_VSYSCALL_CALL): New macro.
19059         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19060         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19061         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19062         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19063         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19065         (INLINE_VSYSCALL): Remove macro.
19066         (INTERNAL_VSYSCALL): Likewise.
19067         (INTERNAL_VSYSCALL_NCS): Likewise.
19068         (INTERNAL_VSYSCALL_CALL): New macro.
19069         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19070         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19071         PTR_DEMANGLE on vDSO pointer.
19072         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19073         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19074         macro.
19075         (INTERNAL_SYSCALL): Likewise.
19076         (INTERNAL_VSYSCALL_NCS): Remove macro.
19077         (INTERNAL_VSYSCALL_CALL): New macro.
19078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19079         Remove macro.
19080         (INTERNAL_VSYSCALL): Likewise.
19081         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19082         sysdep-vdso.h instead of libc-vdso.h.
19083         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19084         definition.
19085         (INLINE_VSYSCALL): Likewise.
19086         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19087         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19088         definition.
19089         (INLINE_VSYSCALL): Likewise.
19090         (INTERNAL_VSYSCALL): Likewise.
19091         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19092         * sysdeps/unix/sysv/linux/timespec_get.c
19093         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19094         (timespec_get): Use ANSI prototype.
19095         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19096         and definition for Linux.
19098 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19100         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19101         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19103 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19105         [BZ #2981]
19106         [BZ #18410]
19107         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19108         for missing DT_PLTRELSZ.
19110 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19112         Remove obsolete aliases that broke 'locale -a'
19113         [BZ #18412]
19114         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19115         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19116         breaking some applications that use 'locale -a' output.
19117         Change the encoding of this file from Latin-1 to ASCII to avoid
19118         other potential problems with people grepping this file.
19120 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19122         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19123         -fasynchronous-unwind-tables.
19124         (CFLAGS-sendto.c): Likewise.
19125         (CFLAGS-sendmsg.c): Likewise.
19126         (CFLAGS-connect.c): Likewise.
19127         (CFLAGS-recvmsg.c): Likewise.
19128         (CFLAGS-recvfrom.c): Likewise.
19129         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19130         (SOCKETCALL): New macro: non-cancellable socketcall.
19131         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19132         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19133         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19134         * sysdeps/unix/sysv/linux/accept.c: New file.
19135         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19136         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19137         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19138         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19139         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19140         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19141         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19142         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19143         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19144         * sysdeps/unix/sysv/linux/send.c: Likewise.
19145         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19146         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19147         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19148         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19149         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19150         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19151         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19152         prototype.
19153         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19154         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19155         instead of __internal_xxx function.
19156         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19157         prototype.
19158         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19159         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19160         instead of __internal_xxx function.
19161         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19162         prototype.
19163         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19164         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19165         instead of __internal_xxx function.
19166         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19167         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19168         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19169         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19170         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19171         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19172         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19173         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19174         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19175         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19176         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19177         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19178         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19179         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19180         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19181         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19182         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19183         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19184         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19185         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19188         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19189         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19190         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19191         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19192         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19193         * sysdeps/unix/sysv/linux/send.S: Likewise.
19194         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19195         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19196         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19197         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19198         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19199         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19200         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19201         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19202         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19203         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19204         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19205         socketcall is implemented in GLIBC.
19207 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19209         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19210         (__fma): Ignore uninitialized warnings around packing.
19211         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19212         (__fmaf): Ignore uninitialized warnings around packing.
19213         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19214         (__fmal): Ignore uninitialized warnings around packing.
19216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19217         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19218         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19219         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19221         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19222         switch statement into default case.
19223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19225         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19226         a conditional in forcing "inexact".
19227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19228         Likewise.
19230 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19232         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19233         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19234         for each INTERNAL_SYSCALL use.
19236 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19238         [BZ #438]
19239         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19240         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19241         variable.
19243         [BZ #18444]
19244         * string/basename.c (basename): Rename to __basename and define as
19245         weak alias of __basename.  Use libc_hidden_weak.
19246         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19247         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19248         __basename instead of basename.
19249         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19250         Remove variable.
19251         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19253 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19255         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19256         (_IO_JUMPS_FILE_plus): New.
19257         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19258         _IO_CAST_FIELD_ACCESS.
19259         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19260         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19261         * libio/freopen.c (freopen): Likewise.
19262         * libio/freopen64.c (freopen64): Likewise.
19263         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19264         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19265         * libio/iofwide.c (_IO_fwide): Likewise.
19266         * libio/memstream.c (open_memstream): Likewise.
19267         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19268         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19269         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19271 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19273         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19274         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19275         NADJ.
19276         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19277         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19278         NADJ.
19279         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19280         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19281         NADJ.
19283         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19284         (p == 4) case.
19286         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19287         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19288         Remove variable.
19289         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19290         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19291         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19293 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19295         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19296         Adjust jump table label generation macros.
19298 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19300         * stdio-common/vfprintf.c (vfprintf): Move local variables
19301         args_malloced, specs, specs_malloced, and the code after
19302         do_positional to the printf_positional function.
19303         (printf_positional): New function.
19305 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19307         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19308         function.
19309         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19310         STEP4_TABLE, process_arg): Move macro definitions
19311         out of the vfprintf function.  (Cosmetic change only.)
19313 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19315         * benchtests/Makefile (stdio-common-bench): Define.
19316         (benchset): Add stdio-common-bench.
19317         * sprintf-inputs: New file.
19318         * sprintf-source.c: New file.
19320 2015-05-21  Andreas Schwab  <schwab@suse.de>
19322         [BZ #13028]
19323         [BZ #17053]
19324         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19325         of struct __res_state.
19326         * resolv/res_send.c (__libc_res_nsend): Likewise.
19327         (get_nsaddr): New function.
19328         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19329         statp directly.
19331 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19333         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19334         -D_POSIX_C_SOURCE=199506L.
19336         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19338         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19339         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19340         Do not mention otherwise.
19341         [POSIX] (_XOPEN_VERSION): Do not expect.
19342         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19343         [POSIX] (_POSIX2_C_BIND): Likewise.
19344         [POSIX] (_POSIX2_VERSION): Likewise.
19345         [POSIX] (_XOPEN_XPG2): Likewise.
19346         [POSIX] (_XOPEN_XPG3): Likewise.
19347         [POSIX] (_XOPEN_XPG4): Likewise.
19348         [POSIX] (_XOPEN_UNIX): Likewise.
19349         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19350         [POSIX] (_POSIX_BARRIERS): Likewise.
19351         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19352         [POSIX] (_POSIX_CPUTIME): Likewise.
19353         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19354         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19355         [POSIX] (_POSIX_SHELL): Likewise.
19356         [POSIX] (_POSIX_SPAWN): Likewise.
19357         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19358         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19359         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19360         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19361         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19362         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19363         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19364         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19365         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19366         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19367         [POSIX] (_POSIX2_PBS): Likewise.
19368         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19369         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19370         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19371         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19372         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19373         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19374         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19375         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19376         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19377         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19378         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19379         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19380         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19381         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19382         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19383         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19384         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19385         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19386         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19387         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19388         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19389         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19390         [POSIX] (_SC_2_C_BIND): Likewise.
19391         [POSIX] (_SC_2_C_VERSION): Likewise.
19392         [POSIX] (_SC_2_PBS): Likewise.
19393         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19394         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19395         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19396         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19397         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19398         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19399         [POSIX] (_SC_BARRIERS): Likewise.
19400         [POSIX] (_SC_BASE): Likewise.
19401         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19402         [POSIX] (_SC_DEVICE_IO): Likewise.
19403         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19404         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19405         [POSIX] (_SC_FD_MGMT): Likewise.
19406         [POSIX] (_SC_FIFO): Likewise.
19407         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19408         [POSIX] (_SC_FILE_LOCKING): Likewise.
19409         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19410         [POSIX] (_SC_IOV_MAX): Likewise.
19411         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19412         [POSIX] (_SC_NETWORKING): Likewise.
19413         [POSIX] (_SC_PAGE_SIZE): Likewise.
19414         [POSIX] (_SC_PASS_MAX): Likewise.
19415         [POSIX] (_SC_PIPE): Likewise.
19416         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19417         [POSIX] (_SC_REGEXP): Likewise.
19418         [POSIX] (_SC_SHELL): Likewise.
19419         [POSIX] (_SC_SIGNALS): Likewise.
19420         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19421         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19422         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19423         [POSIX] (_SC_USER_GROUPS): Likewise.
19424         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19425         [POSIX] (_SC_STREAMS): Likewise.
19426         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19427         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19428         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19429         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19430         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19431         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19432         [POSIX] (_PC_FILESIZEBITS): Likewise.
19433         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19434         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19435         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19436         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19437         [POSIX] (uid_t): Likewise.
19438         [POSIX] (gid_t): Likewise.
19439         [POSIX] (off_t): Likewise.
19440         [POSIX] (pid_t): Likewise.
19441         [POSIX] (cuserid): Allow.
19442         (_SC_2_CHAR_TERM): Require constant.
19443         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19444         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19445         variable.
19447 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19449         * sysdeps/nacl/pthread-pids.h: New file.
19450         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19451         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19453         * nptl/pthread-pids.h: New file.
19454         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19455         * nptl/nptl-init.c: Include <pthread-pids.h>.
19456         (__pthread_initialize_minimal_internal):
19457         Call __pthread_initialize_pids instead of set_tid_address syscall.
19459         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19460         * sysdeps/posix/usleep.c: ... here.
19462 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19464         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19465         call_pselect6 object.
19466         [$(subdir) = io]: Remove call_sync_file_range object.
19467         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19468         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19469         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19470         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19472 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19474         * math/s_cproj.c: Add include "math_private.h".
19475         * math/s_cprojf.c: Likewise.
19476         * math/s_cprojl.c: Likewise.
19478 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #18244]
19481         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19482         high mantissa bit when testing whether P is a NaN.
19483         * math/libm-test.inc (remainder_test_data): Add more tests.
19484         (remquo_test_data): Likewise.
19486         [BZ #18049]
19487         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19488         below -32, return the argument, with underflow if subnormal.
19489         * math/auto-libm-test-in: Add more tests of atanh.
19490         * math/auto-libm-test-out: Regenerated.
19492 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19494         [BZ #18434]
19495         * nptl/tst-sem15.c: New file.
19496         * nptl/Makefile (tests): Add it.
19497         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19498         s/<</>>/ to fix typo in EOVERFLOW check.
19499         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19501 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19503         * manual/strings.texi (envz_remove): Fix typo in safety
19504         annotations.
19506 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19507             Steve Ellcey  <sellcey@imgtec.com>
19509         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19510         in order to avoid strict alias warnings.
19511         (iruserok_af): Ditto for ra.
19513 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19515         [BZ #17581]
19516         * malloc/hooks.c
19517         (magicbyte): Convert to a function and avoid returning 0x01.
19518         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19519         (mem2chunk_check): Fix unsigned comparisons to zero.
19520         Hoist defs of sz and magic.
19522 2015-05-19  Richard Henderson  <rth@redhat.com>
19524         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19526         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19528 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19530         [BZ #16159]
19531         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19532         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19533         (reused_arena): Find a non-corrupt arena.
19534         (heap_trim): Pass arena to unlink.
19535         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19536         malloc_printerr.
19537         (top_check): Likewise.
19538         (free_check): Likewise.
19539         (realloc_check): Likewise.
19540         * malloc/malloc.c (malloc_printerr): Add arena argument.
19541         (unlink): Likewise.
19542         (munmap_chunk): Adjust.
19543         (ARENA_CORRUPTION_BIT): New macro.
19544         (arena_is_corrupt): Likewise.
19545         (set_arena_corrupt): Likewise.
19546         (sysmalloc): Use mmap if there are no usable arenas.
19547         (_int_malloc): Likewise.
19548         (__libc_malloc): Don't fail if arena_get returns NULL.
19549         (_mid_memalign): Likewise.
19550         (__libc_calloc): Likewise.
19551         (__libc_realloc): Adjust for additional argument to
19552         malloc_printerr.
19553         (_int_free): Likewise.
19554         (malloc_consolidate): Likewise.
19555         (_int_realloc): Likewise.
19556         (_int_memalign): Don't touch corrupt arenas.
19557         * malloc/tst-malloc-backtrace.c: New test case.
19559         * Makefile (summarize-tests): Fix return value on success.
19561         * manual/string.texi (Envz Functions): Add envz_remove.
19563 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19565         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19566         (invalid_name): New function, broken out of ...
19567         (__opendirat): ... here.  Call it.
19568         (need_isdir_precheck): New function, broken out of ...
19569         (__opendirat): ... here.  Call it.
19570         Use __fxstatat64, not __xstatat64.
19571         (opendir_oflags): New function, broken out of ...
19572         (__opendirat): ... here.  Call it.
19573         (opendir_tail): New function, broken out of ...
19574         (__opendirat): ... here.  Call it.
19575         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19576         opendir_tail, rather than punting to __opendirat.
19577         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19579 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19581         * .gitignore: Ignore generated *.pyc.
19583 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19585         * include/stdio.h: Define __need_wint_t.
19586         * test-skeleton.c: Avoid `for' loop initial declaration.
19587         * nptl/tst-initializers1.c: Use test-skeleton.c.
19589 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19591         [BZ #18418]
19592         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19594 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #16352]
19597         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19598         (__ieee754_atanh): Force underflow exception for results with
19599         small absolute value.
19600         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19601         (__ieee754_atanhf): Force underflow exception for results with
19602         small absolute value.
19603         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19604         (__ieee754_atanh): Force underflow exception for results with
19605         small absolute value.
19606         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19607         (__ieee754_atanhf): Force underflow exception for results with
19608         small absolute value.
19609         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19610         (__ieee754_atanhl): Force underflow exception for results with
19611         small absolute value.
19612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19613         (__ieee754_atanhl): Force underflow exception for results with
19614         small absolute value.
19615         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19616         (__ieee754_atanhl): Force underflow exception for results with
19617         small absolute value.
19618         * math/auto-libm-test-in: Do not allow missing underflow
19619         exceptions from atanh.
19620         * math/auto-libm-test-out: Regenerated.
19622         [BZ #18221]
19623         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19624         2**-28 as threshold for returning x or +/- 1/x.
19625         * math/auto-libm-test-in: Add more tests of tan.
19626         * math/auto-libm-test-out: Regenerated.
19628         [BZ #18220]
19629         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19630         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19631         * math/auto-libm-test-in: Add another test of lgamma.
19632         * math/auto-libm-test-out: Regenerated.
19634 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19636         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19637         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19638         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19639         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19640         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19641         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19642         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19644         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19645         (log1): Use fabs.  (my_log2): Use fabs.
19646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19647         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19649         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19651         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19652         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19653         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19654         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19655         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19656         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19658 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19660         [BZ #18217]
19661         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19662         as threshold for returning 1 - x.
19663         * math/auto-libm-test-in: Add more tests of erfc.
19664         * math/auto-libm-test-out: Regenerated.
19666 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19668         [BZ #18196]
19669         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19670         threshold for large arguments.
19671         * math/auto-libm-test-in: Add another test of atan.
19672         * math/auto-libm-test-out: Regenerated.
19674         [BZ #16339]
19675         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19676         (__log1p): Force underflow exception for results with small
19677         absolute value.
19678         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19679         (__log1pf): Force underflow exception for results with small
19680         absolute value.
19681         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19682         (__log1p): Force underflow exception for results with small
19683         absolute value.
19684         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19685         (__log1pf): Force underflow exception for results with small
19686         absolute value.
19687         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19688         (__log1pl): Force underflow exception for results with small
19689         absolute value.
19690         * math/auto-libm-test-in: Do not allow missing underflow
19691         exceptions from log1p.
19692         * math/auto-libm-test-out: Regenerated.
19694 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19695             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19697         [BZ #16704]
19698         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19700 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19702         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19703         (libmvec): New variable.
19704         * configure.ac: Added option for mathvec build.
19705         * configure: Regenerated.
19706         * mathvec/Depend: New file.
19707         * mathvec/Makefile: New file.
19708         * shlib-versions: Added libmvec.
19709         * math/Makefile: Added rule for libm.so installation.
19711         * bits/math-vector.h: New file.
19712         * bits/libm-simd-decl-stubs.h: New header.
19713         * math/Makefile (headers): Added new header
19714         libm-simd-decl-stubs.h.
19715         * math/math.h (__MATHCALL_VEC): New macro.
19717         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19718         for conditions in testing functions.
19719         * math/Makefile: Added call of libm-have-vector-test.sh.
19720         * math/libm-test.inc (HAVE_VECTOR): New macros.
19722         * math/libm-test.inc: START refactored.
19723         * math/test-double.c (TEST_MATHVEC): Add define.
19724         * math/test-float.c: Likewise.
19725         * math/test-idouble.c: Likewise.
19726         * math/test-ifloat.c: Likewise.
19727         * math/test-ildoubl.c: Likewise.
19728         * math/test-ldouble.c: Likewise.
19729         * sysdeps/generic/math-tests-arch.h
19730         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19731         architecture check.
19733         * math/test-double.c (FUNC_TEST): New macro.
19734         * math/test-float.c: Likewise.
19735         * math/test-idouble.c: Likewise.
19736         * math/test-ifloat.c: Likewise.
19737         * math/test-ildoubl.c: Likewise.
19738         * math/test-ldouble.c: Likewise.
19739         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19741 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19743         * sysdeps/nacl/fdopendir.c: New file.
19745         * dirent/scandir-tail.c: New file.
19746         * dirent/scandir64-tail.c: New file.
19747         * dirent/Makefile (routines): Add them.
19748         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19749         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19750         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19751         [!SCANDIR] (SCANDIR_TAIL): New macro.
19752         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19753         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19754         (SCANDIRAT): Macro removed.
19755         (SCANDIR_TAIL): New macro.
19756         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19757         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19758         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19759         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19760         (READDIR): Macro removed.
19761         (SCANDIR_TAIL): New macro.
19762         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19763         (SCANDIR_TAIL): New macro.
19765         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19766         * dirent/scandir-cancel.c: ... to this new file.
19767         * dirent/Makefile (routines): Add it.
19768         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19769         * sysdeps/unix/sysv/linux/i386/scandir64.c
19770         (SKIP_SCANDIR_CANCEL): Macro removed.
19771         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19773         * dirent/tst-scandir.c: New file.
19774         * dirent/tst-scandir64.c: New file.
19775         * dirent/Makefile (tests): Add them.
19777 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19779         [BZ #18409]
19780         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19782 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19784         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19785         list.
19787 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19789         * benchtests/bench-strcoll.c: New benchmark.
19790         * benchtests/Makefile: Generate locales and run benchmark.
19791         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19792         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19793         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19794         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19795         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19796         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19797         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19798         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19799         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19800         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19801         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19802         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19803         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19804         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19805         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19806         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19807         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19808         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19809         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19810         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19811         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19812         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19813         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19814         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19816 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19818         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19819         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19821 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19823         * posix/uname-values.h: New file.
19824         * posix/uname.c: Include that instead of <config-name.h>.
19825         * sysdeps/nacl/uname-values.h: New file.
19826         * sysdeps/arm/nacl/uname-values.h: New file.
19828 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19830         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19831         splitting into fields.
19833 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19835         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19836         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19837         * locale/localeinfo.h: Add enum collation_encoding_type.
19838         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19839         * programs/ld-collate.c (collate_output): Add encoding type info.
19840         * string/strcoll_l.c (STRDIFF): New function.
19841         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19842         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19844 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19846         [BZ #18397]
19847         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19848         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19849         <fpu_control.h> instead of <math/fpu_control.c>.
19850         * sysdeps/mips/mips32/fpu/Makefile: New file.
19852 2015-05-11  Andreas Schwab  <schwab@suse.de>
19854         [BZ #18007]
19855         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19856         nss_endgrent.
19857         (_nss_compat_endgrent): Call nss_endgrent.
19858         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19859         nss_endpwent.
19860         (_nss_compat_endpwent): Call nss_endpwent.
19861         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19862         needent, call nss_setspent only if non-zero.
19863         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19864         (internal_endspent): Don't call nss_endspent.
19865         (_nss_compat_endspent): Call nss_endspent.
19866         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19867         Remove.  All uses removed.
19868         (internal_setent): Remove parameter stayopen, add parameter
19869         stream.  Use it instead of global variable.
19870         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19871         (internal_endent, internal_getent): Add parameter stream.  Use it
19872         instead of global variable.
19873         (CONCAT(_nss_files_end,ENTNAME))
19874         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19875         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19876         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19877         uses removed.
19878         (internal_setent, internal_endent): Add parameter stream.  Use it
19879         instead of global variable.
19880         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19881         stream.
19882         (get_next_alias): Add parameter stream.
19883         (_nss_files_getaliasent_r): Pass global stream.
19884         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19885         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19886         (_nss_files_gethostbyname4_r): Pass local stream to
19887         internal_setent, internal_getent and internal_endent.  Remove
19888         locking.
19890 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19892         * tst-strfmon1.c (tests): Update expected currency symbol.
19894 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19896         * sysdeps/nacl/gethostname.c: New file.
19898 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19900         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19901         and sinh.
19902         * math/auto-libm-test-out: Regenerated.
19903         * sysdeps/i386/fpu/libm-test-ulps: Update.
19904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19906 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19908         [BZ #18125]
19909         * stdlib/tst-setcontext3.c: New file.
19910         * stdlib/tst-setcontext3.sh: New file.
19911         * stdlib/Makefile (tests): Add tst-setcontext3.
19912         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19913         to verify test program created output file.
19914         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19915         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19916         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19917         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19919 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19921         [BZ #18383]
19922         * elf/tst-tlsalign.c: New file.
19923         * elf/tst-tlsalign-static.c: New file.
19924         * elf/tst-tlsalign-lib.c: New file.
19925         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19926         (tests-static): Add tst-tlsalign-static.
19927         (modules-names): Add tst-tlsalign-lib.
19928         (test-xfail-tst-tlsalign): New variable.
19929         (test-xfail-tst-tlsalign-static): New variable.
19931         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19932         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19934 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19936         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19937         csqrt, erfc, sin and sincos.
19938         * math/auto-libm-test-out: Regenerated.
19939         * sysdeps/i386/fpu/libm-test-ulps: Update.
19940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19942 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19944         * sysdeps/aarch64/libm-test-ulps: Update.
19946 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19948         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19949         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19950         * math/auto-libm-test-out: Regenerated.
19951         * sysdeps/i386/fpu/libm-test-ulps: Update.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19956         [BZ #18265]
19957         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19958         (wcsncpy): Likewise.
19960 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19962         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19963         Assume __ASSUME_FALLOCATE is always true.
19964         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19965         (__posix_fallocate64_l64): Likweise.
19966         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19967         (posix_fallocate): Likewise.
19968         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19969         (__posix_fallocate64_l64): Likewise.
19970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19971         [!__ASSUME_FALLOCATE]: Add comment.
19973 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19975         * sysdeps/unix/sysv/linux/i386/Makefile
19976         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19977         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19978         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19979         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19980         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19981         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19982         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19984 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19986         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19987         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19988         tgamma.
19989         * math/auto-libm-test-out: Regenerated.
19990         * sysdeps/i386/fpu/libm-test-ulps: Update.
19991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19995         * math/auto-libm-test-in: Add more tests of tgamma.
19996         * math/auto-libm-test-out: Regenerated.
19997         * sysdeps/i386/fpu/libm-test-ulps: Update.
19998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20000         * math/auto-libm-test-in: Add more tests of tanh.
20001         * math/auto-libm-test-out: Regenerated.
20002         * sysdeps/i386/fpu/libm-test-ulps: Update.
20003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20005         * math/auto-libm-test-in: Add more tests of tan.
20006         * math/auto-libm-test-out: Regenerated.
20007         * sysdeps/i386/fpu/libm-test-ulps: Update.
20008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20010         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20011         * math/auto-libm-test-out: Regenerated.
20012         * sysdeps/i386/fpu/libm-test-ulps: Update.
20013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20015         * math/auto-libm-test-in: Add another test of pow.
20016         * math/auto-libm-test-out: Regenerated.
20017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20019         * math/auto-libm-test-in: Add more tests of lgamma.
20020         * math/auto-libm-test-out: Regenerated.
20021         * sysdeps/i386/fpu/libm-test-ulps: Update.
20022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20024         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20025         log1p.
20026         * math/auto-libm-test-out: Regenerated.
20027         * sysdeps/i386/fpu/libm-test-ulps: Update.
20028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20030 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20032         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20033         Elf64_Chdr structs and ELFCOMPRESS constants.
20035 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20037         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20038         expm1.
20039         * math/auto-libm-test-out: Regenerated.
20040         * sysdeps/i386/fpu/libm-test-ulps: Update.
20041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20043         * math/auto-libm-test-in: Add more tests of erf and erfc.
20044         * math/auto-libm-test-out: Regenerated.
20045         * sysdeps/i386/fpu/libm-test-ulps: Update.
20046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20048 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20050         * config.h.in (HAVE_AARCH64_BE): Add.
20052 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20054         * math/auto-libm-test-in: Add more tests of csqrt.
20055         * math/auto-libm-test-out: Regenerated.
20056         * sysdeps/i386/fpu/libm-test-ulps: Update.
20057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20060         * math/auto-libm-test-out: Regenerated.
20061         * sysdeps/i386/fpu/libm-test-ulps: Update.
20062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20064         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20066 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20068         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20069         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20071         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20072         (euidaccess, eaccess): Define as weak aliases.
20074         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20075         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20076         but __suseconds_t is often 'long int' so some sources assume that
20077         type is being used (e.g. they use %ld to print tv_usec).
20079 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20081         [BZ #18007]
20082         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20083         (CVE-2014-8121)
20084         * nss/tst-nss-getpwent.c: New file.
20085         * nss/Makefile (tests): Add new test.
20087 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20089         [BZ #18346]
20090         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20091         exponents less than 48 as cases where high part of mantissa needs
20092         examining to determine whether argument is integral.
20093         * math/libm-test.inc (round_test_data): Add more tests.
20095 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20097         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20099 2015-04-27  David S. Miller  <davem@davemloft.net>
20101         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20102         __tls_get_addr.
20103         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20105 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20107         [BZ#18333]
20108         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20110 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20112         [BZ#18333]
20113         * time/tzset.c (parse_tzname): Return error on memory allocation
20114         failure.
20115         * test-skeleton.c (struct temp_name_list): Change type of name
20116         member to non-const.
20117         (add_temp_file): Create a copy of the file name.
20118         (delete_temp_files): Deallocate memory.
20119         (create_temp_file): Add comment.
20121 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20123         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20124         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20126 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20128         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20129         * sysdeps/arm/configure: Regenerated.
20131 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20133         [BZ #17715]
20134         * time/tzfile.c (__tzfile_read): Check for large values of
20135         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20136         * time/tzset.c (__tzstring_len): New function, based on the old
20137         __tzstring function.
20138         (__tzstring): Call __tzstring_len.
20139         (parse_tzname): New helper function extracted from
20140         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20141         the input string.
20142         (parse_offset): New helper function extracted from
20143         __tzset_parse_tz.  Replace switch with fallthrough with
20144         initialization before sscanf.
20145         (parse_rule): Likewise.
20146         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20147         new-style function definition.
20148         * timezone/Makefile (tests): Add tst-tzset.
20149         (tst-tzset.out): Dependencies on time zone files.
20150         (tst-tzset-ENV): Set TZDIR.
20151         (testdata/XT%): Copy crafted time zone files.
20152         * timezone/README: Mention crafted time zone files.
20153         * timezone/testdata/XT1, timezone/testdata/XT2,
20154         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20155         files.
20156         * timezone/tst-tzset.c: New test.
20158 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20160         * Makeconfig (+gccwarn): Remove -Winline.
20162 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20164         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20166 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20168         * NEWS: Mention sysconf() cache information support for s390.
20169         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20171 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20173         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20174         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20175         (__nearbyint): Likewise.
20176         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20177         (copysignl): Likewise.
20179 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20181         [BZ #18287]
20182         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20183         based on padding.  (CVE-2015-1781)
20185 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20187         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20188         libc-vdso.h.
20189         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20190         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20191         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20192         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20193         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20194         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20195         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20198         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20199         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20200         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20201         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20202         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20203         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20204         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20205         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20207         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20208         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20209         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20210         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20211         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20213 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20215         * stdlib/setenv.c (__add_to_environ):
20216         Dump core quickly if setenv (..., NULL, ...) is called.
20217         This time, do it the right way, and pacify GCC with a pragma.
20219 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20221         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20222         IMAP->l_prev cannot be null, and #if out the code for the contrary
20223         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20224         believe that NS (&_dl_ns[NSID]) could point outside the array.
20226         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20227         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20228         before using NSID as an index.
20230 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20232         [BZ #17825]
20233         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20234         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20235         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20237 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20239         Add preliminary port to Google Native Client on ARM.
20240         * abi-tags (.*-.*-nacl.*): New entry.
20241         * sysdeps/arm/nacl: New directory.
20242         * sysdeps/nacl: New directory.
20244 2015-04-16  David S. Miller  <davem@davemloft.net>
20246         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20247         lowlevellock-futex.h
20249 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20251         * sysdeps/tile/configure.ac: New file.
20252         * sysdeps/tile/configure: Regenerated.
20254 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20256         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20257         conditionals for weak_alias and libc_hidden_weak.
20258         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20259         libc_hidden_weak and weak_alias.
20260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20261         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20262         and weak_alias for static one.
20264 2015-04-15  David S. Miller  <davem@davemloft.net>
20266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20268 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20270         [BZ #18206]
20271         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20272           Use signed comparision instead of substraction to avoid
20273           overflow bug.
20274         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20275           Take the sign of ret.
20276         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20277           Do not expect precise return values. Only the sign matters.
20278         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20279         * wcsmbs/test-wcsncmp.c: New File.
20280         * string/test-strncmp.c: Add wcsncmp support.
20282 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20284         [BZ #6792]
20285         * math/w_log1p.c: New file.
20286         * math/w_log1pf.c: Likewise.
20287         * math/w_log1pl.c: Likewise.
20288         * math/Makefile (libm-calls): Add w_log1p.
20289         * math/s_log1pl.c (log1pl): Remove weak_alias.
20290         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20291         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20292         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20293         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20294         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20295         [NO_LONG_DOUBLE] (log1pl): Likewise.
20296         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20297         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20298         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20299         (log1p): Remove long_double_symbol.
20300         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20301         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20302         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20303         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20304         remove weak_alias for corresponding log1p function.
20305         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20306         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20307         * sysdeps/ia64/fpu/w_log1p.c: New file.
20308         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20309         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20310         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20312 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #18247]
20315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20316         decimal exponent by 1.
20317         * stdlib/tst-strtod-round-data: Add more tests.
20318         * stdlib/tst-strtod-round.c (tests): Regenerated.
20320 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20322         * math/auto-libm-test-in: Add more tests of clog and clog10.
20323         * math/auto-libm-test-out: Regenerated.
20324         * sysdeps/i386/fpu/libm-test-ulps: Update.
20325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20327 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20329         * Makeconfig (module-cppflags): Exclude all .v.i files.
20330         (skip-module-cppflags): Variable removed.
20332         * configure.ac (libc_config_ok): Initialize before reading
20333         preconfigure scripts, not after.
20334         * configure: Regenerated.
20336         * test-skeleton.c (TIMEOUT): Move #define to top level.
20337         (main): Grok environment variable TEST_DIRECT.  If set, print
20338         test expectation details into that file and then behave as if
20339         given --direct.
20341 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20343         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20344         warning on 32-bit.
20346 2015-04-08  David S. Miller  <davem@davemloft.net>
20348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20350 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20352         * math/auto-libm-test-in: Add more tests of atanh.
20353         * math/auto-libm-test-out: Regenerated.
20354         * sysdeps/i386/fpu/libm-test-ulps: Update.
20355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20357         * math/auto-libm-test-in: Add more tests of atan.
20358         * math/auto-libm-test-out: Regenerated.
20359         * sysdeps/i386/fpu/libm-test-ulps: Update.
20360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20362 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20364         * elf/pldd.c (main): Rewrite to use struct
20365         scratch_buffer instead of extend_alloca.
20366         * elf/pldd-xx.c (find_maps): Likewise.
20367         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20368         <alloca.h>.
20369         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20370         scratch_buffer instead of extend_alloca.
20371         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20372         grp/compat-initgroups.c.
20373         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20374         Rewrite to use struct scratch_buffer instead of extend_alloca.
20375         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20376         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20378 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20380         * math/auto-libm-test-in: Add more tests of cbrt.
20381         * math/auto-libm-test-out: Regenerated.
20382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20384         * math/auto-libm-test-in: Add more tests of cabs.
20385         * math/auto-libm-test-out: Regenerated.
20386         * sysdeps/i386/fpu/libm-test-ulps: Update.
20387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20389         [BZ #18210]
20390         [BZ #18211]
20391         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20392         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20393         computations.
20394         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20395         clog10.
20396         * math/auto-libm-test-out: Regenerated.
20397         * sysdeps/i386/fpu/libm-test-ulps: Update.
20398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20400         [BZ #18197]
20401         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20402         (atan): Set FE_TONEAREST mode for internal computations.
20403         * math/auto-libm-test-in: Add more tests of atan.
20404         * math/auto-libm-test-out: Regenerated.
20406 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20408         [BZ #17930]
20409         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20411 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20413         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20415 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20417         * include/scratch_buffer.h: New file.
20418         * malloc/scratch_buffer_grow.c: Likewise.
20419         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20420         * malloc/scratch_buffer_set_array_size.c: Likewise.
20421         * malloc/tst-scratch_buffer.c: Likewise.
20422         * malloc/Makefile (routines): Add scratch_buffer_grow.
20423         (tests): Add test case.
20424         * malloc/Versions (GLIBC_PRIVATE): Export
20425         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20426         __libc_scratch_buffer_set_array_size.
20428 2015-04-06  Richard Henderson  <rth@redhat.com>
20430         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20431         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20433         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20434         unsigned int before printing.
20436 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20438         [BZ #17596]
20439         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20440         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20442 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20444         * include/libc-internal.h (libc_max_align_t): Define.
20446 2015-04-02  Andreas Schwab  <schwab@suse.de>
20448         [BZ #16850]
20449         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20451 2015-04-02  Mel Gorman  <mgorman@suse.de>
20453         [BZ #17195]
20454         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20455         as well as the main arena.
20457 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20459         [BZ #18185]
20460         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20461         sharing L2 cache to 2 for Silvermont/Knights Landing.
20463 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20465         [BZ #17711]
20466         * config.make.in (have-protected-data): New.
20467         * configure.ac: Check linker support for protected data symbol.
20468         * configure: Regenerated.
20469         * elf/Makefile (modules-names): Add tst-protected1moda and
20470         tst-protected1modb if $(have-protected-data) is yes.
20471         (tests): Add tst-protected1a and tst-protected1b if
20472         $(have-protected-data) is yes.
20473         ($(objpfx)tst-protected1a): New.
20474         ($(objpfx)tst-protected1b): Likewise.
20475         (tst-protected1modb.so-no-z-defs): Likewise.
20476         * elf/tst-protected1a.c: New file.
20477         * elf/tst-protected1b.c: Likewise.
20478         * elf/tst-protected1mod.h: Likewise.
20479         * elf/tst-protected1moda.c: Likewise.
20480         * elf/tst-protected1modb.c: Likewise.
20482 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20484         [BZ #17711]
20485         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20486         indicates it is called from do_lookup_x on relocation against
20487         protected data, skip the data definion in the executable from
20488         copy reloc.
20489         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20490         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20491         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20492         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20493         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20494         otherwise to 0.
20495         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20496         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20497         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20498         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20499         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20500         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20502 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20504         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20505         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20507 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20509         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20510         THREAD_SETMEM_NC.
20511         * sysdeps/x86_64/nptl/tls.h: Ditto.
20513 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20515         * dlfcn/tststatic.c (main): Converted to ...
20516         (do_test): ... this.
20517         (TEST_FUNCTION): New macro.
20518         Include test-skeleton.c.
20520 2015-03-26  Alan Modra  <amodra@gmail.com>
20522         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20523         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20524         zero for undefined weak.
20525         (elf_machine_plt_conflict): Similarly.
20527 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20529         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20530         atanh.
20531         * math/auto-libm-test-out: Regenerated.
20532         * sysdeps/i386/fpu/libm-test-ulps: Update.
20533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20535         * math/auto-libm-test-in: Add another test of asin.
20536         * math/auto-libm-test-out: Regenerated.
20537         * sysdeps/i386/fpu/libm-test-ulps: Update.
20538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20541         Remove macro.
20542         (LLL_EBX_REG): Likewise.
20543         (LLL_ENTER_KERNEL): Likewise.
20545         * math/auto-libm-test-in: Add more tests of asin.
20546         * math/auto-libm-test-out: Regenerated.
20547         * sysdeps/i386/fpu/libm-test-ulps: Update.
20548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20550         [BZ #18138]
20551         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20552         libc_do_syscall_args): New structure.
20553         (INTERNAL_SYSCALL_MAIN_0): New macro.
20554         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20555         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20556         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20557         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20558         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20559         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20560         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20561         Replace conditional definitions by conditional definitions of ....
20562         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20563         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20564         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20565         (libpthread-sysdep_routines): Add libc-do-syscall.
20566         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20568         to __NR_futex not 240.
20570 2015-03-25  Alan Modra  <amodra@gmail.com>
20572         * NEWS: Advertise TLS optimization.
20573         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20574         (DT_PPC_NUM): Increment.
20575         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20576         (CHECK_STATIC_TLS): Use here.
20577         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20578         TLS descriptors.
20579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20580         * sysdeps/powerpc/dl-tls.c: New file.
20581         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20582         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20583         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20584         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20589 2015-03-25  Alan Modra  <amodra@gmail.com>
20591         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20592         for overlapping .opd entries" to "support...".
20593         * sysdeps/powerpc/powerpc64/configure: Regenerate
20595 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20597         * math/auto-libm-test-in: Add more tests of acos.
20598         * math/auto-libm-test-out: Regenerated.
20599         * sysdeps/i386/fpu/libm-test-ulps: Update.
20600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602         * math/auto-libm-test-in: Add more tests of expm1.
20603         * math/auto-libm-test-out: Regenerated.
20604         * sysdeps/i386/fpu/libm-test-ulps: Update.
20605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20607 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20609         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20610         * math/auto-libm-test-out: Regenerated.
20611         * sysdeps/i386/fpu/libm-test-ulps: Update.
20612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20614         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20617         * math/auto-libm-test-in: Add more tests of log2.
20618         * math/auto-libm-test-out: Regenerated.
20619         * sysdeps/i386/fpu/libm-test-ulps: Update.
20620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20622 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20624         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20625         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20626         _IO_IS_APPENDING bit in READ_WRITE instead.
20628 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20630         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20631         (__determine_cpumask_size): Replace extend_alloca with a
20632         variable-length array.  Do not treat res == 0 as an error.
20634 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20636         [BZ #18100]
20637         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20638         and integer overflow.
20639         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20640         (main): Add integer overflow tests.
20641         * manual/pattern.texi (Calling Wordexp): Document additional use
20642         for WRDE_SYNTAX.
20644 2015-03-23  Alan Modra  <amodra@gmail.com>
20646         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20647         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20648         and false branch of conditional.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20650         Likewise.
20652 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20654         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20655         libc-modules.h
20656         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20657         unused declaration of _hurd_intr_rpc_msg_in_trap.
20658         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20659         defined instead of whether it is non-zero.
20660         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20661         input constraint instead of both input and output constraint.  Use ecx
20662         clobber instead of %ecx.
20663         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20664         mutex_unlock): Use a statement expression instead of an expression list.
20665         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20666         type to vm_size_t instead of vm_address_t.
20667         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20668         defined instead of whether it is non-zero.
20669         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20670         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20671         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20672         comparisons with mapaddr.
20673         * nscd/nscd-client.h: Include <time.h>.
20674         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20675         9th parameter to __vm_region instead of int.
20676         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20677         * scripts/check-local-headers.sh (exclude): Add device/,
20678         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20679         cthreads.h.
20681 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20683         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20684         to account for alignment padding.
20685         * sysdeps/arm/memmove.S: Likewise.
20687 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20689         * sysdeps/unix/sysv/linux/generic/README: New file.
20691 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20693         [BZ #18138]
20694         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20695         (futex_abstimed_wait)
20696         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20697         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20698         of lll_futex_timed_wait.
20700 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20702         [BZ #17542]
20703         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20705 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20707         [BZ #17090]
20708         [BZ #17620]
20709         [BZ #17621]
20710         [BZ #17628]
20711         * NEWS: Update.
20712         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20713         entries with Static TLS too.  Skip entries past the end of the
20714         allocated DTV, from Alan Modra.
20715         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20716         Static TLS DTV entry set up from...
20717         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20718         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20719         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20720         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20721         for Static TLS.
20722         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20723         that the slot we find is associated with the given map before
20724         using its generation count.
20725         * nptl_db/db_info.c: Include ldsodefs.h.
20726         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20727         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20728         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20729         (link_map::l_tls_offset): New struct field.
20730         (dtv_t::counter): Likewise.
20731         (rtld_global): New struct.
20732         (_rtld_global): New rtld variable.
20733         (dl_tls_dtv_slotinfo_list): New rtld global field.
20734         (dtv_slotinfo_list): New struct.
20735         (dtv_slotinfo): Likewise.
20736         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20737         (td_lookup): Rename to...
20738         (td_mod_lookup): ... this.  Use new mod parameter instead of
20739         LIBPTHREAD_SO.
20740         * nptl_db/td_thr_tlsbase.c: Include link.h.
20741         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20742         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20743         addresses even if the DTV is out of date or missing them.
20744         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20745         index zero-length arrays.
20746         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20747         (td_lookup): Make it a macro implemented in terms of...
20748         (td_mod_lookup): ... this declaration.
20749         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20750         (DB_MAIN_VARIABLE): Likewise.
20752 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20754         [BZ #18134]
20755         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20757 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20759         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20761 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20763         [BZ #18128]
20764         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20765         (atomic_add, atomic_increment_and_test)
20766         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20768 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20770         * stdlib/setenv.c (__add_to_environ):
20771         Dump core quickly if setenv (..., NULL, ...) is called.
20773 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20775         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20776         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20777         all the necessary asm magic in one place.
20778         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20779         using those.
20781 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20783         [BZ #14906]
20784         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20785         traced file mtime. Use consistent log message.
20786         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20787         (register_traced_file): Call install_watches. Always set mtime.
20788         (invalidate_cache): Iterate over all trace files. Call install_watches.
20789         (inotify_check_files): Don't inline. Handle watching parent
20790         directories and configuration file movement in and out.
20791         (handle_inotify_events): New function.
20792         (main_loop_poll): Call handle_inotify_events.
20793         (main_loop_epoll): Likewise.
20794         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20795         (struct traced_file): Use array of inotify fds. Add parent directory,
20796         and basename.
20797         (struct database_dyn): Remove unused file_mtime.
20798         (init_traced_file): New inline function.
20799         (define_traced_file): New macro.
20800         * nss/nss_db/db-init.c: Use define_traced_file.
20801         (_nss_db_init): Use init_traced_file.
20802         * nss/nss_files/files-init.c: Use define_traced_file.
20803         (_nss_files_init): Use init_traced_file.
20805 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20807         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20808         [_LIBC]: Do not include <stdlib.h>.
20809         [!_LIBC] (abort): Remove declaration.
20810         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20811         _FP_STATIC_ASSERT instead of conditionally calling abort.
20812         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20813         (_FP_EXTEND_CNAN): Likewise.
20814         (FP_TRUNC): Likewise.
20815         (__FP_CLZ): Likewise.
20816         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20818 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20820         * manual/string.texi (XPG basename): Fix prototype.
20822 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20824         [BZ #18080]
20825         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20826         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20827         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20828         (__setcontext): Likewise.
20829         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20830         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20831         Call rt_sigprocmask syscall one time to set new signal mask
20832         and retrieve the current signal mask instead of two calls.
20833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20834         (__swapcontext): Likewise.
20835         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20836         * stdlib/tst-setcontext2.c: New file.
20838 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20840         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20842 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20844         [BZ #18093]
20845         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20846         the wrong size.
20848 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20850         [BZ #18043]
20851         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20853 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20855         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20856         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20857         Remove define.
20858         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20859         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20860         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20861         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20862         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20863         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20864         define.
20865         * nptl_db/td_symbol_list.c (td_lookup): Remove
20866         HAVE_ASM_GLOBAL_DOT_NAME code.
20867         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20868         HAVE_ASM_GLOBAL_DOT_NAME check.
20869         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20870         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20871         (DOT_LABEL): Remove define.
20872         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20873         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20874         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20875         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20876         (__TLS_GET_ADDR): Likewise.
20877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20878         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20880 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20882         [BZ #18111]
20883         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20884         (_FPU_SETCW): Initialize cw from fpsr before storing.
20885         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20886         (fesetexceptflag): Rewrite using fpu_control.h.
20887         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20889 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20891         [BZ #18110]
20892         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20893         asms.
20894         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20896 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20898         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20899         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20900         abort.
20901         (_FP_FMA): Likewise.
20902         (_FP_DIV): Likewise.
20904 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20906         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20907         with 0 in that case.
20908         * Makefile (summarize-tests): New canned sequence, factored out of
20909         commands for targets tests and xtests.  Display summary lines that
20910         don't start with PASS: or XFAIL: rather than ones that do start with
20911         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20912         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20913         do start with ERROR: or FAIL:.
20914         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20915         (except for [$(build-shared) = yes]).
20916         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20917         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20918         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20919         * nptl/Makefile: Revert 2015-03-04 changes.
20920         [$(CXX) empty] (tests-unsupported): New variable.
20921         * debug/Makefile: Likewise.
20923         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20924         gnulib file.  Replace __attribute with __attribute__ throughout.
20926 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20928         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20930 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20932         [BZ #18104]
20933         * math/auto-libm-test-in: Add another test of pow.
20934         * math/auto-libm-test-out: Regenerated.
20936 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20938         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20939         $(config-cflags-nofma).
20941 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20943         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20944         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20945         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20946         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20947         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20948         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20949         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20950         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20951         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20952         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20953         Add comment on closing #endif.
20955 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20957         * posix/wordexp.c (CHAR_IN_SET): New macro.
20958         (parse_param): Use it.
20960 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20962         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20964 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20966         [BZ #18043]
20967         * posix/wordexp.c (parse_param): Fix buffer overflow.
20968         * posix/wordexp-test.c (test_case): Add test case.
20970 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20972         [BZ #18042]
20973         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20974         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20976 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20978         [BZ #18043]
20979         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20980         (do_bz18043): Delete.
20981         (at_page_end): New.
20982         (testit): Refactor to have words at the edge of unreadable page.
20984 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20986         [BZ #16734]
20987         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20988         Cleanup read-only streams as well.
20989         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20991 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20993         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20994         <bits/libc-lockP.h>
20996 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20998         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20999         on [__KERNEL__].
21000         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21001         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21002         * soft-fp/op-common.h (_FP_DECL): Likewise.
21004 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21006         * elf/ifuncdep2.c (global): Replace
21007         __attribute__((visibility("protected"))) with
21008         asm (".protected global").
21009         * elf/ifuncmod1.c (global): Likewise.
21010         * elf/ifuncmod5.c (global): Likewise.
21012 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21014         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21015         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21017 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21019         * manual/install.texi (Configuring and compiling):
21020         Document test-wrapper-env-only.
21021         * INSTALL: Regenerated.
21023 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21025         [BZ #18043]
21026         * posix/wordexp.c (parse_param): Fix buffer overflow.
21027         * posix/wordexp-test.c (do_bz18043): Add test case.
21029 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21031         * time/tst-strptime2.c (do_test): Ensure failing tests are
21032         reported correctly.
21033         * time/tst-strptime3.c (do_test): Likewise.
21035 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21037         Fix aio_error thread-safety.
21038         * sysdeps/pthread/aio_error.c: New file
21039         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21040         synchronization.
21042 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21044         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21045         (group_number, vfprintf): Use it.
21046         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21047         (JUMP, REF): Use it.
21048         (WORK_BUFFER_SIZE): New enum constant.
21049         (process_arg, vfprintf): Use it.
21051 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21053         * manual/errno.texi (Error Messages): Complete example function
21054         by adding missing #define.
21055         (program_invocation_name): Add statement indicating GNU
21056         extension and reference which header file declares the variable.
21057         (program_invocation_short_name): Likewise.
21059 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21061         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21062         compatibility note.
21064 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21066         * Makeconfig (test-wrapper-env-only): New variable.
21067         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21068         then use that with $(test-wrapper-env-only) rather than using
21069         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21071 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21073         [BZ #18082]
21074         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21075         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21076         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21077         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21078         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21079         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21080         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21081         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21082         Likewise.
21083         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21084         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21085         Likewise.
21086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21087         Likewise.
21088         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21089         Likewise.
21090         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21091         Likewise.
21092         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21093         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21094         Likewise.
21095         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21096         Likewise.
21097         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21098         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21100 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21102         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21103         (ETH_ALEN): New macro.
21104         (struct ether_addr): Use it for length of ether_addr_octet.
21106         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21107         (setdb): Don't call __nss_configure_lookup for "rpc".
21108         (do_test): Don't call test_rpc.
21109         (output_rpcent, test_rpc): Functions moved ...
21110         * sunrpc/test-rpcent.c: ... to this new file.
21111         * sunrpc/Makefile (tests): Add it.
21113         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21114         __xpg_sigpause.
21115         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21116         * nptl/tst-signal6.c: Likewise.
21117         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21118         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21120         * configure.ac (libc_cv_cxx_link_ok): New check.
21121         Reset CXX to empty if it fails to link.
21122         * configure: Regenerated.
21123         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21124         bug-atexit3-lib only if $(CXX) is nonempty.
21125         * nptl/Makefile (tests): Likewise for tst-cancel24.
21126         (tests, tests-static): Likewise for tst-cancel24-static.
21127         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21128         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21129         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21130         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21132 2015-03-04  Andreas Schwab  <schwab@suse.de>
21134         [BZ #17631]
21135         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21136         for non-GCC compilers.
21137         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21138         Likewise.
21140 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21142         [BZ #17776]
21143         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21144         integer before bitwise and assembly operations.
21145         (feclearexcept): Likewise.
21146         * math/test-fenvinline.c: New file.
21147         * math/Makefile: Add test-fenvinline test.
21149 2015-03-03  Alan Modra  <amodra@gmail.com>
21151         [BZ #16512]
21152         * scripts/localplt.awk: Strip off symbol version.
21153         * NEWS: Mention bug fix.
21155 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21157         * sysdeps/pthread/timer_routines.c
21158         (timer_free_list, thread_free_list, thread_active_list): Make static.
21160 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21162         [BZ #17779]
21163         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21164         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21165         Undefine.
21166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21167         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21168         Likewise.
21169         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21170         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21171         Likewise.
21173 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21175         [BZ #18036]
21176         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21177         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21179 2015-03-02  Andreas Schwab  <schwab@suse.de>
21181         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21182         variable name.
21184 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21186         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21187         Return error status.
21189 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21191         [BZ #15969]
21192         * locale/findlocale.c (_nl_find_locale): Introduce const
21193         version of loc_name and drop unsafe type casts.
21195 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21197         * dlfcn/tststatic2.c (main): Converted to ...
21198         (do_test): ... this.
21199         (TEST_FUNCTION): New macro.
21200         Include test-skeleton.c.
21202 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21204         [BZ #17711]
21205         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21206         (tests-pie): Add vismain.
21207         (CFLAGS-vismain.c): New.
21208         * elf/vismain.c: Add comments for PIE requirement.
21210 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21212         [BZ #18046]
21213         [BZ #18047]
21214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21215         0x1p-56L as threshold for just returning the argument.
21216         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21217         0x1p-32L as threshold for just returning the argument.
21218         * math/auto-libm-test-in: Add more tests of atanh.
21219         * math/auto-libm-test-out: Regenerated.
21220         * sysdeps/i386/fpu/libm-test-ulps: Update.
21221         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21223 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21225         * string/bcopy.c (bcopy): Call memmove for performance.
21227 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21229         * string/bzero.c (__bzero): Call memset for performance.
21231 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21233         [BZ #18068]
21234         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21235         to 00100000.
21237 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21239         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21241 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21243         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21244         (__kernel_standard): Use CSTR macro when setting exc.name.
21245         * sysdeps/ieee754/Makefile [$(subdir) = math]
21246         (CFLAGS-k_standard.c): Remove variable.
21248         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21249         setting p and q from "else if" to "else".
21250         (qzero): Likewise.
21251         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21252         (qone): Likewise.
21253         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21254         (qzerof): Likewise.
21255         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21256         (qonef): Likewise.
21257         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21258         (qzero): Likewise.
21259         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21260         (qone): Likewise.
21262         [BZ #18038]
21263         [BZ #18039]
21264         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21265         return pi/2 for arguments below 0x1p-113L.
21266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21267         return pi/2 for arguments below 0x1p-106L.
21268         * math/auto-libm-test-in: Add more tests of acos.
21269         * math/auto-libm-test-out: Regenerated.
21271         [BZ #16351]
21272         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21273         (MO): New macro.
21274         (__ieee754_asin): Force underflow exception for results with small
21275         absolute value.
21276         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21277         (MO): New macro.
21278         (__ieee754_asinf): Force underflow exception for results with
21279         small absolute value.
21280         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21281         (__ieee754_asin): Force underflow exception for results with small
21282         absolute value.
21283         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21284         (__ieee754_asinf): Force underflow exception for results with
21285         small absolute value.
21286         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21287         (__ieee754_asinl): Force underflow exception for results with
21288         small absolute value.
21289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21290         (__ieee754_asinl): Force underflow exception for results with
21291         small absolute value.
21292         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21293         (__ieee754_asinl): Force underflow exception for results with
21294         small absolute value.
21295         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21296         Include <math.h>.
21297         * math/auto-libm-test-in: Do not mark underflow exceptions as
21298         possibly missing for bug 16351.
21299         * math/auto-libm-test-out: Regenerated.
21301         [BZ #18030]
21302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21303         of power of 2 down when low part has opposite sign.
21304         * math/libm-test.inc (logb_test_data): Add more tests.
21306 2015-02-26  Andreas Schwab  <schwab@suse.de>
21308         [BZ #18032]
21309         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21310         over collating symbol inside a bracket expression.  Minor cleanup.
21311         * posix/tst-fnmatch3.c (do_test): Add test case.
21313 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21315         [BZ #18029]
21316         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21317         Adjust exponent of power of 2 down when low part has opposite
21318         sign.
21319         * math/libm-test.inc (ilogb_test_data): Add more tests.
21321 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21323         [BZ #15969]
21324         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21325         the previous change.
21327         [BZ #15969]
21328         * locale/findlocale.c (_nl_find_locale): Retry archive search
21329         after alias expansion.
21331 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21333         * iconv/tst-iconv3.c (main): Converted to ...
21334         (do_test): ... this.
21335         (TEST_FUNCTION): New macro.
21336         Include test-skeleton.c.
21338         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21339         (convert): Make function static.
21340         (test_unalign): Likewise.  Add const to argument pointee types.
21341         (main): Replace with static function do_test.
21342         Print "Succeeded." only if RET is zero.
21343         (TEST_FUNCTION): New macro.
21344         Include test-skeleton.c.
21346         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21347         returns a null pointer.
21349 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21351         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21352         to __memcpy_ppc only for static builds.
21354 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21356         [BZ #18020]
21357         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21358         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21359         * math/auto-libm-test-in: Add more tests of asinh.
21360         * math/auto-libm-test-out: Regenerated.
21361         * sysdeps/i386/fpu/libm-test-ulps: Update.
21362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21364 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21366         [BZ #15850]
21367         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21368         and ip6_mtuinfo definitions here.
21369         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21370         in this define too.  Update comment.
21372 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21374         * elf/sprof.c (load_shobj): Tweak error message to match others.
21376 2015-02-24  Kevin Easton  <kevin@guarana.org>
21378         [BZ #16145] (partial fix)
21379         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21380         to reduce lock contention.
21382 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21384         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21385         (struct timex): Update time comment.
21386         (ADJ_SETOFFSET): Define.
21388 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21390         [BZ #18019]
21391         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21392         2**56 not 2**28 as threshold for log (2x) formula.
21393         * math/auto-libm-test-in: Add more tests of acosh.
21394         * math/auto-libm-test-out: Regenerated.
21395         * sysdeps/i386/fpu/libm-test-ulps: Update.
21396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21398 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21400         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21401         parenthesis around the buf assignment.
21402         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21404 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21406         [BZ #16783]
21407         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21408         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21409         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21410         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21411         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21412         * math/libm-test.inc (scalb_test_data): Add more tests.
21414 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21416         [BZ #17916]
21417         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21418         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21420 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21422         [BZ #17523]
21423         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21424         * io/bits/fcntl2.h (open): Use it.
21425         (openat): Likewise.
21426         * io/open.c (__libc_open): Likewise.
21427         * io/open64.c (__libc_open64): Likewise.
21428         * io/open64_2.c (__open64_2): Likewise.
21429         * io/open_2.c (__open_2): Likewise.
21430         * io/openat.c (__openat): Likewise.
21431         * io/openat64.c (__openat64): Likewise.
21432         * io/openat64_2.c (__openat64_2): Likewise.
21433         * io/openat_2.c (__openat_2): Likewise.
21434         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21435         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21436         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21437         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21438         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21439         (__open_nocancel): Likewise.
21440         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21441         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21442         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21444 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21446         [BZ #14841]
21447         * resolv/gethnamaddr.c (getanswer): Skip logging if
21448         RES_USE_DNSSEC is set.
21449         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21451 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21453         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21455 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21457         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21458         201304L, for Unicode 7.
21460 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21462         [BZ #17836]
21463         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21464         shared library.  Add gmon-start.os otherwise.
21465         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21466         $(objpfx)gmon-start.os if builing shared library.
21467         ($(objpfx)g$(static-start-installed-name)): Likewise.
21469 2015-02-23  Andreas Schwab  <schwab@suse.de>
21471         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21473 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21475         [BZ #17269]
21476         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21477         (enlarge_userbuf): Likewise.
21479 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21481         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21482         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21483         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21484         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21486 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21488         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21489         expression inside statement expression.
21491 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21494         <sysdeps/nptl/lowlevellock.h> and remove macros and
21495         functions that are now defined there.
21496         (SYS_futex): Remove.
21497         (lll_compare_and_swap): Remove.
21498         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21500 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21502         [BZ #17999]
21503         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21504         instead of scandirat.
21505         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21506         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21507         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21508         __scandirat.
21509         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21510         (__scandirat): Declare.  Use libc_hidden_proto.
21511         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21512         Remove variable.
21513         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21515 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21517         [BZ #15319]
21518         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21519         (MO): New macro.
21520         (__ieee754_atan2): For results with small absolute value, force
21521         underflow exception and remove excess range and precision from
21522         return value.
21523         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21524         (MO): New macro.
21525         (__ieee754_atan2f): For results with small absolute value, force
21526         underflow exception and remove excess range and precision from
21527         return value.
21528         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21529         (MO): New macro.
21530         (__atan): For results with small absolute value, force underflow
21531         exception and remove excess range and precision from return value.
21532         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21533         (MO): New macro.
21534         (__atanf): For results with small absolute value, force underflow
21535         exception and remove excess range and precision from return value.
21536         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21537         <math.h>.
21538         (__ieee754_atan2): Force underflow exception for results with
21539         small absolute value.
21540         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21541         <math_private.h>.
21542         (atan): Force underflow exception for results with small absolute
21543         value.
21544         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21545         (__atanf): Force underflow exception for results with small
21546         absolute value.
21547         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21548         <math.h>.
21549         (__atanl): Force underflow exception for results with small
21550         absolute value.
21551         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21552         (__atanl): Force underflow exception for results with small
21553         absolute value.
21554         * sysdeps/x86/fpu/bits/mathinline.h
21555         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21556         (__ieee754_atan2): Only define inline for long double.
21557         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21558         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21559         * math/auto-libm-test-in: Do not mark underflow exceptions as
21560         possibly missing for bug 15319.  Add more tests of atan2.
21561         * math/auto-libm-test-out: Regenerated.
21562         * math/libm-test.inc (casin_test_data): Do not mark underflow
21563         exceptions as possibly missing for bug 15319.
21564         (casinh_test_data): Likewise.
21565         * sysdeps/i386/fpu/libm-test-ulps: Update.
21567 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21569         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21570         * sysdeps/mips/bits/endian.h: Fix comments.
21572 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21574         [BZ #17996]
21575         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21576         (hdestroy_r): Likewise.
21577         (hsearch_r): Likewise.
21578         (__hcreate_r): Declare and use libc_hidden_proto.
21579         (__hdestroy_r): Likewise.
21580         (__hsearch_r): Likewise.
21581         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21582         (hcreate): Call __hcreate_r instead of hcreate_r.
21583         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21584         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21585         as weak alias of __hcreate_r.
21586         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21587         __hdestroy_r.
21588         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21589         __hsearch_r.
21590         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21591         Remove variable.
21592         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21593         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21594         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21595         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21597 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21599         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21600         arena_lock into a single arena_get.
21602 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21604         * dl-reloc.c: Inlucde libc-internal.h.
21605         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21606         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21607         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21608         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21609         (grow_heap): Likewise.
21610         * malloc/malloc.c: Include libc-internal.h.
21611         (do_check_malloc): Call powerof2.
21612         (sysmalloc): Use pagesize. Call ALIGN_UP.
21613         (systrim): Use pagesize.
21614         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21615         (__libc_valloc): Use pagesize.
21616         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21618 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21620         [BZ #17991]
21621         * include/sys/resource.h (__getrlimit64): Declare.  Use
21622         libc_hidden_proto.
21623         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21624         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21625         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21626         getrlimit64.
21627         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21628         __getrlimit64.
21629         [!getrlimit64] (getrlimit64): Define as weak alias of
21630         __getrlimit64.  Use libc_hidden_weak.
21631         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21632         using __getrlimit64 not __new_getrlimit64.
21633         (__GI_getrlimit64): Likewise.
21634         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21635         Likewise.
21636         (__GI_getrlimit64): Likewise.
21637         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21639         (getrlimit): Add __getrlimit64 alias.
21640         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21641         Likewise.
21642         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21643         Remove variable.
21644         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21645         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21647 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21649         * libio/fileops.c: Add missing sys/mman.h
21650         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21652 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21654         * manual/math.texi (Errors in Math Functions): Clarify goals
21655         regarding inexact and underflow exceptions.
21657 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21659         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21660         * sysdeps/mips/memset.S: Ditto.
21662 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21664         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21666 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21668         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21669         (__v1longjmp): Remove versioned symbol.
21670         (__v1siglongjmp): Remove alias and versioned symbol.
21671         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21672         (__v2siglongjmp): Likewise.
21674 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21676         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21678 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21680         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21682 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21684         [BZ #17987]
21685         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21686         zero result does not depend on the sign resulting from
21687         subtraction.
21688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21689         Likewise.
21690         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21691         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21692         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21693         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21694         * math/libm-test.inc (remquo_test_data): Add more tests.
21696 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21698         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21699         Problem reported by J William Piggott.
21701 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21703         [BZ #17978]
21704         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21705         products 4 * y and 2 * y where those would overflow.
21706         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21707         Likewise.
21708         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21709         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21710         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21711         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21712         * math/libm-test.inc (remquo_test_data): Add more tests.
21714         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21716         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21717         [defined _COMPILING_NEWLIB].
21718         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21719         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21721         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21722         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21724 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21726         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21727         acquired.
21729 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21731         [BZ #17792]
21732         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21733         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21734         HOST_STACK_END_ADDR): Likewise.
21736 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21738         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21739         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21740         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21742 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21744         * sysdeps/generic/c++-types.data: New file.
21745         * sysdeps/generic/ld.abilist: New file.
21746         * sysdeps/generic/libBrokenLocale.abilist: New file.
21747         * sysdeps/generic/libanl.abilist: New file.
21748         * sysdeps/generic/libc.abilist: New file.
21749         * sysdeps/generic/libcrypt.abilist: New file.
21750         * sysdeps/generic/libdl.abilist: New file.
21751         * sysdeps/generic/libm.abilist: New file.
21752         * sysdeps/generic/libpthread.abilist: New file.
21753         * sysdeps/generic/libresolv.abilist: New file.
21754         * sysdeps/generic/librt.abilist: New file.
21756 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21758         [BZ #17569]
21759         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21760         Compute absolute value of x as modified by fmod, not original
21761         value of x.
21762         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21763         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21764         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21765         RUN_TEST_ffI_f1_mod8.
21766         (remquo_test_data): Add more tests.
21768 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21770         * sysdeps/init_array/pt-crti.S: New file.
21772 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21774         [BZ #17967]
21775         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21776         __builtin_fmaf instead of relying on contraction of a * b + c.
21778 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21780         [BZ #17969]
21781         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21782         node.
21784 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21786         [BZ #17964]
21787         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21788         __builtin_fma instead of relying on contraction of a * b + c.
21790 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21792         * Makeconfig (ASFLAGS): Add -Werror=undef.
21793         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21794         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21795         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21797         * Makeconfig (after-link): New variable.
21798         (+link-pie, +link-pie-tests): Use it.
21799         (+link-static, +link-static-tests): Likewise.
21800         (+link, +link-tests): Likewise.
21801         * Makerules (build-module, build-module-asneeded): Likewise.
21802         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21803         Likewise.
21804         * elf/Makefile ($(objpfx)ld.so): Likewise.
21806 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21808         [BZ #17965]
21809         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21810         both struct timeval and struct timespec.
21812 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21814         [BZ #16560]
21815         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21816         and redefine.
21817         (__ieee754_exp2l): Do not multiply small fractional parts by
21818         M_LN2l.
21819         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21820         small argument.
21821         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21822         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21823         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21824         * math/auto-libm-test-in: Add more tests of exp2.
21825         * math/auto-libm-test-out: Regenerated.
21827 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21829         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21830         unaligned path.
21832 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21834         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21835         little endian.
21837 2015-02-12  Andreas Schwab  <schwab@suse.de>
21839         [BZ #15790]
21840         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21841         Filter out elision flags from value returned in kind.
21842         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21843         * nptl/tst-pthread-mutexattr.c: New file.
21845 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21847         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21848         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21849         into gnu-gnu, and update comment to refer to abi-tags.
21851 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21853         [BZ #15467]
21854         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21855         (__sincos): Set errno to EDOM for infinite argument.
21856         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21857         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21858         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21859         (__sincosl): Set errno to EDOM for infinite argument.
21860         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21861         (__sincosl): Set errno to EDOM for infinite argument.
21862         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21863         (__sincosl): Set errno to EDOM for infinite argument.
21864         * math/libm-test.inc (sincos_test_data): Test errno setting.
21866 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21868         * string/strxfrm_l.c: Remove #define STRCMP.
21869         * string/strcoll_l.c: Remove #define STRLEN.
21870         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21871         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21873 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21875         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21876         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21877         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21878         * sysdeps/mips/mips64/Makefile: ... here.
21879         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21880         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21881         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21882         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21883         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21884         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21885         * sysdeps/mips/mips64/n64/Implies: Likewise.
21887 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21889         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21890         <sys/time.h>, <string.h>, and <errno.h>.
21891         (dest_offset, dest_address, value, zero): Remove unused variables.
21892         (ldouble): Remove typedef.
21893         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21894         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21895         1).  Fix code style.
21896         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21897         (check): Function removed.
21898         (CHECK): New macro.
21899         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21900         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21901         Don't call set_sigaction_FP and remove_sigaction_FP here.
21902         (ldouble_test): Just use 'long double' as macro argument, no need for
21903         the 'ldouble' typedef.
21904         (do_test): Set up SIGFPE handler at start, using plain signal rather
21905         than sigaction.  Fix code style.
21907 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21909         [BZ #17949]
21910         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21911         jump label.
21913 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21915         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21916         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21918         * sysdeps/powerpc/configure.ac: Remove file.
21919         * sysdeps/powerpc/configure: Likewise.
21921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21922         [sysdep_routines]: Remove wordcopy-power6 object.
21923         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21924         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21926         (__memmove_ppc32): Likewise.
21927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21928         file.
21929         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21931         Remove preprocessor.
21933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21934         [sysdep_routines]: Remove wide chars objects.
21935         [wcsmbs]: New rule for wide char objects.
21937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21938         Remove wordcopy-power6 obejct.
21939         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21940         Use local call for wordcopy and memcpy symbols.
21941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21943         implementation for loader.
21944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21947         Remove wordcopy-power7 object.
21948         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21950         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21951         (_wordcopy_fwd_dest_aligned): Likewise.
21952         (_wordcopy_bwd_aligned): Likewise.
21953         (_wordcopy_bwd_dest_aligned): Likewise.
21955         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21956         Rewrite to call __memmove_ppc instead of include default
21957         implementation.
21959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21960         Remove wide chars objects.
21961         [wcsmbs]: New rule for wide char objects.
21963 2015-02-09  Andreas Schwab  <schwab@suse.de>
21965         [BZ #17912]
21966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21967         in terms of __O_DIRECTORY.
21969 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21971         * time/getdate.c: Include <stdbool.h>.
21972         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21973         call PTR_MANGLE.
21974         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21975         PTR_DEMANGLE.
21977 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21979         Add ersatz _Static_assert on older C hosts
21980         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21981         pre-C11 C platform that is not known to support _Static_assert.
21983 2015-02-07  Richard Braun  <rbraun@sceen.net>
21985         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21986         sigstate.
21987         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21989 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21991         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21992         priority against unexistent AIO_PRIO_DELTA_MAX.
21993         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21994         instead of int.
21995         * misc/fchflags.c (fchflags): Likewise.
21996         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21997         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21998         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21999         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22000         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22001         Declare macros.
22002         [__USE_MISC] (chflags, fchflags): Declare functions.
22003         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22004         EINVAL when nfds is greater than FD_SETSIZE.
22005         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22006         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22007         45.
22008         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22009         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22010         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22011         MACH_RCV_TIMED_OUT.
22012         * hurd/hurd/signal.h (_hurd_self_sigstate,
22013         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22014         Explicit casts from void *.
22015         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22016         * abi-tags: Rename gnu-gnu os into gnu.
22018         [BZ #4719]
22019         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22020         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22021         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22022         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22023         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22024         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22026         [BZ #17944]
22027         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22028         duplicates ADDR->sun_path with sockaddr LEN limitation.
22029         * sysdeps/mach/hurd/connect.c: Include <string.h>
22030         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22031         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22032         * sysdeps/mach/hurd/sendto.c: Likewise.
22033         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22034         implementing it by hand.
22036 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22038         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22039         Use sfi_breg on ldr.
22040         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22041         Likewise.
22043         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22044         it's defined.
22045         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22046         Test SIGSETXID only if it's defined.
22048         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22050         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22051         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22053         * nptl/tst-align2.c: Moved ...
22054         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22055         * nptl/Makefile (tests): Remove tst-align2.
22056         * sysdeps/unix/sysv/linux/Makefile
22057         [$(subdir) = nptl] (tests): Add tst-align-clone.
22058         * nptl/tst-getpid1.c: Moved ...
22059         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22060         * nptl/tst-getpid2.c: Moved ...
22061         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22062         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22063         * sysdeps/unix/sysv/linux/Makefile
22064         [$(subdir) = nptl] (tests): ... here.
22065         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22066         * sysdeps/unix/sysv/linux/Makefile
22067         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22069         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22070         Drop trailing \n from perror argument.  Use return rather than exit.
22072         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22073         on [SA_SIGINFO].
22074         * nptl/tst-cancel21.c (do_test): Likewise.
22075         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22076         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22077         [!SA_SIGINFO]: Make it a stub test.
22079         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22080         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22082         * posix/tst-getlogin.c: Move to ...
22083         * login/tst-getlogin.c: ... here.
22084         * posix/Makefile (tests): Move tst-getlogin to ...
22085         * login/Makefile (tests): ... here.
22087         * libio/tst-atime.c (do_test): Move local variables SV and E
22088         inside [ST_NOATIME] conditional.
22090         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22092         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22094         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22095         (wait_code): New function replaces macro.
22096         Call nanosleep rather than syscall.
22098         * nptl/pt-system.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-longjmp.c: Rewritten.  Put everything under
22103         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22104         Use IFUNC to redirect when possible.
22106         * nptl/pt-fork.c: Rewritten.  Put everything under
22107         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22108         Use IFUNC to redirect when possible.
22109         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22112         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22113         unconditionally nowadays.  This included the only reference to
22114         __vdso_clock_gettime that appears outside libc proper.
22115         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22116         Remove version set (containing only __vdso_clock_gettime).
22117         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22118         Add attribute_hidden.
22119         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22120         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22121         libc_hidden_data_def.
22122         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22123         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22125         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22126         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22127         setrpcent, and getrpcport to ...
22128         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22129         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22130         getrpcbynumber_r, and getrpcent_r to ...
22131         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22132         * inet/getrpcbyname.c: Moved ...
22133         * sunrpc/getrpcbyname.c: ... here.
22134         * inet/getrpcbyname_r.c: Moved ...
22135         * sunrpc/getrpcbyname_r.c: ... here.
22136         * inet/getrpcbynumber.c: Moved ...
22137         * sunrpc/getrpcbynumber.c: ... here.
22138         * inet/getrpcbynumber_r.c: Moved ...
22139         * sunrpc/getrpcbynumber_r.c: ... here.
22140         * inet/getrpcent.c: Moved ...
22141         * sunrpc/getrpcent.c: ... here.
22142         * inet/getrpcent_r.c: Moved ...
22143         * sunrpc/getrpcent_r.c: ... here.
22144         * inet/Makefile (routines): Move those to ...
22145         * sunrpc/Makefile (routines): ... here.
22146         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22147         the $(subdirs) list.
22148         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22149         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22150         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22151         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22153         * elf/Makefile (routines): Include $(all-dl-routines), not just
22154         $(dl-routines).
22155         (rtld-routines): Likewise.  Use = rather than :=.
22156         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22157         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22158         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22159         * sysdeps/arm/Makefile: Likewise.
22160         * sysdeps/i386/Makefile: Likewise.
22161         * sysdeps/x86_64/Makefile: Likewise.
22162         * sysdeps/hppa/Makefile [$(subdir) = elf]
22163         (sysdep_routines, sysdep-rtld-routines): Don't add
22164         $(sysdep-dl-routines) to these.
22165         * sysdeps/ia64/Makefile: Likewise.
22166         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22167         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22168         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22169         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22170         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22171         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22172         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22173         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22174         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22175         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22176         these; sysdep-dl-routines alone is enough.
22178 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22180         [BZ #17932]
22181         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22182         where multiplication results in zero and third argument is finite
22183         and nonzero.
22184         * math/auto-libm-test-in: Add more tests of fma.
22185         * math/auto-libm-test-out: Regenerated.
22187         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22188         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22189         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22190         (_FP_CMP_EQ): Likewise.
22191         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22193         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22194         extra argument CHECK_NAN.  Redefine as wrapper around
22195         _FP_EXTEND_CNAN.
22197 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22199         * version.h (RELEASE): Set to "stable".
22200         (VERSION): Set to "2.21"
22201         * include/features.h (__GLIBC_MINOR__): Set to 21.
22203         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22205 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22206             Paul Eggert  <eggert@cs.ucla.edu>
22208         [BZ #16618]
22209         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22211         size in bytes. Store needed elements in wpmax. Use needed size
22212         in bytes for extend_alloca.
22214 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22216         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22217         binutls 2.25, and texinfo 5.2.
22218         * INSTALL: Regenerate.
22219         * sysdeps/nios2/configure: Regenerate.
22220         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22221         * manual/contrib.texi: Update.
22222         * po/be.po: Update.
22223         * po/bg.po: Update.
22224         * po/ca.po: Update.
22225         * po/cs.po: Update.
22226         * po/da.po: Update.
22227         * po/de.po: Update.
22228         * po/el.po: Update.
22229         * po/eo.po: Update.
22230         * po/es.po: Update.
22231         * po/fi.po: Update.
22232         * po/fr.po: Update.
22233         * po/gl.po: Update.
22234         * po/hr.po: Update.
22235         * po/hu.po: Update.
22236         * po/ia.po: Update.
22237         * po/id.po: Update.
22238         * po/it.po: Update.
22239         * po/ja.po: Update.
22240         * po/ko.po: Update.
22241         * po/lt.po: Update.
22242         * po/nb.po: Update.
22243         * po/nl.po: Update.
22244         * po/pl.po: Update.
22245         * po/pt_BR.po: Update.
22246         * po/ru.po: Update.
22247         * po/rw.po: Update.
22248         * po/sk.po: Update.
22249         * po/sl.po: Update.
22250         * po/sv.po: Update.
22251         * po/tr.po: Update.
22252         * po/uk.po: Update.
22253         * po/vi.po: Update.
22254         * po/zh_CN.po: Update.
22255         * po/zh_TW.po: Update.
22257         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22258         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22259         * sysdeps/hppa/dl-irel.h: Remove #warning.
22260         * sysdeps/hppa/entry.h: Provide prototype for
22261         __canonicalize_funcptr_for_compare and cast argument.
22262         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22263         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22264         * sysdeps/hppa/sotruss-lib.c: New file.
22265         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22266         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22267         (atomic_compare_and_exchange_bool_acq): Likewise.
22268         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22269         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22271         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22272         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22273         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22275 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22277         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22278         called function in non-PIC case.
22280 2015-01-31  David S. Miller  <davem@davemloft.net>
22282         * sysdeps/sparc/sparc32/bits/atomic.h
22283         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22284         unlock not after it.
22285         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22286         volatile register usage warnings from the compiler.
22288         * sysdeps/sparc/nptl/sem_init.c: Delete.
22289         * sysdeps/sparc/nptl/sem_post.c: Delete.
22290         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22291         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22292         * sysdeps/sparc/sparc32/sem_init.c: New file.
22293         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22294         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22295         padding explicitly initialized.
22296         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22297         padding for in-semaphore spinlock.
22298         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22299         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22300         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22301         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22302         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22303         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22304         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22305         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22306         version.
22307         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22308         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22310 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22312         [BZ #17801]
22313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22314         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22315         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22316         New.
22317         (index_AVX_Fast_Unaligned_Load): Likewise.
22318         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22319         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22320         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22321         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22322         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22323         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22324         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22325         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22326         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22328 2015-01-29  Andreas Schwab  <schwab@suse.de>
22330         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22332 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22334         [BZ #17892]
22335         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22337 2015-01-28  Martin Sebor  <msebor@redhat.com>
22339         * math/README.libm-test: Clarify. Add "How to read the test output."
22341 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22343         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22344         Define to 0.
22346 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22348         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22349         (__HAVE_64B_ATOMICS): Define to 0.
22351 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22353         [BZ #17885]
22354         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22355         value to set as new flag.
22357         [BZ #16576]
22358         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22359         and use _ARCH_PPCSQ instead.
22360         (__ieee754_sqrt): Likewise.
22361         (__ieee754_sqrtf): Likewise.
22362         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22363         _ARCH_PPCSQ is defined.
22364         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22365         fsqrt instruction.
22366         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22367         _ARCH_PPCSQ is defined.
22368         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22369         fsqrts instruction.
22370         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22372 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22374         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22375         bug (GCC BZ #64739).
22377 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22379         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22380         Mark _retval as used.
22381         (lll_futex_wake_unlock): Likewise.
22382         (lll_futex_timed_wait_requeue_pi): Likewise.
22384         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22385         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22386         register variables.
22388         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22389         libm_hidden_def.
22391         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22392         (__bswap_64): Mark as __always_inline.
22394 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22396         [BZ #15378]
22397         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22398         when none of the search directories exist.
22400 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22402         [BZ #17869]
22403         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22404         power8 in .machine directive.
22406         [BZ #17868]
22407         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22408         set dependency from opd value.
22410 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22413         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22414         architecture.
22416 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22418         [BZ #17870]
22419         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22420         with uint64_t.
22421         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22422         (uint64_t) 1.
22423         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22424         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22425         Replace 1UL with (uint64_t) 1.
22426         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22427         int with uint64_t.
22429 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22431         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22432         (if_freenameindex): Likewise.
22434         * resource/getrlimit64.c: Add missing libc_hidden_def.
22436 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22438         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22439         __label__.
22440         (_FP_FMA): Likewise.
22441         (_FP_TO_INT_ROUND): Likewise.
22442         (_FP_FROM_INT): Likewise.
22444 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22446         [BZ #16418]
22447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22448         Make code racy and cancel safe.
22450 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22452         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22453         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22454         attribution.
22456         * pwd/tst-getpw.c: Rewrite.
22458         [BZ #17702]
22459         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22460         (modules-names): Add moddummy1 and moddummy2.
22461         ($(objpfx)tst-rec-dlopen): Define.
22462         * dlfcn/moddummy1.c: New file.
22463         * dlfcn/moddummy2.c: New file.
22464         * dlfcn/tst-rec-dlopen.c: New file.
22465         * elf/dl-cache.c (_dl_load_cache_lookup):
22466         Return char*. Copy result with alloca/strcpy/strdup.
22467         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22468         returns char*. Free cached. If not saving realname
22469         free cached.
22470         * elf/dl-open.c (dl_open_worker): Do not assert that
22471         _r_debug->r_state is RT_CONSISTENT.
22472         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22473         returns char*.
22475 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22476             Carlos O'Donell  <carlos@redhat.com>
22478         [BZ #12674]
22479         * nptl/sem_waitcommon.c: New file.
22480         * nptl/sem_wait.c: Include sem_waitcommon.c.
22481         (__sem_wait_cleanup, do_futex_wait): Remove.
22482         (__new_sem_wait): Adapt.
22483         (__new_sem_trywait): New function.
22484         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22485         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22486         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22487         (sem_timedwait): Adapt.
22488         * nptl/sem_post.c (__new_sem_post): Adapt.
22489         (futex_wake): New function.
22490         (__old_sem_post): Add release MO fence.
22491         * nptl/sem_open.c (sem_open): Adapt.
22492         * nptl/sem_init.c (__new_sem_init): Adapt.
22493         (futex_private_if_supported): New function.
22494         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22495         (__old_sem_getvalue): Add using previous code.
22496         * sysdeps/nptl/internaltypes.h: Adapt.
22497         * nptl/tst-sem13.c (do_test): Adapt.
22498         * nptl/tst-sem11.c (main): Adapt.
22499         * nptl/sem_trywait.c: Remove.
22500         * nptl/DESIGN-sem.txt: Remove.
22501         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22502         (gen-as-const-headers): Remove structsem.sym.
22503         * nptl/structsem.sym: Remove.
22504         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22505         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22506         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22507         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22508         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22509         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22510         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22511         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22512         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22513         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22514         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22515         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22516         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22517         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22518         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22519         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22520         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22521         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22522         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22523         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22524         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22525         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22527 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22529         * INSTALL: Regenerated.
22531         * po/libc.pot: Regenerated.
22533 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22534             Sandra Loosemore  <sandra@codesourcery.com>
22535             Andrew Jenner  <andrew@codesourcery.com>
22536             Joseph Myers  <joseph@codesourcery.com>
22537             Nathan Sidwell  <nathan@codesourcery.com>
22539         * NEWS: Mention new Nios II port.
22540         * sysdeps/nios2/Implies: New file.
22541         * sysdeps/nios2/Makefile: New file.
22542         * sysdeps/nios2/Subdirs: New file.
22543         * sysdeps/nios2/Versions: New file.
22544         * sysdeps/nios2/__longjmp.S: New file.
22545         * sysdeps/nios2/abort-instr.h: New file.
22546         * sysdeps/nios2/backtrace.c: New file.
22547         * sysdeps/nios2/bits/endian.h: New file.
22548         * sysdeps/nios2/bits/fenv.h: New file.
22549         * sysdeps/nios2/bits/link.h: New file.
22550         * sysdeps/nios2/bits/setjmp.h: New file.
22551         * sysdeps/nios2/bsd-_setjmp.S: New file.
22552         * sysdeps/nios2/bsd-setjmp.S: New file.
22553         * sysdeps/nios2/configure: New generated file.
22554         * sysdeps/nios2/configure.ac: New file.
22555         * sysdeps/nios2/crti.S: New file.
22556         * sysdeps/nios2/crtn.S: New file.
22557         * sysdeps/nios2/dl-init.c: New file.
22558         * sysdeps/nios2/dl-machine.h: New file.
22559         * sysdeps/nios2/dl-sysdep.h: New file.
22560         * sysdeps/nios2/dl-tls.h: New file.
22561         * sysdeps/nios2/dl-trampoline.S: New file.
22562         * sysdeps/nios2/gccframe.h: New file.
22563         * sysdeps/nios2/gmp-mparam.h: New file.
22564         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22565         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22566         * sysdeps/nios2/ldsodefs.h: New file.
22567         * sysdeps/nios2/libc-tls.c: New file.
22568         * sysdeps/nios2/libm-test-ulps: New file.
22569         * sysdeps/nios2/machine-gmon.h: New file.
22570         * sysdeps/nios2/math-tests.h: New file.
22571         * sysdeps/nios2/math_private.h: New file.
22572         * sysdeps/nios2/memusage.h: New file.
22573         * sysdeps/nios2/nptl/Makefile: New file.
22574         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22575         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22576         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22577         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22578         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22579         * sysdeps/nios2/nptl/tls.h: New file.
22580         * sysdeps/nios2/preconfigure: New file.
22581         * sysdeps/nios2/s_fma.c: New file.
22582         * sysdeps/nios2/s_fmaf.c: New file.
22583         * sysdeps/nios2/setjmp.S: New file.
22584         * sysdeps/nios2/sfp-machine.h: New file.
22585         * sysdeps/nios2/sotruss-lib.c: New file.
22586         * sysdeps/nios2/stackguard-macros.h: New file.
22587         * sysdeps/nios2/stackinfo.h: New file.
22588         * sysdeps/nios2/start.S: New file.
22589         * sysdeps/nios2/sysdep.h: New file.
22590         * sysdeps/nios2/tls-macros.h: New file.
22591         * sysdeps/nios2/tst-audit.h: New file.
22592         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22593         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22594         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22595         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22596         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22597         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22598         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22599         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22600         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22601         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22602         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22603         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22604         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22605         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22606         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22607         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22608         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22609         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22610         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22611         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22612         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22613         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22614         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22615         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22616         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22617         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22618         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22619         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22620         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22621         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22622         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22623         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22624         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22625         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22626         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22627         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22628         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22629         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22630         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22631         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22632         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22633         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22634         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22635         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22637 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22639         [BZ #17844]
22640         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22641         (getutent): Use weak_alias in non SHARED case
22642         and default_symbol_version in SHARED case.
22643         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22644         (getutent_r, pututline): Likewise.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22646         (getutid): Likewise.
22647         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22648         (getutid_r): Likewise.
22649         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22650         (getutline): Likewise.
22651         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22652         (getutline_r): Likewise.
22653         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22654         (updwtmp): Likewise.
22656 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22658         [BZ #17848]
22659         * sysdeps/s390/s390-32/memcmp.S
22660         (memcmp_g5): Rename to __memcmp_g5.
22661         * sysdeps/s390/s390-32/memcpy.S
22662         (memcpy_g5): Rename to __memcpy_g5.
22663         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22664         (memcpy_mvcle) Rename to __memcpy_mvcle.
22665         * sysdeps/s390/s390-32/memset.S
22666         (memset_g5): Rename to __memset_g5.
22667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22668         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22669         and use prefixed functions.
22670         * sysdeps/s390/s390-32/multiarch/memcmp.S
22671         (memcmp_z196): Rename to __memcmp_z196.
22672         (memcmp_z10): Rename to __memcmp_z10.
22673         (memcmp): Set alias to __memcmp_g5.
22674         (bcmp): Set alias to __memcmp_g5.
22675         * sysdeps/s390/s390-32/multiarch/memcpy.S
22676         (memcpy_z196): Rename to __memcpy_z196.
22677         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22678         (memcpy_z10): Rename to __memcpy_z10.
22679         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22680         (memcpy): Set alias to __memcpy_g5.
22681         * sysdeps/s390/s390-32/multiarch/memset.S
22682         (memset_z196): Rename to __memset_z196.
22683         Jump to __memset_mvcle instead of memset_mvcle.
22684         (memset_z10): Rename to __memset_z10.
22685         Jump to __memset_mvcle instead of memset_mvcle.
22686         (memset_mvcle) Rename to __memset_mvcle.
22687         (memset): Set alias to __memset_g5.
22688         * sysdeps/s390/s390-64/memcmp.S
22689         (memcmp_z900): Rename to __memcmp_z900.
22690         * sysdeps/s390/s390-64/memcpy.S
22691         (memcpy_z900): Rename to __memcpy_z900.
22692         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22693         (memcpy_mvcle) Rename to __memcpy_mvcle.
22694         * sysdeps/s390/s390-64/memset.S
22695         (memset_z900): Rename to __memset_z900.
22696         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22697         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22698         and use prefixed functions.
22699         * sysdeps/s390/s390-64/multiarch/memcmp.S
22700         (memcmp_z196): Rename to __memcmp_z196.
22701         (memcmp_z10): Rename to __memcmp_z10.
22702         (memcmp): Set alias to __memcmp_z900.
22703         (bcmp): Set alias to __memcmp_z900.
22704         * sysdeps/s390/s390-64/multiarch/memcpy.S
22705         (memcpy_z196): Rename to __memcpy_z196.
22706         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22707         (memcpy_z10): Rename to __memcpy_z10.
22708         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22709         (memcpy): Set alias to __memcpy_z900.
22710         * sysdeps/s390/s390-64/multiarch/memset.S
22711         (memset_z196): Rename to __memset_z196.
22712         Jump to __memset_mvcle instead of memset_mvcle.
22713         (memset_z10): Rename to __memset_z10.
22714         Jump to __memset_mvcle instead of memset_mvcle.
22715         (memset_mvcle) Rename to __memset_mvcle.
22716         (memset): Set alias to __memset_z900.
22718 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22720         [BZ #17748]
22721         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22722         __fesetenv instead of fesetenv.
22724 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22727         macro.
22729 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22732         regression on LE.
22734         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22735         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22737         strncmp-power8 object.
22738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22739         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22740         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22741         * NEWS: Update.
22743 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22744             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22746         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22747         trailing byte check.
22749 2015-01-13  David S. Miller  <davem@davemloft.net>
22751         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22753 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22755         * login/logout.c (logout): Use memset rather than bzero.
22756         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22757         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22758         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22759         (_gethtbyaddr): Likewise.
22760         * locale/programs/simple-hash.c (bcopy): Macro removed.
22762 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22765         Add strcmp-power8 object.
22766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22767         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22769         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22770         __strcmp_power8 implementation.
22771         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22772         * NEWS: Update.
22774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22775         Add strncpy-power8 and stpncpy-power8 objects.
22776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22777         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22778         implementations.
22779         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22781         __stpncpy_power8 implementation.
22782         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22783         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22784         __strncpy_power8 implementation.
22785         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22786         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22787         * NEWS: Update.
22789         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22790         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22791         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22794         strncat-power8 object.
22795         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22796         __strcat_power8 implementation.
22797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22798         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22799         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22800         optimized strcat for power8.
22802         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22803         strcpy-power8 and stpcpy-power8 objects.
22804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22805         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22806         implementations.
22807         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22808         multiarch stpcpy implementation for POWER8.
22809         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22810         multiarch strcpy implementation for POWER8.
22811         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22812         __strcpy_power8 function.
22813         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22814         stpcpy for POWER8.
22815         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22816         strcpy for POWER8.
22817         * NEWS: Update.
22819 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22821         [BZ #16009]
22822         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22823         weights and rules. Use do_xfrm_cached if data fits in cache,
22824         do_xfrm otherwise.  Moved former main loop to...
22825         * (do_xfrm_cached): New function.
22826         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22827         find_idx, find_position and stack_push.
22828         * (find_idx): New function.
22829         * (find_position): Likewise.
22830         * localedata/sort-test.sh: Added test run for do_xfrm.
22831         * localedata/xfrm-test.c (main): Added command line option
22832         -nocache to run the test with strings that are too large for
22833         the STRXFRM cache.
22835 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22837         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22838         variable to lll_futex_wake call, not the value itself.
22840 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22842         [BZ #17803]
22843         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22844         twom64.  Adjust value to 0x1p-64L.
22845         (__scalblnl): Only return standard underflowing result for K <=
22846         -64 not K <= -63; adjust exponent for underflowing result by 64
22847         not 63.
22848         * math/libm-test.inc (scalbn_test_data): Add more tests.
22849         (scalbln_test_data): Likewise.
22851         [BZ #17834]
22852         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22853         0x1p63L.
22854         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22855         not HX.
22856         * math/libm-test.inc (scalbn_test_data): Add more tests.
22857         (scalbln_test_data): Likewise.
22859 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860             Stefani Seibold  <stefani@seibold.net>
22862         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22863         (sysdep_routines): Add dl-vdso here, ...
22864         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22865         (sysdep_routines): ... not here.
22866         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22867         fallback when vDSO is not presented.
22868         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22869         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22870         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22871         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22872         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22873         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22874         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22875         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22876         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22878         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22879         fallback configurable symbol when vDSO is not available.
22880         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22881         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22882         be able to redefine fallback symbol when vDSO is not available.
22883         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22884         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22886 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22888         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22889         (TLS_INIT_TP): Add tm_capable initialization.
22890         (TLS_DEFINE_INIT_TP): Likewise.
22891         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22892         TCB.
22893         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22894         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22895         calculation.
22896         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22897         transactoion is lock elision is built and TCB tm_capable is set.
22898         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22900         (INTERNAL_SYSCALL_NCS): Likewise.
22901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22902         (INTERNAL_SYSCALL_NCS): Likewise.
22903         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22905         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22906         for powerpc.
22907         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22908         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22909         and remove it for 32 bits case.
22910         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22912         initialization.
22913         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22914         Disable lock elision with rdlocks if elision is not available.
22916         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22917         (sysdep_routines): Add lock elision objects.
22918         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22919         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22920         [pthread_mutex_t] (__elision): Add field.
22921         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22922         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22923         elision definitions for powerpc.
22924         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22925         implementation of lock elision for powerpc.
22926         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22927         implementation of timed lock elision for powerpc.
22928         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22929         implementation of trylock with lock elision for powerpc.
22930         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22931         implementaion of unlock for lock elision for powerpc.
22932         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22933         automatic enable lock elision for mutexes.
22934         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22935         transaction execution definitions for powerpc.
22936         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22937         definitions.
22938         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22939         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22942         * NEWS: Update.
22944 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22946         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22947         for #include of <shm-directory.h>.
22949 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22952         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22954 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22956         [BZ #17791]
22957         * NEWS: Mention bug fix.
22958         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22959         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22960         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22962 2015-01-09  Torvald Riegel <triegel@redhat.com>
22964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22966 2015-01-09  Torvald Riegel <triegel@redhat.com>
22968         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22970 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22972         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22973         pointer and cast to uintptr_t.
22975 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22977         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22978         removed.
22979         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22981 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22983         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22984         of 0.
22986 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22988         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22989         <nptl/pthreadP.h> instead.
22990         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22992         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22993         already defined.
22994         [__SIGRTMIN] (init): Function removed.
22995         [__SIGRTMIN] (initialized): Variable removed.
22996         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22997         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22998         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22999         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23000         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23001         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23002         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23003         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23004         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23005         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23006         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23007         * sysdeps/nptl/allocrtsig.c: New file.
23008         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23009         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23010         * sysdeps/generic/testrtsig.h: File removed.
23012         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23013         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23015         * nptl/nptl-init.c (pthread_functions): Conditionalize
23016         .ptr__nptl_setxid initialization on [SIGSETXID].
23018         * sysdeps/nptl/sys/procfs.h: New file.
23019         * nptl_db/Makefile (headers): Add it.
23020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23022         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23023         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23024         * nptl/pthread_attr_setaffinity.c: Include it.
23025         * nptl/pthread_setattr_default_np.c: Likewise.
23026         * nptl/check-cpuset.h: New file.
23028 2015-01-08  Richard Henderson  <rth@redhat.com>
23030         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23031         (CFLAGS-tst-execstack-prog.c): Likewise.
23032         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23034 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23035             Sandra Loosemore  <sandra@codesourcery.com>
23036             Andrew Jenner  <andrew@codesourcery.com>
23037             Joseph Myers  <joseph@codesourcery.com>
23038             Nathan Sidwell  <nathan@codesourcery.com>
23040         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23041         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23042         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23043         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23044         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23045         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23046         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23047         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23048         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23049         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23050         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23051         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23052         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23053         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23054         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23055         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23056         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23058 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23060         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23061         timespec struct member in syscall macro.
23062         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23063         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23064         first timeval struct member in syscall macro.
23065         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23067 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #17748]
23070         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23071         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23072         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23073         __feupdateenv and define as weak alias of __feupdateenv.  Use
23074         libm_hidden_weak.
23075         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23076         libm_hidden_def.
23077         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23078         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23079         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23080         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23081         libm_hidden_def.
23082         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23083         __feupdateenv and define as weak alias of __feupdateenv.  Use
23084         libm_hidden_weak.
23085         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23086         libm_hidden_def.
23087         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23088         __feupdateenv and define as weak alias of __feupdateenv.  Use
23089         libm_hidden_weak.
23090         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23091         libm_hidden_def.
23092         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23093         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23094         (__feupdateenv): Likewise.
23095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23096         __feupdateenv and define as weak alias of __feupdateenv.  Use
23097         libm_hidden_weak.
23098         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23099         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23100         libm_hidden_def.
23101         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23102         function.
23103         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23104         libm_hidden_def.
23105         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23106         __feupdateenv instead of feupdateenv.
23107         (default_libc_feupdateenv_test): Likewise.
23108         (libc_feresetround_ctx): Likewise.
23110 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23112         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23113         prototype.
23115 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23117         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23118         COLL_SYM in a couple of places to avoid uninitialized variable
23119         wanings on tilegx gcc 4.8.2.
23121 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23123         * sysdeps/aarch64/strcpy.S: New file.
23124         * sysdeps/aarch64/stpcpy.S: New file.
23125         * NEWS: Updated.
23127 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23129         * sysdeps/aarch64/strrchr.S: New file.
23130         * NEWS: Updated.
23132 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23134         [BZ #17658]
23135         * stdlib/setenv.c: Fix memory leak when setting large,
23136         duplicate string.
23138 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23140         [BZ #17273]
23141         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23142         and tabs from buffer before parsing fstab entry.
23143         * misc/tst-mntent.c (main): Add test for mount entry with
23144         trailing spaces and tabs.
23146 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23148         [BZ #17748]
23149         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23150         * math/fesetround.c (fesetround): Rename to __fesetround and
23151         define as weak alias of __fesetround.  Use libm_hidden_weak.
23152         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23153         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23154         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23155         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23156         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23157         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23158         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23159         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23160         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23161         __fesetround_inline.
23162         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23163         __fesetround_inline instead of __fesetround.
23164         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23165         __fesetround and define as weak alias of __fesetround.  Use
23166         libm_hidden_weak.  Call __fesetround_inline instead of
23167         __fesetround.
23168         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23169         __fesetround and define as weak alias of __fesetround.  Use
23170         libm_hidden_weak.
23171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23172         Likewise.
23173         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23174         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23175         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23176         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23177         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23178         __fesetround and define as weak alias of __fesetround.  Use
23179         libm_hidden_weak.
23180         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23181         __fesetround instead of fesetround.
23182         (default_libc_feholdexcept_setround): Likewise.
23183         (libc_feholdsetround_ctx): Likewise.
23184         (libc_feholdsetround_noex_ctx): Likewise.
23186         [BZ #17748]
23187         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23188         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23189         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23190         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23191         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23192         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23193         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23194         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23195         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23196         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23197         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23198         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23199         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23200         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23201         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23202         libm_hidden_def.
23203         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23204         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23205         Likewise.
23206         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23207         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23208         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23209         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23210         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23211         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23212         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23213         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23214         __fesetenv instead of fesetenv.
23215         (libc_feresetround_noex_ctx): Likewise.
23216         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23217         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23218         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23219         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23220         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23221         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23222         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23223         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23224         (__feupdateenv): Likewise.
23225         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23226         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23227         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23228         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23230 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23232         [BZ #17806]
23233         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23234         addresses have been freed.
23236 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23238         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23239         and nservall.
23241 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23243         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23244         Clean up check_pf allocation pattern. addresses
23246 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23248         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23249         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23250         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23251         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23252         * nptl/pthread_join.c (pthread_join): Likewise.
23253         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23254         * sysdeps/posix/waitid.c (__waitid): Likewise.
23255         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23256         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23257         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23258         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23260         Likewise.
23261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23262         (__libc_pread64): Likewise.
23263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23264         (__libc_pwrite): Likewise.
23265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23266         (__libc_pwrite64): Likewsie.
23267         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23268         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23269         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23270         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23271         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23272         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23273         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23275         Likewise.
23276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23277         (__libc_pread64): Likewise.
23278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23279         Likewise.
23280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23281         (__libc_pwrite64): Likewise.
23282         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23283         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23284         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23285         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23286         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23287         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23288         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23289         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23290         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23291         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23292         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23293         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23294         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23295         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23296         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23297         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23298         Likewise.
23300 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23302         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23303         (CFLAGS-test-double.c): Likewise.
23304         (CFLAGS-test-ldouble.c): Likewise.
23305         (CPPFLAGS-test-ifloat.c): Likewise.
23306         (CPPFLAGS-test-idouble.c): Likewise.
23307         (CPPFLAGS-test-ildoubl.c): Likewise.
23308         (CFLAGS-test-test-fenv.c): Remove variable.
23309         (CFLAGS-test-misc.c): Likewise.
23311 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23313         [BZ #17797]
23314         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23315         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23316         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23317         CLOCKS_PER_SEC == 1000000.
23318         * time/clocktest.c (main): Replace %ld with %jd and cast to
23319         intmax_t.
23321 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23323         * sysdeps/generic/unwind-resume.h: New file.
23324         * sysdeps/gnu/unwind-resume.c: Include it.
23325         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23326         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23327         argument list.
23328         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23329         global rather than static.
23330         (_Unwind_Resume): Update user.
23331         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23332         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23333         rather than static.  Add __attribute__ ((cold)).
23334         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23335         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23336         * sysdeps/arm/arm-unwind-resume.S: New file.
23337         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23338         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23339         * sysdeps/arm/Makefile [$(subdir) = csu]
23340         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23341         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23342         Add rt-arm-unwind-resume.
23343         [$(subdir) = nptl]
23344         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23345         Add pt-arm-unwind-resume.
23346         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23347         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23349 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23351         [BZ #17748]
23352         * include/fenv.h (__feholdexcept): Declare.  Use
23353         libm_hidden_proto.
23354         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23355         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23357         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23358         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23359         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23360         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23361         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23362         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23363         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23364         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23365         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23366         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23367         (feholdexcept): Likewise.
23368         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23369         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23370         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23371         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23372         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23373         __feholdexcept instead of feholdexcept.
23374         (default_libc_feholdexcept_setround): Likewise.
23376 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23378         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23379         to avoid using stl/str to align destination.
23381 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23383         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23385 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23387         [BZ #17796]
23388         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23389         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23390         Define as weak alias not strong alias.
23392 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23394         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23395         bltzal with addiupc.
23396         (RTLD_START): Ditto.
23398 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23400         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23401         for __vdso_* functions in declarations.
23402         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23403         definitions.
23404         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23405         INTERNAL_VSYSCALL): Use struct return types to check for error.
23407         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23408         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23409         function with cast from llround().
23410         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23411         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23412         Define.
23414 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23416         [BZ #17793]
23417         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23418         Define as weak alias not strong alias.
23420         [BZ #17635]
23421         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23422         ...
23423         * ctype/ctype-extn.c: ... here.
23424         (__isblank_l): Move to ...
23425         * ctype/ctype-c99_l.c: ... here.  New file.
23426         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23427         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23428         Remove variable.
23429         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23430         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23431         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23432         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23433         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23435         [BZ #17777]
23436         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23437         (posix_fadvise64): Define as weak alias not strong alias.
23438         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23439         (posix_fallocate64): Likewise.
23440         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23441         Remove variable.
23442         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23443         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23444         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23445         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23446         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23448 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23450         [BZ #16191]
23451         * NEWS: Mention bug fix.
23452         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23453         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23454         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23455         (HOST_STACK_END_ADDR): Likewise.
23457 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23459         [BZ #17748]
23460         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23461         * math/fegetround.c (fegetround): Rename to __fegetround and
23462         define as weak alias of __fegetround.  Use libm_hidden_weak.
23463         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23464         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23465         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23466         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23467         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23468         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23469         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23470         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23471         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23472         Undefine after rather than before function definition; use
23473         parentheses around function name in definition.
23474         (__fegetround): Also undefine macro after function definition.
23475         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23476         __fegetround and define as weak alias of __fegetround.  Use
23477         libm_hidden_weak.  Do not undefine as macro.
23478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23479         Likewise.
23480         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23481         __fegetround and define as weak alias of __fegetround.  Use
23482         libm_hidden_weak.
23483         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23484         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23485         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23486         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23487         __fegetround and define as weak alias of __fegetround.  Use
23488         libm_hidden_weak.
23489         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23490         __fegetround instead of fegetround.
23492         [BZ #17782]
23493         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23494         Condition macro definition on [__USE_MISC].
23496         [BZ #17781]
23497         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23498         (struct sigaction): Change type of sa_flags field to int.
23500         [BZ #17780]
23501         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23502         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23503         __glibc_reserved0.
23505         * nptl/version.c (banner): Use single year in copyright notice.
23507         * NEWS: Update copyright dates.
23508         * catgets/gencat.c (print_version): Likewise.
23509         * csu/version.c (banner): Likewise.
23510         * debug/catchsegv.sh: Likewise.
23511         * debug/pcprofiledump.c (print_version): Likewise.
23512         * debug/xtrace.sh (do_version): Likewise.
23513         * elf/ldconfig.c (print_version): Likewise.
23514         * elf/ldd.bash.in: Likewise.
23515         * elf/pldd.c (print_version): Likewise.
23516         * elf/sotruss.sh: Likewise.
23517         * elf/sprof.c (print_version): Likewise.
23518         * iconv/iconv_prog.c (print_version): Likewise.
23519         * iconv/iconvconfig.c (print_version): Likewise.
23520         * locale/programs/locale.c (print_version): Likewise.
23521         * locale/programs/localedef.c (print_version): Likewise.
23522         * login/programs/pt_chown.c (print_version): Likewise.
23523         * malloc/memusage.sh (do_version): Likewise.
23524         * malloc/memusagestat.c (print_version): Likewise.
23525         * malloc/mtrace.pl: Likewise.
23526         * manual/libc.texinfo: Likewise.
23527         * nptl/version.c (banner): Likewise.
23528         * nscd/nscd.c (print_version): Likewise.
23529         * nss/getent.c (print_version): Likewise.
23530         * nss/makedb.c (print_version): Likewise.
23531         * posix/getconf.c (main): Likewise.
23532         * scripts/test-installation.pl: Likewise.
23533         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23535 2015-01-02  Will Newton  <will.newton@linaro.org>
23537         * sysdeps/arm/armv7/configure: Removed.
23538         * sysdeps/arm/armv7/configure.ac: Likewise.
23540 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23542         * All files with FSF copyright notices: Update copyright dates
23543         using scripts/update-copyrights.
23544         * intl/plural.c: Regenerated.
23545         * locale/programs/charmap-kw.h: Likewise.
23546         * locale/programs/locfile-kw.h: Likewise.
23548 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23550         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23552 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23554         [BZ #17748]
23555         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23556         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23557         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23558         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23559         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23560         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23561         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23562         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23563         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23564         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23565         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23566         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23567         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23568         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23569         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23570         libm_hidden_def.
23571         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23573         Likewise.
23574         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23575         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23577         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23578         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23579         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23580         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23581         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23582         __fegetenv instead of fegetenv.
23583         (libc_feholdsetround_noex_ctx): Likewise.
23585 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23587         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23588         (Elf_MIPS_ABIFlags_v0): New structure.
23589         (EF_MIPS_FP64): Define.
23590         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23591         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23592         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23593         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23594         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23595         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23596         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23597         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23598         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23599         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23600         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23601         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23602         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23603         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23604         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23605         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23606         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23607         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23608         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23609         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23610         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23611         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23612         field.
23613         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23614         EF_MIPS_FP64.
23615         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23616         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23617         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23618         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23619         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23620         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23621         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23622         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23623         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23624         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23625         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23626         record the current FP ABI extension.
23627         (mips-mode-switch): Define to show if kernel headers support mode
23628         switching.
23629         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23630         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23631         supported SYSV ABI version to 3.
23632         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23633         feature.
23635 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23636             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23638         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23639         path.
23640         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23642 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23644         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23645         __fegetround and redefine to call __fegetround.  Remove condition
23646         on [!__NO_MATH_INLINES].
23647         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23648         function.
23649         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23651         Remove macro.
23652         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23653         instead of <fenv_libc.h>.
23654         (__llrintl): Call fegetround instead of __fegetround.
23655         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23656         instead of <fenv_libc.h>.
23657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23658         (__lrintl): Call fegetround instead of __fegetround.
23659         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23660         instead of <fenv_libc.h>.
23661         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23662         (__rintl): Call fegetround instead of __fegetround.
23664 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23666         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23667         arrays.
23669 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23671         [BZ #17775]
23672         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23673         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23674         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23676 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23678         * sysdeps/i386/tls-macros.h: Include <features.h>.
23679         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23680         (TLS_IE): Likewise.
23681         (TLS_LD): Likewise.
23682         (TLS_GD): Likewise.
23683         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23684         define for GCC >= 5.0.
23686 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23688         * math/test-fenv.c (test_single_exception, set_single_exc,
23689         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23690         feexcp_mask_test, feenable_test, fe_single_test): Add
23691         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23692         case where they are not used.
23693         * math/libm-test.inc: Likewise.
23694         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23695         unused in the absence of FP rounding/exception support.
23696         * stdio-common/tst-printf-round.c: Likewise.
23697         * stdlib/tst-strtod-round.c: Likewise.
23698         * stdlib/tst-strtod-underflow.c: Likewise.
23700 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23702         [BZ #17723]
23703         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23704         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23705         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23706         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23707         libm_hidden_weak.
23708         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23709         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23710         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23711         libm_hidden_def.
23712         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23713         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23714         libm_hidden_weak.
23715         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23716         Likewise.
23717         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23718         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23719         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23720         libm_hidden_weak.
23721         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23722         libm_hidden_def.
23723         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23725         (__feraiseexcept): Likewise.
23726         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23727         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23728         libm_hidden_weak.
23729         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23730         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23731         libm_hidden_def.
23732         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23733         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23734         Use libm_hidden_def.
23735         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23736         libm_hidden_def.
23737         (feraiseexcept): Define as weak not strong alias.  Use
23738         libm_hidden_weak.
23739         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23740         New inline function.  Factored out of ...
23741         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23742         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23743         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23744         feraiseexcept.
23745         * math/w_acos.c (__acos): Likewise.
23746         * math/w_asin.c (__asin): Likewise.
23747         * math/w_ilogb.c (__ilogb): Likewise.
23748         * math/w_j0.c (y0): Likewise.
23749         * math/w_j1.c (y1): Likewise.
23750         * math/w_jn.c (yn): Likewise.
23751         * math/w_log.c (__log): Likewise.
23752         * math/w_log10.c (__log10): Likewise.
23753         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23754         * sysdeps/aarch64/fpu/math_private.h
23755         (libc_feupdateenv_test_aarch64): Likewise.
23756         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23757         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23758         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23759         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23760         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23761         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23762         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23763         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23764         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23765         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23767 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23769         [BZ #17732]
23770         * io/test-utime.c (main): Replace %ld with %jd and cast to
23771         intmax_t.
23772         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23773         * nptl/tst-mutex5.c: Include <stdint.h>.
23774         (do_test): Replace %ld with %jd and cast to intmax_t.
23775         * posix/tst-regex.c (run_test): Likewise.
23776         (run_test_backwards): Likewise.
23777         * rt/tst-clock.c: Include <stdint.h>.
23778         (clock_test): Replace %ld with %jd and cast to intmax_t.
23779         * rt/tst-cpuclock1.c: Include <stdint.h>.
23780         (do_test): Replace %lu with %ju and cast to uintmax_t.
23781         * rt/tst-cpuclock2.c: Include <stdint.h>.
23782         (do_test): Replace %lu with %ju and cast to uintmax_t.
23783         * rt/tst-mqueue1.c: Include <stdint.h>.
23784         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23785         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23786         intmax_t.
23787         * rt/tst-mqueue4.c (do_test): Likewise.
23788         * rt/tst-timer4.c: Include <stdint.h>.
23789         (check_ts): Replace %ld with %jd and cast to intmax_t.
23790         (do_test): Likewise.
23791         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23792         and cast to intmax_t.
23793         * sysdeps/pthread/tst-timer.c (main): Likewise.
23794         * time/clocktest.c (main): Likewise.
23795         * time/tst-posixtz.c (do_test): Likewise.
23796         * timezone/tst-timezone.c (main): Likewise.
23798 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23799             H.J. Lu  <hongjiu.lu@intel.com>
23801         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23802         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23803         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23804         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23805         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23806         version if bit_Fast_Unaligned_Load is set.
23807         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23808         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23809         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23810         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23811         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23812         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23814         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23815         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23816         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23817         to 4.
23818         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23819         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23820         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23821         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23823 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23825         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23826         instead of #if to avoid a Wundef warning.
23827         * stdlib/tst-limits.c (do_test): Likewise.
23829         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23830         parallel other exception macros.
23831         (fegetenv): Convert from macro to extern inline so that it applies
23832         retroactively to inline functions already seen by the compiler.
23833         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23835         * posix/Makefile (before-compile): Use $(objpfx) for
23836         posix-conf-vars-def.h.
23838 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23840         * posix/getconf.c (main): Use size_t for type of I.
23841         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23842         NSPEC.
23844         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23845         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23846         * posix/posix-envs.def: Likewise.
23847         * sysdeps/posix/sysconf.c: Likewise.
23848         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23849         (specs): Remove array.
23850         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23851         array.
23853         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23854         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23855         (__sysconf): Use CONF_IS_* macros.
23857         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23858         ($(objpfx)posix-conf-vars-def.h): New target.
23859         * posix/posix-conf-vars.list: New file.
23860         * posix/posix-conf-vars.h: New file.
23861         * posix/confstr.c: Include posix-conf-vars.h.
23862         (confstr): Use CONF_IS_* macros.
23863         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23864         CONF_IS_* macros.
23865         * scripts/gen-posix-conf-vars.awk: New file.
23867 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23869         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23870         fegetround): Add no-op macros to avoid linknamespace issues.
23872         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23873         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23875         * sysdeps/unix/sysv/linux/tile/sysdep.h
23876         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23877         assembly-specific section to avoid a redefinition warning.
23879         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23880         long before casting to pointer to avoid a cast warning.
23882 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23884         * sysdeps/tile/tilegx/Implies: New file.
23886 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23888         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23890 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23892         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23894 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23897         not define.
23898         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23899         <kernel-features.h>.
23900         (__utimes) [__NR_utimes]: Make code unconditional.
23901         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23902         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23903         (__ASSUME_UTIMES): Do not undefine.
23904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23905         (__ASSUME_UTIMES): Likewise.
23906         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23907         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23908         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23909         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23911 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23913         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23915 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23917         [BZ #17747]
23918         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23919         alias to weak alias for j0l, y0l.
23920         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23921         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23923         [BZ #17746]
23924         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23925         conversion.
23927 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23929         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23930         to zero if not already defined.
23932 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23934         [BZ #17724]
23935         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23936         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23937         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23938         (char *) casts added.
23939         * sysdeps/ieee754/k_standardf.c: New file.
23940         * sysdeps/ieee754/k_standardl.c: Likewise.
23941         * math/Makefile (libm-support): Remove k_standard.
23942         (libm-calls): Add k_standard.
23944 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23946         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23947         Optimize to avoid an unnecessary FPCR read.
23949 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23952         Optimize to reduce FPCR/FPSR accesses.
23954 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23956         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23957         Call libc_fetestexcept_aarch64.
23959 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23961         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23962         Call libc_fesetround_aarch64.
23964 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23966         [BZ #17733]
23967         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23968         (__bind): Do not define as weak alias.
23969         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23970         define.
23971         (__getsockname): Do not define as weak alias.
23973 2014-12-22  Will Newton  <will.newton@linaro.org>
23975         * manual/install.texi: Document that we require bison 2.7
23976         or above.
23977         * INSTALL: Regenerate.
23978         * configure.ac: Use AC_CHECK_PROG_VER instead of
23979         AC_PATH_PROG when checking for bison and check for
23980         version 2.7 or above.
23981         * configure: Regenerate.
23983 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23985         [BZ #17745]
23986         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23987         * sysdeps/tile/ffsll.c (ffsll): To here.
23989         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23991 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23993         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23994         if not defined.
23995         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23996         definition.
23997         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23998         hidden ___tls_get_addr.
23999         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24000         hidden __tls_get_addr.
24001         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24002         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24003         Likewise.
24005 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24007         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24008         _dl_init call.
24010 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24012         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24013         from "call _dl_init@PLT".
24014         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24016 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24018         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24019         guarantees.
24021 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24023         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24025 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24027         [BZ #17744]
24028         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24029         strnlen.
24031 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24033         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24034         of multu on MIPSr6.
24035         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24036         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24037         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24038         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24039         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24041 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24043         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24044         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24045         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24046         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24047         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24048         mips32r6/mips64r6.
24049         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24051 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24053         * string/strncat.c (STRNCAT): Simplify implementation.
24055 2014-12-19  David S. Miller  <davem@davemloft.net>
24057         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24058         access the quad as both a long double and as a series of 4 words.
24060         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24061         link_map->l_info array access.
24063 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24065         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24067         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24068         * math/atest-exp2.c (TIMEOUT): Likewise.
24069         * math/atest-sincos.c (TIMEOUT): Likewise.
24071 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24073         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24074         -Wno-error with -fno-builtin-lround.
24076 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24078         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24079         Contains futex constants and functions moved over from ...
24080         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24081         <lowlevellock-futex.h>.
24082         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24083         (lll_timedwait_tid): Add comments and parentheses around macro
24084         arguments.
24086 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24089         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24090         (__lll_private_flag): Remove.
24091         (lll_futex_wait): Likewise.
24092         (lll_futex_timed_wait): Likewise.
24093         (lll_futex_wake): Likewise.
24094         (lll_futex_requeue): Likewise.
24095         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24096         (__lll_timedwait_tid): Spell out argument names.
24097         (lll_timedwait_tid): Add comments and parentheses around macro
24098         arguments.
24099         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24100         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24102 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24104         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24105         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24106         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24107         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24108         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24109         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24110         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24111         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24112         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24117         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24118         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24119         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24120         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24121         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24122         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24124 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24126         * sysdeps/x86_64/x32/Makefile: New file.
24128 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24131         1L with (mp_limb_t) 1.
24133 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24135         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24136         * nptl/libc_pthread_init.c: ... here.
24137         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24138         * nptl/register-atfork.c: ... here.
24140         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24141         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24142         Use assert_perror to check its return value.
24143         (__gai_create_helper_thread): Likewise.
24145         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24147         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24149 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24151         [BZ #17725]
24152         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24153         __profil_counter.
24154         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24155         Likewise.
24156         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24157         Likewise.
24158         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24159         Likewise.
24160         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24161         (profil_counter): Likewise.
24162         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24163         (profil_counter): Likewise.
24164         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24165         Likewise.
24166         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24167         Likewise.
24168         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24169         (profil_counter): Likewise.
24170         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24171         Likewise.
24172         [!__profil_counter] (profil_counter): Define as weak alias of
24173         __profil_counter.
24174         * sysdeps/unix/sysv/linux/sparc/sparc32/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/unix/sysv/linux/sparc/sparc64/profil-counter.h
24179         (profil_counter): Rename to __profil_counter.
24180         [!__profil_counter] (profil_counter): Define as weak alias of
24181         __profil_counter.
24182         * sysdeps/posix/profil.c: Update comment referring to
24183         profil_counter.
24184         (__profil): Use __profil_counter instead of profil_counter.
24185         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24186         __profil_counter.  Use __profil_counter_ushort and
24187         __profil_counter_uint in definitions.
24188         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24189         instead of profil_counter_uint and profil_counter_ushort.
24191         [BZ #17722]
24192         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24193         define as weak alias of __inet_makeaddr.
24194         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24195         as weak alias of __inet_addr.
24196         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24197         as weak alias of __inet_pton.  Use libc_hidden_weak.
24198         * include/arpa/inet.h (__inet_pton): Declare.  Use
24199         libc_hidden_proto.
24200         (inet_makeaddr): Don't use libc_hidden_proto.
24201         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24202         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24203         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24204         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24205         Remove variable.
24206         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24207         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24209 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24211         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24213 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24215         * stdio-common/bug-vfprintf-nargs.c (do_test):
24216         Cast value to intptr_t to avoid format warning
24217         for usage with PRIdPTR printing macro.
24219 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24221         * libio/tst-widetext.c (do_test):
24222         Use format type %td instead of %Zd for ptrdiff_t
24223         in order to avoid format warning.
24225 2014-12-17  Andreas Schwab  <schwab@suse.de>
24227         * nscd/mem.c (gc): Add size_t cast to match printf format.
24229 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24231         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24232         (init): Apply PTR_MANGLE to pointers before storing them.
24233         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24234         before using them.
24236 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24238         [BZ #17719]
24239         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24240         define as weak alias of __memrchr.
24241         (__memrchr): Do not define as strong alias of memrchr.
24242         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24243         Remove variable.
24244         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24245         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24246         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24248         [BZ #17717]
24249         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24250         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24251         (if_indextoname): Rename to __if_indextoname and define as weak
24252         alias of __if_indextoname.  Use libc_hidden_weak.
24253         (if_freenameindex): Rename to __if_freenameindex and define as
24254         weak alias of __if_freenameindex.
24255         (if_nameindex): Rename to __if_nameindex and define as weak alias
24256         of __if_nameindex.
24257         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24258         __if_nametoindex and define as weak alias of __if_nametoindex.
24259         Use libc_hidden_weak.
24260         (if_freenameindex): Rename to __if_freenameindex and define as
24261         weak alias of __if_freenameindex.
24262         (if_nameindex): Rename to __if_nameindex and define as weak alias
24263         of __if_nameindex.
24264         (if_indextoname): Rename to __if_indextoname and define as weak
24265         alias of __if_indextoname.  Use libc_hidden_weak.
24266         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24267         __if_nametoindex and define as weak alias of __if_nametoindex.
24268         Use libc_hidden_weak.
24269         (if_freenameindex): Rename to __if_freenameindex and define as
24270         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24271         (if_nameindex_netlink): Use __if_freenameindex instead of
24272         if_freenameindex.
24273         (if_nameindex): Rename to __if_nameindex and define as weak alias
24274         of __if_nameindex.  Use libc_hidden_weak.
24275         (if_indextoname): Rename to __if_indextoname and define as weak
24276         alias of __if_indextoname.  Use libc_hidden_weak.
24277         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24278         libc_hidden_proto.
24279         [!_ISOMAC] (__if_freenameindex): Likewise.
24280         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24281         if_nametoindex.
24282         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24283         variable.
24284         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24285         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24286         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24287         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24288         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24289         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24290         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24292         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24293         Remove variable.
24294         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24295         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24297 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24299         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24300         subscript above bounds'
24302         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24303         bounds.
24305 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24307         * libio/tst-fopenloc.c: Use test-skeleton.c.
24309         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24310         (entry): Rename to ITEM.
24311         (do_test, comp): Adjust.
24313         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24315 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24317         * string/tester.c: Include <libc-internal.h>.
24318         (test_memset): Ignore -Wmemset-transposed-args.
24320 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24322         * misc/tst-mntent2.c (do_test): Fix warning.
24324 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24326         * elf/tst-unique4lib.cc(a): Mark as used.
24328 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24330         [BZ #17630]
24331         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24332         names.
24334 2014-12-16  Allan McRae  <allan@archlinux.org>
24336         * stdio-common/Makefile (tests): Re-add bug26.
24338 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24340         [BZ #17657]
24341         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24342         static array.
24344 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24346         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24347         (__lll_lock_wait): Likewise.
24348         (__lll_timedlock_wait): Likewise.
24349         (__lll_timedwait_tid): Likewise.
24350         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24351         (__lll_robust_timedlock_wait): Likewise.
24352         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24353         (lll_cond_trylock): Likewise.
24354         (__lll_lock): Likewise.
24355         (__lll_robust_lock): Likewise.
24356         (__lll_cond_lock): Likewise.
24357         (lll_robust_cond_lock): Likewise.
24358         (__lll_timedlock): Likewise.
24359         (__lll_robust_timedlock): Likewise.
24360         (__lll_unlock): Likewise.
24361         (__lll_robust_unlock): Likewise.
24362         (lll_wait_tid): Likewise.
24363         (lll_timedwait_tid): Likewise.
24365 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24367         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24369 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24371         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24373 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24375         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24376         * stdio-common/tst-sprintf.c: Likewise.
24378 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24380         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24382 2014-12-15  Jeff Law  <law@redhat.com>
24384         [BZ #16617]
24385         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24386         on the heap.  (CVE-2012-3406)
24387         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24388         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24389         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24391 2014-12-15  Will Newton  <will.newton@linaro.org>
24393         * manual/install.texi: Bump required version of texinfo
24394         to 4.7 from 4.5.
24395         * INSTALL: Regenerated.
24396         * configure.ac: Check for makeinfo version 4.7 and above.
24397         * configure: Regenerated.
24399 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24401         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24402         PREFIX, string constant to insert between directory and name.
24403         * sysdeps/posix/shm_open.c: Update caller.
24404         * sysdeps/posix/shm_unlink.c: Likewise.
24405         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24406         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24407         (SEM_SHM_PREFIX): New macro.
24408         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24409         [$(have-thread-library) = no].
24410         * nptl/Makefile (libpthread-routines): Add shm-directory.
24411         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24412         * sysdeps/nptl/shm-directory.h: New file.
24413         * sysdeps/posix/shm-directory.c
24414         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24415         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24416         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24417         INTERNAL_SYSCALL.
24418         (__where_is_shmfs): Function removed.
24419         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24420         Variables removed.
24421         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24422         Use SHM_GET_NAME.
24423         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24425         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24426         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24427         unconditional for use inside libpthread.
24428         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24430 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24432         * nptl/pthread_getaffinity.c: New file.
24433         * nptl/pthread_setaffinity.c: New file.
24434         * nptl/pthread_getname.c: New file.
24435         * nptl/pthread_setname.c: New file.
24437         * nptl/pthread_create.c (START_THREAD_DEFN)
24438         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24440 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24443         * resolv/res_send.c (send_vc): Disable warning resplen may
24444         be used uninitialized.
24446 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24448         * nptl/tst-mutex6.c
24449         (ATTR_NULL): New define checks ATTR against NULL.
24450         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24451         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24453 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24455         [BZ #17581]
24456         * malloc/hooks.c
24457         (mem2mem_check): Revert my previous change.
24458         (malloc_check_get_size): Revert my previous change.
24459         (mem2chunk_check): Revert my previous change.
24461 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24463         * sysdeps/posix/shm-directory.c: New file.
24464         * sysdeps/posix/shm-directory.h: New file.
24465         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24466         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24467         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24468         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24469         Transmute EPERM to EACCES.
24470         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24471         from ...
24472         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24473         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24475 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24477         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24478         pointer and cast to uintptr_t.
24479         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24480         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24481         Add cast to avoid warning.
24482         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24484 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24486         * nptl/semaphore.h: Move to ...
24487         * sysdeps/pthread/semaphore.h: ... here.
24488         * Makefile (installed-headers): Change nptl/semaphore.h to
24489         sysdeps/pthread/semaphore.h.
24491 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24493         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24494         generated error format strings.
24496         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24497         -Wformat-extra-args warnings for scanf formats.
24498         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24499         test of zero-length format (duh).
24500         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24501         corner-case scanf format test.
24502         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24503         generated fprintf format string.
24504         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24505         corner-case sprintf format tests.
24506         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24507         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24508         -Wformat-extra-args warnings throughout.
24509         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24510         (CFLAGS-scanf4.c): Likewise.
24511         (CFLAGS-scanf7.c): Likewise.
24512         (CFLAGS-tst-sprintf.c): Likewise.
24513         (CFLAGS-tst-printf.c): Likewise.
24514         (CFLAGS-tst-printfsz.c): Likewise.
24516 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24518         * include/cpio.h: New file.
24519         * include/fmtmsg.h: Likewise.
24521         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24522         corresponding format argument to size_t.
24523         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24524         arguments.
24525         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24526         corresponding format argument to size_t.
24527         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24528         arguments.
24529         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24530         corresponding format argument to size_t.
24531         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24532         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24533         (CFLAGS-tst-mbswcs2.c): Likewise.
24534         (CFLAGS-tst-mbswcs3.c): Likewise.
24535         (CFLAGS-tst-mbswcs4.c): Likewise.
24536         (CFLAGS-tst-mbswcs5.c): Likewise.
24537         (CFLAGS-tst-trans.c): Likewise.
24539 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24541         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24542         rather than assuming they won't contain any '%'s.
24544 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24546         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24547         inhibit_loop_to_libcall to avoid recursive calls.
24548         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24549         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24551 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24553         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24554         prototype.
24556 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24558         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24559         integer value instead of boolean.
24561 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24563         * malloc/malloc.c: Fix powerof2 check.
24565 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24567         * locale/programs/locfile.h (maybe_swap_uint32):
24568         Remove inline and add unused attribute.
24570 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24572         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24573         Truncating assembler expression to a .long expression.
24575 2014-12-11  Andreas Schwab  <schwab@suse.de>
24577         * elf/rtld.c (struct map_args): Constify str member.
24578         (do_preload): Constify fname argument.
24580 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24583         constants definition.
24585 2014-12-11  Andreas Schwab  <schwab@suse.de>
24587         [BZ #16657]
24588         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24589         FORCE_ELISION instead of DO_ELISION.
24590         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24591         Remove.
24592         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24593         Likewise.
24595         * iconvdata/gconv-modules: Remove duplicate entry.
24597 2014-12-11  Will Newton  <will.newton@linaro.org>
24599         Merge gettext 0.19.3 into intl/.
24601         This involves a number of cosmetic changes to comments
24602         and ANSI function definitions and prototypes throughout
24603         all the files. The gettext copyright header is used but
24604         with the date ranges taken from the glibc copy.
24606         * NEWS: Add gettext merge to 2.21.
24607         * intl/bindtextdom.c: Switch to gettext copyright.
24608         Use ANSI definitions and prototypes.
24609         Use gl_* locking primitives rather than __libc_* ones.
24610         Use __builtin_expect rather than __glibc_likely/unlikely.
24611         * intl/dcgettext.c: Switch to gettext copyright.
24612         Use ANSI definitions and prototypes.
24613         * intl/dcigettext.c: Switch to gettext copyright.
24614         Use ANSI definitions and prototypes.
24615         (INTDIV0_RAISES_SIGFPE): New define.
24616         Use gl_* locking primitives rather than __libc_* ones.
24617         Include eval-plural.h instead of plural-eval.c.
24618         Use __builtin_expect rather than __glibc_likely/unlikely.
24619         * intl/dcngettext.c: Switch to gettext copyright.
24620         Use ANSI definitions and prototypes.
24621         * intl/dgettext.c: Likewise.
24622         * intl/dngettext.c: Likewise.
24623         * intl/plural-eval.c: Renamed to...
24624         * intl/eval-plural.h: ...this.
24625         * intl/explodename.c: Switch to gettext copyright.
24626         Use ANSI definitions and prototypes.
24627         (_nl_explode_name): Use strchr instead of __rawmemchr.
24628         * intl/finddomain.c: Switch to gettext copyright.
24629         Use ANSI definitions and prototypes.
24630         Use gl_* locking primitives rather than __libc_* ones.
24631         (_nl_find_domain): Use malloc rather than alloca for
24632         allocation of temporary locale name.
24633         * intl/gettext.c: Switch to gettext copyright.
24634         Use ANSI definitions and prototypes.
24635         * intl/gettextP.h: Switch to gettext copyright.
24636         Use ANSI definitions and prototypes.
24637         Use gl_* locking primitives rather than __libc_* ones.
24638         * intl/gmo.h: Switch to gettext copyright.
24639         (struct sysdep_string): Move struct segment_pair outside of
24640         struct definition.
24641         * intl/hash-string.c: Use ANSI definitions and prototypes.
24642         * intl/hash-string.h: Switch to gettext copyright.
24643         Use ANSI definitions and prototypes.
24644         * intl/l10nflist.c: Switch to gettext copyright.
24645         Use ANSI definitions and prototypes.
24646         (_nl_normalize_codeset): Avoid integer overflow.
24647         * intl/loadinfo.h: Switch to gettext copyright.
24648         Use ANSI definitions and prototypes.
24649         (LIBINTL_DLL_EXPORTED): New define.
24650         (PATH_SEPARATOR): New define.
24651         * intl/loadmsgcat.c: Switch to gettext copyright.
24652         * intl/localealias.c: Switch to gettext copyright.
24653         Use ANSI definitions and prototypes.
24654         (_nl_expand_alias): Use PATH_SEPARATOR.
24655         * intl/ngettext.c: Switch to gettext copyright.
24656         Use ANSI definitions and prototypes.
24657         * intl/plural-exp.c: Likewise.
24658         * intl/plural-exp.h: Switch to gettext copyright.
24659         Use ANSI definitions and prototypes.
24660         (struct expression): Move definition of enum operator outside
24661         of struct definition.
24662         * intl/plural.c: Regenerate.
24663         * intl/plural.y: Switch to gettext copyright.
24664         Use ANSI definitions and prototypes.
24665         Port to bison 3.0.
24666         * intl/textdomain.c: Switch to gettext copyright.
24667         Use ANSI definitions and prototypes.
24668         Use gl_* locking primitives rather than __libc_* ones.
24670 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24672         * debug/warning-nop.c: Add used atrribute.
24674 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24676         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24678         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24679         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24680         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24682 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24685         [BZ #17634]
24686         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24687         Undefine after defining function.  Define as weak alias of
24688         __wcschr.  Use libc_hidden_weak.
24689         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24690         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24691         (libc_hidden_def): Also define __GI___wcschr alias.
24692         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24693         __wcschr and define as weak alias of __wcschr.
24694         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24695         __wcschr.
24696         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24697         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24698         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24699         libc_hidden_weak.  Do not use libc_hidden_def.
24700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24701         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24702         __GI___wcschr alias.
24703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24704         [IS_IN (libc)] (wcschr): Define as macro expanding to
24705         __redirect_wcschr.
24706         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24707         [IS_IN (libc)] (__wcschr_power6): Likewise.
24708         [IS_IN (libc)] (__wcschr_power7): Likewise.
24709         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24710         instead of wcschr.
24711         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24712         __libc_wcschr.
24713         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24714         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24715         __wcschr and define as weak alias of __wcschr.  Use
24716         libc_hidden_builtin_def.
24717         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24718         as weak alias of __wcschr.  Use libc_hidden_weak.
24719         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24720         wcschr.
24721         * time/era.c (_nl_init_era_entries): Likewise.
24722         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24723         variable.
24724         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24725         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24727 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24729         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24730         format for long int variable.
24732 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24734         [BZ #10672]
24735         * manual/search.texi: (Array Sort Function): Remove claim how to make
24736         qsort stable.
24738 2014-12-10  Andreas Schwab  <schwab@suse.de>
24740         [BZ #12847]
24741         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24742         user-controlled locks.
24744 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24746         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24747         register.
24749 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24751         * configure.ac (--disable-werror): New configure option.
24752         (enable_werror): New AC_SUBST.
24753         * configure: Regenerated.
24754         * config.make.in (enable-werror): New variable.
24755         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24756         -Wno-error=undef.
24757         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24758         * manual/install.texi (Configuring and compiling): Document
24759         --disable-werror.
24760         * INSTALL: Regenerated.
24761         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24762         (CFLAGS-tst-chk2.c): Likewise.
24763         (CFLAGS-tst-chk3.c): Likewise.
24764         (CFLAGS-tst-chk4.cc): Likewise.
24765         (CFLAGS-tst-chk5.cc): Likewise.
24766         (CFLAGS-tst-chk6.cc): Likewise.
24767         (CFLAGS-tst-lfschk1.c): Likewise.
24768         (CFLAGS-tst-lfschk2.c): Likewise.
24769         (CFLAGS-tst-lfschk3.c): Likewise.
24770         (CFLAGS-tst-lfschk4.cc): Likewise.
24771         (CFLAGS-tst-lfschk5.cc): Likewise.
24772         (CFLAGS-tst-lfschk6.cc): Likewise.
24774         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24775         (main): Disable -Wdeprecated-declarations around calls to
24776         register_printf_function.
24778         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24779         (do_test): Disable -Wdiv-by-zero around some calls to
24780         fwrite_unlocked and fread_unlocked.
24782         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24783         (DIAG_POP_NEEDS_COMMENT): Likewise.
24784         (_DIAG_STR1): Likewise.
24785         (_DIAG_STR): Likewise.
24786         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24787         * stdio-common/bug21.c: Include <libc-internal.h>.
24788         (do_test): Disable -Wformat around call to sscanf.
24789         * stdio-common/scanf14.c: Include <libc-internal.h>.
24790         (main): Disable -Wformat around some calls to scanf functions.
24792 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24794         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24796 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24798         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24799         stack variable alignment.
24801 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24803         [BZ #17682]
24804         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24805         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24806         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24807         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24808         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24809         __getrlimit instead of getrlimit.
24810         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24811         __gettimeofday instead of gettimeofday.
24812         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24813         Likewise.
24814         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24815         Likewise.
24816         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24817         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24818         Remove variable.
24819         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24820         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24822 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24824         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24825         for wide-character tests.
24827 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24829         * io/openat64.c: #include <libc-internal.h>
24830         (__openat64): Prototypify.  Use ignore_value on MODE.
24831         * io/openat.c: Likewise.
24832         * misc/reboot.c: #include <libc-internal.h>
24833         (reboot): Prototypify.  Use ignore_value on HOWTO.
24834         * misc/ptrace.c: #include <libc-internal.h>
24835         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24837 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24839         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24840         XPG4, UNIX98 and XOPEN2K.
24841         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24842         Remove variable.
24843         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24845 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24847         * libio/fileops.c: Use ISO C style for function definitions.
24848         * libio/iofopen.c: Likewise.
24849         * libio/wfileops.c: Likewise.
24851         [BZ #17653]
24852         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24853         offset on EOF.
24854         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24855         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24856         (fgets_func): Function pointer to fgets and fgetws.
24857         (do_ftell_test): Add test to verify ftell value after read
24858         EOF.
24859         (do_test): Set fgets_func.
24861         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24862         O_TRUNC flag for w and w+ modes.
24863         (do_rewind_test): Likewise.
24864         (do_ftell_test): Likewise.
24865         (do_write_test): Likewise.
24867         [BZ #17647]
24868         * libio/fileops.c (do_ftell): Seek only when there are
24869         unflushed writes.
24870         * libio/wfileops.c (do_ftell_wide): Likewise.
24871         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24872         test case.
24873         (do_one_test): Call it.
24875 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24877         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24878         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24879         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24880         Remove variable.
24881         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24882         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24883         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24885 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24887         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24888         Remove variable.
24889         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24891         [BZ #17668]
24892         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24893         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/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24897         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24898         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24899         __freeifaddrs.  Use libc_hidden_weak.
24900         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24901         __getifaddrs and define as weak alias of __getifaddrs.  Use
24902         libc_hidden_weak.
24903         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24904         __freeifaddrs.  Use libc_hidden_weak.
24905         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24906         Remove variable.
24907         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24908         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24910 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24912         [BZ #17601]
24913         * sysdeps/mips/start.S (__start): Use indirect jump to call
24914         __libc_start_main.
24916 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24918         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24920         * nptl/tst-mutex1.c: Include <stdbool.h>.
24921         [!ATTR] (ATTR_NULL): New macro.
24922         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24923         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24924         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24926         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24927         to char *.
24929         [BZ #17665]
24930         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24931         Change conditional to [__USE_MISC].
24933         [BZ #17664]
24934         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24935         fgets_unlocked.
24936         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24937         __fgets_unlocked.
24938         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24939         fgets_unlocked.
24940         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24941         Remove variable.
24942         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24943         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24944         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24945         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24946         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24947         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24948         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24949         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24950         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24952         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24954 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24957         Remove strpbrk objects.
24958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24959         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24960         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24961         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24962         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24963         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24965         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24966         Remove strcspn objects.
24967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24968         (__libc_ifunc_impl_list): Remove strcspn implementation.
24969         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24970         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24971         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24972         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24975         Remove strspn objetcs.
24976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24977         (__libc_ifunc_impl_list): Remove strspn implementation.
24978         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24979         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24980         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24981         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24983 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24985         [BZ #17581]
24986         * malloc/hooks.c
24987         (mem2mem_check): Add a terminator to the chain of checking blocks.
24988         (malloc_check_get_size): Use it here.
24989         (mem2chunk_check): Ditto.
24991 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24993         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24994         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24996 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24998         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25000         * nptl/nptl-init.c: Include libc-internal.h.
25001         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25003         * elf/ldconfig.c (search_dir): Expand comment.
25005 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25007         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25008         variable.
25009         (linknamespace-symlist-stdlibs-tests): Likewise.
25010         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25011         instead of $(objpfx)symlist-stdlibs.
25012         (linknamespace-libs-isoc): New variable.
25013         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25014         (linknamespace-libs-ISO): New variable.
25015         (linknamespace-libs-ISO99): Likewise.
25016         (linknamespace-libs-ISO11): Likewise.
25017         (linknamespace-libs-XPG3): Likewise.
25018         (linknamespace-libs-XPG4): Likewise.
25019         (linknamespace-libs-POSIX): Likewise.
25020         (linknamespace-libs-UNIX98): Likewise.
25021         (linknamespace-libs-XOPEN2K): Likewise.
25022         (linknamespace-libs-POSIX2008): Likewise.
25023         (linknamespace-libs-XOPEN2K8): Likewise.
25024         ($(objpfx)symlist-stdlibs): Replace by
25025         $(linknamespace-symlist-stdlibs-tests).  Use
25026         $(linknamespace-libs-$*) as set of libraries.
25027         ($(linknamespace-header-tests)): Update dependencies.  Use
25028         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25029         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25030         * conform/linknamespace.pl: Remove comment about considering
25031         definitions of symbols from irrelevant libraries.
25033 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25035         [BZ #13862]
25036         * elf/dl-tls.c: Include <atomic.h>.
25037         (oom): Remove #ifdef SHARED/#endif.
25038         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25039         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25040         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25041         big enough.
25042         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25043         * nptl/Makefile (tests): Add tst-stack4.
25044         (modules-names): Add tst-stack4mod.
25045         ($(objpfx)tst-stack4): New.
25046         (tst-stack4mod.sos): Likewise.
25047         ($(objpfx)tst-stack4.out): Likewise.
25048         ($(tst-stack4mod.sos)): Likewise.
25049         (clean): Likewise.
25050         * nptl/tst-stack4.c: New file.
25051         * nptl/tst-stack4mod.c: Likewise.
25053 2014-11-27  J. Brown  <jb999@gmx.de>
25055         * sysdeps/x86/bits/string.h: Add recent CPUs.
25057 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25059         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25060         sigblock.
25062         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25063         feof.
25065         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25066         variable.
25068 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25070         * nscd/connections.c: Include libc-internal.h because of macro
25071         usage ignore_value.
25073 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25075         * string/bits/string3.h (__warn_memset_zero_len): Don't
25076         declare for gcc newer than 5.0.
25077         (memset): Don't test for zero-length __LEN for gcc newer than
25078         5.0.
25080 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25082         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25083         size_t for %zu format.
25085         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25086         difference, not %ju.
25088 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25090         * include/libc-internal.h (ignore_value): New macro.
25091         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25092         with ignore_value.
25094         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25095         definition.
25097         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25098         pthread_cleanup_push to void *.
25100         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25101         Undefine.
25103         [BZ #16619]
25104         [BZ #16740]
25105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25106         instead of 1L << 52.
25108         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25109         * libio/bug-rewind2.c (do_test): Likewise.
25111         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25112         * debug/test-strcpy_chk-ifunc.c: Likewise.
25113         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25114         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25115         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25116         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25117         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25118         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25119         * Rules [$(multi-arch) = no] (tests): Do not filter out
25120         $(tests-ifunc).
25121         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25122         * debug/Makefile (tests-ifunc): Remove variable.
25123         (tests): Do not add $(tests-ifunc).
25124         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25125         (tests): Do not add $(tests-ifunc).
25126         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25127         [TEST_IFUNC]: Remove conditionals.
25128         * string/test-string.h (TEST_IFUNC): Remove macro.
25129         [TEST_IFUNC]: Remove conditionals.
25131         * string/test-strchr.c [!WIDE] (L): New macro.
25132         [WIDE] (L): Likewise.
25133         (check1): Use CHAR instead of char.  Use L on string and character
25134         constants.
25136 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25138         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25139         tests.
25140         * sysdeps/powerpc/bits/atomic.h
25141         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25142         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25143         (atomic_exchange_and_add_acq): Likewise.
25144         (atomic_exchange_and_add_rel): Likewise.
25145         * sysdeps/powerpc/powerpc32/bits/atomic.h
25146         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25147         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25148         * sysdeps/powerpc/powerpc64/bits/atomic.h
25149         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25150         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25152 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25154         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25155         Change synchronization of __sched_fifo_min_prio and
25156         __sched_fifo_max_prio.
25157         * nptl/pthread_mutexattr_getprioceiling.c
25158         (pthread_mutexattr_getprioceiling): Likewise.
25159         * nptl/pthread_mutexattr_setprioceiling.c
25160         (pthread_mutexattr_setprioceiling): Likewise.
25161         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25162         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25163         Likewise.
25165 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25167         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25168         void.
25170 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25172         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25173         third argument const.
25175 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25177         fnmatch: work around GCC compiler warning bug with uninit var
25178         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25179         This works around a bug with x86-64 GCC 4.9.2 and earlier
25180         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25181         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25182         used uninitialized in this function [-Wmaybe-uninitialized]".
25184 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25186         * posix/bug-regex31.c (main): Return RES not 0.
25188 2014-11-25  Anton Blanchard <anton@samba.org>
25190         * sysdeps/powerpc/bits/atomic.h
25191         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25193 2014-11-24  Sterling Augustine  <saugustine@google.com>
25195         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25197 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25199         [BZ #17608]
25200         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25202 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25204         [BZ #17633]
25205         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25206         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25207         variable.
25208         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25209         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25211 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25213         * string/strncpy.c (strncpy): Improve performance by using memset.
25215 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25217         * string/strcpy.c (strcpy):
25218         Improve performance by using strlen and memcpy.
25220 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25222         * string/strcoll_l.c (get_next_seq): __always_inline.
25223         * string/strcoll_l.c (do_compare): __always_inline.
25225 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25227         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25228         defined.
25229         * include/mqueue.h: Likewise.
25230         * include/stdlib.h: Likewise.
25232         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25233         (get_null_defines): Adjust.
25234         * sunrpc/Makefile: Adjust comment.
25235         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25236         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25237         (CFLAGS-interp.c): Likewise.
25238         (CFLAGS-ldconfig.c): Likewise.
25239         (CPPFLAGS-.os): Likewise.
25240         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25241         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25242         * extra-modules.mk (extra-modules.mk): Likewise.
25243         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25244         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25245         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25246         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25247         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25248         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25249         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25250         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25251         * iconvdata/Makefile (CPPFLAGS): Likewise.
25252         (cpp-srcs-left): Add libof for all iconvdata routines.
25253         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25254         * include/assert.h: Likewise.
25255         * include/ctype.h: Likewise.
25256         * include/errno.h: Likewise.
25257         * include/libc-symbols.h: Likewise.
25258         * include/math.h: Likewise.
25259         * include/netdb.h: Likewise.
25260         * include/resolv.h: Likewise.
25261         * include/stdio.h: Likewise.
25262         * include/stdlib.h: Likewise.
25263         * include/string.h: Likewise.
25264         * include/sys/stat.h: Likewise.
25265         * include/wctype.h: Likewise.
25266         * intl/l10nflist.c: Likewise.
25267         * libidn/idn-stub.c: Likewise.
25268         * libio/libioP.h: Likewise.
25269         * nptl/libc_multiple_threads.c: Likewise.
25270         * nptl/pthreadP.h: Likewise.
25271         * posix/regex_internal.h: Likewise.
25272         * resolv/res_hconf.c: Likewise.
25273         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25274         * sysdeps/arm/memmove.S: Likewise.
25275         * sysdeps/arm/sysdep.h: Likewise.
25276         * sysdeps/generic/_itoa.h: Likewise.
25277         * sysdeps/generic/symbol-hacks.h: Likewise.
25278         * sysdeps/gnu/errlist.awk: Likewise.
25279         * sysdeps/gnu/errlist.c: Likewise.
25280         * sysdeps/i386/i586/memcpy.S: Likewise.
25281         * sysdeps/i386/i586/memset.S: Likewise.
25282         * sysdeps/i386/i686/memcpy.S: Likewise.
25283         * sysdeps/i386/i686/memmove.S: Likewise.
25284         * sysdeps/i386/i686/mempcpy.S: Likewise.
25285         * sysdeps/i386/i686/memset.S: Likewise.
25286         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25288         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25289         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25290         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25291         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25292         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25293         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25294         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25295         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25296         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25297         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25298         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25299         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25300         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25301         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25302         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25303         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25304         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25305         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25306         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25307         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25308         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25309         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25310         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25312         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25314         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25315         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25316         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25319         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25320         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25321         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25322         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25323         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25324         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25325         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25326         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25327         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25328         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25329         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25330         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25331         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25332         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25333         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25334         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25335         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25336         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25337         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25338         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25339         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25340         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25341         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25343         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25344         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25345         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25346         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25347         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25348         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25349         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25350         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25351         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25352         * sysdeps/posix/closedir.c: Likewise.
25353         * sysdeps/posix/opendir.c: Likewise.
25354         * sysdeps/posix/readdir.c: Likewise.
25355         * sysdeps/posix/rewinddir.c: Likewise.
25356         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25357         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25358         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25359         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25360         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25361         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25362         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25364         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25366         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25367         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25369         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25370         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25371         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25372         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25373         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25374         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25375         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25376         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25378         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25384         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25391         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25392         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25393         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25394         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25395         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25396         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25397         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25398         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25400         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25401         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25402         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25403         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25404         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25406         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25407         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25410         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25412         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25413         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25414         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25415         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25416         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25417         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25418         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25419         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25420         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25421         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25422         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25423         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25424         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25425         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25426         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25427         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25428         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25429         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25430         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25432         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25433         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25434         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25435         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25436         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25437         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25438         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25440         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25442         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25443         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25444         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25446         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25447         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25448         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25449         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25450         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25451         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25452         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25454         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25455         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25457         * sysdeps/unix/alpha/sysdep.S: Likewise.
25458         * sysdeps/unix/alpha/sysdep.h: Likewise.
25459         * sysdeps/unix/make-syscalls.sh: Likewise.
25460         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25462         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25463         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25464         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25465         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25466         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25467         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25469         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25471         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25473         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25474         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25475         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25476         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25477         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25478         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25479         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25480         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25481         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25482         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25483         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25484         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25485         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25489         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25490         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25494         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25498         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25499         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25500         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25501         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25502         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25503         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25507         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25510         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25511         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25512         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25513         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25518         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25519         * sysdeps/x86_64/memcpy.S: Likewise.
25520         * sysdeps/x86_64/memmove.c: Likewise.
25521         * sysdeps/x86_64/memset.S: Likewise.
25522         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25523         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25524         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25525         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25526         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25529         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25530         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25531         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25532         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25533         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25534         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25537         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25539         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25540         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25541         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25542         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25543         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25546         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25547         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25548         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25549         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25550         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25551         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25552         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25553         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25554         * sysdeps/x86_64/strcmp.S: Likewise.
25556         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25558         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25559         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25560         * elf/rtld-Rules: Likewise.
25561         * elf/setup-vdso.h: Likewise.
25562         * include/assert.h: Likewise.
25563         * include/bits/stdlib-float.h: Likewise.
25564         * include/errno.h: Likewise.
25565         * include/sys/stat.h: Likewise.
25566         * include/unistd.h: Likewise.
25567         * sysdeps/aarch64/setjmp.S: Likewise.
25568         * sysdeps/alpha/setjmp.S: Likewise.
25569         * sysdeps/arm/__longjmp.S: Likewise.
25570         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25571         * sysdeps/arm/setjmp.S: Likewise.
25572         * sysdeps/arm/sysdep.h: Likewise.
25573         * sysdeps/generic/_itoa.h: Likewise.
25574         * sysdeps/generic/dl-sysdep.h: Likewise.
25575         * sysdeps/generic/ldsodefs.h: Likewise.
25576         * sysdeps/i386/dl-tls.h: Likewise.
25577         * sysdeps/i386/setjmp.S: Likewise.
25578         * sysdeps/m68k/setjmp.c: Likewise.
25579         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25580         * sysdeps/mach/hurd/opendir.c: Likewise.
25581         * sysdeps/posix/getcwd.c: Likewise.
25582         * sysdeps/posix/opendir.c: Likewise.
25583         * sysdeps/posix/profil.c: Likewise.
25584         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25585         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25587         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25588         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25589         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25590         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25591         * sysdeps/s390/dl-tls.h: Likewise.
25592         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25593         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25594         * sysdeps/sh/sh3/setjmp.S: Likewise.
25595         * sysdeps/sh/sh4/setjmp.S: Likewise.
25596         * sysdeps/unix/alpha/sysdep.h: Likewise.
25597         * sysdeps/unix/arm/sysdep.S: Likewise.
25598         * sysdeps/unix/i386/sysdep.S: Likewise.
25599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25600         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25601         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25603         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25604         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25605         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25606         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25607         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25608         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25609         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25610         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25614         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25617         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25618         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25622         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25623         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25626         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25627         * sysdeps/x86_64/setjmp.S: Likewise.
25629         * include/math.h: Use IS_IN instead of IS_IN_libm.
25630         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25633         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25634         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25635         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25636         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25637         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25639         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25642         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25643         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25644         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25645         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25646         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25647         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25648         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25649         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25650         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25651         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25652         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25653         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25654         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25655         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25656         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25657         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25658         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25659         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25661         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25662         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25664         Likewise.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25666         Likewise.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25668         Likewise.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25670         Likewise.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25672         Likewise.
25673         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25674         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25675         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25676         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25677         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25678         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25684         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25685         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25686         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25688         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25689         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25690         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25691         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25692         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25693         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25695         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25697         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25699         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25701         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25702         * nptl/pthreadP.h: Likewise.
25703         * nptl_db/structs.def: Likewise.
25704         * sysdeps/arm/sysdep.h: Likewise.
25705         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25706         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25707         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25708         * sysdeps/unix/alpha/sysdep.h: Likewise.
25709         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25711         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25713         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25714         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25717         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25718         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25719         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25720         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25721         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25722         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25727         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25730         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25731         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25732         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25733         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25734         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25736         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25737         * nptl/pthreadP.h: Likewise.
25738         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25739         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25740         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25741         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25742         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25743         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25744         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25745         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25746         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25747         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25748         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25749         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25751         Likewise.
25752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25753         Likewise.
25754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25756         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25757         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25759         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25760         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25761         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25763         * dlfcn/dladdr.c: Use IS_IN.
25764         * dlfcn/dladdr1.c: Likewise.
25765         * dlfcn/dlclose.c: Likewise.
25766         * dlfcn/dlerror.c: Likewise.
25767         * dlfcn/dlinfo.c: Likewise.
25768         * dlfcn/dlmopen.c: Likewise.
25769         * dlfcn/dlopen.c: Likewise.
25770         * dlfcn/dlsym.c: Likewise.
25771         * dlfcn/dlvsym.c: Likewise.
25773         * include/ifaddrs.h: Use IS_IN.
25774         * inet/check_pf.c: Likewise.
25775         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25776         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25778         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25779         IS_IN_ldconfig.
25780         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25781         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25783         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25784         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25785         IS_IN (libc).
25787         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25789         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25790         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25791         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25792         * include/libc-symbols.h (IS_IN_LIB): New macro.
25793         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25794         * include/netdb.h: Likewise.
25795         * include/stap-probe.h: Remove all uses of IN_LIB.
25797         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25798         instead of IN_MODULE.
25799         * include/libc-symbols.h (IN_MODULE): Define using
25800         MODULE_NAME.
25801         (PASTE_NAME, PASTE_NAME1): New macros.
25802         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25803         of IN_LIB.
25804         (STAP_PROBE_ASM): Likewise.
25806 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25808         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25809         __mach_init in dlopened libc.
25811 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25813         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25814         * sysdeps/arm/preconfigure: Regenerate.
25816 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25818         * nptl/pthread_create.c (__pthread_create_2_1): Set
25819         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25820         when copying values from IATTR into PD.
25822 2014-11-21  Will Newton  <will.newton@linaro.org>
25823             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25825         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25826         Refactor inline-asm.  Also add comment.
25828         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25829         ElfW macro instead of hardcoded Elf64 types.
25830         (la_aarch64_gnu_pltenter): Likewise.
25831         * sysdeps/aarch64/dl-machine.h
25832         (elf_machine_runtime_setup): Use ElfW(Addr).
25834         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25835         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25836         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25837         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25838         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25839         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25840         (R_AARCH64_TLS_DTPMOD): This.
25841         (R_AARCH64_TLS_DTPREL64): Rename to ...
25842         (R_AARCH64_TLS_DTPREL): This.
25843         (R_AARCH64_TLS_TPREL64): Rename to ...
25844         (R_AARCH64_TLS_TPREL): This.
25845         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25846         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25847         R_AARCH64_TLS_TPREL64.
25848         (elf_machine_rela): Likewise.
25850 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25852         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25853         by setting it to 0.  64b atomics are not supported currently.
25855 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25857         [BZ #16469]
25858         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25859         search domain names.
25861 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25863         [BZ #16469]
25864         * NEWS: Update.
25865         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25866         trailing dot.
25867         * posix/tst-getaddrinfo5.c: New.
25868         * posix/Makefile (tests): Add it.
25870 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25872         [BZ #14498]
25873         * NEWS: Fixed.
25874         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25875         after parsing line but before break_if_match.
25876         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25877         if there is a protocol mismatch.
25879 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25881         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25882         because the potential race is on the user-supplied stream.
25884 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25886         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25887         string literal if not passed a buffer.
25888         * manual/job.texi (ctermid): Update reasoning, note deviation
25889         from posix, suggest mtasurace when not passed a buffer, for
25890         future non-preliminary safety notes.
25892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25894         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25895         of not passing it a buffer.
25896         Reported by Peng Haitao.
25898 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25900         * manual/Makefile ($(objpfx)stamp-summary): Require
25901         check-safety.sh to pass.
25902         * manual/check-safety.sh: Wish for verification that every
25903         @deftypefn and @deftypefun is followed by a @safety remark.
25905 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25907         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25909         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25910         PTHREAD_CANCEL_ASYNCHRONOUS.
25911         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25912         send SIGCANCEL.
25914         * nptl/default-sched.h: New file.
25915         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25916         * nptl/pthread_create.c: Include it.
25917         (__pthread_create_2_1): Use collect_default_sched instead of making
25918         Linux syscalls here directly.
25920 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25922         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25923         __pthread_once): Use C11 atomics.
25925 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25927         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25929 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25931         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25932         atomic_thread_fence_acquire, atomic_thread_fence_release,
25933         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25934         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25935         atomic_compare_exchange_weak_relaxed,
25936         atomic_compare_exchange_weak_acquire,
25937         atomic_compare_exchange_weak_release,
25938         atomic_exchange_acquire, atomic_exchange_release,
25939         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25940         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25941         atomic_fetch_and_acquire,
25942         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25944 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25946         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25947         USE_ATOMIC_COMPILER_BUILTINS): Define.
25948         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25950         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25952         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25954         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25956         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25958         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25960         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25962         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25964         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25966         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25968         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25970         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25972         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25974         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25976         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25978         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25980         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25982         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25983         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25984         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25986         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25989 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25991         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25992         the sched_priority value here.  It was already checked when the user
25993         called pthread_attr_setschedparam.
25995         * nptl/tst-bad-schedattr.c: New file.
25996         * nptl/Makefile (tests): Add it.
25998 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25999             Florian Weimer  <fweimer@redhat.com>
26000             Joseph Myers  <joseph@codesourcery.com>
26001             Adam Conrad  <adconrad@0c3.net>
26002             Andreas Schwab  <schwab@suse.de>
26003             Brooks  <bmoses@google.com>
26005         [BZ #17625]
26006         * wordexp-test.c (__dso_handle): Add prototype.
26007         (__register_atfork): Likewise.
26008         (__app_register_atfork): New function.
26009         (registered_forks): New global.
26010         (register_fork): New function.
26011         (test_case): Add 3 new tests for WRDE_CMDSUB.
26012         (main): Call __app_register_atfork.
26013         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26014         fork count is non-zero fail the test.
26015         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26016         is set.
26017         (parse_dollars): Remove check for WRDE_NOCMD.
26018         (parse_dquote): Likewise.
26020 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26022         * Makeconfig (built-modules): List non-library modules to be
26023         built.
26024         (module-cppflags): Include libc-modules.h for
26025         everything except shlib-versions.v.i.
26026         (CPPFLAGS): Use it.
26027         (before-compile): Add libc-modules.h.
26028         ($(common-objpfx)libc-modules.h,
26029         $(common-objpfx)libc-modules.stmp): New targets.
26030         (common-generated): Add libc-modules.h and libc-modules.stmp.
26031         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26032         * include/libc-symbols.h: Don't include libc-modules.h.
26033         * include/libc-modules.h: Remove file.
26034         * scripts/gen-libc-modules.awk: New script to generate
26035         libc-modules.h.
26036         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26037         Depend on libc-modules.stmp.
26039         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26041         * Makeconfig (in-module): Get value of libof set for the
26042         translation unit.
26043         (CPPFLAGS): Use $(in-module).
26044         * Makerules: Don't suffix routine names for nonlib.
26045         * include/libc-modules.h: New file.
26046         * include/libc-symbols.h: Include libc-modules.h
26047         (IS_IN): New macro to replace IS_IN_* macros.
26048         * elf/Makefile: Set libof-* for each routine.
26049         * elf/rtld-Rules: Likewise.
26050         * extra-modules.mk: Likewise.
26051         * iconv/Makefile: Likewise.
26052         * iconvdata/Makefile: Likewise.
26053         * locale/Makefile: Likewise.
26054         * malloc/Makefile: Likewise.
26055         * nss/Makefile: Likewise.
26056         * sysdeps/gnu/Makefile: Likewise.
26057         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26058         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26059         * sysdeps/s390/s390-64/Makefile: Likewise.
26060         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26061         CPPFLAGS for nscd instead of nonlib.
26063 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26065         * nptl/createthread.c: New file.
26067         * nptl/createthread.c: Moved ...
26068         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26070         * nptl/createthread.c: Add proper top-line comment.
26071         (do_clone): Folded into ...
26072         (create_thread): ... here.  Take new arguments STOPPED_START and
26073         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26074         increment __nptl_threads, do event-reporting logic, do
26075         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26076         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26077         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26078         just send SIGCANCEL.
26079         * nptl/pthread_create.c: Forward-declare create_thread before
26080         including createthread.c.
26081         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26082         declaration, and new macro START_THREAD_SELF to replace argument.
26083         Remove return statement.
26084         (report_thread_creation): New function.
26085         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26086         synchronization logic, and __nptl_nthreads increment here, around
26087         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26088         PD->parent_cancelhandling here, before create_thread.  When
26089         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26090         __deallocate_stack, and ENOMEM translation here.
26092 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26094         [BZ #17616]
26095         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26096         (mptwo): Rename to __mptwo.
26097         (__inv): Use __mptwo instead of mptwo.
26098         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26099         (mptwo): Rename to __mptwo.
26100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26101         of mpone and __mptwo instead of mptwo.
26102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26103         instead of mpone.
26104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26105         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26106         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26107         of mpone and __mptwo instead of mptwo.
26108         (__mpranred): Use __mpone instead of mpone.
26109         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26110         variable.
26111         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26112         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26113         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26114         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26115         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26116         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26117         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26118         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26119         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26120         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26121         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26122         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26123         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26124         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26125         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26126         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26127         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26128         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26129         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26131 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26133         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26134         replace BSD Handler xref with BSD Signal Handling.
26136 2014-11-17  Richard Henderson  <rth@redhat.com>
26138         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26139         (_FP_PACK_RAW_2): Remove.
26140         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26141         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26142         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26143         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26144         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26145         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26146         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26147         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26148         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26149         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26150         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26151         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26152         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26153         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26154         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26155         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26157 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26159         * signal/signal.h [__USE_MISC]
26160         (struct sigvec): Remove type.
26161         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26162         (sigvec): Remove declaration.
26163         * sysdeps/posix/sigvec.c: Moved ...
26164         * signal/sigvec.c: ... here, replacing old file.
26165         (struct sigvec): New type, copied from old signal.h definition.
26166         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26167         (__sigvec): Convert definition to prototype.
26168         (sigvec): Replace weak_alias with compat_symbol.
26169         * signal/Versions (libc: GLIBC_2.21): New version set.
26170         * include/signal.h: Remove __sigvec declaration.
26171         * sysdeps/unix/bsd/sigvec.c: Remove file.
26172         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26173         * manual/signal.texi (BSD Handler): Remove subsection.
26174         Move siginterrupt up to ...
26175         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26176         (Blocking in BSD): Fold subsection into its parent.
26177         * NEWS: Mention sigvec removal.
26179 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26181         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26182         (DLA_FMS): Make definition conditional only on [__FMA4__].
26183         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26184         definition.
26186         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26187         Make definition conditional only on [PROF].
26188         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26189         definition.
26190         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26191         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26193         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26194         !__GNUC__].
26195         * include/signal.h (__sigpause): Move declaration above call to
26196         libc_hidden_proto.
26197         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26198         variable.
26199         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26200         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26202 2014-11-14  David S. Miller  <davem@davemloft.net>
26204         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26205         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26207 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26209         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26210         * configure: Regenerated.
26211         * manual/install.texi (Tools for Compilation): Document a
26212         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26213         compiler verified to work.
26214         * INSTALL: Regenerated.
26216         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26217         redeclare with asm name.
26218         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26219         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26220         including <string.h>.
26221         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26223         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26224         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26225         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26227         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26229 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26231         * stdlib/strtol.c (__strtol): Use prototype definition.
26233         [BZ #17594]
26234         * stdlib/strtol.c (SYM__): New macro.
26235         (SYM__1): Likewise.
26236         (__strtol): Likewise.
26237         (strtol): Rename to __strtol and define as weak alias of
26238         __strtol.  Use libc_hidden_weak.
26240 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26242         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26243         Use numbered labels in inline assembly.
26245 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26247         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26248         Add setjmp LIBC_PROBE.
26249         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26250         Likewise.
26251         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26252         Add longjmp, longjmp_target LIBC_PROBE.
26253         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26254         Likewise.
26256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26258         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26259         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26260         to get rid of unused variable warning.
26262 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26264         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26265         Check for unwind_backtrace ==  NULL only in SHARED case.
26266         (__backchain_backtrace): Compile only in SHARED case.
26267         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26268         Likewise.
26269         (__backchain_backtrace): Declare as static.
26271 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26273         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26274         (__libc_multiple_threads_ptr): Variable moved ...
26275         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26277 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26279         * conform/GlibcConform.pm: New file.
26280         * conform/conformtest.pl: Use GlibcConform module.
26281         * conform/linknamespace.pl: New file.
26282         * conform/list-header-symbols.pl: Likewise.
26283         * conform/Makefile (linknamespace-symlists-base): New variable.
26284         (linknamespace-symlists-tests): Likewise.
26285         (linknamespace-header-base): Likewise.
26286         (linknamespace-header-tests): Likewise.
26287         (tests-special): Add new tests.
26288         ($(linknamespace-symlists-tests)): New rule.
26289         (linknamespace-libs): New variable.
26290         ($(objpfx)symlist-stdlibs): New rule.
26291         ($(linknamespace-header-tests)): Likewise.
26292         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26293         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26294         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26295         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26296         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26297         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26298         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26299         (test-xfail-ISO/math.h/linknamespace): Likewise.
26300         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26301         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26302         (test-xfail-ISO/time.h/linknamespace): Likewise.
26303         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26304         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26305         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26306         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26307         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26308         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26309         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26310         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26311         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26312         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26313         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26314         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26315         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26316         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26317         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26318         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26319         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26320         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26321         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26322         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26323         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26324         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26325         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26326         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26327         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26328         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26329         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26330         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26331         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26332         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26333         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26334         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26335         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26336         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26337         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26338         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26339         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26340         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26341         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26342         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26343         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26344         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26345         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26346         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26347         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26348         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26349         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26350         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26351         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26352         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26353         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26354         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26355         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26356         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26357         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26358         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26359         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26360         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26361         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26362         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26363         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26364         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26365         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26366         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26367         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26368         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26369         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26370         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26371         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26372         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26373         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26374         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26375         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26376         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26377         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26378         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26379         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26380         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26381         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26382         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26383         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26384         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26385         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26386         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26387         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26388         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26389         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26390         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26391         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26392         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26393         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26394         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26395         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26396         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26397         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26398         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26399         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26400         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26401         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26402         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26403         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26404         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26405         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26406         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26407         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26408         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26409         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26410         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26411         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26412         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26413         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26414         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26415         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26416         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26417         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26418         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26419         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26420         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26421         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26422         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26423         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26424         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26425         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26426         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26427         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26428         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26429         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26430         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26431         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26432         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26433         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26434         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26435         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26436         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26437         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26438         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26439         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26440         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26441         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26442         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26443         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26444         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26445         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26446         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26447         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26448         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26449         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26450         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26451         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26452         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26454         [BZ #17589]
26455         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26456         of fgets_unlocked.
26458         [BZ #17585]
26459         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26460         (memmem): Rename to __memmem and define as weak alias of
26461         __memmem.  Use libc_hidden_weak.
26462         (__memmem): Use libc_hidden_def.
26463         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26464         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26465         memmem.
26467         [BZ #17582]
26468         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26469         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26470         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26471         and define as weak alias of __fgets_unlocked.  Use
26472         libc_hidden_weak.
26473         (__fgets_unlocked): Use libc_hidden_def.
26474         * include/stdio.h (__fgets_unlocked): Declare.  Use
26475         libc_hidden_proto.
26476         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26477         __fgets_unlocked instead of fgets_unlocked.
26478         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26479         (GET_NPROCS_CONF_PARSER): Likewise.
26480         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26481         (GET_NPROCS_CONF_PARSER): Likewise.
26483         [BZ #17574]
26484         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26485         weak alias of __wmemset.  Use libc_hidden_weak.
26486         (__wmemset): Use libc_hidden_def.
26487         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26488         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26489         of wmemset.
26491         [BZ #17573]
26492         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26493         with asm name __mempcpy.
26494         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26496         [BZ #17572]
26497         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26498         and define as weak alias of __rawmemchr.
26499         (__rawmemchr): Do not define as strong alias of rawmemchr.
26501         [BZ #17571]
26502         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26503         alias of __qsort_r.
26504         (qsort): Call __qsort_r instead of qsort_r.
26505         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26506         (__qsort_r): Declare.  Call libc_hidden_proto.
26507         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26508         instead of qsort_r.
26509         * nscd/gai.c (__qsort_r): Define to qsort_r.
26510         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26511         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26512         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26514         [BZ #17570]
26515         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26516         define as weak alias of __malloc_info.
26518         [BZ #17584]
26519         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26520         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26521         (__rewinddir): Use libc_hidden_def.
26522         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26523         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26524         (__rewinddir): Use libc_hidden_def.
26525         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26526         weak alias of __rewinddir.  Don't use libc_hidden_def.
26527         (__rewinddir): Use libc_hidden_def.
26528         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26529         (__rewinddir): Use libc_hidden_proto.
26530         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26531         rewinddir.
26532         (__getcwd): Use __rewinddir instead of rewinddir.
26534         [BZ #17583]
26535         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26536         alias of __fileno.  Use libc_hidden_weak.
26537         (__fileno): Use libc_hidden_def.
26538         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26539         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26540         alias of __ftello.
26541         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26542         __ftello.
26543         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26544         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26545         libc_hidden_def.
26546         (fread_unlocked): Don't use libc_hidden_ver.
26547         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26548         and define as weak alias of __fread_unlocked.  Don't use
26549         libc_hidden_def.
26550         (__fread_unlocked): Use libc_hidden_def.
26551         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26552         (ftello): Don't use libc_hidden_proto.
26553         (__ftello): Declare.  Use libc_hidden_proto.
26554         (fread_unlocked): Don't use libc_hidden_proto.
26555         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26556         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26557         and __ftello instead of fileno, fread_unlocked and ftello.
26559 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26561         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26562         GOT12.
26563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26564         Likewise.
26565         (_dl_start_user): Likewise.
26566         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26568 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26569             Siddhesh Poyarekar  <siddhesh@redhat.com>
26571         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26572         Move argv and envp down instead of moving argc up.
26573         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26575 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26577         [BZ #17506]
26578         * test-skeleton.c (main): Return successful if one of
26579         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26580         * string/tst-strcoll-overflow.c: Define expected status.
26582 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26584         [BZ #17475]
26585         * locale/iso-639.def: Define Bhili and Tulu language codes.
26587 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26589         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26591 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26593         [BZ #17555]
26594         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26596 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26598         * configure.ac: Updated check of minimal required version to
26599         2.22.
26600         * manual/install.texi (Tools for Compilation): Updated version
26601         number.
26602         * configure: Regenerated.
26603         * INSTALL: Likewise.
26605 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26607         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26608         __tls_get_addr.
26610 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26612         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26613         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26614         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26615         libc_hidden_weak.
26616         (waitpid): Define as alias of __waitpid.
26617         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26618         __waitpid.
26619         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26620         libc_hidden_weak.
26621         (waitpid): Define as alias of __waitpid.
26622         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26623         __libc_waitpid alias.
26624         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26625         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26626         Likewise.
26627         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26628         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26629         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26630         alias.
26631         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26632         __waitpid.
26633         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26634         libc_hidden_weak.
26635         (waitpid): Define as alias of __waitpid.
26637 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26639         * manual/llio.texi: Add comment that write safety has been
26640         fixed in Linux.
26642         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26643         (localplt-build-dso): Add elf/ld.so.
26644         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26645         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26646         and free for ld.so.
26647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26648         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26650         Likewise.
26651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26652         Likewise.
26653         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26654         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26655         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26656         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26657         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26658         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26659         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26660         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26661         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26662         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26665 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26667         [BZ #14132]
26668         * include/libc-symbols.h (INTUSE): Remove macro.
26669         (INTDEF): Likewise.
26670         (INTVARDEF): Likewise.
26671         (_INTVARDEF): Likewise.
26672         (INTDEF2): Likewise.
26673         (INTVARDEF2): Likewise.
26674         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26675         rtld_hidden_def instead of INTVARDEF.
26676         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26677         (_dl_starting_up_internal): Remove declaration.
26678         (_dl_starting_up): Use rtld_hidden_proto.
26679         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26680         declaration.
26681         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26682         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26683         _dl_starting_up.
26684         * elf/dl-writev.h (_dl_writev): Likewise.
26685         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26686         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26687         _dl_starting_up_internal.
26689 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26691         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26692         test-skeleton.c.
26694 2014-11-05  Will Newton  <will.newton@linaro.org>
26696         * benchtests/Makefile: (bench-malloc): Add malloc thread
26697         scalability benchmark.
26698         * benchtests/bench-malloc-threads.c: New file.
26700 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26702         * sysdeps/aarch64/strchrnul.S: New file.
26704 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26706         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26707         definition.
26708         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26709         Likwise.
26710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26711         Likewise.
26712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26713         Likewise.
26714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26715         Likewise.
26716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26717         Likewise.
26719 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26721         * catgets/test-gencat.c: Use test-skeleton.c.
26722         * catgets/tst-catgets.c: Likewise.
26723         * csu/tst-empty.c: Likewise.
26724         * elf/tst-audit2.c: Likewise.
26725         * elf/tst-global1.c: Likewise.
26726         * elf/tst-pathopt.c: Likewise.
26727         * elf/tst-piemod1.c: Likewise.
26728         * elf/tst-tls10.c: Likewise.
26729         * elf/tst-tls11.c: Likewise.
26730         * elf/tst-tls12.c: Likewise.
26731         * gnulib/tst-gcc.c: Likewise.
26732         * iconvdata/tst-e2big.c: Likewise.
26733         * iconvdata/tst-loading.c: Likewise.
26734         * iconv/tst-iconv1.c: Likewise.
26735         * iconv/tst-iconv2.c: Likewise.
26736         * inet/test-inet6_opt.c: Likewise.
26737         * inet/tst-gethnm.c: Likewise.
26738         * inet/tst-network.c: Likewise.
26739         * inet/tst-ntoa.c: Likewise.
26740         * intl/tst-codeset.c: Likewise.
26741         * intl/tst-gettext2.c: Likewise.
26742         * intl/tst-gettext3.c: Likewise.
26743         * intl/tst-ngettext.c: Likewise.
26744         * intl/tst-translit.c: Likewise.
26745         * io/test-stat.c: Likewise.
26746         * libio/test-fmemopen.c: Likewise.
26747         * libio/tst-freopen.c: Likewise.
26748         * libio/tst-sscanf.c: Likewise.
26749         * libio/tst-ungetwc1.c: Likewise.
26750         * libio/tst-ungetwc2.c: Likewise.
26751         * libio/tst-widetext.c: Likewise.
26752         * localedata/tst-ctype.c: Likewise.
26753         * localedata/tst-digits.c: Likewise.
26754         * localedata/tst-leaks.c: Likewise.
26755         * localedata/tst-mbswcs1.c: Likewise.
26756         * localedata/tst-mbswcs2.c: Likewise.
26757         * localedata/tst-mbswcs3.c: Likewise.
26758         * localedata/tst-mbswcs4.c: Likewise.
26759         * localedata/tst-mbswcs5.c: Likewise.
26760         * localedata/tst-setlocale.c: Likewise.
26761         * localedata/tst-trans.c: Likewise.
26762         * localedata/tst-wctype.c: Likewise.
26763         * localedata/tst-xlocale1.c: Likewise.
26764         * login/tst-grantpt.c: Likewise.
26765         * malloc/tst-calloc.c: Likewise.
26766         * malloc/tst-malloc.c: Likewise.
26767         * malloc/tst-mallocstate.c: Likewise.
26768         * malloc/tst-mcheck.c: Likewise.
26769         * malloc/tst-mtrace.c: Likewise.
26770         * malloc/tst-obstack.c: Likewise.
26771         * math/atest-exp2.c: Likewise.
26772         * math/atest-exp.c: Likewise.
26773         * math/atest-sincos.c: Likewise.
26774         * math/test-matherr.c: Likewise.
26775         * math/test-misc.c: Likewise.
26776         * math/test-powl.c: Likewise.
26777         * math/tst-definitions.c: Likewise.
26778         * misc/tst-dirname.c: Likewise.
26779         * misc/tst-efgcvt.c: Likewise.
26780         * misc/tst-fdset.c: Likewise.
26781         * misc/tst-hsearch.c: Likewise.
26782         * misc/tst-mntent2.c: Likewise.
26783         * nptl/tst-sem7.c: Likewise.
26784         * nptl/tst-sem8.c: Likewise.
26785         * nptl/tst-sem9.c: Likewise.
26786         * nss/test-netdb.c: Likewise.
26787         * posix/tst-fnmatch.c: Likewise.
26788         * posix/tst-getlogin.c: Likewise.
26789         * posix/tst-gnuglob.c: Likewise.
26790         * posix/tst-mmap.c: Likewise.
26791         * pwd/tst-getpw.c: Likewise.
26792         * resolv/tst-inet_ntop.c: Likewise.
26793         * rt/tst-timer.c: Likewise.
26794         * stdio-common/test-fseek.c: Likewise.
26795         * stdio-common/test-popen.c: Likewise.
26796         * stdio-common/test-vfprintf.c: Likewise.
26797         * stdio-common/tst-cookie.c: Likewise.
26798         * stdio-common/tst-fileno.c: Likewise.
26799         * stdio-common/tst-gets.c: Likewise.
26800         * stdio-common/tst-obprintf.c: Likewise.
26801         * stdio-common/tst-perror.c: Likewise.
26802         * stdio-common/tst-sprintf2.c: Likewise.
26803         * stdio-common/tst-sprintf3.c: Likewise.
26804         * stdio-common/tst-sprintf.c: Likewise.
26805         * stdio-common/tst-swprintf.c: Likewise.
26806         * stdio-common/tst-tmpnam.c: Likewise.
26807         * stdio-common/tst-unbputc.c: Likewise.
26808         * stdio-common/tst-wc-printf.c: Likewise.
26809         * stdlib/tst-environ.c: Likewise.
26810         * stdlib/tst-fmtmsg.c: Likewise.
26811         * stdlib/tst-limits.c: Likewise.
26812         * stdlib/tst-rand48-2.c: Likewise.
26813         * stdlib/tst-rand48.c: Likewise.
26814         * stdlib/tst-random2.c: Likewise.
26815         * stdlib/tst-random.c: Likewise.
26816         * stdlib/tst-strtol.c: Likewise.
26817         * stdlib/tst-strtoll.c: Likewise.
26818         * stdlib/tst-tls-atexit.c: Likewise.
26819         * stdlib/tst-xpg-basename.c: Likewise.
26820         * string/test-ffs.c: Likewise.
26821         * string/tst-bswap.c: Likewise.
26822         * string/tst-inlcall.c: Likewise.
26823         * string/tst-strtok.c: Likewise.
26824         * string/tst-strxfrm.c: Likewise.
26825         * sysdeps/x86_64/tst-audit10.c: Likewise.
26826         * sysdeps/x86_64/tst-audit3.c: Likewise.
26827         * sysdeps/x86_64/tst-audit4.c: Likewise.
26828         * sysdeps/x86_64/tst-audit5.c: Likewise.
26829         * time/tst-ftime_l.c: Likewise.
26830         * time/tst-getdate.c: Likewise.
26831         * time/tst-mktime3.c: Likewise.
26832         * time/tst-mktime.c: Likewise.
26833         * time/tst-posixtz.c: Likewise.
26834         * time/tst-strptime2.c: Likewise.
26835         * time/tst-strptime3.c: Likewise.
26836         * wcsmbs/tst-btowc.c: Likewise.
26837         * wcsmbs/tst-mbrtowc.c: Likewise.
26838         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26839         * wcsmbs/tst-wchar-h.c: Likewise.
26840         * wcsmbs/tst-wcpncpy.c: Likewise.
26841         * wcsmbs/tst-wcrtomb.c: Likewise.
26842         * wcsmbs/tst-wcsnlen.c: Likewise.
26843         * wcsmbs/tst-wcstof.c: Likewise.
26845 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26847         [BZ #14132]
26848         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26849         INTDEF.
26850         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26851         declaration.
26852         (_dl_mcount): Use rtld_hidden_proto.
26853         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26854         _dl_mcount.
26855         * elf/rtld.c (_rtld_global_ro): Likewise.
26857         [BZ #14132]
26858         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26859         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26860         of _dl_init_internal.
26861         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26862         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26863         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26864         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26865         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26866         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26867         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26868         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26869         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26870         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26871         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26872         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26873         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26874         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26875         * sysdeps/tile/dl-start.S (_start): Likewise.
26876         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26877         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26879         [BZ #14132]
26880         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26881         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26882         (rtld_progname): Make macro definition unconditional.
26883         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26884         INTDEF.
26885         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26886         (dl_main): Likewise.
26887         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26888         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26889         instead of _dl_argv_internal.
26890         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26891         __GI__dl_argv instead of INTUSE(_dl_argv).
26892         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26893         __GI__dl_argv instead of _dl_argv_internal.
26895         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26896         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26897         macro.
26898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26899         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26900         New macro.
26901         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26902         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26903         macro.
26904         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26905         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26907 2014-11-04  Andreas Schwab  <schwab@suse.de>
26909         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26911 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26913         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26914         mtvsrd instruction in binary form.
26916 2014-11-03  Andreas Schwab  <schwab@suse.de>
26918         [BZ #17522]
26919         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26920         for less than MB_LEN_MAX use a local buffer of that size.
26921         * libio/tst-fputws.c: New file.
26922         * libio/Makefile (tests): Add tst-fputws.
26924 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26926         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26927         the size of the fpu_fr.fpu_dregs[] array.
26929 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26931         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26932         (__nanosleep): Do not define as alias.
26933         (nanosleep): Define as alias of __nanosleep.
26934         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26935         __libc_nanosleep name.
26937 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26939         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26940         install.texi in comment.
26942 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26944         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26945         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26946         ... add here and use lwsync or sync ...
26947         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26948         ... and add here using lwsync.
26950 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26952         * elf/dl-machine-reject-phdr.h: New file.
26953         * elf/dl-load.c: #include that.
26954         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26955         if that returned true.
26957 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26959         [BZ #17496]
26960         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26961         gen-as-const-headers chunk.  Add a big scare comment after the last
26962         safe place to touch before-compile.
26964 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26966         * manual/install.texi (Tools for Compilation): Update autoconf
26967         version requirements.
26968         * INSTALL: Regenerated.
26970         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26971         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26972         (__libc_pselect): Likewise.
26974         [BZ #14138]
26975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26980 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26982         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26983         correct barrier instruction.
26984         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26985         Likewise.
26986         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26987         Likewise.
26989 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26991         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26992         after defining inlines.  Instead, just use parens to defeat macro
26993         expansion of __isctype in its declaration.
26995 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26997         * include/sys/uio.h (__libc_readv): Remove declaration.
26998         (__libc_writev): Likewise.
26999         * misc/readv.c (__libc_readv): Rename to __readv.
27000         (__readv): Do not define as alias.
27001         (readv): Define as alias of __readv.
27002         * misc/writev.c (__libc_writev): Rename to __writev.
27003         (__writev): Do not define as alias.
27004         (writev): Define as alias of __writev.
27005         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27006         (__readv): Do not define as alias.
27007         (readv): Define unconditionally as alias of __readv.
27008         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27009         (__writev): Do not define as alias.
27010         (writev): Define unconditionally as alias of __writev.
27011         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27012         name.
27013         (writev): Do not define __libc_writev name.
27015 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27017         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27018         (convert_charseq): New function, broken out of ...
27019         (use_from_charmap): ... here.  Call it.
27020         (use_to_charmap): Use convert_charseq and free instead of duplicating
27021         its code with a variable-length stack struct.
27023 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27025         * include/fcntl.h (__libc_creat): Remove declaration.
27026         * io/creat.c (__libc_creat): Rename to creat.
27027         (creat): Do not define as alias.
27028         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27029         of creat instead of __libc_creat.
27030         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27031         to creat.
27032         (creat): Do not define as alias.
27033         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27034         __libc_creat.
27035         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27036         __libc_creat name.
27037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27038         Likewise.
27040 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27042         * manual/llio.texi: Add comments discussing why write() may be
27043         considered MT-unsafe on Linux.
27045 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27047         * dl-load.c (local_strdup): Remove.
27048         (expand_dynamic_string_token): Use __strdup.
27049         (decompose_rpath): Likewise.
27050         (_dl_map_object): Likewise.
27052 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27054         [BZ #14132]
27055         * sysdeps/generic/unwind-dw2-fde.c
27056         (__register_frame_info_bases_internal): Do not declare.
27057         (__register_frame_info_table_bases_internal): Likewise.
27058         (__deregister_frame_info_bases_internal): Likewise.
27059         (__register_frame_info_bases): Declare and use hidden_proto before
27060         definition.  Use hidden_def instead of INTDEF.
27061         (__register_frame_info_table_bases): Likewise.
27062         (__deregister_frame_info_bases): Likewise.
27063         (__register_frame_info): Do not use INTUSE.
27064         (__register_frame): Likewise.
27065         (__register_frame_info_table): Likewise.
27066         (__register_frame_table): Likewise.
27067         (__deregister_frame_info): Likewise.
27068         (__deregister_frame): Likewise.
27070 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27073         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27074         not undefine.
27075         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27076         Likewise.
27077         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27078         Likewise.
27080 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27082         [BZ #14138]
27083         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27084         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27085         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27086         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27087         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27088         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27089         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27090         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27091         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27092         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27093         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27094         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27095         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27096         syscall.
27097         (setfsuid): Likewise.
27098         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27099         (setfsuid): Likewise.
27100         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27101         (setfsuid): Likewise.
27102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27103         Likewise.
27104         (setfsuid): Likewise.
27105         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27106         (setfsuid): Likewise.
27107         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27108         Likewise.
27109         (setfsuid): Likewise.
27111 2014-10-27  Andreas Schwab  <schwab@suse.de>
27113         [BZ #17501]
27114         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27115         check for Slow_SSE4_2 feature bit.
27116         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27117         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27118         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27119         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27121 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27123         * configure.ac: Validate compiler version with a empirical test of
27124         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27125         $CC -v output.
27126         * configure: Regenerated.
27128         * inet/htons.c (htons): Prototypify.
27129         * inet/htonl.c (htonl): Likewise.
27131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27133         * string/strncat.c (strncat): Improve performance by using strlen.
27135 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27137         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27141         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27142         Call libc_fetestexcept_aarch64.
27144 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27146         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27147         Call libc_feholdexcept_aarch64.
27149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27151         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27152         Call get_rounding_mode.
27154 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27156         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27157         Simplify logic.
27159 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27161         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27162         Simplify logic.
27164 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27166         [BZ #14138]
27167         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27168         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27169         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27170         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27171         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27172         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27173         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27175         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27176         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27178         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27180         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27181         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27182         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27183         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27184         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27185         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27186         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27187         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27188         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27189         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27190         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27191         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27192         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27193         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27194         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27195         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27196         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27197         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27198         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27199         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27200         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27201         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27202         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27203         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27204         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27205         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27206         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27207         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27208         syscall.
27209         (geteuid): Likewise.
27210         (getgid): Likewise.
27211         (getuid): Likewise.
27212         (getresgid): Likewise.
27213         (getresuid): Likewise.
27214         (getgroups): Likewise.
27215         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27216         (geteuid): Likewise.
27217         (getgid): Likewise.
27218         (getuid): Likewise.
27219         (getresgid): Likewise.
27220         (getresuid): Likewise.
27221         (getgroups): Likewise.
27222         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27223         (geteuid): Likewise.
27224         (getgid): Likewise.
27225         (getuid): Likewise.
27226         (getresgid): Likewise.
27227         (getresuid): Likewise.
27228         (getgroups): Likewise.
27229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27230         Likewise.
27231         (geteuid): Likewise.
27232         (getgid): Likewise.
27233         (getuid): Likewise.
27234         (getresgid): Likewise.
27235         (getresuid): Likewise.
27236         (getgroups): Likewise.
27237         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27238         (geteuid): Likewise.
27239         (getgid): Likewise.
27240         (getuid): Likewise.
27241         (getresgid): Likewise.
27242         (getresuid): Likewise.
27243         (getgroups): Likewise.
27244         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27245         Likewise.
27246         (geteuid): Likewise.
27247         (getgid): Likewise.
27248         (getuid): Likewise.
27249         (getgroups): Likewise.
27251         [BZ #14138]
27252         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27253         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27254         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27256         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27257         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27258         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27259         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27260         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27261         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27262         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27263         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27264         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27265         __chown.
27266         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27267         (lchown): Likewise.
27268         (fchown): Likewise.
27269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27270         Likewise.
27271         (lchown): Likewise.
27272         (fchown): Likewise.
27273         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27274         (lchown): Likewise.
27275         (fchown): Likewise.
27276         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27277         Likewise.
27278         (lchown): Likewise.
27279         (fchown): Likewise.
27281 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27283         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27284         Simplify logic.
27286 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27288         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27289         Cleanup logic.
27291 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27293         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27294         Remove unused include.
27296 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27298         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27299         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27300         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27301         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27303 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27304             Helge Deller <deller@gmx.de>
27306         [BZ #17508]
27307         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27308         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27309         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27311 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27313         [BZ #14132]
27314         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27315         Remove macro definition.
27316         (__ashrdi3_v_glibc20): Likewise.
27317         (__lshrdi3_v_glibc20): Likewise.
27318         (__cmpdi2_v_glibc20): Likewise.
27319         (__ucmpdi2_v_glibc20): Likewise.
27320         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27321         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27322         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27323         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27324         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27325         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27327 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27329         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27330         old GNU extension [0] syntax.
27331         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27332         alloca rather than an array member with variable length.
27333         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27334         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27335         (parse_opt): ... here.  Likewise use alloca there.
27336         Validate the -i argument before checking for rootness.
27337         (send_shutdown): New function, broken out of ...
27338         (parse_opt): ... here.
27340 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27342         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27343         macro to get at the _rt_local_ro field.
27344         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27345         ([PIC] case) or _dl_hwcap ([!PIC] case).
27346         * sysdeps/arm/setjmp.S: Likewise.
27348         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27349         * sysdeps/arm/configure.ac: New check to define it.
27350         * sysdeps/arm/configure: Regenerated.
27351         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27352         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27353         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27354         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27355         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27356         Use move/movt pair instead of a load.
27357         (LDST_GLOBAL): Macro removed.
27358         (LDR_GLOBAL): New macro replaces it.
27359         (LDR_HIDDEN): New macro.
27360         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27361         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27363         * setjmp/tst-setjmp-static.c: New file.
27364         * setjmp/Makefile (tests): Add it.
27365         (tests-static): New variable.
27367 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27369         [BZ #17485]
27370         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27372 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27374         [BZ #14132]
27375         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27377 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27379         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27381 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27383         * io/fts.c (dirent_not_directory): New function.
27384         (fts_build): Call it.
27386 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27388         * nptl/version.c (__nptl_main): Use normal __write rather than
27389         INTERNAL_SYSCALL.
27390         (banner): Update copyright years.
27392         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27393         gettimeofday.
27394         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27395         * nptl/pthread_cond_timedwait.c: Likewise.
27396         * nptl/pthread_mutex_timedlock.c: Likewise.
27397         * nptl/sem_timedwait.c: Likewise.
27399         * sysdeps/nptl/bits/libc-lock.h
27400         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27401         (__libc_lock_init_recursive): Return void, not 0.
27402         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27403         (__libc_rwlock_init): Likewise.
27404         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27406 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27408         [BZ #15215]
27409         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27410         (__pthread_once_slow): ... here.
27411         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27412         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27414 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27416         [BZ #15215]
27417         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27418         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27419         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27420         * nptl/pthread_once.c (__pthread_once): Likewise.
27421         Update comments.
27423 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27425         [BZ #14138]
27426         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27427         name.
27428         (writev): Use __libc_writev as strong name.
27429         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27430         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27432 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27434         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27436         * sysdeps/i386/nptl/tls.h
27437         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27438         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27439         New macros.
27440         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27441         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27442         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27443         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27444         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27445         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27447         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27448         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27449         on [__NR_futex].
27450         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27451         broken out of ...
27452         (__pthread_mutex_init): ... here.  Call it.
27453         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27454         Conditionalize PI cases on [__NR_futex].
27455         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27456         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27457         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27459         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27460         conditional on [SIGSETXID].
27461         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27462         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27463         is defined.  Likewise for SIGSETXID.
27464         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27465         Conditionalize definitions on [SIGSETXID].
27466         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27467         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27468         unblocking on [SIGCANCEL].
27470         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27471         [__NR_set_robust_list].
27473 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27475         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27476         (do_compare): Likewise.
27478 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27480         [BZ #15884]
27481         * string/strcoll_l.c: Don't include stdio.h.
27482         (coll_seq): Remove members idxarr and rulearr.
27483         (get_next_seq_cached): Remove function.
27484         (get_next_seq): Likewise.
27485         (get_next_seq_nocache): Rename to get_next_seq.
27486         (do_compare): Remove function.
27487         (do_compare_nocache): Rename to do_compare.
27488         (STRCOLL): Remove weight and rules cache.
27490 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27492         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27493         * sysdeps/arm/sfp-machine.h: ... to here.
27494         * sysdeps/arm/Implies: Remove arm/soft-fp.
27496 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27498         * conform/data/sys/utsname.h-data (*_t): Allow.
27499         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27500         [POSIX] (WEXITED): Do not expect constant.
27501         [POSIX] (WSTOPPED): Likewise.
27502         [POSIX] (WNOHANG): Likewise.
27503         [POSIX] (WNOWAIT): Likewise.
27504         [POSIX] (siginfo_t): Do not expect type or elements.
27505         [POSIX] (pid_t): Do not expect type.
27506         [POSIX] (signal.h): Do not allow header.
27507         [POSIX] (sys/resource.h): Likewise.
27508         [POSIX] (si_*): Do not allow pattern.
27509         [POSIX] (W*): Likewise.
27510         [POSIX] (P_*): Likewise.
27511         [POSIX] (BUS_*): Likewise.
27512         [POSIX] (CLD_*): Likewise.
27513         [POSIX] (FPE_*): Likewise.
27514         [POSIX] (ILL_*): Likewise.
27515         [POSIX] (POLL_*): Likewise.
27516         [POSIX] (SEGV_*): Likewise.
27517         [POSIX] (SI_*): Likewise.
27518         [POSIX] (TRAP_*): Likewise.
27519         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27520         variable.
27522 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27524         [BZ #12926]
27525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27526         infinite loop when __recvmsg returns 0.
27528 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27530         * CANCEL-FCT-WAIVE: Remove file.
27531         * CANCEL-FILE-WAIVE: Likewise.
27533         [BZ #14132]
27534         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27535         instead of INTVARDEF.
27536         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27537         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27538         rtld_hidden_data_def instead of INTVARDEF.
27539         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27540         * elf/dl-deps.c (expand_dst): Likewise.
27541         * elf/dl-load.c (_dl_dst_count): Likewise.
27542         (_dl_dst_substitute): Likewise.
27543         (decompose_rpath): Likewise.
27544         (_dl_init_paths): Likewise.
27545         (open_path): Likewise.
27546         (_dl_map_object): Likewise.
27547         * elf/rtld.c (dl_main): Likewise.
27548         (process_dl_audit): Likewise.
27549         (process_envvars): Likewise.
27550         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27551         Remove declaration.
27552         (__libc_enable_secure): Use rtld_hidden_proto.
27554 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27556         * elf/dl-load.c
27557         (add_path): New function broken out of _dl_rtld_di_serinfo.
27558         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27560 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27562         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27563         parentheses around macro arguments.
27564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27575         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27577         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27579         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27580         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27593         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27597         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27598         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27599         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27600         Likewise.
27601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27602         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27604         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27605         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27608         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27609         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27610         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27611         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27612         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27613         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27622         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27625         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27626         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27627         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27628         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27629         (_FP_FRAC_SRS_1): Likewise.
27630         (_FP_FRAC_CLZ_1): Likewise.
27631         (_FP_MUL_MEAT_1_imm): Likewise.
27632         (_FP_MUL_MEAT_1_wide): Likewise.
27633         (_FP_MUL_MEAT_1_hard): Likewise.
27634         (_FP_SQRT_MEAT_1): Likewise.
27635         (_FP_FRAC_ASSEMBLE_1): Likewise.
27636         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27637         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27638         (__FP_CLZ_2): Likewise.
27639         (_FP_MUL_MEAT_2_wide): Likewise.
27640         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27641         (_FP_MUL_MEAT_2_gmp): Likewise.
27642         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27643         (_FP_SQRT_MEAT_2): Likewise.
27644         (_FP_FRAC_ASSEMBLE_2): Likewise.
27645         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27646         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27647         (_FP_FRAC_CLZ_4): Likewise.
27648         (_FP_MUL_MEAT_4_wide): Likewise.
27649         (_FP_MUL_MEAT_4_gmp): Likewise.
27650         (_FP_SQRT_MEAT_4): Likewise.
27651         (_FP_FRAC_ASSEMBLE_4): Likewise.
27652         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27653         * soft-fp/op-common.h (_FP_CMP): Likewise.
27654         (_FP_CMP_EQ): Likewise.
27655         (_FP_CMP_UNORD): Likewise.
27656         (_FP_TO_INT): Likewise.
27657         (_FP_FROM_INT): Likewise.
27658         [!__FP_CLZ] (__FP_CLZ): Likewise.
27659         (_FP_DIV_HELP_imm): Likewise.
27660         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27661         Likewise.
27662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27673         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27676         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27677         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27678         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27691         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27692         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27695         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27696         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27697         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27698         (FP_UNPACK_RAW_SP): Likewise.
27699         (FP_PACK_RAW_S): Likewise.
27700         (FP_PACK_RAW_SP): Likewise.
27701         (FP_UNPACK_S): Likewise.
27702         (FP_UNPACK_SP): Likewise.
27703         (FP_UNPACK_SEMIRAW_S): Likewise.
27704         (FP_UNPACK_SEMIRAW_SP): Likewise.
27705         (FP_PACK_S): Likewise.
27706         (FP_PACK_SP): Likewise.
27707         (FP_PACK_SEMIRAW_S): Likewise.
27708         (FP_PACK_SEMIRAW_SP): Likewise.
27709         (_FP_SQRT_MEAT_S): Likewise.
27710         (FP_CMP_S): Likewise.
27711         (FP_CMP_EQ_S): Likewise.
27712         (FP_CMP_UNORD_S): Likewise.
27713         (FP_TO_INT_S): Likewise.
27714         (FP_FROM_INT_S): Likewise.
27716         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27718         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27719         (FP_EX_INVALID_IMZ): Likewise.
27720         (FP_EX_INVALID_IMZ_FMA): Likewise.
27721         (FP_EX_INVALID_ISI): Likewise.
27722         (FP_EX_INVALID_ZDZ): Likewise.
27723         (FP_EX_INVALID_IDI): Likewise.
27724         (FP_EX_INVALID_SQRT): Likewise.
27725         (FP_EX_INVALID_CVI): Likewise.
27726         (FP_EX_INVALID_VC): Likewise.
27727         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27728         "invalid" exceptions.
27729         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27730         (_FP_ADD_INTERNAL): Likewise.
27731         (_FP_MUL): Likewise.
27732         (_FP_FMA): Likewise.
27733         (_FP_DIV): Likewise.
27734         (_FP_CMP_CHECK_NAN): Likewise.
27735         (_FP_SQRT): Likewise.
27736         (_FP_TO_INT): Likewise.
27737         (FP_EXTEND): Likewise.
27739 2014-10-09  Allan McRae  <allan@archlinux.org>
27741         * po/fr.po: Update French translation from translation project.
27743 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27745         [BZ #14132]
27746         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27747         of INTDEF.
27748         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27749         (__cxa_atexit): Use libc_hidden_proto.
27750         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27752         [BZ #14132]
27753         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27754         declaration.
27755         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27756         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27757         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27758         [!_ISOMAC] (__iswctype_internal): Likewise.
27759         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27760         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27761         alias.
27762         (fcntl): Remove __fcntl_internal alias.
27763         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27764         __connect_internal alias.
27765         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27766         Likewise.
27768         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27769         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27770         FP_DENORM_ZERO.
27771         (_FP_CHECK_FLUSH_ZERO): New macro.
27772         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27773         (_FP_CMP): Likewise.
27774         (_FP_CMP_EQ): Likewise.
27775         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27776         FP_DENORM_ZERO.
27777         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27778         (FP_TRUNC): Likewise.
27780         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27781         treated as invalid conversion, not as normal exponent.
27783         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27784         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27785         (_FP_CMP_EQ): Likewise.
27786         (_FP_CMP_UNORD): Likewise.
27787         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27788         (FP_CMP_EQ_D): Likewise.
27789         (FP_CMP_UNORD_D): Likewise.
27790         * soft-fp/extended.h (FP_CMP_E): Likewise.
27791         (FP_CMP_EQ_E): Likewise.
27792         (FP_CMP_UNORD_E): Likewise.
27793         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27794         (FP_CMP_EQ_Q): Likewise.
27795         (FP_CMP_UNORD_Q): Likewise.
27796         * soft-fp/single.h (FP_CMP_S): Likewise.
27797         (FP_CMP_EQ_S): Likewise.
27798         (FP_CMP_UNORD_S): Likewise.
27799         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27800         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27801         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27802         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27803         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27804         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27805         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27806         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27807         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27808         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27809         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27810         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27811         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27812         to FP_CMP_Q.
27813         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27814         FP_CMP_Q.
27815         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27816         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27817         FP_CMP_EQ_Q.
27818         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27819         FP_CMP_Q.
27820         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27821         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27822         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27823         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27824         FP_CMP_EQ_Q.
27825         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27826         FP_CMP_Q.
27827         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27828         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27829         FP_CMP_EQ_Q.
27830         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27831         FP_CMP_Q.
27832         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27833         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27834         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27835         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27836         FP_CMP_EQ_Q.
27838         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27839         a subnormal result, set the underflow exception if trapping on
27840         underflow is enabled.
27841         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27842         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27843         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27844         redefine to 0.
27845         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27846         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27847         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27848         * soft-fp/extendxftf2.c (__extendxftf2): Use
27849         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27851         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27852         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27853         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27854         FP_HANDLE_EXCEPTIONS.
27855         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27856         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27857         FP_HANDLE_EXCEPTIONS.
27858         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27859         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27860         FP_HANDLE_EXCEPTIONS.
27861         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27862         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27863         FP_HANDLE_EXCEPTIONS.
27865 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27867         [BZ #14132]
27868         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27869         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27870         use INTUSE.
27871         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27872         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27873         Remove alias.
27874         (__adjtimex): Define using libc_hidden_ver.
27875         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27876         Remove declaration.
27877         (ntp_gettime): Call __adjtimex directly.
27878         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27879         Remove declaration.
27880         (ntp_gettimex): Call __adjtimex directly.
27881         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27882         __adjtimex_internal alias.
27884 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27886         [BZ #17460]
27887         * nscd/nscd.c (more_help): Rewrite list of tables collection
27888         using xstrdup and asprintf.
27890         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27892 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27893             Roland McGrath  <roland@hack.frob.com>
27895         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27896         (do_lookup_unique): ... local function 'enter' here; update callers.
27898 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27900         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27901         compat_symbol calls on [SHARED].
27902         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27903         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27904         Remove.
27905         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27906         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27907         (oldsetrlimit): Remove.
27908         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27910         (lchown): New syscall entry.
27911         (oldsetrlimit): Remove.
27912         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27914         (oldsetrlimit): Remove.
27915         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27917         [BZ #14138]
27918         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27919         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27920         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27921         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27922         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27923         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27924         (fchown): Likewise.
27925         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27926         (fchown): Likewise.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27928         Likewise.
27930 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27933         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27934         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27935         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27936         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27937         Likewise.
27938         (__old_sem_post): Likewise.
27940 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27942         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27943         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27944         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27945         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27946         Use INLINE_VSYSCALL macro.
27947         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27948         __vdso_clock_gettime.
27949         * sysdeps/unix/sysv/linux/tile/init-first.c
27950         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27951         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27952         __vdso_clock_gettime.
27954         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27955         to set up frame more cleanly.
27957         * sysdeps/tile/memcmp.c: New file.
27959         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27961         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27962         * sysdeps/tile/tilegx/strcasestr.c: New file.
27963         * sysdeps/tile/tilegx/strnlen.c: New file.
27964         * sysdeps/tile/tilegx/strstr.c: New file.
27966         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27968 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27970         * nptl/tst-setuid3.c: Write errors to stdout.
27972 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27974         * elf/dl-deps.c
27975         (preload): New functions broken out of _dl_map_object_deps.
27976         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27978 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27980         [BZ #14138]
27981         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27982         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27984 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27986         * sysdeps/mips/strcmp.S: New.
27988 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27990         [BZ #14138]
27991         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27992         (linkat): Likewise.
27993         (mkdirat): Likewise.
27994         (readlinkat): Likewise.
27995         (renameat): Likewise.
27996         (symlinkat): Likewise.
27997         (unlinkat): Likewise.
27998         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27999         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28000         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28001         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28002         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28003         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28004         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28006 2014-09-30  Will Newton  <will.newton@linaro.org>
28008         * math/math.h: Define long double math functions if
28009         _LIBC_TEST is defined.
28010         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28012         * localedata/Makefile: Move assignment to tests-special
28013         into an ifdef testing run-built-tests.
28014         * timezone/Makefile: Likewise.
28016 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28018         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28019         with $(BASH) not $(SHELL).
28021 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28022             Matthew LeGendre  <legendre1@llnl.gov>
28024         [BZ #17411]
28025         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28026         l_reloc_result.
28028 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28030         * stdio-common/printf_fp.c
28031         (hack_digit): New function, broken out of ...
28032         (__printf_fp): ... local function here.  Update call sites.
28033         hack_digit now takes an additional parameter that is a pointer
28034         to a struct of the referenced locals.  Those locals moved inside
28035         the struct and references updated.
28037 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28039         * aclocal.m4: Require autoconf 2.69.
28040         * configure: Regenerated.
28041         * sysdeps/aarch64/configure: Likewise.
28042         * sysdeps/alpha/configure: Likewise.
28043         * sysdeps/arm/armv7/configure: Likewise.
28044         * sysdeps/arm/configure: Likewise.
28045         * sysdeps/ia64/configure: Likewise.
28046         * sysdeps/mach/configure: Likewise.
28047         * sysdeps/mips/configure: Likewise.
28048         * sysdeps/s390/configure: Likewise.
28049         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28052         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28053         file.
28054         * sysdeps/ia64/configure.ac: Likewise.
28056 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28059         specify symbol version for ld.so.  Do not include entry for
28060         libpthread.
28061         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28062         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28063         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28065         [BZ #14171]
28066         * Makeconfig [$(build-shared) = yes]
28067         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28068         makefiles.
28069         [$(build-shared) = yes && $(soversions.mk-done) = t]
28070         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28071         [$(build-shared) = yes && $(soversions.mk-done) = t]
28072         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28073         to Makerules.
28074         [$(build-shared) = yes && $(soversions.mk-done) = t]
28075         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28076         here.
28077         [$(build-shared) = yes && $(soversions.mk-done) = t]
28078         (common-generated): Don't append gnu/lib-names.h and
28079         gnu/lib-names.stmp here.
28080         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28081         (lib-names-h-abi): New variable.
28082         [$(build-shared) = yes && $(soversions.mk-done) = t]
28083         (lib-names-stmp-abi): Likewise.
28084         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28085         abi-variants] (before-compile): Append
28086         $(common-objpfx)$(lib-names-h-abi).
28087         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28088         abi-variants] (common-generated): Append gnu/lib-names.h.
28089         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28090         abi-variants] (install-others-nosubdir): Depend on
28091         $(inst_includedir)/$(lib-names-h-abi).
28092         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28093         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28094         [$(build-shared) = yes && $(soversions.mk-done) = t]
28095         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28096         [$(build-shared) = yes && $(soversions.mk-done) = t]
28097         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28098         [$(build-shared) = yes && $(soversions.mk-done) = t]
28099         (common-generated): Append $(lib-names-h-abi) and
28100         $(lib-names-stmp-abi).
28101         * scripts/lib-names.awk: Do not handle multi being set.
28102         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28103         Remove variable.
28104         (abi-lp64_be-ld-soname): Likewise.
28105         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28106         Likewise.
28107         (abi-hard-ld-soname): Likewise.
28108         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28109         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28110         Remove variable.
28111         (abi-o32_hard-ld-soname): Likewise.
28112         (abi-o32_soft_2008-ld-soname): Likewise.
28113         (abi-o32_hard_2008-ld-soname): Likewise.
28114         (abi-n32_soft-ld-soname): Likewise.
28115         (abi-n32_hard-ld-soname): Likewise.
28116         (abi-n32_soft_2008-ld-soname): Likewise.
28117         (abi-n32_hard_2008-ld-soname): Likewise.
28118         (abi-n64_soft-ld-soname): Likewise.
28119         (abi-n64_hard-ld-soname): Likewise.
28120         (abi-n64_soft_2008-ld-soname): Likewise.
28121         (abi-n64_hard_2008-ld-soname): Likewise.
28122         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28123         Likewise.
28124         (abi-64-v2-ld-soname): Likewise.
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28126         ld.so entries.
28127         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28128         variable.
28129         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28130         entry.
28131         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28132         variable.
28133         (abi-64-ld-soname): Likewise.
28134         (abi-x32-ld-soname): Likewise.
28135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28136         entry.
28137         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28139 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28141         [BZ #14138]
28142         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28143         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28144         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28145         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28146         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28147         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28148         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28149         syscall entry for GLIBC_2.2 symbol version.
28150         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28151         Likewise.
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28153         (setrlimit): Likewise.
28154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28155         Likewise.
28157 2014-09-23  Will Newton  <will.newton@linaro.org>
28159         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28160         _LINUX_ARM_SYSDEP_H include guard too.
28161         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28162         define.
28164 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28166         * sysdeps/unix/sysv/linux/eventfd.c:
28167         Make first argument unsigned.
28168         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28169         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28171 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28173         [BZ #16852]
28174         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28175         * socket/sys/socket.h: Likewise.
28176         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28178 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28180         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28182 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28184         * time/tst-ftime.c: New test.
28185         * time/Makefile (tests): Add tst-ftime.
28187 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28189         * soft-fp/extended.h: Fix comment formatting.
28190         * soft-fp/op-1.h: Likewise.
28191         * soft-fp/op-2.h: Likewise.
28192         * soft-fp/op-4.h: Likewise.
28193         * soft-fp/op-8.h: Likewise.
28194         * soft-fp/op-common.h: Likewise.
28195         * soft-fp/soft-fp.h: Likewise.
28197         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28199 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #6652]
28202         * Makeconfig (soversions-default-setname): Remove variable.
28203         ($(common-objpfx)soversions.i): Don't pass default_setname to
28204         soversions.awk.
28205         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28206         oldest_abi to abi-versions.awk.
28207         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28208         * config.make.in (oldest-abi): Remove variable.
28209         * configure.ac (--enable-oldest-abi): Remove configure option.
28210         * configure: Regenerated.
28211         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28212         text.
28213         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28214         * scripts/soversions.awk: Do not handle default_setname variable.
28215         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28216         variable.
28217         * sysdeps/mach/hurd/configure: Regenerated.
28218         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28219         variable.
28220         * sysdeps/unix/sysv/linux/configure: Regenerated.
28222 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28224         * elf/Makefile (CFLAGS-interp.c): Remove.
28225         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28226         path string.
28227         * elf/interp.c: Include generated runtime-linker.h
28229         * Makerules (lib%.so): Don't include $(+interp) in
28230         prerequisites.
28231         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28232         * dlfcn/eval.c: Remove file.
28234         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28235         macros.
28237         [BZ #17266]
28238         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28239         4.2 and newer.
28241         [BZ #17370]
28242         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28244 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28245             Jakub Jelinek  <jakub@redhat.com>
28247         [BZ #17266]
28248         * libio/stdio.h: Check definition of __fortify_function
28249         instead of __extern_always_inline to include bits/stdio2.h.
28250         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28251         check if __extern_always_inline is defined.
28252         [__USE_MISC || __USE_XOPEN]: Likewise.
28253         [__USE_ISOC99] Likewise.
28254         * misc/sys/cdefs.h (__fortify_function): Define only if
28255         __extern_always_inline is defined.
28256         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28257         __extern_always_inline and __extern_inline only for g++-4.3
28258         and newer or a compatible gcc.
28260 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28262         [BZ #17371]
28263         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28264         last change to handle zero prefix length.
28266 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28268         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28269         _SC_REGEX_VERSION.
28271         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28272         _POSIX_RAW_SOCKETS.
28274 2014-09-13  Allan McRae  <allan@archlinux.org>
28276         * po/ru.po: Update Russian translation from translation project.
28278 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28280         * locale/programs/locale.c (show_locale_vars): Inline local function
28281         into its sole call site.  Clean up some style nits.
28282         (print_item): New function, broken out of ...
28283         (show_info): ... local function here.  Clean up style nits.
28285         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28286         out of ...
28287         (set_class_defaults): ... local function set_default here.
28288         Define set_default as a macro locally to pass constant parameters.
28289         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28290         rather than a shared local.
28292         * stdlib/rpmatch.c (try): New function, broken out of ...
28293         (rpmatch): ... local function here.  Also, prototypify definition.
28295 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28297         * scripts/soversions.awk: Do not handle configuration names.
28298         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28299         vendor and os variables to soversions.awk.
28300         * configure.ac: Do not modify gnu-* host_os.
28301         * configure: Regenerated
28302         * shlib-versions: Remove first column with configuration names.
28303         * nptl/shlib-versions: Likewise.
28304         * nptl_db/shlib-versions: Likewise.
28305         * sysdeps/hppa/shlib-versions: Likewise.
28306         * sysdeps/m68k/shlib-versions: Likewise.
28307         * sysdeps/mach/hurd/shlib-versions: Likewise.
28308         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28309         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28310         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28311         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28312         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28313         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28314         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28315         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28317         Likewise.
28318         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28319         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28320         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28321         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28322         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28323         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28325         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28328         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28330         Regenerated.
28331         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28333         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28335         * shlib-versions: Remove OS-specific entries.  Moved to files in
28336         sysdeps.
28337         * sysdeps/mach/hurd/shlib-versions: New file.
28338         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28340         * nptl/shlib-versions: Remove architecture-specific entries.
28341         Moved to files in sysdeps.
28342         * shlib-versions: Likewise.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28344         file.
28345         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28346         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28347         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28348         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28350         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28351         (UDP_NO_CHECK6_RX): Likewise.
28353 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28355         * sysdeps/posix/sysconf.c (__sysconf): Spell
28356         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28358 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28360         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28361         loading.
28362         * iconv/Versions (__gconv_transliterate): Export for use from
28363         gconv modules.
28364         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28365         (struct __gconv_trans_data, __gconv_trans_fct,
28366         __gconv_trans_context_fct, __gconv_trans_query_fct,
28367         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28368         definitions.
28369         (struct __gconv_step_data): Remove __trans member.
28370         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28371         longer hidden.  Remove unused trans_data argument.
28372         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28373         (__gconv_translit_find): Remove declaration.
28374         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28375         prototype.
28376         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28377         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28378         trans_data argument.  Add hidden definition.
28379         (__gconv_translit_find): Remove.
28380         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28381         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28382         * iconv/skeleton.c: Remove transliteration initialization.
28383         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28384         __gconv_step_data initialization.
28385         * libio/iofwide.c (__libio_translit_): Remove.
28386         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28387         * wcsmbs/btowc.c (__btowc): Likewise.
28388         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28389         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28390         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28391         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28392         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28393         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28394         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28395         * wcsmbs/wctob.c (wctob): Likewise.
28397 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28399         [BZ #16194]
28400         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28401         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28402         register usage.
28403         * sysdeps/x86/Makefile: Adjust.
28405 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28406             Roland McGrath  <roland@hack.frob.com>
28408         * locale/weight.h: Add include guard.
28409         (findidx): Make static rather than auto; take new parameters
28410         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28411         * locale/weightwc.h: Likewise.
28412         * posix/fnmatch_loop.c
28413         (FCT): Change type of EXTRA from int32_t to wint_t.
28414         Don't include either header inside the function.
28415         Call FINDIDX rather than findidx, and pass new arguments.
28416         #undef FINDIDX at the end of the file.
28417         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28418         FINDIDX before including fnmatch_loop.c for the non-wide version.
28419         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28420         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28421         for the wide version.
28422         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28423         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28424         Pass new arguments to findidx.
28425         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28426         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28427         Don't #include it inside the function.  Pass new arguments to findidx.
28428         * posix/regex_internal.h
28429         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28430         (re_string_elem_size_at): Don't #include it inside the function.
28431         Pass new arguments to findidx.
28432         * string/strcoll_l.c: #include WEIGHT_H at top level.
28433         (get_next_seq): Don't #include it inside the function.
28434         Pass new arguments to findidx.
28435         (get_next_seq_nocache): Likewise.
28436         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28437         (STRXFRM): Don't #include it inside the function.
28438         Pass new arguments to findidx.
28440 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28442         [BZ #17344]
28443         * malloc/malloc.c (unlink): Turn asserts into a call to
28444         malloc_printerr.
28446 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28448         [BZ #17370]
28449         * libio/wfileops (do_ftell_wide): Free OUT.
28451 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28455 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28457         [BZ #17363]
28458         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28459         group if the current group is empty.
28461 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28463         * benchtests/bench-memset.c (test_main): Add more test from size
28464         from 32 to 512 bytes.
28465         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28466         Add POWER8 memset object.
28467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28468         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28469         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28470         implementation.
28471         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28472         Likewise.
28473         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28474         multiarch POWER8 memset optimization.
28475         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28476         POWER8 memset optimization.
28478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28479         Remove bzero multiarch objects.
28480         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28481         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28482         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28483         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28484         Remove define.
28485         [__bzero]: Redefine to specific name.
28486         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28487         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28488         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28489         define.
28490         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28491         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28493 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28495         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28496         warnings into errors.
28498         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28499         __cxa_thread_atexit_impl prototype.
28501 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28503         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28504         Fix capitalization of error message.
28506 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28508         * sysdeps/mips/preconfigure: Modify ABI tests.
28510 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28512         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28514 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28515             Carlos O'Donell  <carlos@systemhalted.org>
28517         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28518         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28519         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28520         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28521         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28522         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28523         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28524         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28525         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28532         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28533         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28534         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28535         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28536         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28537         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28538         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28539         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28540         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28541         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28543         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28544         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28545         Deconditionalize the code that was previously under [RESET_PID].
28546         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28547         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28548         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28549         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28550         include sysdep.h.
28552 2014-09-08  Allan McRae  <allan@archlinux.org>
28554         * version.h (RELEASE): Set to "development".
28555         (VERSION): Set to "2.20.90"
28557 2014-09-07  Allan McRae  <allan@archlinux.org
28559         * version.h (RELEASE): Set to "stable".
28560         (VERSION): Set to "2.20"
28561         * include/features.h (__GLIBC_MINOR__): Set to 20.
28563         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28564         Liebler.
28566         * po/ko.po: Update Korean translation from translation project.
28568 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28570         [BZ #17354]
28571         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28572         macro for handling signed relocations.
28574 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28576         [BZ #17325]
28577         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28578         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28579         assert.
28580         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28581         * iconvdata/ibm935.c (BODY): Likewise.
28582         * iconvdata/ibm937.c (BODY): Likewise.
28583         * iconvdata/ibm939.c (BODY): Likewise.
28584         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28585         assert.
28586         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28587         script.
28588         * iconvdata/run-iconv-test.sh: New test loop for checking for
28589         decoder crashers.
28591 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28594         libm_hidden_ver.
28596 2014-09-01  Allan McRae  <allan@archlinux.org>
28598         * po/eo.po: Update Esperanto translation from translation project.
28600         * po/ca.po: Update Catalan translation from translation project.
28602 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28604         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28605         __proc_dostop call.
28607 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28609         [BZ #17319]
28610         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28611         to call set_thread_area instead of hand written asm.
28612         (__NR_set_thread_area): Removed define.
28613         (TLS_FLAG_WRITABLE): Likewise.
28614         (__ASSUME_SET_THREAD_AREA): Remove check.
28615         (TLS_EBX_ARG): Remove define.
28616         (TLS_LOAD_EBX): Likewise.
28618 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28620         Simplify atomicity of socket creation in bind.
28622         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28623         looking up the name after linking the file.
28625 2014-08-27  Allan McRae  <allan@archlinux.org>
28627         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28629 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28631         [BZ #17187]
28632         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28633         trans_compare, open_translit, __gconv_translit_find):
28634         Remove module loading code.
28636 2014-08-26  Allan McRae  <allan@archlinux.org>
28638         * po/vi.po: Update Vietnamese translation from translation project.
28640         * po/uk.po: Update Ukrainian translation from translation project.
28642         * po/fr.po: Update French translation from translation project.
28644         * po/ru.po: Update Russian translation from translation project.
28646         * po/pl.po: Update Polish translation from translation project.
28648         * po/cs.po: Update Czech translation from translation project.
28650         * po/de.po: Update German translation from translation project.
28652         * po/bg.po: Update Bulgarian translation from translation project.
28654         * po/sv.po: Update Sweedish translation from translation project.
28656         * po/nl.po: Update Dutch translation from translation project.
28658         * po/es.po: Update Spanish translation from translation project.
28660 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28662         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28664         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28665         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28666         (CPPFLAGS-iconvconfig): Likewise.
28667         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28669         * include/libc-symbols.h: Remove unnecessary check for
28670         NOT_IN_libc.
28671         * nptl/pthreadP.h: Likewise.
28672         * sysdeps/aarch64/setjmp.S: Likewise.
28673         * sysdeps/alpha/setjmp.S: Likewise.
28674         * sysdeps/arm/sysdep.h: Likewise.
28675         * sysdeps/i386/setjmp.S: Likewise.
28676         * sysdeps/m68k/setjmp.c: Likewise.
28677         * sysdeps/posix/getcwd.c: Likewise.
28678         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28679         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28680         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28681         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28682         * sysdeps/sh/sh3/setjmp.S: Likewise.
28683         * sysdeps/sh/sh4/setjmp.S: Likewise.
28684         * sysdeps/unix/alpha/sysdep.h: Likewise.
28685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28686         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28687         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28688         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28693         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28696         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28698         * sysdeps/x86_64/setjmp.S: Likewise.
28700 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #17263]
28703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28704         <stdint.h>.
28705         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28706         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28708 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28710         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28712         [BZ #17262]
28713         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28714         and __x86_64__ when disabling x87 inline functions.
28716 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28718         [BZ #17259]
28719         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28720         asm statement with __cpuid_count.
28722 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28724         * configure.ac: Change __ehdr_start code to dereference the struct.
28725         Run readelf on the output to look for relocations.
28726         * configure: Regenerated.
28728 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28730         [BZ #17261]
28731         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28732         value to 0.
28733         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28735 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28737         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28739 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28741         [BZ #16892]
28742         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28743         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28745 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28747         * malloc/malloc.c: Fix typo in comment.
28749 2014-08-09  Allan McRae  <allan@archlinux.org>
28751         * Regenerate libc.po.
28753 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28755         * intl/tst-gettext2.sh: Check every lang file for creation.
28757 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28759         * sysdeps/aarch64/fpu/math_private.h
28760         (libc_feholdsetround_noex_aarch64_ctx): New function.
28762 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28764         * sysdeps/arm/armv6/strcpy.S (strcpy):
28765         Fix performance issue in misaligned cases.
28767 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28769         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28770         Move definition from termios.h.
28771         (struct termio): Likewise.
28772         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28773         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28774         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28775         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28776         Likewise.
28777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28778         Move definition to ioctl-types.h
28779         (struct termio): Likewise.
28780         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28781         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28782         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28783         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28784         Likewise.
28786 2014-08-05  Richard Henderson  <rth@redhat.com>
28788         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28789         exceptions.
28790         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28791         Add fraiseexcpt.
28792         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28793         Use __feraiseexcept.
28794         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28795         Protect libm symbols with IS_IN_libm.
28797         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28799 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28801         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28803 2014-08-04  Will Newton  <will.newton@linaro.org>
28805         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28806         file.
28808 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28810         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28811         variants for each function.
28813 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28815         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28816         appended ...
28817         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28818         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28819         appended ...
28820         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28821         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28822         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28823         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28824         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28825         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28826         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28827         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28828         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28829         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28830         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28843         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28844         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28845         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28846         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28847         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28848         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28849         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28850         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28851         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28852         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28853         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28854         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28855         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28856         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28857         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28858         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28859         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28860         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28862         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28864         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28866         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28868         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28869         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28870         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28871         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28872         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28873         Update #include.
28874         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28875         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28877 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28879         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28880         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28882         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28884         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28886 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28888         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28889         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28890         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28891         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28893 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28895         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28896         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28897         (__libc_vfork): Define function under this name.
28898         (__vfork): Define as an alias.
28899         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28900         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28902 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28904         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28905         that was previously under [RESET_PID].
28906         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28908 2014-08-04  Andreas Schwab  <schwab@suse.de>
28910         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28912 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28914         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28915         (main): Likewise.
28917 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28919         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28921 2014-08-01  Richard Henderon  <rth@redhat.com>
28923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28924         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28925         typo in exact zero test.
28926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28927         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28930 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28932         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28933         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28934         * sysdeps/arm/sysdep.h: ... here.
28935         [!__ASSEMBLER__]: Include <stdint.h>.
28937 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28939         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28940         (HAVE_WCTYPE_H): Likewise.
28941         (HAVE_ISWCTYPE): Likewise.
28942         (ENABLE_NLS): Likewise.
28943         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28944         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28946         * posix/regex_internal.c: Check if DEBUG is defined and is
28947         set.
28949         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28950         (HAVE_MBSRTOWCS): Likewise.
28951         * posix/fnmatch.c: Include string.h unconditionally.
28953 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28955         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28956         reversal.
28958 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28960         * sysdeps/generic/safe-fatal.h: New file.
28961         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28962         * nptl/forward.c: Include it.
28963         (__pthread_unwind): Use __safe_fatal as default action, rather
28964         than a bogus use of INTERNAL_SYSCALL that could never work.
28966         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28967         * configure.ac (libc_cv_builtin_trap): New test.
28968         * configure: Regenerated.
28969         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28970         (ABORT_INSTRUCTION): Define using __builtin_trap.
28972         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28973         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28974         * sysdeps/nptl/nptl-signals.h: New file.
28975         * nptl/pthreadP.h: Include <nptl-signals.h>.
28977 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28979         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28980         (ONE_DIRECTION): Define.
28981         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28982         (ONE_DIRECTION): Define.
28983         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28984         (ONE_DIRECTION): Define.
28986 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28988         * sysdeps/s390/Makefile: Delete file.
28989         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28990         * sysdeps/s390/__longjmp.c: Delete file.
28991         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28992         Remove fields __flags and __reserved.
28993         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28994         and add versioning.
28995         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28996         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28997         * sysdeps/s390/rtld-setjmp.S: Likewise.
28998         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28999         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29000         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29001         * sysdeps/s390/s390-32/setjmp.S: ... here.
29002         Add versioning.
29003         (__sigsetjmp): Remove setting __flags field.
29004         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29005         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29006         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29007         * sysdeps/s390/s390-64/setjmp.S: ... here.
29008         Add versioning.
29009         (__sigsetjmp): Remove setting __flags field.
29010         * sysdeps/s390/setjmp.S: Delete file.
29011         * sysdeps/s390/sigjmp.c: Likewise.
29012         * sysdeps/s390/v1-longjmp.c: Likewise.
29013         * sysdeps/s390/v1-setjmp.h: Likewise.
29014         * sysdeps/s390/v1-sigjmp.c: Likewise.
29015         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29016         Remove v1-longjmp_chk.
29017         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29018         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29019         Include debug/longjmp_chk.c and add versioning.
29020         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29021         Include nptl/pt-longjmp.c and add versioning.
29022         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29023         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29024         Include __longjmp.c.
29025         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29026         Move to ...
29027         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29028         (__getcontext): Remove setting __flags field.
29029         Add versioning.
29030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29031         Don't restore upper high grps.
29032         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29033         Likewise.
29034         (__swapcontext): Remove setting uc_flags field.
29035         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29036         Delete file.
29037         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29038         Include __longjmp.c.
29039         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29040         Move to ...
29041         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29042         (__getcontext): Remove setting __flags field.
29043         Add versioning.
29044         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29045         (__swapcontext): Remove setting uc_flags field.
29046         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29047         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29048         Remove fields uc_high_gprs and __reserved.
29049         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29050         New file with reverted content.
29051         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29052         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29053         Regenerated.
29054         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29055         Regenerated.
29057 2014-07-31  Andreas Schwab  <schwab@suse.de>
29059         * config.h.in (HAVE_IFUNC): Define to 0.
29060         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29061         definedness.
29063 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29066         memmove-avx-unaligned, memcpy-avx-unaligned and
29067         mempcpy-avx-unaligned.
29068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29069         Add tests for AVX memcpy functions.
29070         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29071         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29072         memcpy_chk.
29073         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29074         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29075         memmove_chk.
29076         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29077         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29078         mempcpy_chk.
29079         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29080         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29081         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29083 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29085         [BZ #17213]
29086         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29087         powerpc64le.
29089 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29091         [BZ #16839]
29092         * manual/llio.texi: Add section about open file description locks.
29093         * manual/examples/ofdlocks.c: Example of open file description
29094         lock usage.
29095         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29096         F_OFD_SETLK, and F_OFD_SETLKW.
29098 2014-07-23  Allan McRae  <allan@archlinux.org>
29100         * po/es.po: Update Spanish translation from translation project.
29102 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29104         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29106 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29108         [BZ #17078]
29109         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29110         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29111         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29113 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29115         [BZ #17088]
29116         * math/fesetenv.c (__fesetenv)
29117         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29118         * math/feupdateenv.c (__feupdateenv)
29119         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29121         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29122         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29123         (__ASSUME_SOCKETCALL): Do not define.
29125         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29126         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29127         (__ASSUME_SOCKETCALL): Do not define.
29128         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29129         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29130         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29131         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29133         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29135         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29137         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29138         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29139         (__ASSUME_SOCKETCALL): Do not define.
29140         (__ASSUME_IPC64): Define unconditionally.
29141         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29142         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29143         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29144         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29145         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29147         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29148         Likewise.
29150         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29151         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29152         (__ASSUME_SOCKETCALL): Do not define.
29153         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29154         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29155         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29156         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29157         (__ASSUME_REQUEUE_PI): Define unconditionally.
29158         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29159         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29160         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29161         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29162         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29163         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29165         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29166         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29167         (__ASSUME_SOCKETCALL): Do not define.
29168         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29169         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29170         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29171         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29172         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29173         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29175         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29176         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29177         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29178         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29179         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29180         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29182         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29183         (__ASSUME_GETCPU_SYSCALL): Likewise.
29185         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29186         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29187         cases for individual architectures.
29188         * sysdeps/gnu/configure: Regenerated.
29189         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29190         LIBC_SLIBDIR_RTLDDIR.
29191         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29192         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29193         LIBC_SLIBDIR_RTLDDIR.
29194         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29196         LIBC_SLIBDIR_RTLDDIR.
29197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29198         Regenerated.
29199         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29200         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29201         file.
29202         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29203         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29204         file.
29205         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29206         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29207         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29208         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29210         * sysdeps/aarch64/shlib-versions: Move to ...
29211         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29212         * sysdeps/alpha/shlib-versions: Move to ...
29213         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29214         * sysdeps/arm/shlib-versions: Move to ...
29215         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29216         * sysdeps/hppa/shlib-versions: Move all contents except for
29217         libgcc_s entry to ...
29218         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29219         entry from ...
29220         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29221         * sysdeps/ia64/shlib-versions: Move to ...
29222         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29223         entry from ...
29224         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29225         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29226         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29227         * sysdeps/microblaze/shlib-versions: Move to ...
29228         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29229         * sysdeps/mips/shlib-versions: Move to ...
29230         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29231         entry from ...
29232         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29233         * sysdeps/tile/shlib-versions: Move to ...
29234         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29235         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29236         from ...
29237         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29238         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29239         entry from ...
29240         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29242 2014-07-17  Will Newton  <will.newton@linaro.org>
29244         * sysdeps/arm/bits/atomic.h
29245         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29246         (__arch_compare_and_exchange_bool_16_int): Likewise.
29247         (__arch_compare_and_exchange_bool_64_int): Likewise.
29249         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29250         into an #else block.
29252 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29254         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29255         just Linux configurations.  Test empirically that the compiler sets
29256         __ARM_EABI__, rather than using the tuple to decide.
29257         * sysdeps/arm/preconfigure: Regenerated.
29258         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29259         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29260         contents appended ...
29261         * sysdeps/arm/configure.ac: ... here.
29262         * sysdeps/arm/configure: Regenerated.
29264 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29266         * nptl/pthread_kill.c: New file.
29267         * nptl/pthread_sigmask.c: New file.
29268         * nptl/pthread_sigqueue.c: New file.
29270         * sysdeps/nptl/lowlevellock.h: New file.
29271         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29272         * sysdeps/nptl/lowlevellock-futex.h: New file.
29274         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29275         Remove dead declarations.
29277 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29279         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29280         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29281         config-cflags-avx2.
29282         * sysdeps/x86_64/configure.ac: Likewise.
29283         * sysdeps/i386/configure: Regenerated.
29284         * sysdeps/x86_64/configure: Likewise.
29285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29286         memset-avx2 only if config-cflags-avx2 is yes.
29287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29288         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29289         defined.
29290         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29291         only if HAVE_AVX2_SUPPORT is defined.
29292         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29294 2014-07-14  Alan Modra  <amodra@gmail.com>
29296         [BZ #17153]
29297         * elf/elf.h (DT_PPC64_NUM): Correct value.
29298         * NEWS: Add to fixed bug list.
29300 2014-07-13  Jim Meyering  <meyering@fb.com>
29302         [BZ 17150]
29303         regex: don't deref NULL upon heap allocation failure
29304         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29305         failure in one more place.
29306         To trigger the segfault, configure grep -with-included-regex,
29307         build it, and run these commands:
29308         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29310 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29312         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29314 2014-07-11  Richard Henderson  <rth@redhat.com>
29316         * sysdeps/aarch64/libm-test-ulps: Update.
29318 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29320         [BZ #17135]
29321         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29322         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29323         (__nptl_setxid): Initialize error member.  Call
29324         __nptl_setxid_error.
29325         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29326         * nptl/descr.h (struct xid_command): Add error member.
29327         * nptl/tst-setuid3.c: New file.
29328         * nptl/Makefile (tests): Add it.
29330 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29332         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29333         New define.
29334         (__lll_trylock): Use __lll_base_trylock.
29335         (__lll_cond_trylock): Likewise.
29337 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29339         * nptl/pthread_create.c (start_thread): Use atomic_or and
29340         lll_futex_wake directly rather than lll_robust_dead.
29341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29342         (lll_robust_dead): Macro removed.
29343         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29344         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29345         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29346         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29347         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29348         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29349         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29350         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29351         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29352         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29353         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29354         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29355         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29356         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29357         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29359         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29360         Use atomic_compare_and_exchange_val_acq directly rather than
29361         lll_robust_trylock.
29362         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29363         (__lll_robust_trylock, lll_robust_trylock): Removed.
29364         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29365         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29366         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29368         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29369         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29370         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29371         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29373         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29374         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29375         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29377         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29379 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29381         * manual/locale.texi (Locale Names): New section documenting
29382         locale name syntax.  Adjust menu and node chaining accordingly.
29383         (Choosing Locale): Reference Locale Names, Locale Categories.
29384         Mention setting LC_ALL=C.  Reflect that name syntax is now
29385         documented.
29386         (Locale Categories): New section title.  Reference Locale Names.
29387         LC_ALL is an environment variable, but not a category.
29388         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29389         description, now in Locale Name.  Reference that section.  Locale
29390         name syntax is now documented.
29392 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29394         [BZ #17137]
29395         * locale/findlocale.c (name_present, valid_locale_name): New
29396         functions.
29397         (_nl_find_locale): Use the loc_name variable to store name
29398         candidates.  Call name_present and valid_locale_name to check and
29399         validate locale names.  Return an error if the locale is invalid.
29401 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29403         * locale/setlocale.c (setlocale): Use strdup for allocating
29404         composite name copy.
29406 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29408         Sync up with gnulib.
29409         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29410         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29411         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29412         and _GL_ARG_NONNULL.
29413         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29414         [!_LIBC]: Include code for Windows and Cygwin.
29415         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29416         Include prototype for int strerror_r.
29417         [!_LIBC] (is_open): New function.
29418         (flush_stdout): New function.
29419         (print_errno_message): Use it.
29420         (error): Likewise.
29421         (error_at_line): Likewise.
29422         (error_tail) Add function attribute macros.  Use
29423         __builtin_expect.
29425         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29427         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29429         * io/ftw.c: Include sys/param.h unconditionally.
29431         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29433         [BZ #17125]
29434         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29435         libc_freeres_ptr.
29436         (freecache): New function to free CACHE on exit.
29438         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29439         initialization.
29441 2014-07-09  David S. Miller  <davem@davemloft.net>
29443         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29445         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29446         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29447         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29448         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29449         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29450         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29451         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29452         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29453         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29454         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29455         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29456         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29457         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29459 2014-07-09  Andreas Schwab  <schwab@suse.de>
29461         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29462         output.
29463         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29464         (do_test): Likewise.
29466         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29468 2014-07-09  Will Newton  <will.newton@linaro.org>
29470         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29471         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29472         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29473         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29474         * sysdeps/hppa/start.S (_start): Likewise.
29476 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29478         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29480         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29481         defined.
29483 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29485         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29486         after checking that it is non-NULL.
29488         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29490 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29492         * sysdeps/powerpc/memmove.c: Remove file.
29493         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29494         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29495         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29496         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29497         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29498         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29499         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29500         string memmove instead of removed powerpc one.
29502         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29503         [weak_alias]: Fix compiler warning due trailing data.
29504         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29505         [weak_alias]: Likewise.
29506         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29507         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29510         (__libc_ifunc_impl_list): Add memmove functions.
29512 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29514         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29515         Remove code.
29516         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29517         Likewise.
29518         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29519         Likewise.
29520         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29521         Likewise.
29522         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29523         Likewise.
29524         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29525         Likewise.
29526         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29527         Likewise.
29528         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29529         Likewise.
29530         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29531         Likewise.
29532         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29533         Likewise.
29534         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29535         Likewise.
29536         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29537         Likewise.
29538         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29539         Likewise.
29540         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29541         Likewise.
29542         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29543         Likewise.
29544         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29545         Likewise.
29546         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29547         Likewise.
29549 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29552         to avoid alignment traps in non-cacheable memory.
29553         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29556         multiarch objects.
29557         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29558         file: multiarch power7 memmove.
29559         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29560         multiarch default memmove.
29561         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29562         multiarch memove for powerpc32/power4.
29564         * string/bcopy.c: Use full path to include memmove.c.
29565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29566         multiarch objects.
29567         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29568         bcopy for powerpc64.
29569         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29570         bcopy for powerpc64.
29571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29572         and memmove implementations.
29573         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29574         optimized multiarch memmove for POWER7/powerpc64.
29575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29576         default multiarch memmove for powerpc64.
29577         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29578         multiarch for powerpc64.
29579         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29580         for POWER7/powerpc64.
29581         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29582         memmove for POWER7/powerpc64.
29584         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29585         glibc default one.
29587         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29588         __ELF_NATIVE_CLASS equal to 64.
29590 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29592         * sysdeps/nptl/lowlevellock.h: File removed.
29594         * NEWS: NPTL is no longer an add-on!
29595         * nptl/internaltypes.h: Moved ...
29596         * sysdeps/nptl/internaltypes.h: ... here.
29597         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29598         * sysdeps/nptl/fork.c: Likewise.
29599         * sysdeps/nptl/gai_misc.h: Likewise.
29600         * sysdeps/nptl/librt-cancellation.c: Likewise.
29601         * sysdeps/nptl/jmp-unwind.c: Likewise.
29602         * sysdeps/nptl/setxid.h: Likewise.
29603         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29604         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29605         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29606         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29607         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29608         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29609         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29610         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29611         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29612         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29613         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29614         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29615         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29616         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29617         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29618         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29619         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29620         * nptl/Makeconfig: Moved ...
29621         * sysdeps/nptl/Makeconfig: ... here.
29622         * nptl/configure: File removed.
29623         * nptl/ANNOUNCE: File removed.
29624         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29625         * sysdeps/unix/sysv/linux/configure: Regenerated.
29627         * nptl/Makefile (routines): Add libc_pthread_init,
29628         libc_multiple_threads, register-atfork and unregister-atfork.
29629         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29630         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29631         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29632         pthread-pi-defines.sym, structsem.sym.
29633         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29634         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29635         [$(subdir) = nptl] (tests): Add tst-setgetname.
29636         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29637         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29638         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29639         [!LIBC_SIGACTION]: Remove aliases.
29640         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29641         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29642         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29643         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29644         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29645         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29646         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29647         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29648         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29649         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29650         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29651         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29652         __libc_allocate_rtsig_private.
29653         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29654         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29655         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29656         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29657         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29658         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29659         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29660         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29661         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29662         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29663         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29664         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29665         * nptl/internaltypes.h: ... here.
29666         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29667         * sysdeps/nptl/jmp-unwind.c: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29669         * nptl/libc-lowlevellock.c: ... here.
29670         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29671         * nptl/libc_multiple_threads.c: ... here.
29672         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29673         * nptl/libc_pthread_init.c: ... here.
29674         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29675         * nptl/lowlevelbarrier.sym: ... here.
29676         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29677         * nptl/lowlevelcond.sym: ... here.
29678         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29679         * nptl/lowlevellock.c: ... here.
29680         * nptl/lowlevellock.h: Moved ...
29681         * sysdeps/nptl/lowlevellock.h: ... here.
29682         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29683         * nptl/lowlevelrobustlock.c: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29685         * nptl/lowlevelrobustlock.sym: ... here.
29686         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29687         * nptl/lowlevelrwlock.sym: ... here.
29688         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29689         * nptl/pt-fork.c: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29691         * nptl/pthread-pi-defines.sym: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29693         * nptl/pthread_attr_getaffinity.c: ... here.
29694         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29695         * nptl/pthread_attr_setaffinity.c: ... here.
29696         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29697         * nptl/pthread_mutex_cond_lock.c: ... here.
29698         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29699         Update #include.
29700         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29701         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29702         * nptl/pthread_once.c: ... here, replacing old file.
29703         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29704         * nptl/pthread_yield.c: ... here.
29705         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29706         * nptl/register-atfork.c: ... here.
29707         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29708         * nptl/sem_post.c: ... here.
29709         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29710         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29711         * nptl/sem_timedwait.c: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29713         * nptl/sem_trywait.c: ... here.
29714         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29715         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29716         * nptl/sem_wait.c: ... here.
29717         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29718         * nptl/structsem.sym: ... here.
29719         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29720         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29721         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29722         * nptl/unregister-atfork.c: ... here.
29723         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29724         * nptl/unwindbuf.sym: ... here.
29725         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29726         * sysdeps/nptl/fork.c: ... here.
29727         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29728         * sysdeps/nptl/fork.h: ... here.
29729         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29730         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29731         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29732         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29733         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29734         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29735         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29737         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29738         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29739         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29741         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29742         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29743         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29744         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29745         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29746         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29747         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29749         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29750         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29751         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29752         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29753         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29754         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29755         * sysdeps/unix/sysv/linux/raise.c: ... here.
29756         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29757         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29758         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29759         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29760         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29761         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29762         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29763         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29764         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29765         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29766         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29767         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29768         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29769         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29770         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29772 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29774         * sysdeps/generic/memcopy.h: Add comment for
29775         MEMCPY_OK_FOR_FWD_MEMMOVE.
29777 2014-07-04  Will Newton  <will.newton@linaro.org>
29779         * string/memchr.c: Merge from gnulib.
29780         [_LIBC]: Remove conditionals.
29781         (__ptr_t): Remove define.
29782         (LONG_MAX_32_BITS): Likewise.
29783         (LONG_MAX): Likewise.
29784         (MEMCHR): Use ANSI prototype and optimize algorithm.
29786         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29788 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29790         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29791         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29793         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29794         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29795         in a bare environment with no <stdlib.h> installed.
29796         * sysdeps/nptl/configure: Regenerated.
29798         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29800         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29801         AC_EGREP_CPP for kernel header checks, so they only succeed if
29802         including <linux/version.h> actually works right.
29803         * sysdeps/unix/sysv/linux/configure: Regenerated.
29805         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29806         value so it's not diagnosed as unused.
29808         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29809         thing) with "ifeq ($(subdir),rt)".
29811 2014-07-03  Richard Henderson  <rth@redhat.com>
29813         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29814         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29815         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29817         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29818         (math_force_eval): New.
29820         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29821         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29823         * sysdeps/alpha/fpu/s_round.c: Remove file.
29824         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29826         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29827         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29828         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29829         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29830         (_dl_start, print_statistics): Likewise.
29831         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29832         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29834         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29835         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29836         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29837         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29838         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29839         (HP_SMALL_TIMING_AVAIL): Define.
29840         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29841         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29842         (HP_SMALL_TIMING_AVAIL): Define.
29843         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29844         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29846         * sysdeps/aarch64/hp-timing.h: New file.
29848         * sysdeps/generic/hp-timing.h: Remove dead comment.
29849         * sysdeps/generic/hp-timing-common.h: New file.
29850         * sysdeps/alpha/hp-timing.h: Include it.
29851         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29852         * sysdeps/i386/i686/hp-timing.h: Likewise.
29853         * sysdeps/ia64/hp-timing.h: Likewise.
29854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29855         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29856         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29857         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29858         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29859         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29860         (hp_timing_t): New.
29862         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29863         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29864         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29865         * elf/rtld.c (_dl_start_final): Likewise.
29866         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29867         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29868         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29869         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29870         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29871         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29872         (HP_TIMING_DIFF_INIT): Remove.
29873         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29874         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29875         (HP_TIMING_DIFF_INIT): Remove.
29876         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29877         * sysdeps/i386/i686/hp-timing.c: Remove file.
29878         * sysdeps/x86_64/hp-timing.c: Remove file.
29879         * sysdeps/ia64/hp-timing.c: Remove file.
29880         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29881         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29882         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29883         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29885         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29886         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29887         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29888         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29889         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29890         (HP_TIMING_ACCUM): Remove.
29891         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29892         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29893         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29895         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29896         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29897         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29898         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29899         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29900         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29901         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29902         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29904         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29906 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29908         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29910 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29912         Sync up with gettext.
29913         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29914         [_MSC_VER]: Include malloc.h
29915         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29916         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29917         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29918         TEMP_FAILURE_RETRY.  Cast return of alloca.
29919         [!_LIBC] Call gl_rwlock_init.
29920         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29922 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29924         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29925         before checking its value.
29927 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29929         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29931         * debug/memcpy_chk.c: Don't include pagecopy.h.
29932         * debug/mempcpy_chk.c: Likewise.
29933         * string/memcpy.c: Likewise.
29934         * string/memmove.c: Likewise.
29935         * sysdeps/powerpc/memmove.c: Likewise.
29936         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29937         definition of PAGE_COPY_FWD_MAYBE here...
29938         * sysdeps/generic/pagecopy.h: ... from here.
29939         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29941 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29942             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29944         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29946         optimizations.
29947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29948         (__libc_ifunc_impl_list): Likewise.
29949         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29950         multiarch strcat for PPC64.
29951         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29952         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29954 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29956         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29958 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29960         * intl/loadmsgcat.c: Remove declaration of
29961         get_sysdep_segment_value.
29962         (get_sysdep_segment_value): Use ISO C style.
29963         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29964         semicolon.  Fix typo and formatting in comment.
29965         (_nl_unload_domain): Use ISO C style.
29967         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29969 2014-07-02  Will Newton  <will.newton@linaro.org>
29971         * malloc/obstack.c: Merge from gnulib master.
29972         [HAVE_CONFIG_H]: Remove conditional code.
29973         [!_LIBC]: Include config.h.
29974         [!ELIDE_CODE]: Don't include inttypes.h, include
29975         stdint.h unconditionally.
29976         (print_and_abort): Mark as _Noreturn.
29977         (_obstack_allocated_p): Mark as __attribute_pure__.
29978         (obstack_free): Rename to __obstack_free.
29979         [!__attribute__]: Remove conditional code.
29980         * malloc/obstack.h: Merge from gnulib master.
29981         [__cplusplus]: Move conditional down.
29982         [!__attribute_pure__]: Define __attribute_pure__ here
29983         if it is not already defined.
29984         (_obstack_memory_used): Mark as __attribute_pure__.
29985         [!__obstack_free]: Define as obstack_free.
29986         [__GNUC__]: Remove check for ancient NeXT gcc.
29988 2014-07-02  Will Newton  <will.newton@linaro.org>
29989             Paul Eggert  <eggert@cs.ucla.edu>
29991         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29993 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29995         * resolv/gethnamaddr.c: Add comment warning that the file is
29996         not maintained.
29998 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30000         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30001         entries.
30003         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30004         entry for aio_cancel and aio_cancel64.
30005         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30006         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30007         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30008         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30009         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30010         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30011         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30012         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30013         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30014         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30015         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30016         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30017         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30019 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30021         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30022         * nptl/pthread_mutex_lock.c: Likewise.
30023         * nptl/pthread_mutex_timedlock.c: Likewise.
30024         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30026 2014-07-01  Richard henderson  <rth@redhat.com>
30028         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30029         (__isnan, __isnanl): Remove.
30030         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30032         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30034 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30036         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30038 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30040         * resolv/nss_dns/dns-host.c (getanswer_r)
30041         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30043 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30045         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30046         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30047         undefine.
30048         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30049         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30051 2014-07-01  Roland McGrath <roland@hack.frob.com>
30053         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30054         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30056         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30057         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30059         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30060         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30061         ... here.
30062         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30063         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30065         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30066         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30067         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30068         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30070         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30071         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30072         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30073         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30074         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30075         Moved ...
30076         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30077         ... here.
30078         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30079         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30080         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30081         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30082         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30083         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30084         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30085         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30087         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30088         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30089         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30090         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30091         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30092         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30093         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30094         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30095         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30096         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30097         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30098         ... here.
30099         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30100         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30101         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30102         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30103         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30104         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30105         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30106         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30108 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30110         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30111         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30112         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30113         Add sysdep.
30115 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30119 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30121         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30122         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30126         * sysdeps/arm/libm-test-ulps: Regenerated.
30128 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30129             Roland McGrath <roland@hack.frob.com>
30131         * test-skeleton.c (signal_handler): Kill the whole process group
30132         before killing the child individually.
30133         (main): Report any failure on `setpgid'.
30135 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30137         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30138         from _TLS_H to _ARM_NPTL_TLS_H.
30139         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30140         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30142 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30144         [BZ #16539]
30145         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30146         (__expm1l): Return argument unchanged when small but not
30147         subnormal.
30149         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30150         include macro name.
30151         (_FP_UNPACK_RAW_1_P): Likewise.
30152         (_FP_PACK_RAW_1): Likewise.
30153         (_FP_PACK_RAW_1_P): Likewise.
30154         (_FP_MUL_MEAT_1_wide): Likewise.
30155         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30156         (_FP_MUL_MEAT_1_hard): Likewise.
30157         (_FP_DIV_MEAT_1_imm): Likewise.
30158         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30159         (_FP_DIV_MEAT_1_udiv): Likewise.
30160         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30161         (_FP_UNPACK_RAW_2): Likewise.
30162         (_FP_UNPACK_RAW_2_P): Likewise.
30163         (_FP_PACK_RAW_2): Likewise.
30164         (_FP_PACK_RAW_2_P): Likewise.
30165         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30166         (_FP_MUL_MEAT_2_wide): Likewise.
30167         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30168         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30169         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30170         (_FP_MUL_MEAT_2_gmp): Likewise.
30171         (_FP_DIV_MEAT_2_udiv): Likewise.
30172         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30173         (_FP_FRAC_SRL_4): Likewise.
30174         (_FP_FRAC_SRST_4): Likewise.
30175         (_FP_FRAC_SRS_4): Likewise.
30176         (_FP_UNPACK_RAW_4): Likewise.
30177         (_FP_UNPACK_RAW_4_P): Likewise.
30178         (_FP_PACK_RAW_4): Likewise.
30179         (_FP_PACK_RAW_4_P): Likewise.
30180         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30181         (_FP_MUL_MEAT_4_wide): Likewise.
30182         (_FP_MUL_MEAT_4_gmp): Likewise.
30183         (umul_ppppmnnn): Likewise.
30184         (_FP_DIV_MEAT_4_udiv): Likewise.
30185         (__FP_FRAC_ADD_4): Likewise.
30186         (__FP_FRAC_SUB_3): Likewise.
30187         (__FP_FRAC_SUB_4): Likewise.
30188         (__FP_FRAC_DEC_3): Likewise.
30189         (__FP_FRAC_DEC_4): Likewise.
30190         (__FP_FRAC_ADDI_4): Likewise.
30191         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30192         (_FP_FRAC_SRL_8): Likewise.
30193         (_FP_FRAC_SRS_8): Likewise.
30195         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30196         include macro name.
30197         (FP_UNPACK_RAW_EP): Likewise.
30198         (FP_PACK_RAW_E): Likewise.
30199         (FP_PACK_RAW_EP): Likewise.
30200         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30201         (_FP_ISSIGNAN): Likewise.
30202         (_FP_ADD_INTERNAL): Likewise.
30203         (_FP_FMA): Likewise.
30204         (_FP_CMP): Likewise.
30205         (_FP_SQRT): Likewise.
30206         (_FP_TO_INT): Likewise.
30207         (_FP_FROM_INT): Likewise.
30208         (FP_EXTEND): Likewise.
30209         (_FP_DIV_MEAT_N_loop): Likewise.
30211 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30213         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30214         throughout.
30216 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30218         [BZ #17097]
30219         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30220         result with correct sign in case of exponents that produce
30221         overflow except for X very close to 1.
30223 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30225         mktime: merge #if/#ifdef usage from glibc
30226         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30227         as that works with both Glibc's and Gnulib's style.
30228         See thread starting at Siddhesh Poyarekar's bug report at:
30229         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30231 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30233         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30234         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30235         * sysdeps/tile/tilegx/memmove.c: Remove file.
30237 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30239         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30240         abi-name definition.
30241         * scripts/soversions.awk: Do not handle or generate ABI lines.
30242         * shlib-versions: Remove ABI entries.
30243         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30244         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30246 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30249         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30250         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30253         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30255         Moved ...
30256         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30257         ... here.
30258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30261         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30263         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30267         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30269         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30271         Moved ...
30272         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30278         Moved ...
30279         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30281         Moved ...
30282         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30284         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30286         Moved ...
30287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30289         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30291         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30293         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30295         Moved ...
30296         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30298         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30300         Moved ...
30301         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30303         Moved ...
30304         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30306         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30308         Moved ...
30309         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30310         ... here.
30311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30312         Identical file removed.
30313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30314         Moved ...
30315         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30317         Identical file removed.
30318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30319         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30321         Moved ...
30322         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30324         Identical file removed.
30325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30328         Identical file removed.
30329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30332         Identical file removed.
30333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30334         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30336         Identical file removed.
30337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30338         Moved ...
30339         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30341         Identical file removed.
30342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30343         Moved ...
30344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30346         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30348         Identical file removed.
30349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30350         Moved ...
30351         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30352         ... here.
30353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30354         Identical file removed.
30355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30356         Moved ...
30357         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30359         Identical file removed.
30360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30361         Moved ...
30362         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30364         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30366         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30368         Moved ...
30369         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30370         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30371         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30373         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30374         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30375         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30376         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30377         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30379 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30381         [BZ #17092]
30382         * nscd/nscd.c (monitor_child): Return exit status of child
30383         instead of return value from wait syscall.
30385 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30387         * configure.ac (libc_commonpagesize): Remove variable.
30388         (libc_relro_required): Likewise.
30389         (libc_cv_z_relro): Remove configure test.
30390         * configure: Regenerated.
30391         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30392         variable.
30393         (libc_relro_required): Likewise.
30394         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30395         (libc_relro_required): Likewise.
30396         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30397         (libc_relro_required): Likewise.
30398         * sysdeps/arm/preconfigure: Regenerated.
30399         * sysdeps/ia64/preconfigure: Remove file.
30400         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30401         variable.
30402         (libc_relro_required): Likewise.
30404         [BZ #16561]
30405         [BZ #16562]
30406         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30407         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30408         recompute overflowing results in original rounding mode.
30409         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30410         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30411         recompute overflowing results in original rounding mode.
30412         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30413         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30414         recompute overflowing results in original rounding mode.
30415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30416         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30417         recompute overflowing results in original rounding mode.
30418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30419         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30420         recompute overflowing results in original rounding mode.
30421         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30422         (libc_feholdsetround_ctx): New macro.
30423         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30424         * sysdeps/i386/fpu/libm-test-ulps: Update.
30425         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30427 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30429         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30430         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30431         corresponding .cpsetup call.
30433 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30435         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30436         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30437         * sysdeps/arm/Makefile [$(subdir) = csu]
30438         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30439         (static-only-routines): Add aeabi_read_tp here.
30440         (shared-only-routines): Add libc-aeabi_read_tp here.
30441         (CFLAGS-libc-start.c): Add -fexceptions here.
30442         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30443         (sysdep_routines, static-only-routines, shared-only-routines):
30444         Don't add to these here.
30445         (CFLAGS-libc-start.c): Likewise.
30447         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30448         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30449         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30450         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30451         * sysdeps/arm/Makefile [$(subdir) = rt]
30452         (librt-sysdep_routines, librt-shared-only-routines):
30453         Append rt-aeabi_unwind_cpp_pr1 here.
30454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30455         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30456         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30457         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30458         Append nptl-aeabi_unwind_cpp_pr1 here.
30459         (tests): Filter out tst-cleanupx4 here.
30460         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30461         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30462         Don't do those here.
30464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30466         * scripts/list-sources.sh: Do not handle ports specially.
30468 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30470         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30471         * sysdeps/arm/feupdateenv.c: Likewise.
30473         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30475 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30477         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30478         trailing whitespace removed.
30479         * scripts/config.guess: Update to version 2014-03-23.
30480         * scripts/config.sub: Update to version 2014-05-01
30481         * scripts/install-sh: Update to version 2013-12-25.23.
30482         * scripts/move-if-change: Update from gnulib.
30484 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30486         * debug/memmove_chk.c: Remove pagecopy.h include.
30488 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30490         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30491         identical to gnulib mktime.
30493 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30495         * configure.ac: Do not test for machine being rs6000.  Do not test
30496         for powerpc*-*soft.
30497         * configure: Regenerated.
30499         [BZ #11505]
30500         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30501         test.
30502         * configure: Regenerated.
30503         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30504         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30505         Remove configure test.
30506         * sysdeps/arm/configure: Regenerated.
30507         * sysdeps/nptl/configure.ac: Do not check
30508         libc_cv_asm_cfi_directives.
30509         * sysdeps/nptl/configure: Regenerated.
30510         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30511         * sysdeps/x86_64/nptl/configure: Remove generated file.
30512         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30513         unconditional.
30514         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30516 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30518         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30519         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30520         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30521         it is defined.
30523         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30524         instead of whether it is defined.
30525         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30526         * sysdeps/hppa/dl-machine.h: Likewise.
30527         * sysdeps/ia64/dl-machine.h: Likewise.
30528         * sysdeps/m68k/dl-machine.h: Likewise.
30529         * sysdeps/microblaze/dl-machine.h: Likewise.
30530         * sysdeps/mips/dl-machine.: Likewise.
30531         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30532         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30533         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30534         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30535         * sysdeps/sh/dl-machine.h: Likewise.
30536         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30537         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30538         * sysdeps/tile/dl-machine.h: Likewise.
30539         * sysdeps/x86_64/dl-machine.h: Likewise.
30541         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30542         code.
30543         (verify_persistent_db): Likewise.
30545 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30548         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30550         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30552         Moved ...
30553         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30554         ... here.
30555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30556         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30558         Identical file removed.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30560         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30562         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30564         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30570         Moved ...
30571         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30573         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30575         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30577         Moved ...
30578         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30580         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30582         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30584         Identical file removed.
30585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30586         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30588         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30590         Moved ...
30591         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30592         ... here.
30593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30594         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30596         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30598         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30600         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30602         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30604         Moved ...
30605         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30607         Moved ...
30608         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30610         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30612         Moved ...
30613         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30615         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30617         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30618         folded into ...
30619         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30620         * sysdeps/unix/sysv/linux/s390/Versions
30621         (libpthread: GLIBC_2.19): New version set.
30622         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30623         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30624         (librt: GLIBC_2.3.3): New version set.
30625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30626         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30627         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30629         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30631         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30633         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30635         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30636         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30637         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30639         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30640         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30641         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30642         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30643         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30644         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30645         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30649         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30651         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30652         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30653         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30655         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30665         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30667         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30669         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30672         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30673         (__libc_vfork): Define the function under this name.
30674         [!NOT_IN_libc] (__vfork): Make this an alias.
30675         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30677         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30678         (__libc_vfork): Define the function under this name.
30679         [!NOT_IN_libc] (__vfork): Make this an alias.
30680         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30681         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30682         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30684         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30685         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30687         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30688         code that was previously under [RESET_PID].
30689         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30693         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30694         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30695         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30696         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30697         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30698         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30699         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30700         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30701         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30702         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30703         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30704         Moved ...
30705         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30706         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30707         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30708         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30709         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30710         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30711         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30713         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30714         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30715         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30721         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30722         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30723         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30724         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30725         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30726         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30727         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30728         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30729         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30730         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30731         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30732         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30733         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30735 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30737         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30738         that was previously under [RESET_PID].
30739         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30741 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30743         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30744         not undefine and redefine.
30745         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30746         [O_CLOEXEC]: Make code unconditional.
30747         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30748         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30749         <kernel-features.h>.
30750         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30751         conditional variable definition.
30752         (shm_open) [O_CLOEXEC]: Make code unconditional.
30753         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30754         code.
30756         * configure.ac (USE_REGPARMS): Don't define here.
30757         * configure: Regenerated.
30758         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30759         * sysdeps/i386/configure: Regenerated.
30761         * nptl/createthread.c: Don't include kernel-features.h.
30762         * nptl/pthread_cancel.c: Likewise.
30763         * nptl/pthread_condattr_setclock.c: Likewise.
30764         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30765         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30766         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30767         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30768         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30769         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30770         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30773         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30774         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30775         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30776         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30777         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30778         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30779         * nscd/gai.c: Likewise.
30780         * nss/nss_db/db-open.c: Likewise.
30781         * sysdeps/generic/ldsodefs.h: Likewise.
30782         * sysdeps/sh/nptl/tls.h: Likewise.
30783         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30784         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30785         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30786         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30787         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30788         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30789         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30790         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30791         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30792         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30793         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30794         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30795         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30796         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30797         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30798         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30799         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30800         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30801         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30802         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30805         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30806         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30810         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30811         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30812         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30813         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30814         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30815         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30816         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30817         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30818         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30819         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30820         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30821         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30822         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30823         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30824         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30825         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30826         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30827         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30828         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30829         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30830         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30831         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30832         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30833         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30834         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30835         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30836         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30837         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30838         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30839         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30840         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30863         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30864         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30865         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30866         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30867         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30868         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30869         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30870         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30871         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30872         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30873         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30874         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30875         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30876         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30877         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30878         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30879         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30880         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30881         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30882         * sysdeps/unix/sysv/linux/system.c: Likewise.
30883         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30884         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30885         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30886         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30887         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30888         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30889         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30891         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30892         * configure: Regenerated.
30893         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30895         * configure.ac (base_machine): Do not set specially for particular
30896         machines here.
30897         * configure: Regenerated.
30898         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30899         settings from configure.ac.
30900         * sysdeps/i386/preconfigure: New file.
30901         * sysdeps/s390/preconfigure: Likewise.
30902         * sysdeps/sh/preconfigure: Likewise.
30903         * sysdeps/sparc/preconfigure: Likewise.
30905 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30907         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30908         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30909         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30910         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30911         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30912         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30913         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30914         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30915         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30916         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30917         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30918         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30919         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30921         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30924         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30925         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30927         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30928         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30929         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30930         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30931         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30932         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30933         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30934         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30935         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30936         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30937         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30938         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30939         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30940         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30941         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30942         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30943         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30944         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30945         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30946         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30948         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30955         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30958         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30959         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30960         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30961         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30962         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30963         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30964         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30967         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30969         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30971         Moved ...
30972         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30973         ... here.
30974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30975         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30977         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30979         Moved ...
30980         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30982         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30984         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30986         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30988         Moved ...
30989         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30991         Moved ...
30992         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30994         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30996         Moved ...
30997         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30999         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31001         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31003         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31005         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31007         Moved ...
31008         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31009         ... here.
31010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31011         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31013         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31015         Moved ...
31016         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31018         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31020         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31022         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31024         Moved ...
31025         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31027         Moved ...
31028         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31030         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31032         Moved ...
31033         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31035         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31037         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31039 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31041         * timezone/checktab.awk: Update from tzcode 2014e.
31042         * timezone/private.h: Likewise.
31043         * timezone/tzfile.h: Likewise.
31044         * timezone/zdump.c: Likewise.
31045         * timezone/zic.c: Likewise.
31047         * sysdeps/unix/sysv/linux/kernel-features.h
31048         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31049         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31050         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31051         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31052         Remove conditional code.
31054 2014-06-25  Will Newton  <will.newton@linaro.org>
31056         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31057         (_dl_arm_cap_flags): Add HWCAP2 values.
31058         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31059         (_DL_HWCAP_COUNT): Increase to 37.
31060         (_DL_HWCAP_LAST): New define.
31061         (_DL_HWCAP2_LAST): New define.
31062         (_dl_procinfo): Add support for printing
31063         AT_HWCAP2 entries.
31064         (_dl_string_hwcap): Use _dl_hwcap_string.
31066 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31070 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31072         * README: Do not mention ports directory.
31074         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31075         Remove macro.
31076         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31077         <kernel-features.h>.
31078         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31079         conditional variable definition.
31080         (__futimes): Update comment.
31081         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31082         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31084         [BZ #16560]
31085         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31086         arguments close to 0.
31087         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31088         Likewise.
31089         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31090         Likewise.
31091         * math/auto-libm-test-in: Add more tests of exp10.
31092         * math/auto-libm-test-out: Regenerated.
31093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31095         * sysdeps/unix/sysv/linux/kernel-features.h
31096         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31097         * sysdeps/unix/sysv/linux/readv.c: Do not include
31098         <kernel-features.h>.
31099         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31100         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31101         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31102         unconditional.
31103         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31104         conditional code.
31105         * sysdeps/unix/sysv/linux/writev.c: Do not include
31106         <kernel-features.h>.
31107         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31108         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31109         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31110         unconditional.
31111         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31112         conditional code.
31114 2014-06-25  Will Newton  <will.newton@linaro.org>
31116         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31117         comment changes throughout the file.  Remove checks
31118         for HAVE_*_H definitions that are not required.
31119         (__gen_tempname): Call abort if an unknown kind value is
31120         passed.
31122 2014-06-25  Andreas Schwab  <schwab@suse.de>
31124         [BZ #17086]
31125         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31126         scalbln, scalblnf, scalblnl in libc.
31128 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31130         [BZ #17086]
31131         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31132         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31133         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31135 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31137         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31138         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31139         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31140         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31141         Update #include.
31142         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31143         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31144         Update #include.
31145         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31146         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31147         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31148         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31149         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31150         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31151         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31152         * sysdeps/x86/bits/semaphore.h: ... here.
31153         * sysdeps/x86/nptl/elide.h: Moved ...
31154         * sysdeps/x86/elide.h: ... here.
31155         * sysdeps/x86_64/nptl/Implies: File removed.
31156         * sysdeps/i386/nptl/Implies: File removed.
31158 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31160         [BZ #16539]
31161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31162         return the argument for normal arguments with exponent below -64.
31163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31164         Likewise.
31165         * math/auto-libm-test-in: Add another test of expm1.
31166         * math/auto-libm-test-out: Regenerated.
31168         [BZ #16287]
31169         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31170         calling __erfcl for arguments at least 16.
31171         * math/auto-libm-test-in: Add more tests of erf.
31172         * math/auto-libm-test-out: Regenerated.
31174         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31175         individual architectures.
31176         * sysdeps/unix/sysv/linux/configure: Regenerated.
31177         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31178         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31179         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31180         (ldd_rewrite_script): Define variable.
31181         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31183         file.
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31185         generated file.
31186         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31187         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31188         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31189         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31190         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31191         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31192         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31193         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31195 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31197         [BZ #17084]
31198         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31199         Rename member __data.d to __data.__elision_data.
31201 2014-06-24  Wilco  <wdijkstr@arm.com>
31203         * NEWS: Add 16918 to fixed bug list.
31205 2014-06-24  Wilco  <wdijkstr@arm.com>
31207         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31209 2014-06-24  Wilco  <wdijkstr@arm.com>
31211         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31212         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31213         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31214         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31215         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31216         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31217         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31218         Use _FPU_MASK_RM.
31220 2014-06-24  Wilco  <wdijkstr@arm.com>
31222         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31224 2014-06-24  Wilco  <wdijkstr@arm.com>
31226         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31227         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31228         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31229         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31231 2014-06-24  Wilco  <wdijkstr@arm.com>
31233         [BZ #16918]
31234         * sysdeps/arm/feupdateenv.c (feupdateenv):
31235         Rewrite to reduce FPSCR accesses and fix return value.
31237 2014-06-24  Wilco  <wdijkstr@arm.com>
31239         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31240         Optimize to avoid unnecessary FPSCR writes.
31241         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31242         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31243         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31244         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31246 2014-06-24  Wilco  <wdijkstr@arm.com>
31248         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31249         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31250         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31251         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31252         Call libc_fetestexcept_vfp.
31253         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31254         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31255         __SOFTFP__ ifdef so that they can be built for softfp.
31257 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31259         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31260         argument type signed char.
31262         * Makerules (check-abi): Dump diff of symlist if the test
31263         fails.
31265 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31267         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31268         using abort.
31270         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31271         Remove unused variable ST.
31273 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31275         [BZ #16354]
31276         [BZ #17061]
31277         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31278         small arguments before calling __expm1.
31279         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31280         small arguments before calling __expm1f.
31281         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31282         small arguments before calling __expm1l.
31283         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31284         Likewise.
31285         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31286         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31287         spurious underflow for some cosh tests.
31288         * math/auto-libm-test-out: Regenerated.
31289         * sysdeps/i386/fpu/libm-test-ulps: Update.
31291         [BZ #17050]
31292         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31293         (__ieee754_y1): Set errno if return value overflows.
31294         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31295         (__ieee754_y1f): Set errno if return value overflows.
31296         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31297         (__ieee754_y1l): Set errno if return value overflows.
31298         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31299         (__ieee754_y1l): Set errno if return value overflows.
31300         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31301         * math/auto-libm-test-out: Regenerated.
31303         * math/gen-auto-libm-tests.c: Document use of
31304         ignore-zero-inf-sign.
31305         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31306         (input_flags): Add ignore-zero-inf-sign.
31307         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31308         * math/gen-libm-test.pl (generate_testfile): Handle
31309         ignore-zero-inf-sign.
31310         * math/auto-libm-test-in: Mark some cpow tests with
31311         ignore-zero-inf-sign and some with xfail-rounding.
31312         * math/auto-libm-test-out: Regenerated.
31313         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31314         * sysdeps/i386/fpu/libm-test-ulps: Update.
31315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31317         [BZ #16315]
31318         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31319         overflowing or underflowing operations take place with sign of
31320         result.
31321         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31322         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31323         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31324         (__ieee754_pow): Recompute overflowing and underflowing results in
31325         original rounding mode.
31326         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31327         (__powl_helper): Allow negative argument X and scale negated value
31328         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31330         overflowing or underflowing operations take place with sign of
31331         result.
31332         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31333         Include <math.h>.
31334         * math/auto-libm-test-in: Add more tests of pow.
31335         * math/auto-libm-test-out: Regenerated.
31336         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31337         (pow_tonearest_test_data): Remove.
31338         (pow_test_tonearest): Likewise.
31339         (pow_towardzero_test_data): Likewise.
31340         (pow_test_towardzero): Likewise.
31341         (pow_downward_test_data): Likewise.
31342         (pow_test_downward): Likewise.
31343         (pow_upward_test_data): Likewise.
31344         (pow_test_upward): Likewise.
31345         (main): Don't call removed functions.
31346         * sysdeps/i386/fpu/libm-test-ulps: Update.
31347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31349 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31352         Moved ...
31353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31358         Moved ...
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31361         Moved ...
31362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31364         File removed.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31366         File removed.
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31368         File removed.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31370         File removed.
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31372         File removed.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31374         File removed.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31376         File removed.
31377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31378         File removed.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31380         File removed.
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31382         File removed.
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31384         File removed.
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31386         File removed.
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31388         Moved ...
31389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31391         Moved ...
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31393         ... here.
31394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31395         Moved ...
31396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31398         Moved ...
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31401         Moved ...
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31404         Moved ...
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31407         Moved ...
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31410         Moved ...
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31413         Moved ...
31414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31417         ... here.
31418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31419         Moved ...
31420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31422         Moved ...
31423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31424         ... here.
31425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31426         Moved ...
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31428         ... here.
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31432         ... here.
31433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31442         Moved ...
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31444         ... here.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31446         Moved ...
31447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31448         ... here.
31449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31450         Moved ...
31451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31453         Moved ...
31454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31456         Moved ...
31457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31459         Moved ...
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31462         Moved ...
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31464         ... here.
31465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31469         Moved ...
31470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31472         Moved ...
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31475         Moved ...
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31480         Moved ...
31481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31483         Moved ...
31484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31486         Moved ...
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31488         ... here.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31490         Moved ...
31491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31492         ... here.
31493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31494         Moved ...
31495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31496         ... here.
31497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31498         Moved ...
31499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31501         Moved ...
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31504         Moved ...
31505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31507         Moved ...
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31509         ... here.
31510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31511         Moved ...
31512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31513         ... here.
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31515         Moved ...
31516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31517         ... here.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31519         Moved ...
31520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31522         Moved ...
31523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31525 2014-06-23  Will Newton  <will.newton@linaro.org>
31526             Wilco  <wdijkstr@arm.com>
31528         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31529         implementation.  Include get-rounding-mode.h.
31530         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31531         [!libc_feholdsetround_noex_ctx]: Define
31532         libc_feholdsetround_noex_ctx.
31533         [!libc_feholdsetround_noexf_ctx]: Define
31534         libc_feholdsetround_noexf_ctx.
31535         [!libc_feholdsetround_noexl_ctx]: Define
31536         libc_feholdsetround_noexl_ctx.
31537         (libc_feholdsetround_ctx): New function.
31538         (libc_feresetround_ctx): New function.
31539         (libc_feholdsetround_noex_ctx): New function.
31540         (libc_feresetround_noex_ctx): New function.
31542 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31544         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31545         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31546         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31547         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31548         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31549         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31551         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31552         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31554         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31555         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31556         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31558         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31560         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31562         Moved ...
31563         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31564         ... here.
31565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31566         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31568         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31569         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31570         Moved ...
31571         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31575         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31579         Moved ...
31580         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31581         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31582         Moved ...
31583         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31585         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31587         Moved ...
31588         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31590         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31591         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31592         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31593         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31594         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31596         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31598         Moved ...
31599         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31600         ... here.
31601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31602         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31606         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31608         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31610         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31612         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31614         Moved ...
31615         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31617         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31619         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31621         Moved ...
31622         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31623         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31624         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31625         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31626         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31628         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31629         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31630         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31631         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31632         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31633         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31634         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31635         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31636         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31637         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31638         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31639         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31640         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31641         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31642         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31643         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31644         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31645         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31646         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31647         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31648         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31649         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31650         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31651         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31652         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31653         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31654         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31655         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31657 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31659         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31660         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31661         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31662         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31663         (IPV6_PMTUDISC_INTERFACE): Likewise.
31664         (IPV6_PMTUDISC_OMIT): Likewise.
31666 2014-06-23  Andreas Schwab  <schwab@suse.de>
31668         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31669         Remove unused errout label.
31671 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31673         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31674         macro: hardware supports Vector Crypto instructions.
31676 2014-06-23  Will Newton  <will.newton@linaro.org>
31678         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31679         rather than __builtin_expect.
31681         * elf/dl-lookup.c (undefined_msg): Remove variable.
31682         (_dl_lookup_symbol_x): Replace undefined_msg with string
31683         literal.
31685         * elf/dl-lookup.c (do_lookup_unique): New function.
31686         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31687         to a separate function.
31689 2014-06-23  Andreas Schwab  <schwab@suse.de>
31691         [BZ #17079]
31692         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31693         before reading the next line.
31695 2014-06-23  Will Newton  <will.newton@linaro.org>
31697         * test-skeleton.c (signal_handler): Use printf and %m
31698         rather than perror.  Use printf rather than fprintf to
31699         stderr.  Use puts rather than fputs to stderr.
31700         (main): Likewise.
31702 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31704         * nscd/nscd.c (thread_info_t): Remove typedef.
31705         (thread_info): Remove variable.
31707 2014-06-21  Allan McRae  <allan@archlinux.org>
31709         * NEWS: Mention CVE-2014-4043.
31711 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31713         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31714         * nptl/smp.h: ... here.
31716         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31718         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31719         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31720         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31721         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31723         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31724         * nptl/stack-aliasing.h: New file.
31725         * sysdeps/i386/i686/stack-aliasing.h: New file.
31726         * sysdeps/i386/i686/nptl/Makefile: File removed.
31727         * sysdeps/x86_64/stack-aliasing.h: New file.
31728         * sysdeps/x86_64/nptl/Makefile
31729         (CFLAGS-pthread_create.c): Variable removed.
31731         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31732         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31733         old file.
31734         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31735         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31736         old file.
31738 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31740         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31741         (__ASSUME_SIGFRAME_V2): Remove macro.
31742         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31743         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31744         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31745         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31746         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31747         Declare as function.  Remove conditional macro definitions.
31748         (__default_rt_sa_restorer): Likewise.
31749         (__default_sa_restorer_v1): Remove declaration.
31750         (__default_sa_restorer_v2): Likewise.
31751         (__default_rt_sa_restorer_v1): Likewise.
31752         (__default_rt_sa_restorer_v2): Likewise.
31753         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31754         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31755         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31757 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31759         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31760         (libpthread-routines): Add sysdep.
31761         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31762         * sysdeps/unix/sysv/linux/sparc/Versions
31763         (libpthread: GLIBC_2.3.3): New version set.
31764         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31765         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31766         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31767         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31768         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31769         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31770         Moved ...
31771         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31772         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31773         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31774         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31775         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31777         * sysdeps/sparc/nptl/sem_init.c: ... here.
31778         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31779         * sysdeps/sparc/nptl/sem_post.c: ... here.
31780         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31781         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31782         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31783         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31784         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31785         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31786         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31787         (libpthread-routines): Add cpu_relax.
31788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31789         File removed.
31790         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31791         (librt: GLIBC_2.3.3): New version set.
31792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31793         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31794         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31795         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31798         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31800         Moved ...
31801         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31803         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31805         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31807         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31809         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31811         Moved ...
31812         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31813         Update #include.
31814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31815         Moved ...
31816         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31817         Update #include.
31818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31819         Moved ...
31820         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31821         Update #include.
31822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31823         Moved ...
31824         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31825         Update #include.
31826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31827         Moved ...
31828         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31829         Update #include.
31830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31831         Moved ...
31832         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31833         Update #include.
31834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31835         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31839         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31841         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31843         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31845         Moved ...
31846         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31848         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31850         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31852 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31854         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31855         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31856         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31857         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31858         * nscd/nscd.c: Likewise.
31859         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31860         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31861         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31862         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31864         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31865         <kernel-features.h>.
31866         (init_mq_netlink): Remove conditional have_sock_cloexec
31867         definitions.  Remove code conditional on have_sock_cloexec < 0.
31868         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31869         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31870         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31871         <kernel-features.h>.
31872         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31873         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31875 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31878         Add tests for memset_chk and memset.
31880         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31881         with AVX2_Usable.
31883 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31885         [BZ #16046]
31886         * elf/tst-dl-iter-static.c: New file.
31887         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31889         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31890         error.
31892 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31894         * sysdeps/unix/sysv/linux/kernel-features.h
31895         (__ASSUME_F_GETOWN_EX): Remove macro.
31896         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31897         <kernel-features.h>.
31898         (miss_F_GETOWN_EX): Remove variable or macro.
31899         (do_fcntl): Do not check miss_F_GETOWN_EX.
31900         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31902         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31903         Remove macro.
31904         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31905         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31906         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31908         * sysdeps/unix/sysv/linux/kernel-features.h
31909         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31910         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31911         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31912         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31914 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31916         [BZ #17075]
31917         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31918         Fix calculation of the symbol's value.
31919         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31920         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31921         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31922         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31923         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31924         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31925         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31926         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31927         (modules-names): Add `tst-armtlsdescmod',
31928         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31929         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31930         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31931         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31932         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31933         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31934         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31935         ($(objpfx)tst-armtlsdescloc): New dependency.
31936         ($(objpfx)tst-armtlsdescextnow): Likewise.
31937         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31938         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31939         TLS scheme support.
31940         * sysdeps/arm/configure: Regenerate.
31942 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31944         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31945         (__atfct_seterrno_2): Likewise.
31946         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31947         <kernel-features.h>.
31948         (__ASSUME_ATFCTS): Do not undefine and redefine.
31949         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31950         (__have_atfcts): Remove conditional definition.
31951         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31952         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31953         unreachable if [__ASSUME_ATFCTS].
31954         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31955         not undefine and redefine.
31956         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31957         <kernel-features.h>.
31958         (faccessat) [__NR_faccessat]: Make code unconditional.
31959         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31960         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31961         <kernel-features.h>.
31962         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31963         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31964         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31965         <kernel-features.h>.
31966         (fchownat) [__NR_fchownat]: Make code unconditional.
31967         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31968         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31969         <kernel-features.h>.
31970         (futimesat) [__NR_futimesat]: Make code unconditional.
31971         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31972         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31973         <kernel-features.h>.
31974         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31975         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31976         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31977         <kernel-features.h>.
31978         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31979         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31980         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31981         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31982         <kernel-features.h>.
31983         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31984         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31985         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31986         <kernel-features.h>.
31987         (linkat) [__NR_linkat]: Make code unconditional.
31988         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31989         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31990         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31991         <kernel-features.h>.
31992         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31993         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31994         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31995         <kernel-features.h>.
31996         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31997         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31998         * sysdeps/unix/sysv/linux/openat.c: Do not include
31999         <kernel-features.h>.
32000         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32001         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32002         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32003         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32004         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32005         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32006         <kernel-features.h>.
32007         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32008         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32009         result of INLINE_SYSCALL directly, not via int variable.
32010         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32011         <kernel-features.h>.
32012         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32013         (renameat) [__NR_renameat]: Make code unconditional.
32014         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32015         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32016         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32017         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32018         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32019         (__ASSUME_ATFCTS): Do not undefine and redefine.
32020         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32021         <kernel-features.h>.
32022         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32023         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32024         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32025         <kernel-features.h>.
32026         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32027         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32028         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32029         (__ASSUME_ATFCTS): Do not undefine and redefine.
32030         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32031         <kernel-features.h>.
32032         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32033         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32034         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32035         <kernel-features.h>.
32036         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32037         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32039 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32041         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32043 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32045         [BZ #17069]
32046         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32047         constructed tree before returning error.
32048         * posix/bug-regexp36.c: Expand test case.
32050 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32052         [BZ #6803]
32053         * math/libm-test.inc (scalbln_test_date):
32054         Add errno expectations.
32055         * math/w_scalblnf.c: New File.
32056         Add wrapper which checks for setting errno to ERANGE.
32057         Add weak_alias for corresponding scalbln function.
32058         * math/w_scalbln.c: Likewise.
32059         * math/w_scalblnl.c: Likewise.
32060         * math/Makefile (libm-calls): Add w_scalbln.
32061         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32062         Remove weak_alias for corresponding scalbln function.
32063         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32064         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32065         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32067         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32068         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32069         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32070         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32071         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32072         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32073         Remove long_double_symbol for scalblnl function in libm, libc.
32074         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32075         Add wrapper which checks for setting errno to ERANGE.
32076         Add long_double_symbol for scalblnl function in libm, libc.
32077         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32078         Remove long_double_symbol for scalblnl in libm.
32079         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32080         Add wrapper which checks for setting errno to ERANGE.
32081         Add long_double_symbol for scalblnl function in libm.
32082         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32083         Do not use wrapper because of own implementation.
32085 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32087         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32088         3 bytes for __pad1 for x32.
32089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32091 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32092             H.J. Lu  <hongjiu.lu@intel.com>
32094         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32095         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32096         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32097         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32098         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32100 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32102         [BZ #17069]
32103         * posix/regcomp.c (parse_expression): Deallocate partially
32104         constructed tree before returning error.
32105         * posix/Makefile.c (tests): Add bug-regex36.
32106         (generated): Add bug-regex36.mtrace.
32107         (tests-special): Add $(objpfx)bug-regex36-mem.out
32108         (bug-regex36-ENV): New variable.
32109         ($(objpfx)bug-regex36-mem.out): New rule.
32110         * posix/bug-regex36.c: New file.
32112 2014-06-19  Will Newton  <will.newton@linaro.org>
32114         * malloc/malloc.c (systrim): If extra is zero then return
32115         early.
32117 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32119         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32121 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32123         * sysdeps/aarch64/strchr.S: New file.
32125 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #17022]
32128         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32129         from arguments -2 or below.
32130         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32131         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32133 2014-06-18  Andreas Schwab  <schwab@suse.de>
32135         [BZ #17062]
32136         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32137         of a bracket expr not to run off the end of the string.
32138         * posix/Makefile (tests): Add tst-fnmatch3.
32139         * posix/tst-fnmatch3.c: New file.
32141 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32143         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32144         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32145         [$(cross-compiling) = no]: Likewise.
32146         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32147         [$(cross-compiling) = no]: Likewise.
32149 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32151         [BZ #17031]
32152         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32153         double, adjusted for any remainder from the high double.
32154         * math/libm-test.inc (nearbyint): Add tests.
32155         (rint): Likewise.
32157 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32159         * nptl/sysdeps/powerpc/Makefile: Moved ...
32160         * sysdeps/powerpc/nptl/Makefile: ... here.
32161         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32162         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32163         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32164         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32165         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32166         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32167         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32168         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32169         * nptl/sysdeps/powerpc/tls.h: Moved ...
32170         * sysdeps/powerpc/nptl/tls.h: ... here.
32172 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32174         [BZ #16681]
32175         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32176         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32177         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32178         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32179         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32180         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32181         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32182         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32183         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32185 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32187         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32189 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32191         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32192         defined operator.
32194         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32195         $TIMEOUTFACTOR.
32197 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32199         [BZ #17058]
32200         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32201         non-executed part of the test.
32203 2014-06-16  Andreas Schwab  <schwab@suse.de>
32205         * string/bits/string2.h (strdup, strndup): Update feature guard.
32207 2014-06-14  David S. Miller  <davem@davemloft.net>
32209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32211 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32213         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32214         that was previously under [RESET_PID].
32215         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32217         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32218         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32219         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32220         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32221         (__libc_vfork): New strong alias.
32222         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32224 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32226         * sysdeps/generic/elide.h: New file.
32228 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32230         * Makefile (installed-headers): Adjust path of pthread.h header.
32232 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32234         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32235         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32236         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32237         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32239         * nptl/sysdeps/s390/Makefile: Moved ...
32240         * sysdeps/s390/nptl/Makefile: ... here.
32241         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32242         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32243         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32244         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32245         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32246         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32247         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32248         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32249         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32250         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32251         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32252         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32253         * nptl/sysdeps/s390/tls.h: Moved ...
32254         * sysdeps/s390/nptl/tls.h: ... here.
32256         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32257         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32259 2014-06-13  David S. Miller  <davem@davemloft.net>
32261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32264         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32268         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32269         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32270         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32271         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32272         Remove RESET_PID cpp guards.
32273         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32274         Remove RESET_PID cpp guards.
32275         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32277 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32279         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32280         __sp to uintptr_t.
32282 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32288         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32290         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32293         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32298         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32305         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32306         (pthread_rwlock_rdlock): Add elision.
32307         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32308         (pthread_rwlock_wrlock): Add elision.
32309         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32310         (pthread_rwlock_trywrlock): Add elision.
32311         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32312         (pthread_rwlock_tryrdlock): Add elision.
32313         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32314         (pthread_rwlock_tryrdlock): Add elision unlock.
32315         * nptl/sysdeps/pthread/pthread.h:
32316         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32317         (PTHREAD_RWLOCK_INITIALIZER,
32318         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32319         Handle new elision field.
32320         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32321         * sysdeps/arm/nptl/bits/pthreadtypes.h
32322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32323         * sysdeps/sh/nptl/bits/pthreadtypes.h
32324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32325         * sysdeps/tile/nptl/bits/pthreadtypes.h
32326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32327         * sysdeps/a/nptl/bits/pthreadtypes.h
32328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32329         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32331         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32333         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32335         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32337         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32339         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32341         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32343         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32345         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32346         (elision_init): Set try_xbegin to zero when no RTM.
32347         * sysdeps/x86/nptl/bits/pthreadtypes.h
32348         (pthread_rwlock_t): Change __pad1 to __rwelision.
32349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32351 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32353         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32354         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32355         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32356         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32358 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32360         [BZ #16996]
32361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32362         that the cached result has been set before returning it.
32364 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32367         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32368         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32369         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32370         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32371         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32373         * nptl/sysdeps/sparc/Makefile: Moved ...
32374         * sysdeps/sparc/nptl/Makefile: ... here.
32375         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32376         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32377         * nptl/sysdeps/sparc/tls.h: Moved ...
32378         * sysdeps/sparc/nptl/tls.h: ... here.
32379         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32380         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32381         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32382         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32383         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32384         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32385         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32386         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32387         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32388         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32389         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32390         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32391         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32392         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32393         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32394         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32395         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32396         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32397         Update #include.
32398         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32399         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32400         Update #include.
32401         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32402         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32403         Update #include.
32404         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32405         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32406         Update #include.
32408         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32410         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32411         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32413         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32414         (struct list_links): Type removed.
32415         (struct thread_node, struct timer_node): Replace struct list_links
32416         with struct list_head.
32417         (list_unlink_ip): Likewise.
32418         * sysdeps/pthread/timer_routines.c
32419         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32420         (list_append, list_insbefore): Likewise.
32421         (list_init): Function removed.
32422         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32423         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32424         * sysdeps/pthread/Makefile: ... here, new file.
32426         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32427         * sysdeps/nptl/Implies: ... here.
32428         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32429         * nptl/sysdeps/pthread/list.h: Moved ...
32430         * include/list.h: ... here.
32431         * nptl/sysdeps/pthread/createthread.c: Moved ...
32432         * nptl/createthread.c: ... here.
32433         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32434         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32435         * nptl/pt-longjmp.c: ... here.
32436         * nptl/sysdeps/pthread/Makefile: Moved ...
32437         * sysdeps/nptl/Makefile: ... here.
32438         * nptl/sysdeps/pthread/Subdirs: Moved ...
32439         * sysdeps/nptl/Subdirs: ... here.
32440         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32441         * sysdeps/nptl/aio_misc.h: ... here.
32442         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32443         * sysdeps/nptl/bits/libc-lock.h: ... here.
32444         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32445         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32446         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32447         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32448         * nptl/sysdeps/pthread/configure: Moved ...
32449         * sysdeps/nptl/configure: ... here.
32450         * nptl/sysdeps/pthread/configure.ac: Moved ...
32451         * sysdeps/nptl/configure.ac: ... here.
32452         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32453         * sysdeps/nptl/gai_misc.h: ... here.
32454         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32455         * sysdeps/nptl/librt-cancellation.c: ... here.
32456         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32457         * sysdeps/nptl/malloc-machine.h: ... here.
32458         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32459         * sysdeps/nptl/pthread-functions.h: ... here.
32460         * nptl/sysdeps/pthread/pthread.h: Moved ...
32461         * sysdeps/nptl/pthread.h: ... here.
32462         * nptl/sysdeps/pthread/setxid.h: Moved ...
32463         * sysdeps/nptl/setxid.h: ... here.
32464         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32465         * sysdeps/nptl/sigfillset.c: ... here.
32466         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32467         * sysdeps/nptl/tcb-offsets.h: ... here.
32468         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32469         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32470         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32471         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32472         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32473         * sysdeps/pthread/allocalim.h: ... here.
32474         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32475         * sysdeps/pthread/bits/sigthread.h: ... here.
32476         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32477         * sysdeps/pthread/flockfile.c: ... here.
32478         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32479         * sysdeps/pthread/ftrylockfile.c: ... here.
32480         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32481         * sysdeps/pthread/funlockfile.c: ... here.
32482         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32483         * sysdeps/pthread/posix-timer.h: ... here.
32484         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32485         * sysdeps/pthread/timer_create.c: ... here.
32486         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32487         * sysdeps/pthread/timer_delete.c: ... here.
32488         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32489         * sysdeps/pthread/timer_getoverr.c: ... here.
32490         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32491         * sysdeps/pthread/timer_gettime.c: ... here.
32492         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32493         * sysdeps/pthread/timer_routines.c: ... here.
32494         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32495         * sysdeps/pthread/timer_settime.c: ... here.
32496         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32497         * sysdeps/pthread/tst-timer.c: ... here.
32498         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32499         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32501         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32502         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32504         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32505         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32506         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32507         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32508         Update #include target.
32509         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32510         * sysdeps/i386/i686/nptl/Makefile: ... here.
32511         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32512         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32513         Update #include target.
32514         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32515         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32516         * nptl/sysdeps/i386/Makefile: Moved ...
32517         * sysdeps/i386/nptl/Makefile: ... here.
32518         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32519         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32520         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32521         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32522         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32523         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32524         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32525         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32526         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32527         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32528         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32529         * nptl/sysdeps/i386/tls.h: Moved ...
32530         * sysdeps/i386/nptl/tls.h: ... here.
32532         * sysdeps/sh/Makefile [$(subdir) = csu]
32533         (gen-as-const-headers): Add tcb-offsets.sym.
32534         * nptl/sysdeps/sh/Makefile: File removed.
32535         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32536         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32537         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32538         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32539         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32540         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32541         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32542         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32543         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32544         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32545         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32546         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32547         * nptl/sysdeps/sh/tls.h: Moved ...
32548         * sysdeps/sh/nptl/tls.h: ... here.
32549         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32550         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32552         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32553         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32554         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32555         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32557         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32558         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32560         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32562         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32564         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32566         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32568         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32570         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32571         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32574         Moved ...
32575         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32583         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32584         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32585         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32586         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32587         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32588         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32589         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32590         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32591         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32592         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32593         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32594         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32595         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32596         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32598 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32600         * posix/spawn_faction_addopen.c: Include string.h.
32602 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32604         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32605         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32606         * nptl/sysdeps/x86_64/Makefile: Moved ...
32607         * sysdeps/x86_64/nptl/Makefile: ... here.
32608         * nptl/sysdeps/x86_64/configure: Moved ...
32609         * sysdeps/x86_64/nptl/configure: ... here.
32610         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32611         * sysdeps/x86_64/nptl/configure.ac: ... here.
32612         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32613         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32614         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32615         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32616         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32617         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32618         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32619         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32620         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32621         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32622         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32623         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32624         * nptl/sysdeps/x86_64/tls.h: Moved ...
32625         * sysdeps/x86_64/nptl/tls.h: ... here.
32626         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32627         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32628         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32629         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32631         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32633 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32637 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32639         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32640         type.
32641         [POSIX] (off_t): Likewise.
32642         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32643         [POSIX] (S_ISBLK): Require macro.
32644         [POSIX] (S_ISCHR): Likewise.
32645         [POSIX] (S_ISDIR): Likewise.
32646         [POSIX] (S_ISFIFO): Likewise.
32647         [POSIX] (S_ISREG): Likewise.
32648         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32649         optional-macro.
32650         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32651         type.
32652         [POSIX] (time_t): Likewise.
32653         [POSIX] (timer_t): Likewise.
32655 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32657         [BZ #17048]
32658         * posix/spawn_int.h (struct __spawn_action): Make the path string
32659         non-const to support deallocation.
32660         * posix/spawn_faction_addopen.c
32661         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32662         * posix/spawn_faction_destroy.c
32663         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32664         path in all spawn_do_open actions.
32665         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32666         posix_spawn_file_actions_addopen.
32668 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32670         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32671         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32672         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32673         conditional code always true.
32674         (__libc_vfork): New alias.
32676 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32678         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32679         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32681         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32683         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32684         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32686         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32687         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32689         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32690         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32692 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32694         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32695         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32696         multiarch strcmp for PPC64.
32697         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32698         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32700         multiarch optimizations.
32701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32702         (__libc_ifunc_impl_list): Likewise.
32704 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32706         * benchtests/scripts/validate_benchout.py: New script.
32707         * benchtests/Makefile (bench-func): Call it.
32708         * benchtests/scripts/benchout.schema.json: New file.
32710 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32712         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32713         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32714         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32715         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32716         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32717         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32718         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32719         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32720         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32721         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32722         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32723         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32724         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32725         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32726         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32727         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32729         Moved ...
32730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32731         ... here.
32732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32733         Moved ...
32734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32736         Moved ...
32737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32738         ... here.
32739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32740         Moved ...
32741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32742         ... here.
32743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32744         Moved ...
32745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32747         Moved ...
32748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32749         ... here.
32750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32751         Moved ...
32752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32753         ... here.
32754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32755         Moved ...
32756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32758         Moved ...
32759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32760         ... here.
32761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32762         Moved ...
32763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32764         ... here.
32765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32766         Moved ...
32767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32768         ... here.
32769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32770         Moved ...
32771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32773         Moved ...
32774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32775         ... here.
32776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32777         Moved ...
32778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32779         ... here.
32780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32781         Moved ...
32782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32783         ... here.
32784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32785         Moved ...
32786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32788         Moved ...
32789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32790         ... here.
32791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32792         Moved ...
32793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32794         ... here.
32795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32796         Moved ...
32797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32799         Moved ...
32800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32801         ... here.
32802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32803         Moved ...
32804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32806         Moved ...
32807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32809         Moved ...
32810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32811         ... here.
32812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32813         Moved ...
32814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32815         ... here.
32816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32817         Moved ...
32818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32819         ... here.
32820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32821         Moved ...
32822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32824         Moved ...
32825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32826         ... here.
32827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32828         Moved ...
32829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32830         ... here.
32831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32832         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32834         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32836         Moved ...
32837         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32838         ... here.
32839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32840         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32842         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32844         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32846         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32848         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32850         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32852         Moved ...
32853         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32855         Moved ...
32856         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32857         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32858         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32860         Moved ...
32861         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32863         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32864         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32865         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32866         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32867         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32869 2014-06-10  Wilco  <wdijkstr@arm.com>
32871         * math/test-fenv-return.c: New file.
32872         * math/Makefile: Add new test test-fenv-return.
32874 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32876         [BZ #17042]
32877         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32878         when x - 1 is zero.
32879         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32880         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32881         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32882         0.0L for an argument of 1.0L.
32883         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32884         Likewise.
32885         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32886         value when x - 1 is zero.
32887         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32888         * sysdeps/i386/fpu/libm-test-ulps: Update.
32889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32891 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32893         [BZ #15119]
32894         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32896 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32898         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32899         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32901 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32903         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32904         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32906         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32907         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32909         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32910         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32912         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32913         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32915         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32916         if not already defined.
32917         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32918         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32919         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32920         (TLS_INIT_TP): Use it.
32921         (TLS_DEFINE_INIT_TP): New macro.
32922         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32924 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32926         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32927         constant.
32928         [POSIX] (IXANY): Likewise.
32929         [POSIX] (OLCUC): Likewise.
32930         [POSIX || POSIX2008] (CBAUD): Do not allow.
32931         [POSIX || POSIX2008] (DEFECHO): Likewise.
32932         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32933         [POSIX || POSIX2008] (ECHOKE): Likewise.
32934         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32935         [POSIX || POSIX2008] (EXTA): Likewise.
32936         [POSIX || POSIX2008] (EXTB): Likewise.
32937         [POSIX || POSIX2008] (FLUSHO): Likewise.
32938         [POSIX || POSIX2008] (LOBLK): Likewise.
32939         [POSIX || POSIX2008] (PENDIN): Likewise.
32940         [POSIX || POSIX2008] (SWTCH): Likewise.
32941         [POSIX || POSIX2008] (VDISCARD): Likewise.
32942         [POSIX || POSIX2008] (VDSUSP): Likewise.
32943         [POSIX || POSIX2008] (VLNEXT): Likewise.
32944         [POSIX || POSIX2008] (VREPRINT): Likewise.
32945         [POSIX || POSIX2008] (VSTATUS): Likewise.
32946         [POSIX || POSIX2008] (VWERASE): Likewise.
32947         (B*): Change to B[0123456789]*.
32948         * conform/data/time.h-data [POSIX || UNIX98]
32949         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32950         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32951         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32952         [POSIX] (tm_*): Do not allow.
32954 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32956         * Makefile (install): Don't set LANGUAGE.
32957         * Makefile.in (install): Likewise.
32958         * assert/Makefile (test-assert-ENV): Remove variable.
32959         (test-assert-perr-ENV): Likewise.
32960         * elf/Makefile (neededtest4-ENV): Likewise.
32961         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32962         [$(cross-compiling) = no]: Don't set LANGUAGE.
32963         * io/ftwtest-sh (LANG): Remove variable.
32964         * libio/Makefile (tst-widetext-ENV): Likewise.
32965         * manual/install.texi (Running make install): Don't refer to
32966         environment settings for make install.
32967         * INSTALL: Regenerated.
32968         * nptl/tst-tls6.sh: Don't set LANG.
32969         * posix/globtest.sh (LANG): Remove variable.
32970         * string/Makefile (tester-ENV): Likewise.
32971         (inl-tester-ENV): Likewise.
32972         (noinl-tester-ENV): Likewise.
32973         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32974         [$(cross-compiling) = no]: Don't set LANGUAGE.
32975         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32976         without explicit environment settings.
32978 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32980         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32981         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32982         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32983         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32985 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32987         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32988         other files in the crypt directory.
32989         * crypt/crypt.c: Remove duplicate includes.
32990         * crypt/crypt-entry.c: Likewise.
32991         * crypt/crypt_util.c: Likewise.
32993 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32995         * Makeconfig (run-program-env): New variable.
32996         (run-program-prefix-before-env): Likewise.
32997         (run-program-prefix-after-env): Likewise.
32998         (run-program-prefix): Define in terms of new variables.
32999         (built-program-cmd-before-env): New variable.
33000         (built-program-cmd-after-env): Likewise.
33001         (built-program-cmd): Define in terms of new variables.
33002         (test-program-prefix-before-env): New variable.
33003         (test-program-prefix-after-env): Likewise.
33004         (test-program-prefix): Define in terms of new variables.
33005         (test-program-cmd-before-env): New variable.
33006         (test-program-cmd-after-env): Likewise.
33007         (test-program-cmd): Define in terms of new variables.
33008         * Rules (make-test-out): Use $(run-program-env).
33009         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33010         (help): Do not mention environment variables.  Mention
33011         --timeoutfactor option.
33012         (timeoutfactor): New variable.
33013         (blacklist_exports): Remove function.
33014         (exports): Remove variable.
33015         (command): Do not include ${exports}.
33016         * manual/install.texi (Configuring and compiling): Do not mention
33017         test wrappers preserving environment variables.  Mention that last
33018         assignment to a variable must take precedence.
33019         * INSTALL: Regenerated.
33020         * benchtests/Makefile (run-bench): Use $(run-program-env).
33021         * catgets/Makefile ($(objpfx)test1.cat): Use
33022         $(built-program-cmd-before-env), $(run-program-env) and
33023         $(built-program-cmd-after-env).
33024         ($(objpfx)test2.cat): Do not specify environment variables
33025         explicitly.
33026         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33027         $(run-program-env) and $(built-program-cmd-after-env).
33028         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33029         $(run-program-env) and $(test-program-cmd-after-env).
33030         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33031         explicitly.
33032         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33033         run_program_env and test_program_cmd_after_env arguments.
33034         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33035         * elf/tst-pathopt.sh: Use run_program_env argument.
33036         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33037         $(test-wrapper-env) and $(run-program-env).
33038         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33039         run_program_env arguments.
33040         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33041         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33042         $(test-program-prefix-before-env), $(run-program-env) and
33043         $(test-program-prefix-after-env).
33044         ($(objpfx)tst-gettext2.out): Likewise.
33045         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33046         run_program_env and test_program_prefix_after_env arguments.
33047         * intl/tst-gettext2.sh: Likewise.
33048         * intl/tst-gettext4.sh: Do not set environment variables
33049         explicitly.
33050         * intl/tst-gettext6.sh: Likewise.
33051         * intl/tst-translit.sh: Likewise.
33052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33053         $(test-program-prefix-before-env), $(run-program-env) and
33054         $(test-program-prefix-after-env).
33055         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33056         run_program_env and test_program_prefix_after_env arguments.
33057         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33058         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33059         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33060         explicitly with each use of ${test_wrapper_env}.
33061         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33062         $(test-program-prefix-before-env), $(run-program-env) and
33063         $(test-program-prefix-after-env).
33064         * posix/tst-getconf.sh: Do not set environment variables
33065         explicitly.
33066         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33067         run_program_env and test_program_prefix_after_env arguments.
33068         * stdio-common/tst-printf.sh: Do not set environment variables
33069         explicitly.
33070         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33071         $(test-program-prefix-before-env), $(run-program-env) and
33072         $(test-program-prefix-after-env).
33073         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33074         run_program_env and test_program_prefix_after_env arguments.
33075         Split $test calls into $test_pre and $test.
33076         * timezone/Makefile (build-testdata): Use
33077         $(built-program-cmd-before-env), $(run-program-env) and
33078         $(built-program-cmd-after-env).
33080 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33082         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33083         strlen for non SHARED builds.
33085 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33087         * nptl/allocatestack.c (check_list): Inlined function...
33088         (__reclaim_stacks): ... here.
33090 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33092         [BZ #15698]
33093         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33094         memory overrun.
33096 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33098         * Rules (make-test-out): Include
33099         LOCPATH=$(common-objpfx)localedata in default environment.
33100         * debug/Makefile (tst-chk1-ENV): Remove variable.
33101         (tst-chk2-ENV): Likewise.
33102         (tst-chk3-ENV): Likewise.
33103         (tst-chk4-ENV): Likewise.
33104         (tst-chk5-ENV): Likewise.
33105         (tst-chk6-ENV): Likewise.
33106         (tst-lfschk1-ENV): Likewise.
33107         (tst-lfschk2-ENV): Likewise.
33108         (tst-lfschk3-ENV): Likewise.
33109         (tst-lfschk4-ENV): Likewise.
33110         (tst-lfschk5-ENV): Likewise.
33111         (tst-lfschk6-ENV): Likewise.
33112         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33113         (tst-iconv7-ENV): Likewise.
33114         * intl/Makefile (LOCPATH-ENV): Likewise.
33115         (tst-codeset-ENV): Likewise.
33116         (tst-gettext3-ENV): Likewise.
33117         (tst-gettext5-ENV): Likewise.
33118         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33119         (tst-fopenloc-ENV): Likewise.
33120         (tst-fgetws-ENV): Remove variable.
33121         (tst-ungetwc1-ENV): Likewise.
33122         (tst-ungetwc2-ENV): Likewise.
33123         (bug-ungetwc2-ENV): Likewise.
33124         (tst-swscanf-ENV): Likewise.
33125         (bug-ftell-ENV): Likewise.
33126         (tst-fgetwc-ENV): Likewise.
33127         (tst-fseek-ENV): Likewise.
33128         (tst-ftell-partial-wide-ENV): Likewise.
33129         (tst-ftell-active-handler-ENV): Likewise.
33130         (tst-ftell-append-ENV): Likewise.
33131         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33132         (tst-regexloc-ENV): Likewise.
33133         (bug-regex1-ENV): Likewise.
33134         (tst-regex-ENV): Likewise.
33135         (tst-regex2-ENV): Likewise.
33136         (bug-regex5-ENV): Likewise.
33137         (bug-regex6-ENV): Likewise.
33138         (bug-regex17-ENV): Likewise.
33139         (bug-regex18-ENV): Likewise.
33140         (bug-regex19-ENV): Likewise.
33141         (bug-regex20-ENV): Likewise.
33142         (bug-regex22-ENV): Likewise.
33143         (bug-regex23-ENV): Likewise.
33144         (bug-regex25-ENV): Likewise.
33145         (bug-regex26-ENV): Likewise.
33146         (bug-regex30-ENV): Likewise.
33147         (bug-regex32-ENV): Likewise.
33148         (bug-regex33-ENV): Likewise.
33149         (bug-regex34-ENV): Likewise.
33150         (bug-regex35-ENV): Likewise.
33151         (tst-rxspencer-ENV): Likewise.
33152         (tst-rxspencer-no-utf8-ENV): Likewise.
33153         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33154         (tst-sscanf-ENV): Likewise.
33155         (tst-swprintf-ENV): Likewise.
33156         (tst-swscanf-ENV): Likewise.
33157         (test-vfprintf-ENV): Likewise.
33158         (scanf13-ENV): Likewise.
33159         (bug14-ENV): Likewise.
33160         (tst-grouping-ENV): Likewise.
33161         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33162         (tst-strtod3-ENV): Likewise.
33163         (tst-strtod4-ENV): Likewise.
33164         (tst-strtod5-ENV): Likewise.
33165         (testmb2-ENV): Likewise./
33166         * string/Makefile (tst-strxfrm-ENV): Likewise.
33167         (tst-strxfrm2-ENV): Likewise.
33168         (bug-strcoll1-ENV): Likewise.
33169         (test-strcasecmp-ENV): Likewise.
33170         (test-strncasecmp-ENV): Likewise.
33171         * time/Makefile (tst-strptime-ENV): Likewise.
33172         (tst-ftime_l-ENV): Likewise.
33173         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33174         (tst-mbrtowc-ENV): Likewise.
33175         (tst-wcrtomb-ENV): Likewise.
33176         (tst-mbrtowc2-ENV): Likewise.
33177         (tst-c16c32-1-ENV): Likewise.
33178         (tst-mbsnrtowcs-ENV): Likewise.
33180 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33182         * manual/resource.texi (How to get information about the memory
33183         subsystem?): Fix typo.
33184         Reported by Peon de la Parra Ivan <peon@keba.com>
33186 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33188         [BZ #16882]
33189         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33190         (pthread_spin_lock): Branch out of spin loop to proper location.
33191         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33192         (pthread_spin_lock): Likewise.
33194         * nptl/tst-spin4.c: New test.
33195         * nptl/Makefile (tests): Add tst-spin4.
33197 2014-06-03  Andreas Schwab  <schwab@suse.de>
33199         [BZ #15946]
33200         * resolv/res_send.c (send_dg): Reload file descriptor after
33201         calling reopen.
33203 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33205         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33207 2014-06-03  Richard Henderson  <rth@redhat.com>
33209         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33210         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33211         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33212         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33213         in the SAVE_PID block.
33214         (__libc_vfork): New alias.
33215         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33217         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33218         child in registers, not on the stack.  Remove RESET_PID conditionals.
33219         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33221 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33223         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33225 2014-06-03  Wilco  <wdijkstr@arm.com>
33227         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33228         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33229         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33230         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33231         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33232         Likewise.
33234 2014-06-03  Wilco  <wdijkstr@arm.com>
33236         * sysdeps/aarch64/fpu/math_private.h
33237         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33238         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33239         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33240         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33241         Fix declarations.
33243 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33245         * crypt/crypt-private.h: Include ufc-crypt.h.
33246         (__b64_from_24bit): Declare extern.
33247         * crypt/crypt_util.c(__b64_from_24bit): New function.
33248         (b64t): New static const variable.
33249         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33250         (b64t): Remove variable.
33251         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33252         * crypt/sha256-crypt.c: Include crypt-private.h.
33253         (b64t): Remove variable.
33254         (__sha256_crypt_r): Remove b64_from_24bit and replace
33255         with __b64_from_24bit.
33256         * crypt/sha512-crypt.c: Likewise.
33258 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33260         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33261         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33262         Label the code __libc_vfork rather than __vfork.
33263         [!NOT_IN_libc] (vfork): Define as weak alias.
33264         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33265         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33266         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33268 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33270         * malloc/malloc.c (malloc_info): Fix format specifier for
33271         n_mmaps.
33273 2014-06-02  Wilco  <wdijkstr@arm.com>
33275         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33276         FPCR write.
33278 2014-06-02  Wilco  <wdijkstr@arm.com>
33280         [BZ #17009]
33281         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33282         Rewrite to reduce FPCR/FPSR accesses.
33284 2014-06-01  David S. Miller  <davem@davemloft.net>
33286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33288 2014-05-31  David S. Miller  <davem@davemloft.net>
33290         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33291         to occur in round to nearest mode when |x| >= 2.0
33293 2014-05-30  Richard Henderson  <rth@twiddle.net>
33295         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33296         (PSEUDO_RET_NOERRNO): Remove.
33297         (ret): Don't redefine.
33298         (ret_NOERRNO): Define in terms of ret.
33299         (ret_ERRVAL): Likewise.
33301         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33302         use of PSEUDO_RET; perform the error check directly.
33304 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33306         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33307         with __int128_t.
33309 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33311         * malloc/malloc (malloc_info): Fix formatting.
33313 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33314             Roland McGrath  <roland@hack.frob.com>
33316         * malloc/malloc (malloc_info): Also print mmapped statistics.
33318 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33320         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33321         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33323 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33325         * malloc/malloc.c (malloc_info): Inline mi_arena.
33327 2014-05-29  Richard Henderson  <rth@twiddle.net>
33329         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33330         Remove comma before expanding ASM_ARGS_##nr.
33331         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33332         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33333         of ASM_ARGS_##nr.
33334         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33335         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33336         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33337         (ASM_ARGS_1): Add leading comma.
33339         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33340         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33341         to __errno_location.
33342         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33343         Remove the expected plt for __errno_location.
33345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33346         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33347         call to __read_tp.
33349         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33350         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33351         it and break it down.
33352         (DOCARGS_0, DOCARGS_1): Do nothing.
33353         (DOCARGS_2): Update to store into the new stack frame.
33354         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33355         (UNDOCARGS_1): Update to restore from the new stack frame.
33356         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33357         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33359         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33360         (SINGLE_THREAD_P): New parameter for result regno.
33361         (PSEUDO): Update to match; use cbz instead of beq.
33363         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33364         Use ENTRY to define the _nocancel entry point.  Share the syscall
33365         and syscall error check paths with the cancel path.
33366         (PSEUDO_END): New.
33368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33369         whitespace; tabs before and after asm mnemonics.
33371 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33373         [BZ #15132]
33374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33375         Call fstat64 or stat64 internally, depending on arguments passed.
33376         Replace stat buffer argument with file descriptor argument.
33377         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33378         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33379         Pass fd to __internal_statvfs instead of calling fstat64.
33380         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33381         Pass fd to __internal_statvfs64 instead of calling fstat64.
33382         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33383         Pass -1 to __internal_statvfs instead of calling stat64.
33384         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33385         Pass -1 to __internal_statvfs64 instead of calling stat64.
33387 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33389         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33390         that was previously under [RESET_PID].
33391         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33393         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33394         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33396 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33398         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33400         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33401         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33403 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33405         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33407 2014-05-27  Andreas Schwab  <schwab@suse.de>
33409         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33410         TLS_INIT_TP macro.
33411         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33412         * elf/rtld.c (init_tls, dl_main): Likewise.
33413         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33414         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33415         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33416         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33417         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33418         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33419         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33420         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33421         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33422         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33423         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33424         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33425         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33426         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33427         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33428         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33429         * sysdeps/generic/tls.h: Update description.
33431 2014-05-27  Will Newton  <will.newton@linaro.org>
33433         [BZ #16990]
33434         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33435         and restore r2 rather than just restoring.
33437 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33439         [BZ #16724]
33440         * libio/tst-ftell-append.c: New test case.
33441         * libio/Makefile (tests): Add test case.
33442         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33443         append mode.
33444         * libio/wfileops.c (do_ftell_wide): Likewise.
33446 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33450         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33451         ...
33452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33454         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33455         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33456         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33457         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33458         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33459         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33461         Moved ...
33462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33464         Moved ...
33465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33467         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33468         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33469         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33470         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33471         ...
33472         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33473         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33474         Moved ...
33475         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33476         here.
33477         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33478         ...
33479         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33480         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33481         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33483         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33484         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33486         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33489         merge into ...
33490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33491         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33492         ...
33493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33495         ...
33496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33498         Moved ...
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33500         here.
33501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33502         Moved ...
33503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33504         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33505         Moved ...
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33509         conditional [RESET_PID].
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33512         removed.
33513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33514         removed.
33516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33517         <tcb-offsets.h>.
33518         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33519         (__libc_vfork): New strong alias.
33520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33521         removed.
33522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33523         Removed.
33525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33526         <tcb-offsets.h>.
33527         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33528         (__libc_vfork): New strong alias.
33529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33530         removed.
33531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33532         removed.
33534 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33536         * malloc/malloc.c (mi_arena): New function.
33537         (malloc_info): Remove nested function mi_arena. Call non-nosted
33538         function mi_arena.
33540 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33542         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33543         by insrwi.
33544         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33545         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33546         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33547         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33548         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33549         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33550         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33552 2014-05-26  Andreas Schwab  <schwab@suse.de>
33554         [BZ #16984]
33555         * locale/programs/repertoire.c (repertoire_read): Add slash
33556         between I18NPATH element and file name.
33557         * locale/programs/locfile.c (locfile_read): Likewise.
33559 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33561         * nptl/pthread_mutexattr_settype.c
33562         (__pthread_mutexattr_settype):
33563         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33565 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33567         * nptl/tst-mutex5 (do_test):
33568         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33570 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33572         * benchtests/README: Document 'init' directive.
33573         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33574         BENCH_INIT.
33575         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33576         (parse_file): Recognize 'init' directive.
33578 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33580         [BZ #16796]
33581         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33582         alignment of struct pthread.
33584 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33586         [BZ #16878]
33587         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33588         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33589         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33590         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33592 2014-05-25  Richard Henderson  <rth@twiddle.net>
33594         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33595         (SINGLE_THREAD_P_PIC): Remove.
33596         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33597         (SINGLE_THREAD_P_PIC): Remove.
33599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33600         branch to syscall error ...
33601         (PSEUDO): ... here.
33602         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33603         from __local_syscall_error to .Lsyscall_error.
33604         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33605         (SYSCALL_ERROR): Update label name.
33607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33608         Do not use DOARGS/UNDOARGS.
33609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33610         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33611         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33612         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33613         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33616         block comment.
33618         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33619         define if !NOT_IN_libc.
33620         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33621         define with non-default symbol versions.
33623 2014-05-23  Richard Henderson  <rth@twiddle.net>
33625         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33626         (vfork, __vfork): Define via compat_symbol.
33628         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33629         [!HAVE_IFUNC] (vfork_compat): Remove.
33630         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33632 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33634         [BZ #16978]
33635         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33636         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33637         variable.
33639 2014-05-23  Richard Henderson  <rth@twiddle.net>
33641         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33642         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33643         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33644         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33646         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33647         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33648         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33649         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33650         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33651         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33653         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33654         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33655         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33656         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33657         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33658         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33659         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33660         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33661         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33662         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33663         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33664         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33665         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33666         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33667         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33668         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33669         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33670         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33671         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33672         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33673         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33674         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33675         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33676         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33677         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33678         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33679         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33680         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33681         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33682         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33683         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33684         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33685         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33686         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33687         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33688         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33689         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33690         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33691         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33693         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33695         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33697         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33699         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33701         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33703         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33704         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33705         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33706         before exiting on error.
33707         (__libc_vfork): New strong alias.
33708         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33709         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33711         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33712         that was previously under [RESET_PID].
33713         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33715         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33717 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33719         [BZ #16977]
33720         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33721         value when x - 1 is zero.
33722         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33723         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33724         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33725         0.0L for an argument of 1.0L.
33726         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33727         Likewise.
33728         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33729         value when x - 1 is zero.
33730         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33731         * sysdeps/i386/fpu/libm-test-ulps: Update.
33732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33734 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33736         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33737         alphasort and versionsort.
33739 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33741         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33742         macro.
33743         [copysignf]: Likewise.
33745 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33747         * crypt/md5-crypt.c: Fix formatting.
33749 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33751         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33752         (b64_from_24bit): New function.
33754 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33756         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33757         libc_hidden_builtin_def to ifunc.
33758         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33759         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33761 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33763         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33764         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33766 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33768         * nscd/Depend (linuxthreads): Remove.
33769         (nptl): Add.
33770         * resolv/Depend (linuxthreads): Remove.
33771         * rt/Depend (linuxthreads): Remove.
33773         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33774         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33775         $(common-objpfx)elf/.
33776         (link-libc-before-gnulib): Likewise.
33777         (elfobjdir): Remove variable.
33778         * Makefile (install): Use $(elf-objpfx) instead of
33779         $(common-objpfx)elf/.
33780         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33781         $(elfobjdir)/.
33782         (link-libc-deps): Likewise.
33783         ($(common-objpfx)libc.so): Likewise.
33784         ($(common-objpfx)linkobj/libc.so): Likewise.
33785         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33786         instead of $(common-objpfx)elf/.
33787         (symbolic-link-list): Likewise.
33788         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33789         [$(cross-compiling) = no]: Likewise.
33790         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33791         $(elfobjdir)/.
33792         (static-gnulib-arch): Likewise.
33793         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33794         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33795         $(common-objpfx)elf/.
33797 2014-05-21  Richard Henderson  <rth@redhat.com>
33799         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33800         (SINGLE_THREAD_P): Use the correct width load.  Fold
33801         into the ldr offset.
33803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33804         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33806 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33808         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33809         (libgcc_s_resume): Use __attribute_used__.
33810         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33811         Likewise.
33813 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33815         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33816         optimization when used with float constants.
33818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33820 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33822         [BZ #16915]
33823         * locale/nl_langinfo_l.c: Make direct reference to every
33824         _nl_current_CATEGORY symbol.
33825         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33826         (tests-static): Add tst-langinfo-static.
33827         (tests-special): Add tst-langinfo-static.out.
33828         ($(objpfx)tst-langinfo.out): Redirect output.
33829         ($(objpfx)tst-langinfo-static.out): New.
33830         * localedata/tst-langinfo.sh: Send output to stdout.
33831         * localedata/tst-langinfo-static.c: New file.
33833         [BZ #16965]
33834         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33835         when the shift amount is modulo the limb size.
33837 2014-05-20  Richard Henderson  <rth@redhat.com>
33839         [BZ #16967]
33840         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33841         Change type of sa_flags from unsigned int to int.
33843         [BZ #16966]
33844         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33846         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33848 2014-05-20  Will Newton  <will.newton@linaro.org>
33850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33851         Test the return value of the system call in the nocancel case.
33853 2014-05-20  Will Newton  <will.newton@linaro.org>
33854             Yvan Roux  <yvan.roux@linaro.org>
33856         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33857         #include of asm/ptrace.h.
33858         (PTRACE_GET_THREAD_AREA): Remove #undef.
33859         (PTRACE_GETHBPREGS): Likewise.
33860         (PTRACE_SETHBPREGS): Likewise.
33861         (struct user_regs_struct): New structure.
33862         (struct user_fpsimd_struct): New structure.
33863         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33864         #include of asm/ptrace.h and second #include of sys/user.h.
33865         (PTRACE_GET_THREAD_AREA): Remove #undef.
33866         (PTRACE_GETHBPREGS): Likewise.
33867         (PTRACE_SETHBPREGS): Likewise.
33868         (ELF_NGREG): Use new struct user_regs_struct.
33869         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33871 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33874         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33876 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33878         [BZ #16958]
33879         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33880         membar to avoid block loads/stores to overlap previous stores.
33882 2014-05-17  Richard Henderson  <rth@redhat.com>
33884         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33885         Create the __##syscall_name##_nocancel entry point.
33886         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33887         Remove; let the sysdep-cancel.h code create it.
33889 2014-05-17  David S. Miller  <davem@davemloft.net>
33891         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33892         Protect with __USE_GNU.
33893         (TIOCSET_TEMPT): Likewise.
33894         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33895         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33896         these are already provided in bits/ioctl-types.h
33898 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33900         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33901         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33903         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33904         Use wait4 regardless of [__NR_waitpid].
33906 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33908         PR libgcc/60166
33909         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33910         (_FP_NANSIGN_Q): Set the quiet bit.
33912 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33914         * benchtests/Makefile
33915         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33916         not $(common-objpfx)math/libm.so.
33917         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33918         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33919         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33920         $(common-objpfx)dlfcn/libdl.so.
33921         ($(objpfx)tst-audit8): Depend on $(libm), not
33922         $(common-objpfx)math/libm.so.
33923         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33924         not $(common-objpfx)dlfcn/libdl.so.
33925         * math/Makefile
33926         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33927         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33928         [$(build-shared) = yes].
33929         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33930         $(common-objpfx)nptl/libpthread.so.
33931         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33932         $(common-objpfx)math/libm.so$(libm.so-version) or
33933         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33934         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33935         $(common-objpfx)dlfcn/libdl.so.
33936         * setjmp/Makefile (link-libm): Remove variable.
33937         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33938         * stdio-common/Makefile (link-libm): Remove variable.
33939         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33940         * stdlib/Makefile (link-libm): Remove variable.
33941         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33942         ($(objpfx)tst-strtod-round): Likewise.
33943         ($(objpfx)tst-tininess): Likewise.
33944         ($(objpfx)tst-strtod-underflow): Likewise.
33945         ($(objpfx)tst-strtod6): Likewise.
33946         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33947         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33948         $(common-objpfx)dlfcn/libdl.so.
33950 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33952         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33953         BSD terminal modes definitions.
33955 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33957         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33958         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33960         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33961         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33962         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33963         Don't do #include_next.
33964         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33965         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33966         Don't do #include_next.
33967         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33968         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33969         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33970         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33972 2014-05-16  Allan McRae  <allan@archlinux.org>
33974         * po/sv.po: Update Swedish translation from translation project.
33976         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33977         in sed expression.
33979 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33981         [BZ #16917]
33982         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33983         errno if the TIOCGPTN ioctl fails with an error different than
33984         EINVAL.
33985         * login/tst-ptsname.c: New file.
33986         * login/Makefile (tests): Add tst-ptsname.
33988         [BZ #16943]
33989         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33990         and prlimit64.
33992 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33994         [BZ #16849]
33995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33996         herrno to return EAI_AGAIN.
33998 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34000         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34001         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34002         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34009         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34010         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34011         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34012         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34015         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34017         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34018         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34019         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34020         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34021         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34022         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34023         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34024         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34025         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34026         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34027         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34028         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34029         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34031         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34033         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34035         Moved ...
34036         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34038         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34040         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34042         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34044         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34046         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34048         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34050         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34054         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34056         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34058         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34060         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34062         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34064         Moved ...
34065         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34067         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34069         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34071         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34073         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34075         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34077         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34079         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34081         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34083         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34085         Moved ...
34086         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34088         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34090         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34091         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34092         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34093         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34094         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34096         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34097         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34098         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34099         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34100         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34102         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34104         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34106         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34107         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34108         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34109         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34110         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34112         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34115         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34116         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34117         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34118         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34119         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34120         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34122         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34123         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34125         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34126         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34127         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34128         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34129         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34131         Moved ...
34132         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34134         Moved ...
34135         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34136         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34137         Moved ...
34138         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34139         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34140         Moved ...
34141         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34142         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34143         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34144         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34148         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34150         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34151         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34152         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34154         Moved ...
34155         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34156         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34157         Moved ...
34158         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34159         ... here.
34160         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34161         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34163         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34165         Moved ...
34166         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34167         ... here.
34168         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34169         Moved ...
34170         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34171         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34172         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34173         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34174         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34176         Moved ...
34177         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34179         Moved ...
34180         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34181         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34182         Moved ...
34183         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34184         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34185         Moved ...
34186         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34187         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34188         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34189         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34190         Moved ...
34191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34192         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34193         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34195         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34196         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34197         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34199         Moved ...
34200         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34201         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34202         Moved ...
34203         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34204         ... here.
34205         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34206         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34208         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34210         Moved ...
34211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34212         ... here.
34213         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34214         Moved ...
34215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34216         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34217         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34218         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34219         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34220         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34221         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34222         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34223         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34224         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34225         Moved ...
34226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34228         Moved ...
34229         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34231         Moved ...
34232         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34233         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34234         Moved ...
34235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34236         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34237         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34238         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34239         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34240         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34241         Moved ...
34242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34243         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34244         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34246         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34247         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34248         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34249         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34250         Moved ...
34251         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34252         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34253         Moved ...
34254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34255         ... here.
34256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34257         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34258         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34259         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34261         Moved ...
34262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34263         ... here.
34264         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34265         Moved ...
34266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34267         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34268         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34269         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34270         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34271         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34272         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34273         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34274         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34275         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34276         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34278         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34279         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34281         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34282         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34284         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34285         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34286         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34287         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34288         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34289         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34290         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34291         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34292         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34293         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34294         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34295         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34297         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34298         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34300         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34301         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34302         Moved ...
34303         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34305         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34307         Moved ...
34308         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34312         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34313         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34316         Moved ...
34317         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34319         Moved ...
34320         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34324         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34326         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34328         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34329         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34330         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34331         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34332         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34333         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34334         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34335         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34336         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34339         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34340         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34341         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34342         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34344         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34345         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34346         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34347         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34348         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34349         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34350         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34351         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34352         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34353         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34358         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34359         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34360         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34361         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34363         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34365         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34366         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34367         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34368         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34369         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34370         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34371         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34373         Update #include.
34374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34375         Likewise.
34376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34377         Likewise.
34378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34379         Likewise.
34380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34381         Likewise.
34382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34383         Likewise.
34384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34385         Likewise.
34386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34387         Likewise.
34388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34389         Likewise.
34390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34391         Likewise.
34392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34401         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34406         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34408         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34409         that was previously under [RESET_PID].
34410         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34411         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34412         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34414         * sysdeps/i386/nptl/Implies: New file.
34415         * sysdeps/x86_64/nptl/Implies: New file.
34416         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34417         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34418         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34419         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34421         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34422         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34423         (__libc_vfork): New strong alias.
34424         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34425         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34427         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34428         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34429         (__libc_vfork): New strong alias.
34430         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34431         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34433         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34434         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34435         (__libc_vfork): New strong alias.
34436         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34437         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34438         * nptl/pt-vfork.c: New file.
34439         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34440         (libpthread: GLIBC_2.20): New version set (empty).
34442 2014-05-14  Will Newton  <will.newton@linaro.org>
34444         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34445         rather than #if.
34447 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34449         [BZ #16564]
34450         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34451         arguments with exponent 65 or above.
34452         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34453         arguments 0x1p113L or above.
34454         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34455         to arguments 0x1p107L or above.
34456         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34457         positive arguments with exponent 65 or above.
34458         * math/auto-libm-test-in: Add more tests of log1p.
34459         * math/auto-libm-test-out: Regenerated.
34461         [BZ #16928]
34462         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34463         non-finite arguments is +0.
34464         * math/s_cacosf.c (__cacosf): Likewise.
34465         * math/s_cacosl.c (__cacosl): Likewise.
34466         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34467         * sysdeps/i386/fpu/libm-test-ulps: Update.
34468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34470         [BZ #16927]
34471         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34472         value.
34473         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34474         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34475         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34476         for explicit high bit of mantissa when testing for argument equal
34477         to 1.
34478         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34479         * sysdeps/i386/fpu/libm-test-ulps: Update.
34480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34482         [BZ #16516]
34483         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34484         (__erf): Scale by 16 instead of 8 in potentially underflowing
34485         case.  Ensure exception if result actually underflows.
34486         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34487         (__erff): Scale by 16 instead of 8 in potentially underflowing
34488         case.  Ensure exception if result actually underflows.
34489         * sysdeps/ieee754/ldbl-128/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-128ibm/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         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34498         (efx8): Remove variable.
34499         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34500         case.  Ensure exception if result actually underflows.
34501         * math/auto-libm-test-in: Add more tests of erf.
34502         * math/auto-libm-test-out: Regenerated.
34504 2014-05-14  Andreas Schwab  <schwab@suse.de>
34506         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34507         Remove code conditionalized on USE___THREAD.
34509         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34510         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34511         not definedness.
34513 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34516         Define unconditionally.
34517         (__ASSUME_O_CLOEXEC): Likewise.
34518         (__ASSUME_SOCK_CLOEXEC): Likewise.
34519         (__ASSUME_IN_NONBLOCK): Likewise.
34520         (__ASSUME_PIPE2): Likewise.
34521         (__ASSUME_EVENTFD2): Likewise.
34522         (__ASSUME_SIGNALFD4): Likewise.
34523         (__ASSUME_DUP3): Likewise.
34524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34525         (__ASSUME_DUP3): Do not define.
34526         (__ASSUME_EVENTFD2): Likewise.
34527         (__ASSUME_IN_NONBLOCK): Likewise.
34528         (__ASSUME_O_CLOEXEC): Likewise.
34529         (__ASSUME_PIPE2): Likewise.
34530         (__ASSUME_SIGNALFD4): Likewise.
34531         (__ASSUME_SOCK_CLOEXEC): Likewise.
34532         (__ASSUME_UTIMES): Undefine.
34533         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34534         (__ASSUME_UTIMES): Do not define.
34535         (__ASSUME_O_CLOEXEC): Likewise.
34536         (__ASSUME_SOCK_CLOEXEC): Likewise.
34537         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34538         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34539         0x020621].
34540         (__ASSUME_PIPE2): Likewise.
34541         (__ASSUME_EVENTFD2): Likewise.
34542         (__ASSUME_SIGNALFD4): Likewise.
34543         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34544         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34545         Do not define.
34546         (__ASSUME_EVENTFD2): Likewise.
34547         (__ASSUME_SIGNALFD4): Likewise.
34548         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34549         (__ASSUME_32BITUIDS): Likewise.
34550         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34551         (__ASSUME_IPC64): Likewise.
34552         (__ASSUME_ST_INO_64_BIT): Likewise.
34553         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34554         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34555         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34556         (__ASSUME_UTIMES): Do not define.
34557         (__ASSUME_PSELECT): Likewise.
34558         (__ASSUME_PPOLL): Likewise.
34559         (__ASSUME_O_CLOEXEC): Likewise.
34560         (__ASSUME_SOCK_CLOEXEC): Likewise.
34561         (__ASSUME_IN_NONBLOCK): Likewise.
34562         (__ASSUME_PIPE2): Likewise.
34563         (__ASSUME_EVENTFD2): Likewise.
34564         (__ASSUME_SIGNALFD4): Likewise.
34565         (__ASSUME_DUP3): Likewise.
34566         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34567         (__ASSUME_UTIMES): Likewise.
34568         (__ASSUME_O_CLOEXEC): Likewise.
34569         (__ASSUME_SOCK_CLOEXEC): Likewise.
34570         (__ASSUME_IN_NONBLOCK): Likewise.
34571         (__ASSUME_PIPE2): Likewise.
34572         (__ASSUME_EVENTFD2): Likewise.
34573         (__ASSUME_SIGNALFD4): Likewise.
34574         (__ASSUME_DUP3): Likewise.
34575         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34576         (__ASSUME_UTIMES): Likewise.
34577         (__ASSUME_O_CLOEXEC): Likewise.
34578         (__ASSUME_SOCK_CLOEXEC): Likewise.
34579         (__ASSUME_IN_NONBLOCK): Likewise.
34580         (__ASSUME_PIPE2): Likewise.
34581         (__ASSUME_EVENTFD2): Likewise.
34582         (__ASSUME_SIGNALFD4): Likewise.
34583         (__ASSUME_DUP3): Likewise.
34584         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34585         Likewise.
34586         (__ASSUME_UTIMES): Likewise.
34587         (__ASSUME_EVENTFD2): Likewise.
34588         (__ASSUME_SIGNALFD4): Likewise.
34589         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34590         (__ASSUME_O_CLOEXEC): Likewise.
34591         (__ASSUME_SOCK_CLOEXEC): Likewise.
34592         (__ASSUME_IN_NONBLOCK): Likewise.
34593         (__ASSUME_PIPE2): Likewise.
34594         (__ASSUME_EVENTFD2): Likewise.
34595         (__ASSUME_SIGNALFD4): Likewise.
34596         (__ASSUME_DUP3): Likewise.
34597         (__ASSUME_UTIMES): Undefine.
34599         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34600         feclearexcept.  Remove symbol versioning code.
34601         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34602         symbol versioning code.
34603         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34604         symbol versioning code.
34605         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34606         feupdateenv.  Remove symbol versioning code.
34607         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34608         fegetexceptflag.  Remove symbol versioning code.
34609         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34610         fesetexceptflag.  Remove symbol versioning code.
34611         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34612         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34613         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34614         (__posix_fadvise64_l32): Remove prototype.
34615         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34616         code.
34618 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34620         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34621         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34622         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34623         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34625 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34627         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34628         current working directory
34630 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34632         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34633         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34634         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34635         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34636         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34637         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34638         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34640         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34641         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34642         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34643         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34645         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34646         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34647         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34648         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34649         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34650         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34651         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34652         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34653         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34654         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34655         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34656         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34657         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34658         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34659         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34660         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34661         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34662         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34663         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34664         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34665         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34666         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34667         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34668         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34669         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34670         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34671         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34672         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34673         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34675         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34676         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34678         * sysdeps/unix/sysv/linux/arm/Makefile
34679         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34680         Add rt-aeabi_unwind_cpp_pr1.
34681         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34682         Add nptl-aeabi_unwind_cpp_pr1.
34683         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34684         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34685         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34686         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34687         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34688         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34690         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34691         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34692         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34693         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34695         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34696         Deconditionalize the code that was previously under [RESET_PID].
34697         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34699         * sysdeps/generic/exit-thread.h: New file.
34700         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34701         * include/unistd.h (__exit_thread): Remove declaration.
34702         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34703         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34704         * csu/libc-start.c: Include <exit-thread.h>.
34705         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34706         * nptl/pthread_create.c: Include <exit-thread.h>.
34707         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34708         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34709         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34710         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34711         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34712         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34713         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34714         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34715         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34716         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34717         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34718         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34719         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34720         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34721         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34722         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34723         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34725 2014-05-13  Andreas Schwab  <schwab@suse.de>
34727         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34729 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34731         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34732         (__ASSUME_UTIMES): Do not condition on kernel version.
34733         (__ASSUME_PSELECT): Define unconditionally.
34734         (__ASSUME_PPOLL): Likewise.
34735         (__ASSUME_ATFCTS): Likewise.
34736         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34737         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34738         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34739         (__ASSUME_UTIMENSAT): Define unconditionally.
34740         (__ASSUME_PRIVATE_FUTEX): Likewise.
34741         (__ASSUME_FALLOCATE): Likewise.
34742         (__ASSUME_O_CLOEXEC): Likewise.
34743         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34744         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34745         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34746         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34747         (__ASSUME_IN_NONBLOCK): Likewise.
34748         (__ASSUME_PIPE2): Likewise.
34749         (__ASSUME_EVENTFD2): Likewise.
34750         (__ASSUME_SIGNALFD4): Likewise.
34751         (__ASSUME_DUP3): Likewise.
34752         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34753         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34754         (__ASSUME_AT_RANDOM): Likewise.
34755         (__ASSUME_PREADV): Likewise.
34756         (__ASSUME_PWRITEV): Likewise.
34757         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34758         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34759         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34760         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34761         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34762         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34763         (__ASSUME_O_CLOEXEC): Define unconditionally.
34764         (__ASSUME_PSELECT): Do not undefine conditionally.
34765         (__ASSUME_PPOLL): Likewise.
34766         (__ASSUME_ATFCTS): Likewise.
34767         (__ASSUME_SET_ROBUST_LIST): Likewise.
34768         (__ASSUME_UTIMENSAT): Likewise.
34769         (__ASSUME_FDATASYNC): Define unconditionally.
34770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34771         (__ASSUME_SIGFRAME_V2): Likewise.
34772         )__ASSUME_EVENTFD2): Likewise.
34773         (__ASSUME_SIGNALFD4): Likewise.
34774         (__ASSUME_PSELECT): Do not undefine conditionally.
34775         (__ASSUME_PPOLL): Likewise.
34776         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34777         (__ASSUME_PSELECT): Define unconditionally.
34778         (__ASSUME_PPOLL): Likewise.
34779         (__ASSUME_O_CLOEXEC): Likewise.
34780         (__ASSUME_SOCK_CLOEXEC): Likewise.
34781         (__ASSUME_IN_NONBLOCK): Likewise.
34782         (__ASSUME_PIPE2): Likewise.
34783         (__ASSUME_EVENTFD2): Likewise.
34784         (__ASSUME_SIGNALFD4): Likewise.
34785         (__ASSUME_DUP3): Likewise.
34786         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34787         (__ASSUME_O_CLOEXEC): Likewise.
34788         (__ASSUME_SOCK_CLOEXEC): Likewise.
34789         (__ASSUME_IN_NONBLOCK): Likewise.
34790         (__ASSUME_PIPE2): Likewise.
34791         (__ASSUME_EVENTFD2): Likewise.
34792         (__ASSUME_SIGNALFD4): Likewise.
34793         (__ASSUME_DUP3): Likewise.
34794         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34795         (__ASSUME_EVENTFD2): Likewise.
34796         (__ASSUME_SIGNALFD4): Likewise.
34797         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34799 2014-05-12  Andreas Schwab  <schwab@suse.de>
34801         [BZ #16932]
34802         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34803         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34804         than maximum RPC packet size.
34805         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34806         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34807         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34808         (_nss_nis_getservbyport_r): Likewise.
34810 2014-05-12  Will Newton  <will.newton@linaro.org>
34812         * malloc/Makefile (tests): Add tst-mallopt.
34813         * malloc/tst-mallopt.c: New file.
34815 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34817         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34818         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34820 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34823         (tst-tlsmod6.so): Likewise.
34825 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34827         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34829 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34831         [BZ #16064]
34832         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34833         and <dl-procinfo.h>.
34834         (__fegetenv): Save SSE state in envp->__eip if supported.
34835         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34836         envp->__eip if supported.
34837         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34838         and <dl-procinfo.h>.
34839         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34840         __data_offset and __data_selector in environment to 0.  Set SSE
34841         state if supported.
34842         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34843         test-fenv-sse.
34844         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34845         -mfpmath=sse.
34846         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34848 2014-05-09  Will Newton  <will.newton@linaro.org>
34850         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34851         and libc_relro_required for ARM.
34852         * sysdeps/arm/preconfigure: Regenerate.
34854 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34855             Stefan Liebler  <stli@linux.vnet.ibm.com>
34857         * config.make.in (enable-lock-elision): New Makefile variable.
34858         * configure.ac: Likewise.
34859         * configure: Regenerate.
34860         * sysdeps/s390/configure.ac:
34861         Add check for gcc transactions support.
34862         * sysdeps/s390/configure: Regenerate.
34863         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34864         Build elision files if enabled.
34865         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34866         Add lock elision support for s390.
34867         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34868         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34869         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34870         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34871         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34872         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34874         Likewise.
34875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34876         Likewise.
34877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34878         Likewise.
34879         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34880         Likewise.
34881         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34882         (__lll_timedlock_elision, __lll_lock_elision)
34883         (__lll_unlock_elision, __lll_trylock_elision)
34884         (lll_timedlock_elision, lll_lock_elision)
34885         (lll_unlock_elision, lll_trylock_elision): Add.
34886         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34887         (pthread_mutex_t): Add lock elision support for s390.
34889 2014-05-14  Wilco  <wdijkstr@arm.com>
34891         * sysdeps/arm/fclrexcpt.c: Cleanup.
34892         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34893         * sysdeps/arm/feenablxcpt.c: Cleanup.
34894         * sysdeps/arm/fegetenv.c: Cleanup.
34895         * sysdeps/arm/fegetexcept.c: Cleanup.
34896         * sysdeps/arm/fegetround.c: Cleanup.
34897         * sysdeps/arm/feholdexcpt.c: Cleanup.
34898         * sysdeps/arm/fesetenv.c: Cleanup.
34899         * sysdeps/arm/fesetround.c: Cleanup.
34900         * sysdeps/arm/feupdateenv.c: Cleanup.
34901         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34902         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34903         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34904         * sysdeps/arm/ftestexcept.c: Cleanup.
34905         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34906         * sysdeps/arm/setfpucw.c: Cleanup.
34908 2014-05-09  Will Newton  <will.newton@linaro.org>
34910         * sysdeps/arm/armv7/strcmp.S: New file.
34911         * NEWS: Mention addition of ARMv7 optimized strcmp.
34913 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34915         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34916         look for %.ac rather than %.in.
34918         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34919         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34920         * sysdeps/mach/hurd/configure: Regenerated.
34921         * sysdeps/unix/sysv/linux/configure: Regenerated.
34923         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34925 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34927         [BZ# 16922]
34928         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34929         (LONG_SUB): Ditto.
34930         (PTR_SUB): Ditto.
34932 2014-05-07  Andreas Schwab  <schwab@suse.de>
34934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34935         when skipping over non-matching result from nscd.
34937 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34939         [BZ #16876]
34940         * nptl/sockperf.c (client): Check socket return value.
34942         [BZ #16877]
34943         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34944         nscd security class.
34946 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34948         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34949         * sysdeps/arm/unwind.h: ... here.
34951 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34953         [BZ# 16916]
34954         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34955         Define.
34957 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34959         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34960         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34961         multiarch strncpy for PPC64.
34962         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34963         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34965         multiarch optimizations.
34966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34967         (__libc_ifunc_impl_list): Likewise.
34968         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34969         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34970         multiarch stpncpy for PPC64.
34971         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34972         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34974 2014-05-06  Andreas Schwab  <schwab@suse.de>
34976         [BZ #16912]
34977         * gmon/mcount.c (_MCOUNT_DECL): Use
34978         atomic_compare_and_exchange_bool_acq instead of
34979         catomic_compare_and_exchange_bool_acq.
34981 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34983         * elf/Makefile (others, install-bin): Remove pldd.
34984         (pldd-modules): Variable removed.
34985         ($(objpfx)pldd): Target removed.
34986         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34987         (others, install-bin): Append pldd here.
34988         ($(objpfx)pldd): New target.
34990         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34991         to 0, so the first #if test emitted later doesn't see it undefined.
34992         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34993         * sysdeps/gnu/errlist.c: Regenerated.
34995 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34998         [libc_hidden_builtin_def]: Define to empty value.
34999         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35000         [libc_hidden_builtin_def]: Likewise.
35001         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35002         [libc_hidden_builtin_def]: Likewise.
35003         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35004         [libc_hidden_builtin_def]: Likewise.
35005         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35006         __redirect_memcpy and define ifunc as default hidden symbol.
35007         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35008         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35010 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35012         * locale/iso-4217.def: Reintroduce XDR currency.
35014 2014-05-04  Allan McRae  <allan@archlinux.org>
35016         * po/eo.po: Update Esperanto translation from translation project.
35018 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35020         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35021         and FEATURE_INDEX_MAX to 1.
35022         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35024 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35026         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35027         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35028         * iconvdata/big5.c (ONE_DIRECTION): Define.
35029         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35030         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35031         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35032         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35033         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35034         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35035         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35036         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35037         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35038         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35039         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35040         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35041         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35042         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35043         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35044         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35045         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35046         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35047         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35048         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35049         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35050         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35051         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35052         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35053         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35054         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35055         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35056         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35057         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35058         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35059         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35060         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35061         * iconvdata/johab.c (ONE_DIRECTION): Define.
35062         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35063         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35064         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35065         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35066         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35067         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35068         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35069         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35070         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35071         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35073 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35075         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35076         (_IO_JUMPS_OFFSET): Define to 0.
35078         * nptl/sysdeps/pthread/bits/libc-lock.h
35079         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35080         (__libc_lock_define_initialized_recursive): Always define using
35081         initializer.  Modern compilers treat uninitialized (implicit zero) and
35082         explicit zero initializers the same (i.e. put the datum in bss).
35084 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35086         * nscd/nscd-client.h: Include <string.h>.
35088 2014-05-01  David S. Miller  <davem@davemloft.net>
35090         [BZ #16885]
35091         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35092         multiple zero bytes exist at the end of a string.
35093         Reported by Aurelien Jarno <aurelien@aurel32.net>
35095         * string/test-strcmp.c (check): Add explicit test for situations where
35096         there are multiple zero bytes after the first.
35098 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35100         [BZ #16890]
35101         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35102         when compiling wprintf.
35103         * stdio-common/tstdiomisc.c (t3): New function.
35104         (main): Call it.
35106 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35108         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35109         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35110         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35111         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35113 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35115         * stdlib/longlong.h: Updated from GCC.
35117 2014-05-01  Will Newton  <will.newton@linaro.org>
35118             Bernard Ogden  <bernie.ogden@linaro.org>
35120         * NEWS: Update fixed bug list.
35122         [BZ #15119]
35123         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35125 2014-04-30  David S. Miller  <davem@davemloft.net>
35127         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35128         (libc_feholdexcept_setround_sparc_ctx): New function.
35129         (libc_fesetenv_sparc_ctx): Likewise.
35130         (libc_feupdateenv_sparc_ctx): Likewise.
35131         (libc_feholdsetround_sparc_ctx): Likewise.
35132         (libc_feholdexcept_setround_ctx): Define.
35133         (libc_feholdexcept_setroundf_ctx): Likewise.
35134         (libc_feholdexcept_setroundl_ctx): Likewise.
35135         (libc_fesetenv_ctx): Likewise.
35136         (libc_fesetenvf_ctx): Likewise.
35137         (libc_fesetenvl_ctx): Likewise.
35138         (libc_feupdateenv_ctx): Likewise.
35139         (libc_feupdateenvf_ctx): Likewise.
35140         (libc_feupdateenvl_ctx): Likewise.
35141         (libc_feresetround_ctx): Likewise.
35142         (libc_feresetroundf_ctx): Likewise.
35143         (libc_feresetroundl_ctx): Likewise.
35144         (libc_feholdsetround_ctx): Likewise.
35145         (libc_feholdsetroundf_ctx): Likewise.
35146         (libc_feholdsetroundl_ctx): Likewise.
35148         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35149         with __USE_GNU instead of XOPEN cpp guards.
35151         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35152         0.
35154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35155         with XOPEN cpp guards.
35157 2014-04-30  Julian Brown  <julian@codesourcery.com>
35159         [BZ #16888]
35160         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35161         handling.
35163 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35165         [BZ #9894]
35166         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35167         Change to 2.6.32.
35168         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35169         * sysdeps/unix/sysv/linux/configure: Regenerated.
35170         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35171         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35172         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35173         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35174         * README: Update reference to required Linux kernel version.
35175         * manual/install.texi (Linux): Update reference to required Linux
35176         kernel headers version.
35177         * INSTALL: Regenerated.
35179         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35180         header inclusion.
35181         [POSIX] (limits.h): Likewise.
35182         [POSIX] (math.h): Likewise.
35183         [POSIX] (sys/wait.h): Likewise.
35184         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35185         function.
35186         [POSIX] (stddef.h): Do not allow header inclusion.
35188 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35190         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35192 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35194         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35195         Return immediately after lll_futex_wake.
35197 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35199         [BZ #16791]
35200         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35201         structure.
35202         (datahead_init_pos): Call datahead_init_common early.
35203         (datahead_init_neg): Likewise.
35205         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35206         datahead_init_neg): New functions.
35207         * nscd/aicache.c (addhstaiX): Use them.
35208         * nscd/grpcache.c (cache_addgr): Likewise.
35209         * nscd/hstcache.c (cache_addhst): Likewise.
35210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35211         * nscd/netgroupcache.c (do_notfound): Likewise.
35212         (addgetnetgrentX): Likewise.
35213         (addinnetgrX): Likewise.
35214         * nscd/pwdcache.c (cache_addpw): Likewise.
35215         * nscd/servicescache.c (cache_addserv): Likewise.
35217 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35218             Atsushi Onoe  <atsushi@onoe.org>
35220         [BZ #14308]
35221         [BZ #12994]
35222         [BZ #13651]
35223         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35224         one response is valid.
35225         * resolv/res_send.c (send_dg): Check for validity of other
35226         response if the current response is a referral.
35228 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35230         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35232 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35234         [BZ #16823]
35235         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35236         Always divide by positive zero when computing -Inf result.
35237         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35238         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35240 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35242         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35243         FPSCR if value do not change.
35244         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35245         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35246         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35247         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35248         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35249         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35250         function.
35252 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35254         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35255         * sysdeps/unix/sysv/linux/hppa: Move directory from
35256         ports/systeps/unix/sysv/linux/hppa.
35257         * README: Update listing for hppa-*-linux-gnu.
35259 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35261         [BZ #16754]
35262         * manual/stdio.texi (Hook functions): Fix types of stream hook
35263         functions.
35264         [BZ #16854]
35265         * socket/sys/socket.h: Fix typo in comment.
35267 2014-04-28  Wilco  <wdijkstr@arm.com>
35269         * sysdeps/arm/fenv_private.h: New file.
35270         * sysdeps/arm/math_private.h: New file.
35271         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35273 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35275         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35276         with __int128_t.
35277         (La_x86_64_retval): Likewise.
35279 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35281         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35282         fpsr if value didn't change.
35283         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35284         to fpcr if value didn't change.
35285         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35286         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35287         fpsr or fpcr if value didn't change.
35288         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35289         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35290         fpcr if value didn't change.
35291         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35292         to fpsr if value didn't change.
35294 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35296         * nptl/tst-sem3.c: Use test-skeleton.c
35297         (main): Rename to do_test.  Use return instead of
35298         exit.
35299         * nptl/tst-sem4.c: Use test-skeleton.c
35300         (main): Rename to do_test.
35302 2014-04-22  David S. Miller  <davem@davemloft.net>
35304         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35305         (struct sigaction): New struct member __glibc_reserved0, change
35306         type of sa_flags to int.
35308 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35310         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35311         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35313 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35315         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35316         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35318 2014-04-22  Will Newton  <will.newton@linaro.org>
35319             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35321         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35322         (__longjmp): Add longjmp and longjmp_target SystemTap
35323         probes.
35324         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35325         (__sigsetjmp): Add setjmp SystemTap probe.
35327 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35329         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35330         match manual order.
35332 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35334         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35336         * sysdeps/powerpc/fpu/fenv_private.h
35337         (libc_feholdexcept_setroundl_ctx): Define to
35338         libc_feholdexcept_setround_ppc_ctx.
35339         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35340         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35341         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35342         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35344 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35346         * sysdeps/aarch64/math-tests.h: New file.
35348 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35350         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35351         New.
35352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35353         Check and set bit_AVX2_Usable.
35354         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35355         macro.
35356         (bit_AVX2): Likewise.
35357         (index_AVX2_Usable): Likewise.
35358         (CPUID_AVX2): Likewise.
35359         (HAS_AVX2): Likewise.
35361 2014-04-17  Will Newton  <will.newton@linaro.org>
35363         * manual/setjmp.texi (System V contexts): Add note that
35364         calling setcontext on a context created by a call to a
35365         signal handler is undefined.  Update text to note that
35366         setcontext from a signal handler is possible but not
35367         recommended.
35369         [BZ #16629]
35370         * stdlib/tst-setcontext.c: Include signal.h.
35371         (main): Check that the signal stack before and
35372         after swapcontext is the same.
35374         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35375         Re-implement to restore registers in user code and avoid
35376         rt_sigreturn system call.
35378 2014-04-17  Wilco  <wdijkstr@arm.com>
35380         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35381         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35382         * math/test-fenv.c: Skip exception trap tests on targets which only
35383         support non-stop mode.
35385 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35386             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35388         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35389         (libc_feholdsetround_aarch64_ctx)
35390         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35391         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35392         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35393         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35394         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35395         (libc_feresetround_noexl_ctx): Define.
35397 2014-04-16  Richard Henderson  <rth@redhat.com>
35399         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35401         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35402         unwind tables.
35404         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35405         const from the non-libc, non-ldso copy.
35407         * sysdeps/alpha/libm-test-ulps: Regenerate.
35409 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35410             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35412         * sysdeps/aarch64/fpu/math_private.h: New file.
35414 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35416         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35418 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35420         [BZ #16275]
35421         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35422         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35424         Intel MPX bound registers before _dl_profile_fixup.
35425         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35426         registers after _dl_profile_fixup.  Save and restore bound
35427         registers bnd0/bnd1 when calling _dl_call_pltexit.
35428         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35429         (LR_BND_OFFSET): Likewise.
35430         (LRV_BND0_OFFSET): Likewise.
35431         (LRV_BND1_OFFSET): Likewise.
35433 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35435         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35436         to...
35437         * sysdeps/mach/hurd/i386/tls.h: ... here.
35438         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35439         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35440         fields.
35442 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35444         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35446 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35448         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35450 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35452         [BZ #14770]
35453         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35454         * sysdeps/s390/configure: Regenerate.
35456         [BZ #16824]
35457         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35458         Set round-to-nearest internally to reduce error accumulation.
35460 2014-04-16  Alan Modra  <amodra@gmail.com>
35462         [BZ #16740]
35463         [BZ #16619]
35464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35465         * math/libm-test.inc (frexp_test_data): Add tests.
35466         * NEWS: Update fixed bug list.
35468 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35470         * benchtests/Makefile: Depend on libraries in build directory.
35471         (bench-math): Separate out math tests.
35472         (bench-pthread): Separate out pthread tests.
35473         (bench): Include math and pthread tests.
35475 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35477         [BZ #16831]
35478         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35479         _dl_debug_initialize.
35481         * configure.ac: Remove SELinux header check.
35482         * configure: Regenerate.
35483         * nscd/selinux.c (perms): Array of const char* to permission names.
35484         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35485         default policy. Call string_to_security_class and string_to_av_perm to
35486         translate strings. Enforce default policy and call avs_has_perm with
35487         results of translated strings.
35489 2014-04-13  David S. Miller  <davem@davemloft.net>
35491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35493 2014-04-12  Allan McRae  <allan@archlinux.org>
35495         [BZ #16838]
35496         * manual/string.texi (Collation Functions): Fix qsort argument
35497         order in example.
35498         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35500 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35502         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35503         Make the test a no-op if there are no exceptions defined.
35505 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35507         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35508         enable-hardcoded-path-in-tests
35510 2014-04-11  Will Newton  <will.newton@linaro.org>
35512         * benchtests/Makefile (extra-objs): Add json-lib.o.
35513         (bench-func): Tidy up JSON output.
35514         * benchtests/bench-skeleton.c: Include json-lib.h.
35515         (main): Use JSON library functions to do output of
35516         benchmark results.
35517         * benchtests/bench-timing-type.c (main): Output the
35518         timing type simply, leaving formatting to the user.
35519         * benchtests/json-lib.c: New file.
35520         * benchtests/json-lib.h: Likewise.
35522 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35524         [BZ #15215]
35525         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35526         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35527         memory barriers.  Add comments.
35528         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35529         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35530         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35531         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35532         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35533         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35535 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35537         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35538         * sysdeps/s390/s390-64/configure.ac: ... this ...
35539         * sysdeps/s390/configure.ac: ... to here.
35540         * sysdeps/s390/s390-32/configure: Delete file.
35541         * sysdeps/s390/s390-64/configure: Delete file.
35542         * sysdeps/s390/configure: Regenerate.
35544 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35546         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35548 2014-04-11  Will Newton  <will.newton@linaro.org>
35550         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35551         to zero if it is not defined elsewhere.  (mtrim): Test
35552         the value of MALLOC_DEBUG with #if rather than #ifdef.
35554 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35556         * benchtests/pthread_once-inputs: New file.
35557         * benchtests/pthread_once-source.c: New file.
35558         * benchtests/README: Update documentation.
35560 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35561             H.J. Lu  <hongjiu.lu@intel.com>
35563         [BZ #16275]
35564         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35565         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35566         * sysdeps/x86_64/configure: Regenerated.
35567         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35568         macro.
35569         (REGISTER_SAVE_RAX): Likewise.
35570         (REGISTER_SAVE_RCX): Likewise.
35571         (REGISTER_SAVE_RDX): Likewise.
35572         (REGISTER_SAVE_RSI): Likewise.
35573         (REGISTER_SAVE_RDI): Likewise.
35574         (REGISTER_SAVE_R8): Likewise.
35575         (REGISTER_SAVE_R9): Likewise.
35576         (REGISTER_SAVE_BND0): Likewise.
35577         (REGISTER_SAVE_BND1): Likewise.
35578         (REGISTER_SAVE_BND2): Likewise.
35579         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35580         bound registers when calling _dl_fixup.
35582 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35584         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35585         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35586         of its definition.
35587         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35588         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35589         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35590         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35591         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35592         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35593         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35595 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35597         [BZ #15514]
35598         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35599         pathconf(_PC_NAME_MAX).
35601 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35603         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35604         Remove macro usage.
35605         (__PTHREAD_SPINS): Move definition to ...
35606         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35607         (__PTHREAD_SPINS): ... here.
35608         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35609         (__PTHREAD_SPIN): Likewise.
35610         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35611         (__PTHREAD_SPIN): Likewise.
35612         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35613         (__PTHREAD_SPIN): Likewise.
35614         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35615         (__PTHREAD_SPIN): Likewise.
35616         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35617         (__PTHREAD_SPIN): Likewise.
35618         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35619         (__PTHREAD_SPIN): Likewise.
35620         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35621         (__PTHREAD_SPIN): Likewise.
35622         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35623         (__PTHREAD_SPIN): Likewise.
35624         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35625         (__PTHREAD_SPIN): Likewise.
35626         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35627         (__PTHREAD_SPIN): Likewise.
35628         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35629         (__PTHREAD_SPIN): Likewise.
35630         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35631         (__PTHREAD_SPIN): Likewise.
35633         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35634         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35635         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35636         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35637         imply folder.
35638         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35639         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35640         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35641         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35642         correct imply path.
35643         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35644         strlen symbol for non multi-arch builds.
35645         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35646         missing hidden_def and weak_alias.
35648 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35650         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35652 2014-04-07  Will Newton  <will.newton@linaro.org>
35654         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35655         and contents.  [!_LIBC] Remove #ifndef and contents.
35656         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35657         * string/memccpy.c (__memccpy): Use ANSI prototype.
35658         * string/memfrob.c (memfrob): Likewise.
35659         * string/strcoll.c (STRCOLL): Likewise.
35660         * string/strlen.c (strlen): Likewise.
35661         * string/strtok.c (STRTOK): Likewise.
35662         * string/strcat.c: Remove unused #include of memcopy.h.
35663         (strcat): Use ANSI prototype.
35664         * string/strchr.c: Remove unused #include of memcopy.h.
35665         (strchr): Use ANSI prototype.
35666         * string/strcmp.c: Remove unused #include of memcopy.h.
35667         (strcmp): Use ANSI prototype.
35668         * string/strcpy.c: Remove unused #include of memcopy.h.
35669         (strcpy): Use ANSI prototype.
35671 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35673         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35674         * config.make.in (config-extra-cppflags): Set it from
35675         libc_extra_cppflags.
35676         * configure.ac (libc_extra_cflags): Make it accumulate over
35677         configure fragments.
35678         (libc_extra_cppflags): New flag.
35679         * configure. Regenerate.
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35681         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35682         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35685         [BZ #16815]
35686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35687         result for FE_DOWNWARD rounding mode.
35688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35689         Likewise.
35690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35692 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35694         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35695         in function argument name.
35697 2014-04-03  David Svoboda  <svoboda@cert.org>
35699         [BZ #5666]
35700         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35701         explicitly.
35703 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35705         * elf/dl-unmap-segments.h: New file.
35706         * sysdeps/generic/ldsodefs.h
35707         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35708         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35709         * elf/dl-fptr.c: Likewise.
35710         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35711         * sysdeps/aarch64/tlsdesc.c: Likewise.
35712         * sysdeps/arm/tlsdesc.c: Likewise.
35713         * sysdeps/i386/tlsdesc.c: Likewise.
35714         * sysdeps/tile/dl-runtime.c: Likewise.
35715         * sysdeps/x86_64/tlsdesc.c: Likewise.
35716         * elf/dl-load.h: New file.
35717         * elf/dl-load.c: Include it.
35718         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35719         Macros moved to dl-load.h.
35720         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35721         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35722         Use _dl_unmap_segments in place of __munmap.
35723         Break out segment-mapping loop into ...
35724         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35726 2014-04-03  Will Newton  <will.newton@linaro.org>
35728         * elf/dl-lookup.c (do_lookup_x): Remove comment
35729         referring to nested function and move variable
35730         declarations down to before first use.
35732 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35734         [BZ #16799]
35735         [BZ #16800]
35736         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35737         with 0 numerator.
35738         * math/s_catanf.c (__catanf): Likewise.
35739         * math/s_catanh.c (__catanh): Likewise.
35740         * math/s_catanhf.c (__catanhf): Likewise.
35741         * math/s_catanhl.c (__catanhl): Likewise.
35742         * math/s_catanl.c (__catanl): Likewise.
35743         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35744         by positive zero when computing -Inf result.
35745         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35746         (catanh_test): Likewise.
35747         * sysdeps/i386/fpu/libm-test-ulps: Update.
35748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35750         [BZ #16789]
35751         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35752         instead of using underflowing value in computing result.
35753         * math/s_clog10.c (__clog10): Likewise.
35754         * math/s_clog10f.c (__clog10f): Likewise.
35755         * math/s_clog10l.c (__clog10l): Likewise.
35756         * math/s_clogf.c (__clogf): Likewise.
35757         * math/s_clogl.c (__clogl): Likewise.
35758         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35759         (clog10_test): Likewise.
35760         * sysdeps/i386/fpu/libm-test-ulps: Update.
35761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35763 2014-04-02  Alan Modra  <amodra@gmail.com>
35765         [BZ #16739]
35766         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35767         output when value is near a power of two.  Use int64_t for lx and
35768         remove casts.  Use decimal rather than hex exponent constants.
35769         Don't use long double multiplication when double will suffice.
35770         * math/libm-test.inc (nextafter_test_data): Add tests.
35771         * NEWS: Add 16739 and 16786 to bug list.
35773         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35775         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35777 2014-04-01  Will Newton  <will.newton@linaro.org>
35779         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35780         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35782 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35784         [BZ #13347]
35785         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35786         * nptl/tst-setuid2.c: New file.
35787         * nptl/Makefile (xtests): Add tst-setuid2.
35789 2014-04-01  Alan Modra  <amodra@gmail.com>
35791         [BZ #16786]
35792         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35794 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35796         [BZ #6803]
35797         [BZ #6804]
35798         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35799         set errno as appropriate.
35800         * math/w_scalbf.c (__scalbf): Likewise.
35801         * math/w_scalbl.c (__scalbl): Likewise.
35802         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35803         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35804         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35805         Add more NaN tests.
35807         [BZ #16349]
35808         * math/w_atan2.c: Include <errno.h>.
35809         (__atan2): Set errno for result underflowing to zero.
35810         * math/w_atan2f.c: Include <errno.h>.
35811         (__atan2f): Set errno for result underflowing to zero.
35812         * math/w_atan2l.c: Include <errno.h>.
35813         (__atan2l): Set errno for result underflowing to zero.
35814         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35815         tests.
35816         * math/auto-libm-test-out: Regenerated.
35818 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35820         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35821         Encode instruction correctly in little endian.
35822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35823         Likewise.
35824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35825         Likewise.
35826         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35827         Likewise.
35828         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35829         Likewise.
35831 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35833         [BZ #9894]
35834         * sysdeps/unix/sysv/linux/kernel-features.h
35835         [__sparc__ && !__arch64__ && !__sparc_v9__]
35836         (__ASSUME_SET_ROBUST_LIST): Do not define.
35837         [__sparc__ && !__arch64__ && !__sparc_v9__]
35838         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35839         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35840         Likewise.
35841         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35842         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35843         (__ASSUME_REQUEUE_PI): Likewise.
35844         (__ASSUME_SET_ROBUST_LIST): Likewise.
35845         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35846         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35847         Undefine.
35848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35849         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35850         Likewise.
35851         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35852         Likewise.
35853         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35854         Likewise.
35855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35856         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35857         Undefine.
35858         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35859         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35860         Likewise.
35862         [BZ #16648]
35863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35865         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35867 2014-03-31  Will Newton  <will.newton@linaro.org>
35869         * benchtests/Makefile (bench): Add ffs and ffsll to list
35870         of tests.
35871         * benchtests/ffs-inputs: New file.
35872         * benchtests/ffsll-inputs: Likewise.
35874 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35876         [BZ #16770]
35877         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35878         too large before casting to int.
35879         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35880         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35881         * math/libm-test.inc (scalb_test_data): Add more tests.
35883 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35885         * benchtests/Makefile (DETAILED_OPT): New make option.
35886         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35887         set.
35888         * benchtests/bench-skeleton.c: Include stdbool.h.
35889         (main): Store and print timings per input.
35890         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35891         member to each argument value.
35892         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35893         (_print_arg_data): Initialize per-input timing to 0.
35895         * benchtests/Makefile (timing-type): New binary.
35896         (bench-clean): Also remove bench-timing-type.
35897         (bench): New target for timing-type.
35898         (bench-func): Print output in JSON format.
35899         * benchtests/bench-skeleton.c (main): Print output in JSON
35900         format.
35901         * benchtests/bench-timing-type.c: New file.
35902         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35903         (TIMING_PRINT_STATS): Remove.
35904         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35905         name separately.
35907         * benchtests/bench-modf.c: Remove.
35908         * benchtests/modf-inputs: New inputs file.
35910 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35912         [BZ #16362]
35913         * math/s_clog10.c (M_PI_LOG10E): New macro.
35914         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35915         imaginary parts are 0.
35916         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35917         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35918         imaginary parts are 0.
35919         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35920         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35921         imaginary parts are 0.
35922         * math/libm-test.inc (clog10_test_data): Update expected results
35923         for when real and imaginary parts are 0.
35925 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35927         * elf/dl-load.c: Finish conversion of __builtin_expect into
35928         __glibc_{un}likely.
35930 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35932         [BZ #16348]
35933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35934         1+x for argument with exponent below -67.
35935         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35936         Likewise.
35937         * math/auto-libm-test-in: Add more tests of exp.
35938         * math/auto-libm-test-out: Regenerated.
35940 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35942         [BZ #16759]
35943         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35944         (nscd_getnetgrent): Use it.
35946         [BZ #16760]
35947         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35948         of stpcpy.
35950 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35952         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35953         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35954         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35955         (lll_robust_unlock): Remove out of line section. Use cfi
35956         intrinsics.
35957         (LLL_STUB_UNWIND_INFO*): Remove.
35958         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35959         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35960         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35961         (lll_robust_unlock): Remove out of line section. Use cfi
35962         intrinsics.
35963         (LLL_STUB_UNWIND_INFO*): Remove.
35965 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35967         [BZ #16758]
35968         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35969         blank values.
35971 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35973         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35975 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35977         [BZ #16198]
35978         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35979         fnstenv.
35980         * math/test-fenv-preserve.c: New file.
35981         * math/Makefile (tests): Add test-fenv-preserve.
35983 2014-03-26  Will Newton <will.newton@linaro.org>
35985         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35987 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35989         * scripts/versionlist.awk: Partition the version sets and emit all
35990         GLIBC_* (sorted) before all others (sorted).
35992 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35994         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35995         GLIBC_2.2.5 version.
35997 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35999         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36000         calls.
36002         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36003         previous change.
36005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36007 2014-03-25  Andreas Schwab  <schwab@suse.de>
36009         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36010         label to be used after in6ailist is initialized.
36012 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36014         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36015         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36017 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36019         [BZ #16357]
36020         [BZ #16599]
36021         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36022         min_plus_half.
36023         (fp_formats): Update initializers.
36024         (init_fp_formats): Initialize new field.
36025         (output_for_one_input_case): Allow underflow for results up to
36026         min_plus_half.
36027         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36028         * math/auto-libm-test-in: Don't mark some underflows from asin and
36029         atanh as spurious.
36030         * math/auto-libm-test-out: Regenerated.
36031         * sysdeps/i386/fpu/libm-test-ulps: Update.
36032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36034 2014-03-25  Andreas Schwab  <schwab@suse.de>
36036         * libio/Makefile (tst-ftell-partial-wide-ENV)
36037         (tst-ftell-active-handler-ENV): Define.
36039 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36041         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36043 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36045         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36047 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36049         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36050         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36051         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36053 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36055         [BZ #16634]
36056         * elf/dl-load.c (open_verify): Add mode parameter.
36057         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36058         (open_path): Change from boolean 'secure' to complete flag 'mode'
36059         (_dl_map_object): Adjust.
36060         * elf/Makefile (tests): Add tst-dlopen-aout.
36061         * elf/tst-dlopen-aout.c: New test.
36063 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36065         [BZ #16714]
36066         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36067         (struct stat): Rename member pad0 to __glibc_reserved0.
36069         [BZ #16712]
36070         * sysdeps/s390/s390-32/bits/wordsize.h
36071         (__WORDSIZE32_SIZE_ULONG): New define.
36072         * sysdeps/s390/s390-64/bits/wordsize.h
36073         (__WORDSIZE32_SIZE_ULONG): Likewise.
36074         * sysdeps/generic/stdint.h (SIZE_MAX):
36075         Define as UL if __WORDSIZE32_SIZE_ULONG.
36077         [BZ #16713]
36078         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36079         (__glibc_reserved0): New variable.
36080         (sa_flags): Change type to int.
36082         * posix/Makefile (before-compile): Use += before-compile instead
36083         of a :=.
36085         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36086         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36088 2014-03-20  Andreas Schwab  <schwab@suse.de>
36090         [BZ #16743]
36091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36092         non-matching result from nscd.
36094 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36096         * scripts/bench.py: Moved to ...
36097         * benchtests/scripts/bench.py: ... here.
36098         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36100 2014-03-24  Andreas Schwab  <schwab@suse.de>
36102         [BZ #16002]
36103         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36104         alloca_account and account alloca use for struct in6ailist.
36106 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36108         [BZ #16284]
36109         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36110         rounding mode to recompute results that overflow to infinity or
36111         underflow to zero.
36112         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36113         bug 16284.
36114         * math/auto-libm-test-out: Regenerated.
36115         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36116         (ccosh_test): Likewise.
36117         (csin_test_data): Use plus_oflow.
36118         (csin_test): Use ALL_RM_TEST.
36119         (csinh_test_data): Use plus_oflow.
36120         (csinh_test): Use ALL_RM_TEST.
36121         * sysdeps/i386/fpu/libm-test-ulps: Update.
36122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36124 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36126         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36127         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36128         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36130         [BZ #16731]
36131         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36132         when x - 1 is zero.
36133         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36134         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36135         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36136         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36137         argument is 1.
36138         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36139         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36140         zero.
36141         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36142         * sysdeps/i386/fpu/libm-test-ulps: Update.
36143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36145 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36147         * scripts/bench.pl: Remove file.
36148         * scripts/bench.py: New benchmark script.
36149         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36150         * benchtests/README: Mention python dependency.
36151         * scripts/pylintrc: New file.
36152         * scripts/pylint: New file.
36154         * bits/mathdef.h: Use #ifdef instead of #if.
36155         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36156         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36157         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36158         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36159         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36160         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36162 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36163             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36165         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36167         and strpbrk-ppc64 objects.
36168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36169         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36171         multiarch strpbrk for POWER7.
36172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36173         multiarch strpbrk for PPC64.
36174         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36175         ifunc selector.
36176         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36177         strpbrk for POWER7.
36179 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36181         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36182         (atan_test): Likewise.
36183         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36184         (atanh_test): Use ALL_RM_TEST.
36185         (atan2_test_data): Likewise.
36186         (cabs_test): Likewise.
36187         (cacosh_test): Likewise.
36188         (carg_test): Likewise.
36189         (casin_test): Likewise.
36190         (casinh_test): Likewise.
36191         (cbrt_test): Likewise.
36192         (csqrt_test): Likewise.
36193         (erf_test): Likewise.
36194         (erfc_test): Likewise.
36195         (pow10_test): Likewise.
36196         (exp2_test): Likewise.
36197         (hypot_test): Likewise.
36198         (j0_test): Likewise.
36199         (j1_test): Likewise.
36200         (lgamma_test): Likewise.
36201         (gamma_test): Likewise.
36202         (sincos_test): Likewise.
36203         (tanh_test): Likewise.
36204         (y0_test): Likewise.
36205         (y1_test): Likewise.
36206         * sysdeps/i386/fpu/libm-test-ulps: Update.
36207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36209 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36211         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36213         and strcspn-ppc64 objects.
36214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36215         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36216         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36217         multiarch strcspn for POWER7.
36218         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36219         multiarch strcspn for PPC64.
36220         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36221         ifunc selector.
36222         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36223         strcspn for POWER7.
36225 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36227         * math/gen-libm-test.pl (generate_testfile): Expect only function
36228         name as argument to AUTO_TESTS_* and pass results for all rounding
36229         modes to parse_args.
36230         (parse_auto_input): Separate inputs of automatic tests from
36231         outputs before storing in %auto_tests.
36232         * math/libm-test.inc (acos_test_data): Update call to
36233         AUTO_TESTS_f_f.
36234         (acos_test): Use ALL_RM_TEST.
36235         (acos_tonearest_test_data): Remove.
36236         (acos_test_tonearest): Likewise.
36237         (acos_towardzero_test_data): Likewise.
36238         (acos_test_towardzero): Likewise.
36239         (acos_downward_test_data): Likewise.
36240         (acos_test_downward): Likewise.
36241         (acos_upward_test_data): Likewise.
36242         (acos_test_upward): Likewise.
36243         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36244         (asin_test_data): Likewise.
36245         (asin_test): Use ALL_RM_TEST.
36246         (asin_tonearest_test_data): Remove.
36247         (asin_test_tonearest): Likewise.
36248         (asin_towardzero_test_data): Likewise.
36249         (asin_test_towardzero): Likewise.
36250         (asin_downward_test_data): Likewise.
36251         (asin_test_downward): Likewise.
36252         (asin_upward_test_data): Likewise.
36253         (asin_test_upward): Likewise.
36254         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36255         (atan_test_data): Likewise.
36256         (atanh_test_data): Likewise.
36257         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36258         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36259         (carg_test_data): Likewise.
36260         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36261         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36262         (ccosh_test_data): Likewise.
36263         (cexp_test_data): Likewise.
36264         (clog_test_data): Likewise.
36265         (clog10_test_data): Likewise.
36266         (cos_test_data): Update call to AUTO_TESTS_f_f.
36267         (cos_test): Use ALL_RM_TEST.
36268         (cos_tonearest_test_data): Remove.
36269         (cos_test_tonearest): Likewise.
36270         (cos_towardzero_test_data): Likewise.
36271         (cos_test_towardzero): Likewise.
36272         (cos_downward_test_data): Likewise.
36273         (cos_test_downward): Likewise.
36274         (cos_upward_test_data): Likewise.
36275         (cos_test_upward): Likewise.
36276         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36277         (cosh_test): Use ALL_RM_TEST.
36278         (cosh_tonearest_test_data): Remove.
36279         (cosh_test_tonearest): Likewise.
36280         (cosh_towardzero_test_data): Likewise.
36281         (cosh_test_towardzero): Likewise.
36282         (cosh_downward_test_data): Likewise.
36283         (cosh_test_downward): Likewise.
36284         (cosh_upward_test_data): Likewise.
36285         (cosh_test_upward): Likewise.
36286         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36287         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36288         (ctan_test_data): Likewise.
36289         (ctan_test): Use ALL_RM_TEST.
36290         (ctan_tonearest_test_data): Remove.
36291         (ctan_test_tonearest): Likewise.
36292         (ctan_towardzero_test_data): Likewise.
36293         (ctan_test_towardzero): Likewise.
36294         (ctan_downward_test_data): Likewise.
36295         (ctan_test_downward): Likewise.
36296         (ctan_upward_test_data): Likewise.
36297         (ctan_test_upward): Likewise.
36298         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36299         (ctanh_test): Use ALL_RM_TEST.
36300         (ctanh_tonearest_test_data): Remove.
36301         (ctanh_test_tonearest): Likewise.
36302         (ctanh_towardzero_test_data): Likewise.
36303         (ctanh_test_towardzero): Likewise.
36304         (ctanh_downward_test_data): Likewise.
36305         (ctanh_test_downward): Likewise.
36306         (ctanh_upward_test_data): Likewise.
36307         (ctanh_test_upward): Likewise.
36308         (erf_test_data): Update call to AUTO_TESTS_f_f.
36309         (erfc_test_data): Likewise.
36310         (exp_test_data): Likewise.
36311         (exp_test): Use ALL_RM_TEST.
36312         (exp_tonearest_test_data): Remove.
36313         (exp_test_tonearest): Likewise.
36314         (exp_towardzero_test_data): Likewise.
36315         (exp_test_towardzero): Likewise.
36316         (exp_downward_test_data): Likewise.
36317         (exp_test_downward): Likewise.
36318         (exp_upward_test_data): Likewise.
36319         (exp_test_upward): Likewise.
36320         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36321         (exp10_test): Use ALL_RM_TEST.
36322         (exp10_tonearest_test_data): Remove.
36323         (exp10_test_tonearest): Likewise.
36324         (exp10_towardzero_test_data): Likewise.
36325         (exp10_test_towardzero): Likewise.
36326         (exp10_downward_test_data): Likewise.
36327         (exp10_test_downward): Likewise.
36328         (exp10_upward_test_data): Likewise.
36329         (exp10_test_upward): Likewise.
36330         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36331         (expm1_test_data): Likewise.
36332         (expm1_test): Use ALL_RM_TEST.
36333         (expm1_tonearest_test_data): Remove.
36334         (expm1_test_tonearest): Likewise.
36335         (expm1_towardzero_test_data): Likewise.
36336         (expm1_test_towardzero): Likewise.
36337         (expm1_downward_test_data): Likewise.
36338         (expm1_test_downward): Likewise.
36339         (expm1_upward_test_data): Likewise.
36340         (expm1_test_upward): Likewise.
36341         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36342         (fma_test): Use ALL_RM_TEST.
36343         (fma_towardzero_test_data): Remove.
36344         (fma_test_towardzero): Likewise.
36345         (fma_downward_test_data): Likewise.
36346         (fma_test_downward): Likewise.
36347         (fma_upward_test_data): Likewise.
36348         (fma_test_upward): Likewise.
36349         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36350         (j0_test_data): Update call to AUTO_TESTS_f_f.
36351         (j1_test_data): Likewise.
36352         (jn_test_data): Update call to AUTO_TESTS_if_f.
36353         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36354         (log_test_data): Update call to AUTO_TESTS_f_f.
36355         (log10_test_data): Likewise.
36356         (log1p_test_data): Likewise.
36357         (log2_test_data): Likewise.
36358         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36359         (pow_tonearest_test_data): Likewise.
36360         (sin_test_data): Update call to AUTO_TESTS_f_f.
36361         (sin_test): Use ALL_RM_TEST.
36362         (sin_tonearest_test_data): Remove.
36363         (sin_test_tonearest): Likewise.
36364         (sin_towardzero_test_data): Likewise.
36365         (sin_test_towardzero): Likewise.
36366         (sin_downward_test_data): Likewise.
36367         (sin_test_downward): Likewise.
36368         (sin_upward_test_data): Likewise.
36369         (sin_test_upward): Likewise.
36370         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36371         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36372         (sinh_test): Use ALL_RM_TEST.
36373         (sinh_tonearest_test_data): Remove.
36374         (sinh_test_tonearest): Likewise.
36375         (sinh_towardzero_test_data): Likewise.
36376         (sinh_test_towardzero): Likewise.
36377         (sinh_downward_test_data): Likewise.
36378         (sinh_test_downward): Likewise.
36379         (sinh_upward_test_data): Likewise.
36380         (sinh_test_upward): Likewise.
36381         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36382         (sqrt_test): Use ALL_RM_TEST.
36383         (sqrt_tonearest_test_data): Remove.
36384         (sqrt_test_tonearest): Likewise.
36385         (sqrt_towardzero_test_data): Likewise.
36386         (sqrt_test_towardzero): Likewise.
36387         (sqrt_downward_test_data): Likewise.
36388         (sqrt_test_downward): Likewise.
36389         (sqrt_upward_test_data): Likewise.
36390         (sqrt_test_upward): Likewise.
36391         (tan_test_data): Update call to AUTO_TESTS_f_f.
36392         (tan_test): Use ALL_RM_TEST.
36393         (tan_tonearest_test_data): Remove.
36394         (tan_test_tonearest): Likewise.
36395         (tan_towardzero_test_data): Likewise.
36396         (tan_test_towardzero): Likewise.
36397         (tan_downward_test_data): Likewise.
36398         (tan_test_downward): Likewise.
36399         (tan_upward_test_data): Likewise.
36400         (tan_test_upward): Likewise.
36401         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36402         (tgamma_test_data): Likewise.
36403         (y0_test_data): Likewise.
36404         (y1_test_data): Likewise.
36405         (yn_test_data): Update call to AUTO_TESTS_if_f.
36406         (main): Do not call removed functions.
36408 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36410         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36411         (ldexp_test_data): Remove.
36412         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36413         scalbn_test_data.
36414         (scalb_test): Use ALL_RM_TEST.
36416 2014-03-19  Andreas Schwab  <schwab@suse.de>
36418         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36420 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36422         [BZ #16649]
36423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36424         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36425         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36427         (__ASSUME_PREADV): Undefine.
36428         (__ASSUME_PWRITEV): Likewise.
36430 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36432         * bits/mman-linux.h: Add comment about non-Linux use.
36433         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36434         bits/mman-linux.h resting place.
36436         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36437         * bits/mman-linux.h: ... here.
36439 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36441         * conform/conformtest.pl: Add standard definition when calling C
36442         preprocessor on data files.
36443         (checknamespace): Remove unused variable.
36445 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36447         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36448         minus_oflow, plus_uflow and minus_uflow in expected results.
36449         * math/libm-test.inc (scalbn_test_data): Add more tests of
36450         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36451         minus_uflow.
36452         (scalbn_test): Use ALL_RM_TEST.
36453         (scalbln_test_data): Add more tests of negative arguments.  Use
36454         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36455         (scalbln_test): Use ALL_RM_TEST.
36457 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36459         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36461 2014-03-18  Will Newton  <will.newton@linaro.org>
36463         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36464         inaccurate comment.
36466 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36468         * Makerules [!subdir] (check-abi): Exit with error status if a
36469         test failed.
36471 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36473         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36474         for rint.  Include results for all rounding modes.
36475         (nearbyint_test): Use ALL_RM_TEST.
36476         (rint_test_data): Include all tests used for nearbyint.
36478 2014-03-17  Will Newton  <will.newton@linaro.org>
36480         * nptl/sysdeps/pthread/pthread.h: Revert previous
36481         change.
36483         * sysdeps/generic/ldsodefs.h: Revert previous
36484         change.
36486         * libio/genops.c: Revert previous change.
36487         * libio/libioP.h: Likewise.
36488         * stdio-common/vfprintf.c: Likewise.
36490         * sysdeps/generic/math_private.h: Revert previous
36491         change.
36493         * sysdeps/generic/math_private.h: Check whether
36494         HAVE_RM_CTX is defined with #ifdef rather
36495         than #if.
36497         * argp/argp-fmtstream.h: Check whether
36498         __STRICT_ANSI__ is defined with #ifdef rather
36499         than #if.
36500         * argp/argp.h: Likewise.
36502         * libio/genops.c: Check whether
36503         _IO_JUMPS_OFFSET is defined with #ifdef rather
36504         than #if.
36505         * libio/libioP.h: Likewise.
36506         * stdio-common/vfprintf.c: Likewise.
36508         * sysdeps/generic/ldsodefs.h: Check whether
36509         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36510         than #if.
36512         * nptl/sysdeps/pthread/pthread.h: Check
36513         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36514         its value.
36516 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36519         setting O_APPEND.
36520         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36521         test case.
36523         [BZ #16680]
36524         * libio/fileops.c (_IO_file_open): Seek to end of file but
36525         don't cache the offset.
36526         (get_file_offset): Remove function.
36527         (do_ftell): Use cached offset when available.
36528         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36529         don't cache the offset.
36530         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36531         case.
36532         (do_one_test): Call it.
36533         (do_ftell_test): Fix up expected old offset for a+ mode.
36534         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36535         available.
36537         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36538         up test status with function return status.
36539         (do_write_test): Likewise.
36540         (do_append_test): Likewise.
36542         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36543         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36544         Remove.
36546 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36548         * math/gen-libm-test.pl (parse_args): Handle results specified for
36549         each rounding mode separately.
36550         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36551         tests and results from lrint_tonearest_test_data,
36552         lrint_towardzero_test_data, lrint_downward_test_data and
36553         lrint_upward_test_data.
36554         (lrint_test): Use ALL_RM_TEST.
36555         (lrint_tonearest_test_data): Remove.
36556         (lrint_test_tonearest): Likewise.
36557         (lrint_towardzero_test_data): Likewise.
36558         (lrint_test_towardzero): Likewise.
36559         (lrint_downward_test_data): Likewise.
36560         (lrint_test_downward): Likewise.
36561         (lrint_upward_test_data): Likewise.
36562         (lrint_test_upward): Likewise.
36563         (llrint_test_data): Merge in per-rounding-mode tests and results
36564         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36565         llrint_downward_test_data and llrint_upward_test_data.
36566         (llrint_test): Use ALL_RM_TEST.
36567         (llrint_tonearest_test_data): Remove.
36568         (llrint_test_tonearest): Likewise.
36569         (llrint_towardzero_test_data): Likewise.
36570         (llrint_test_towardzero): Likewise.
36571         (llrint_downward_test_data): Likewise.
36572         (llrint_test_downward): Likewise.
36573         (llrint_upward_test_data): Likewise.
36574         (llrint_test_upward): Likewise.
36575         (rint_test_data): Merge in per-rounding-mode tests and results
36576         from rint_tonearest_test_data, rint_towardzero_test_data,
36577         rint_downward_test_data and rint_upward_test_data.  Add
36578         per-rounding-mode results for tests not in those arrays.
36579         (rint_test): Use ALL_RM_TEST.
36580         (rint_tonearest_test_data): Remove.
36581         (rint_test_tonearest): Likewise.
36582         (rint_towardzero_test_data): Likewise.
36583         (rint_test_towardzero): Likewise.
36584         (rint_downward_test_data): Likewise.
36585         (rint_test_downward): Likewise.
36586         (rint_upward_test_data): Likewise.
36587         (rint_test_upward): Likewise.
36588         (main): Don't call removed functions.
36590 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36592         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36593         "Compiled on ..." crapola.  It is anti-useful.
36595 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36597         * scripts/evaluate-test.sh: Handle fourth argument to determine
36598         whether test run should stop on failure.
36599         * Makeconfig (stop-on-test-failure): New variable.
36600         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36601         $(stop-on-test-failure).
36602         * Makefile (tests): Give a summary of results from testing and
36603         exit with failure status if they include an ERROR or FAIL.
36604         (xtests): Likewise.
36605         * manual/install.texi (Configuring and compiling): Mention
36606         stop-on-test-failure=y.
36607         * INSTALL: Regenerated.
36609 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36611         * scripts/versionlist.awk: New file.
36612         * Makerules [$(build-shared) = yes]
36613         (postclean-generated): Add Versions.def, not Versions.def.v and
36614         Versions.def.v.i.
36615         ($(common-objpfx)Versions.def.v.i): Target removed.
36616         ($(common-objpfx)Versions.def): New target.
36617         ($(common-objpfx)Versions.all): Depend on that rather that
36618         $(common-objpfx)Versions.def.v.
36619         * Versions.def: File removed.
36621         * Makeconfig (+gccwarn): Add -Wundef.
36622         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36623         a dl-sysdep.h breaking its contract.
36624         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36625         * include/stackinfo.h: New file.
36626         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36627         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36628         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36629         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36630         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36631         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36632         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36633         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36634         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36635         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36636         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36637         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36638         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36639         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36640         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36642 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36644         [BZ #16707]
36645         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36646         implementation.
36647         * math/libm-test.inc (round_test_data): Add more tests.
36649         [BZ #16706]
36650         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36651         implementation.
36652         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36654         [BZ #16701]
36655         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36656         implementation.
36657         * math/libm-test.inc (ceil_test_data): Add more tests.
36659         * math/libm-test.inc (trunc_test_data): Add more tests related to
36660         BZ#16414.
36662 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36664         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36665         with #if rather than #ifdef.
36666         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36668 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36670         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36671         first.  Disable AVX-512 GCC support if assembler doesn't support
36672         it.
36673         * sysdeps/x86_64/configure: Regenerated.
36675 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36677         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36678         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36679         (__old_pthread_attr_setstack): Likewise.
36680         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36681         [!_STACK_GROWS_DOWN]: Likewise.
36683 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36685         * config.make.in (have-bash2): Delete.
36686         * configure.ac (libc_cv_have_bash2): Delete.
36687         * configure: Regenerate.
36688         * elf/Makefile (common-ldd-rewrite): Rename to ...
36689         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36690         (sh-ldd-rewrite): Delete.
36691         (bash-ldd-rewrite): Delete.
36692         (have-bash2): Delete checks.
36693         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36694         ldd-rewrite.
36696         * config.make.in (have-ksh): Delete.
36697         (KSH): Delete.
36698         * configure.ac (libc_cv_have_ksh): Delete.
36699         * configure: Regenerate.
36701         * elf/Makefile: Delete $(have-ksh) check.
36702         ($(objpfx)sotruss): Change KSH to BASH.
36703         * elf/sotruss.ksh: Rename to ...
36704         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36705         function style to match POSIX.  Drop ksh vim mode setting.
36707         * manual/time.texi (Specifying the Time Zone with TZ): Change
36708         Tuesday to Thursday.
36710         * debug/tst-longjmp_chk2.c: Update header comment.
36711         (stackoverflow_handler): Add comment.  Call assert on pass value.
36713 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36715         [BZ #16194]
36716         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36717         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36718         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36719         (La_x86_64_vector): Add zmm.
36720         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36721         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36722         ($(objpfx)tst-audit10): New target.
36723         ($(objpfx)tst-audit10.out): Likewise.
36724         (tst-audit10-ENV): New.
36725         (AVX512-CFLAGS): Likewise.
36726         (CFLAGS-tst-audit10.c): Likewise.
36727         (CFLAGS-tst-auditmod10a.c): Likewise.
36728         (CFLAGS-tst-auditmod10b.c): Likewise.
36729         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36730         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36731         * sysdeps/x86_64/configure: Regenerated.
36732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36733         AVX-512 zmm register support.
36734         (_dl_x86_64_save_sse): Likewise.
36735         (_dl_x86_64_restore_sse): Likewise.
36736         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36737         size vector registers.
36738         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36739         (ZMM_SIZE): Likewise.
36740         * sysdeps/x86_64/tst-audit10.c: New file.
36741         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36742         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36744 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36746         * configure.ac (HAVE_EHDR_START): New check.
36747         * configure: Regenerated.
36748         * config.h.in (HAVE_EHDR_START): New #undef.
36749         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36750         assuming the lowest-addressed segment maps the start of the file.
36752 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36754         * INSTALL: Regenerated.
36756 2014-03-13  Will Newton  <will.newton@linaro.org>
36758         * manual/setjmp.texi (System V contexts): Improve
36759         clarity and grammar of documentation.
36761 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36763         [BZ #16381]
36764         * elf/Makefile (tests): Add tst-pie2.
36765         (tests-pie): Add tst-pie2.
36766         * elf/tst-pie2.c: New file.
36767         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36768         for ET_EXEC.
36769         * elf/rtld.c (map_doit): Load executable as lt_executable.
36770         (dl_main): Likewise.
36772 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36774         [BZ #16642]
36775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36776         (__ASSUME_PSELECT): Undefine.
36778 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36780         [BZ #16689]
36781         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36782         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36783         static build.
36784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36785         selector for static builds.
36787 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36789         [BZ #16695]
36790         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36791         key in the buffer.
36793 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36796         IFUNC selector for static builds.
36798 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36800         * sysdeps/mips/math_private.h [__mips_hard_float]
36801         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36802         libc_feresetround_mips_ctx.
36803         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36804         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36805         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36807         [BZ #16677]
36808         * math/s_nextafter.c (__nextafter): Do not return value from
36809         overflowing computation.
36810         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36811         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36812         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36813         Likewise.
36814         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36815         Likewise.
36816         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36817         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36819 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36821         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36822         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36823         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36824         the new mov targetting sp.
36826 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36828         [BZ #16683]
36829         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36830         Define it for static builds as well.
36831         (NO_BZERO_IMPL): Likewise.
36833 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36835         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36836         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36837         multiarch strspn for PPC64.
36838         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36839         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36841         (__libc_ifunc_impl_list): Likewise.
36842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36843         multiarch optimizations
36844         * string/strspn.c (strspn): Using macro to redefine symbol name.
36846 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36847             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36849         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36850         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36851         multiarch strncat for PPC64.
36852         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36853         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36855         (__libc_ifunc_impl_list): Likewise.
36856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36857         multiarch optimizations
36859 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36861         [BZ #16639]
36862         * nscd/nscd.service: Make service type forking.
36864 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36866         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36867         sign in non default rounding modes.
36868         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36870 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36872         * math/libm-test.inc (ALL_RM_TEST): New macro.
36873         (ceil_test): Use ALL_RM_TEST.
36874         (cimag_test): Likewise.
36875         (conj_test): Likewise.
36876         (copysign_test): Likewise.
36877         (cproj_test): Likewise.
36878         (creal_test): Likewise.
36879         (fabs_test): Likewise.
36880         (floor_test): Likewise.
36881         (fmax_test): Likewise.
36882         (fmin_test): Likewise.
36883         (fmod_test): Likewise.
36884         (fpclassify_test): Likewise.
36885         (frexp_test): Likewise.
36886         (ilogb_test): Likewise.
36887         (isfinite_test): Likewise.
36888         (finite_test): Likewise.
36889         (isgreater_test): Likewise.
36890         (isgreaterequal_test): Likewise.
36891         (isinf_test): Likewise.
36892         (isless_test): Likewise.
36893         (islessequal_test): Likewise.
36894         (islessgreater_test): Likewise.
36895         (isnan_test): Likewise.
36896         (isnormal_test): Likewise.
36897         (issignaling_test): Likewise.
36898         (isunordered_test): Likewise.
36899         (logb_test): Likewise.
36900         (logb_downward_test_data): Remove.
36901         (logb_test_downward): Likewise.
36902         (lround_test): Use ALL_RM_TEST.
36903         (llround_test): Likewise.
36904         (modf_test): Likewise.
36905         (nexttoward_test): Likewise.
36906         (remainder_test): Likewise.
36907         (drem_test): Likewise.
36908         (remainder_tonearest_test_data): Likewise.
36909         (remainder_test_tonearest): Likewise.
36910         (drem_test_tonearest): Likewise.
36911         (remainder_towardzero_test_data): Likewise.
36912         (remainder_test_towardzero): Likewise.
36913         (drem_test_towardzero): Likewise.
36914         (remainder_downward_test_data): Likewise.
36915         (remainder_test_downward): Likewise.
36916         (drem_test_downward): Likewise.
36917         (remainder_upward_test_data): Likewise.
36918         (remainder_test_upward): Likewise.
36919         (drem_test_upward): Likewise.
36920         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36921         (round_test): Use ALL_RM_TEST.
36922         (signbit_test): Likewise.
36923         (trunc_test): Likewise.
36924         (significand_test): Likewise.
36925         (main): Don't call removed functions.
36927 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36929         [BZ #16674]
36930         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36931         || __USE_XOPEN2K8].
36932         (ILL_ILLOPN): Likewise.
36933         (ILL_ILLADR): Likewise.
36934         (ILL_ILLTRP): Likewise.
36935         (ILL_PRVOPC): Likewise.
36936         (ILL_PRVREG): Likewise.
36937         (ILL_COPROC): Likewise.
36938         (ILL_BADSTK): Likewise.
36939         (FPE_INTDIV): Likewise.
36940         (FPE_INTOVF): Likewise.
36941         (FPE_FLTDIV): Likewise.
36942         (FPE_FLTOVF): Likewise.
36943         (FPE_FLTUND): Likewise.
36944         (FPE_FLTRES): Likewise.
36945         (FPE_FLTINV): Likewise.
36946         (FPE_FLTSUB): Likewise.
36947         (SEGV_MAPERR): Likewise.
36948         (SEGV_ACCERR): Likewise.
36949         (BUS_ADRALN): Likewise.
36950         (BUS_ADRERR): Likewise.
36951         (BUS_OBJERR): Likewise.
36952         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36953         (TRAP_TRACE): Likewise.
36954         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36955         __USE_XOPEN2K8].
36956         (CLD_KILLED): Likewise.
36957         (CLD_DUMPED): Likewise.
36958         (CLD_TRAPPED): Likewise.
36959         (CLD_STOPPED): Likewise.
36960         (CLD_CONTINUED): Likewise.
36961         (POLL_IN): Likewise.
36962         (POLL_OUT): Likewise.
36963         (POLL_MSG): Likewise.
36964         (POLL_ERR): Likewise.
36965         (POLL_PRI): Likewise.
36966         (POLL_HUP): Likewise.
36967         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36968         Likewise.
36969         (ILL_ILLOPN): Likewise.
36970         (ILL_ILLADR): Likewise.
36971         (ILL_ILLTRP): Likewise.
36972         (ILL_PRVOPC): Likewise.
36973         (ILL_PRVREG): Likewise.
36974         (ILL_COPROC): Likewise.
36975         (ILL_BADSTK): Likewise.
36976         (FPE_INTDIV): Likewise.
36977         (FPE_INTOVF): Likewise.
36978         (FPE_FLTDIV): Likewise.
36979         (FPE_FLTOVF): Likewise.
36980         (FPE_FLTUND): Likewise.
36981         (FPE_FLTRES): Likewise.
36982         (FPE_FLTINV): Likewise.
36983         (FPE_FLTSUB): Likewise.
36984         (SEGV_MAPERR): Likewise.
36985         (SEGV_ACCERR): Likewise.
36986         (BUS_ADRALN): Likewise.
36987         (BUS_ADRERR): Likewise.
36988         (BUS_OBJERR): Likewise.
36989         (BUS_MCEERR_AR): Likewise.
36990         (BUS_MCEERR_AO): Likewise.
36991         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36992         (TRAP_TRACE): Likewise.
36993         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36994         __USE_XOPEN2K8].
36995         (CLD_KILLED): Likewise.
36996         (CLD_DUMPED): Likewise.
36997         (CLD_TRAPPED): Likewise.
36998         (CLD_STOPPED): Likewise.
36999         (CLD_CONTINUED): Likewise.
37000         (POLL_IN): Likewise.
37001         (POLL_OUT): Likewise.
37002         (POLL_MSG): Likewise.
37003         (POLL_ERR): Likewise.
37004         (POLL_PRI): Likewise.
37005         (POLL_HUP): Likewise.
37006         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37007         (ILL_ILLOPN): Likewise.
37008         (ILL_ILLADR): Likewise.
37009         (ILL_ILLTRP): Likewise.
37010         (ILL_PRVOPC): Likewise.
37011         (ILL_PRVREG): Likewise.
37012         (ILL_COPROC): Likewise.
37013         (ILL_BADSTK): Likewise.
37014         (FPE_INTDIV): Likewise.
37015         (FPE_INTOVF): Likewise.
37016         (FPE_FLTDIV): Likewise.
37017         (FPE_FLTOVF): Likewise.
37018         (FPE_FLTUND): Likewise.
37019         (FPE_FLTRES): Likewise.
37020         (FPE_FLTINV): Likewise.
37021         (FPE_FLTSUB): Likewise.
37022         (SEGV_MAPERR): Likewise.
37023         (SEGV_ACCERR): Likewise.
37024         (BUS_ADRALN): Likewise.
37025         (BUS_ADRERR): Likewise.
37026         (BUS_OBJERR): Likewise.
37027         (BUS_MCEERR_AR): Likewise.
37028         (BUS_MCEERR_AO): Likewise.
37029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37030         (TRAP_TRACE): Likewise.
37031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37032         __USE_XOPEN2K8].
37033         (CLD_KILLED): Likewise.
37034         (CLD_DUMPED): Likewise.
37035         (CLD_TRAPPED): Likewise.
37036         (CLD_STOPPED): Likewise.
37037         (CLD_CONTINUED): Likewise.
37038         (POLL_IN): Likewise.
37039         (POLL_OUT): Likewise.
37040         (POLL_MSG): Likewise.
37041         (POLL_ERR): Likewise.
37042         (POLL_PRI): Likewise.
37043         (POLL_HUP): Likewise.
37044         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37045         Likewise.
37046         (ILL_ILLOPN): Likewise.
37047         (ILL_ILLADR): Likewise.
37048         (ILL_ILLTRP): Likewise.
37049         (ILL_PRVOPC): Likewise.
37050         (ILL_PRVREG): Likewise.
37051         (ILL_COPROC): Likewise.
37052         (ILL_BADSTK): Likewise.
37053         (ILL_BADIADDR): Likewise.
37054         (ILL_BREAK): Likewise.
37055         (FPE_INTDIV): Likewise.
37056         (FPE_INTOVF): Likewise.
37057         (FPE_FLTDIV): Likewise.
37058         (FPE_FLTOVF): Likewise.
37059         (FPE_FLTUND): Likewise.
37060         (FPE_FLTRES): Likewise.
37061         (FPE_FLTINV): Likewise.
37062         (FPE_FLTSUB): Likewise.
37063         (FPE_DECOVF): Likewise.
37064         (FPE_DECDIV): Likewise.
37065         (FPE_DECERR): Likewise.
37066         (FPE_INVASC): Likewise.
37067         (FPE_INVDEC): Likewise.
37068         (SEGV_MAPERR): Likewise.
37069         (SEGV_ACCERR): Likewise.
37070         (SEGV_PSTKOVF): Likewise.
37071         (BUS_ADRALN): Likewise.
37072         (BUS_ADRERR): Likewise.
37073         (BUS_OBJERR): Likewise.
37074         (BUS_MCEERR_AR): Likewise.
37075         (BUS_MCEERR_AO): Likewise.
37076         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37077         (TRAP_TRACE): Likewise.
37078         (TRAP_BRANCH): Likewise.
37079         (TRAP_HWBKPT): Likewise.
37080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37081         __USE_XOPEN2K8].
37082         (CLD_KILLED): Likewise.
37083         (CLD_DUMPED): Likewise.
37084         (CLD_TRAPPED): Likewise.
37085         (CLD_STOPPED): Likewise.
37086         (CLD_CONTINUED): Likewise.
37087         (POLL_IN): Likewise.
37088         (POLL_OUT): Likewise.
37089         (POLL_MSG): Likewise.
37090         (POLL_ERR): Likewise.
37091         (POLL_PRI): Likewise.
37092         (POLL_HUP): Likewise.
37093         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37094         (ILL_ILLOPN): Likewise.
37095         (ILL_ILLADR): Likewise.
37096         (ILL_ILLTRP): Likewise.
37097         (ILL_PRVOPC): Likewise.
37098         (ILL_PRVREG): Likewise.
37099         (ILL_COPROC): Likewise.
37100         (ILL_BADSTK): Likewise.
37101         (FPE_INTDIV): Likewise.
37102         (FPE_INTOVF): Likewise.
37103         (FPE_FLTDIV): Likewise.
37104         (FPE_FLTOVF): Likewise.
37105         (FPE_FLTUND): Likewise.
37106         (FPE_FLTRES): Likewise.
37107         (FPE_FLTINV): Likewise.
37108         (FPE_FLTSUB): Likewise.
37109         (SEGV_MAPERR): Likewise.
37110         (SEGV_ACCERR): Likewise.
37111         (BUS_ADRALN): Likewise.
37112         (BUS_ADRERR): Likewise.
37113         (BUS_OBJERR): Likewise.
37114         (BUS_MCEERR_AR): Likewise.
37115         (BUS_MCEERR_AO): Likewise.
37116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37117         (TRAP_TRACE): Likewise.
37118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37119         __USE_XOPEN2K8].
37120         (CLD_KILLED): Likewise.
37121         (CLD_DUMPED): Likewise.
37122         (CLD_TRAPPED): Likewise.
37123         (CLD_STOPPED): Likewise.
37124         (CLD_CONTINUED): Likewise.
37125         (POLL_IN): Likewise.
37126         (POLL_OUT): Likewise.
37127         (POLL_MSG): Likewise.
37128         (POLL_ERR): Likewise.
37129         (POLL_PRI): Likewise.
37130         (POLL_HUP): Likewise.
37131         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37132         (ILL_ILLOPN): Likewise.
37133         (ILL_ILLADR): Likewise.
37134         (ILL_ILLTRP): Likewise.
37135         (ILL_PRVOPC): Likewise.
37136         (ILL_PRVREG): Likewise.
37137         (ILL_COPROC): Likewise.
37138         (ILL_BADSTK): Likewise.
37139         (FPE_INTDIV): Likewise.
37140         (FPE_INTOVF): Likewise.
37141         (FPE_FLTDIV): Likewise.
37142         (FPE_FLTOVF): Likewise.
37143         (FPE_FLTUND): Likewise.
37144         (FPE_FLTRES): Likewise.
37145         (FPE_FLTINV): Likewise.
37146         (FPE_FLTSUB): Likewise.
37147         (SEGV_MAPERR): Likewise.
37148         (SEGV_ACCERR): Likewise.
37149         (BUS_ADRALN): Likewise.
37150         (BUS_ADRERR): Likewise.
37151         (BUS_OBJERR): Likewise.
37152         (BUS_MCEERR_AR): Likewise.
37153         (BUS_MCEERR_AO): Likewise.
37154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37155         (TRAP_TRACE): Likewise.
37156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37157         __USE_XOPEN2K8].
37158         (CLD_KILLED): Likewise.
37159         (CLD_DUMPED): Likewise.
37160         (CLD_TRAPPED): Likewise.
37161         (CLD_STOPPED): Likewise.
37162         (CLD_CONTINUED): Likewise.
37163         (POLL_IN): Likewise.
37164         (POLL_OUT): Likewise.
37165         (POLL_MSG): Likewise.
37166         (POLL_ERR): Likewise.
37167         (POLL_PRI): Likewise.
37168         (POLL_HUP): Likewise.
37169         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37170         (ILL_ILLOPN): Likewise.
37171         (ILL_ILLADR): Likewise.
37172         (ILL_ILLTRP): Likewise.
37173         (ILL_PRVOPC): Likewise.
37174         (ILL_PRVREG): Likewise.
37175         (ILL_COPROC): Likewise.
37176         (ILL_BADSTK): Likewise.
37177         (FPE_INTDIV): Likewise.
37178         (FPE_INTOVF): Likewise.
37179         (FPE_FLTDIV): Likewise.
37180         (FPE_FLTOVF): Likewise.
37181         (FPE_FLTUND): Likewise.
37182         (FPE_FLTRES): Likewise.
37183         (FPE_FLTINV): Likewise.
37184         (FPE_FLTSUB): Likewise.
37185         (SEGV_MAPERR): Likewise.
37186         (SEGV_ACCERR): Likewise.
37187         (BUS_ADRALN): Likewise.
37188         (BUS_ADRERR): Likewise.
37189         (BUS_OBJERR): Likewise.
37190         (BUS_MCEERR_AR): Likewise.
37191         (BUS_MCEERR_AO): Likewise.
37192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37193         (TRAP_TRACE): Likewise.
37194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37195         __USE_XOPEN2K8].
37196         (CLD_KILLED): Likewise.
37197         (CLD_DUMPED): Likewise.
37198         (CLD_TRAPPED): Likewise.
37199         (CLD_STOPPED): Likewise.
37200         (CLD_CONTINUED): Likewise.
37201         (POLL_IN): Likewise.
37202         (POLL_OUT): Likewise.
37203         (POLL_MSG): Likewise.
37204         (POLL_ERR): Likewise.
37205         (POLL_PRI): Likewise.
37206         (POLL_HUP): Likewise.
37207         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37208         (ILL_ILLOPN): Likewise.
37209         (ILL_ILLADR): Likewise.
37210         (ILL_ILLTRP): Likewise.
37211         (ILL_PRVOPC): Likewise.
37212         (ILL_PRVREG): Likewise.
37213         (ILL_COPROC): Likewise.
37214         (ILL_BADSTK): Likewise.
37215         (ILL_DBLFLT): Likewise.
37216         (ILL_HARDWALL): Likewise.
37217         (FPE_INTDIV): Likewise.
37218         (FPE_INTOVF): Likewise.
37219         (FPE_FLTDIV): Likewise.
37220         (FPE_FLTOVF): Likewise.
37221         (FPE_FLTUND): Likewise.
37222         (FPE_FLTRES): Likewise.
37223         (FPE_FLTINV): Likewise.
37224         (FPE_FLTSUB): Likewise.
37225         (SEGV_MAPERR): Likewise.
37226         (SEGV_ACCERR): Likewise.
37227         (BUS_ADRALN): Likewise.
37228         (BUS_ADRERR): Likewise.
37229         (BUS_OBJERR): Likewise.
37230         (BUS_MCEERR_AR): Likewise.
37231         (BUS_MCEERR_AO): Likewise.
37232         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37233         (TRAP_TRACE): Likewise.
37234         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37235         __USE_XOPEN2K8].
37236         (CLD_KILLED): Likewise.
37237         (CLD_DUMPED): Likewise.
37238         (CLD_TRAPPED): Likewise.
37239         (CLD_STOPPED): Likewise.
37240         (CLD_CONTINUED): Likewise.
37241         (POLL_IN): Likewise.
37242         (POLL_OUT): Likewise.
37243         (POLL_MSG): Likewise.
37244         (POLL_ERR): Likewise.
37245         (POLL_PRI): Likewise.
37246         (POLL_HUP): Likewise.
37247         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37248         (ILL_ILLOPN): Likewise.
37249         (ILL_ILLADR): Likewise.
37250         (ILL_ILLTRP): Likewise.
37251         (ILL_PRVOPC): Likewise.
37252         (ILL_PRVREG): Likewise.
37253         (ILL_COPROC): Likewise.
37254         (ILL_BADSTK): Likewise.
37255         (FPE_INTDIV): Likewise.
37256         (FPE_INTOVF): Likewise.
37257         (FPE_FLTDIV): Likewise.
37258         (FPE_FLTOVF): Likewise.
37259         (FPE_FLTUND): Likewise.
37260         (FPE_FLTRES): Likewise.
37261         (FPE_FLTINV): Likewise.
37262         (FPE_FLTSUB): Likewise.
37263         (SEGV_MAPERR): Likewise.
37264         (SEGV_ACCERR): Likewise.
37265         (BUS_ADRALN): Likewise.
37266         (BUS_ADRERR): Likewise.
37267         (BUS_OBJERR): Likewise.
37268         (BUS_MCEERR_AR): Likewise.
37269         (BUS_MCEERR_AO): Likewise.
37270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37271         (TRAP_TRACE): Likewise.
37272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37273         __USE_XOPEN2K8].
37274         (CLD_KILLED): Likewise.
37275         (CLD_DUMPED): Likewise.
37276         (CLD_TRAPPED): Likewise.
37277         (CLD_STOPPED): Likewise.
37278         (CLD_CONTINUED): Likewise.
37279         (POLL_IN): Likewise.
37280         (POLL_OUT): Likewise.
37281         (POLL_MSG): Likewise.
37282         (POLL_ERR): Likewise.
37283         (POLL_PRI): Likewise.
37284         (POLL_HUP): Likewise.
37285         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37286         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37288         [BZ #16670]
37289         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37290         before #include of <time.h>.
37291         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37292         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37293         (test-xfail-UNIX98/sched.h/conform): Likewise.
37295 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37297         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37298         error absence of trapping exception support.
37299         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37301 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37303         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37304         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37305         * timezone/Makefile (testdata): Move definition above include of
37306         Rules.
37307         (test-zones): New variable.
37308         (tests-special): Add zone files.
37309         (build-testdata): Use $(evaluate-test).
37311         * elf/Makefile (tests-special): Rename tests to end with .out.
37312         ($(objpfx)noload-mem): Likewise.
37313         ($(objpfx)tst-leaks1-mem): Likewise.
37314         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37315         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37316         $(objpfx)test-iconvconfig.out.
37317         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37318         set -e inside subshell and redirect output to file.
37319         * iconvdata/Makefile (generated): Rename tests to end with .out.
37320         Correct type.
37321         (tests-special): Rename tests to end with .out.
37322         ($(objpfx)mtrace-tst-loading): Likewise.
37323         * intl/Makefile (generated): Likewise.
37324         (tests-special): Likewise.
37325         ($(objpfx)mtrace-tst-gettext): Likewise.
37326         * misc/Makefile (generated): Likewise.
37327         (tests-special): Likewise.
37328         ($(objpfx)tst-error1-mem): Likewise.
37329         * nptl/Makefile (tests-special): Likewise.
37330         ($(objpfx)tst-stack3-mem): Likewise.
37331         (generated): Likewise.
37332         * posix/Makefile (generated): Likewise.
37333         (tests-special): Likewise.
37334         (xtests-special): Likewise.
37335         ($(objpfx)tst-fnmatch-mem): Likewise.
37336         ($(objpfx)bug-regex2-mem): Likewise.
37337         ($(objpfx)bug-regex14-mem): Likewise.
37338         ($(objpfx)bug-regex21-mem): Likewise.
37339         ($(objpfx)bug-regex31-mem): Likewise.
37340         ($(objpfx)tst-vfork3-mem): Likewise.
37341         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37342         ($(objpfx)tst-pcre-mem): Likewise.
37343         ($(objpfx)tst-boost-mem): Likewise.
37344         ($(objpfx)bug-ga2-mem): Likewise.
37345         ($(objpfx)bug-glob2-mem): Likewise.
37346         * resolv/Makefile (generate): Likewise.
37347         (tests-special): Likewise.
37348         (xtests-special): Likewise.
37349         (generated): Likewise.
37350         ($(objpfx)mtrace-tst-leaks): Likewise.
37351         ($(objpfx)mtrace-tst-leaks2): Likewise.
37353         * scripts/merge-test-results.sh: New file.
37354         * Makefile (tests-special-notdir): New variable.
37355         (tests): Run merge-test-results.sh.
37356         (xtests): Likewise.
37357         * Rules (tests-special-notdir): New variable.
37358         (xtests-special-notdir): Likewise.
37359         (tests): Run merge-test-results.sh
37360         (xtests): Likewise.
37362         * Makeconfig (test-xfail-name): New variable.
37363         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37364         compute variable name for expected failures.
37365         * conform/Makefile (conformtest-headers-data): New variable.
37366         (conformtest-standards): Likewise.
37367         (conformtest-headers-ISO): Likewise.
37368         (conformtest-headers-ISO99): Likewise.
37369         (conformtest-headers-ISO11): Likewise.
37370         (conformtest-headers-POSIX): Likewise.
37371         (conformtest-headers-XPG3): Likewise.
37372         (conformtest-headers-XPG4): Likewise.
37373         (conformtest-headers-UNIX98): Likewise.
37374         (conformtest-headers-XOPEN2K): Likewise.
37375         (conformtest-headers-POSIX2008): Likewise.
37376         (conformtest-headers-XOPEN2K8): Likewise.
37377         (conformtest-header-list-base): Likewise.
37378         (conformtest-header-list-tests): Likewise.
37379         (conformtest-header-base): Likewise.
37380         (conformtest-header-tests): Likewise.
37381         (tests-special): Add $(conformtest-header-list-tests).  If
37382         [$(fast-check) && !$(cross-compiling)], add
37383         $(conformtest-header-tests) instead of
37384         $(objpfx)run-conformtest.out.
37385         (generated): Add $(conformtest-header-list-base).  If
37386         [$(fast-check) && !$(cross-compiling)], add
37387         $(conformtest-header-base).  Remove previous setting.
37388         ($(conformtest-header-list-tests)): New target.
37389         (test-xfail-run-conformtest): Remove variable.
37390         ($(objpfx)run-conformtest.out): Remove target.
37391         (test-xfail-ISO11/complex.h/conform): New variable.
37392         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37393         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37394         (test-xfail-XPG3/varargs.h/conform): Likewise.
37395         (test-xfail-XPG4/varargs.h/conform): Likewise.
37396         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37397         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37398         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37399         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37400         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37401         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37402         (test-xfail-XPG3/ftw.h/conform): Likewise.
37403         (test-xfail-XPG3/grp.h/conform): Likewise.
37404         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37405         (test-xfail-XPG3/limits.h/conform): Likewise.
37406         (test-xfail-XPG3/pwd.h/conform): Likewise.
37407         (test-xfail-XPG3/search.h/conform): Likewise.
37408         (test-xfail-XPG3/signal.h/conform): Likewise.
37409         (test-xfail-XPG3/stdio.h/conform): Likewise.
37410         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37411         (test-xfail-XPG3/string.h/conform): Likewise.
37412         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37413         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37414         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37415         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37416         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37417         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37418         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37419         (test-xfail-XPG3/termios.h/conform): Likewise.
37420         (test-xfail-XPG3/time.h/conform): Likewise.
37421         (test-xfail-XPG3/unistd.h/conform): Likewise.
37422         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37423         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37424         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37425         (test-xfail-XPG4/netdb.h/conform): Likewise.
37426         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37427         (test-xfail-XPG4/signal.h/conform): Likewise.
37428         (test-xfail-XPG4/stdio.h/conform): Likewise.
37429         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37430         (test-xfail-XPG4/stropts.h/conform): Likewise.
37431         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37432         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37433         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37434         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37435         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37436         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37437         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37438         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37439         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37440         (test-xfail-XPG4/termios.h/conform): Likewise.
37441         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37442         (test-xfail-XPG4/unistd.h/conform): Likewise.
37443         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37444         (test-xfail-POSIX/sched.h/conform): Likewise.
37445         (test-xfail-POSIX/signal.h/conform): Likewise.
37446         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37447         (test-xfail-POSIX/tar.h/conform): Likewise.
37448         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37449         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37450         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37451         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37452         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37453         (test-xfail-UNIX98/sched.h/conform): Likewise.
37454         (test-xfail-UNIX98/signal.h/conform): Likewise.
37455         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37456         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37457         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37458         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37459         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37460         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37461         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37462         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37463         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37464         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37465         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37466         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37467         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37468         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37469         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37470         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37471         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37472         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37473         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37474         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37475         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37476         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37477         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37478         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37479         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37480         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37481         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37482         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37483         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37484         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37485         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37486         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37487         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37488         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37489         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37490         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37491         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37492         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37493         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37494         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37495         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37496         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37497         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37498         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37499         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37500         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37501         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37502         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37503         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37504         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37505         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37506         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37507         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37508         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37509         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37510         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37511         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37512         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37513         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37514         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37515         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37516         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37517         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37518         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37519         (conformtest-cc-flags): Likewise.
37520         ($(conformtest-header-tests): New target.
37521         * conform/check-header-lists.sh: New file.
37522         * conform/run-conformtest.sh: Remove.
37524         * conform/conformtest.pl: Allow ' and \ in values given for
37525         constants.
37526         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37527         inclusion.
37528         [POSIX] (sys/types.h): Likewise.
37529         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37530         inclusion.
37531         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37532         inclusion.
37533         * conform/data/signal.h-data (SIGIO): Remove expectation.
37534         [XPG3] (SIGBUS): Do not expect.
37535         [POSIX || XPG3] (SIGPOLL): Likewise.
37536         [POSIX || XPG3] (SIGPROF): Likewise.
37537         [POSIX || XPG3] (SIGSYS): Likewise.
37538         [XPG3] (SIGTRAP): Likewise.
37539         [POSIX || XPG3] (SIGURG): Likewise.
37540         [POSIX || XPG3] (SIGVTALRM): Likewise.
37541         [POSIX || XPG3] (SIGXCPU): Likewise.
37542         [POSIX || XPG3] (SIGXFSZ): Likewise.
37543         [POSIX] (SA_SIGINFO): Expect.
37544         [XPG3] (siginfo_t): Do not expect type or contents.
37545         [POSIX] (si_pid): Do not expect element.
37546         [POSIX] (si_uid): Likewise.
37547         [POSIX] (si_addr): Likewise.
37548         [POSIX] (si_status): Likewise.
37549         [POSIX] (si_band): Likewise.
37550         [XPG4] (si_value): Likewise.
37551         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37552         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37553         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37554         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37555         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37556         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37557         [POSIX || XPG3] (ILL_COPROC): Likewise.
37558         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37559         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37560         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37561         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37562         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37563         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37564         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37565         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37566         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37567         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37568         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37569         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37570         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37571         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37572         [POSIX || XPG3] (CLD_EXITED): Likewise.
37573         [POSIX || XPG3] (CLD_KILLED): Likewise.
37574         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37575         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37576         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37577         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37578         [POSIX || XPG3] (POLL_IN): Likewise.
37579         [POSIX || XPG3] (POLL_OUT): Likewise.
37580         [POSIX || XPG3] (POLL_MSG): Likewise.
37581         [POSIX || XPG3] (POLL_ERR): Likewise.
37582         [POSIX || XPG3] (POLL_PRI): Likewise.
37583         [POSIX || XPG3] (POLL_HUP): Likewise.
37584         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37585         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37586         (SIG*): Do not allow.
37587         [XPG3] (si_*): Likewise.
37588         [XPG3] (SI_*): Likewise.
37589         [XPG3 || XPG4] (sigev_*): Likewise.
37590         [XPG3 || XPG4] (SIGEV_*): Likewise.
37591         [XPG3 || XPG4] (sival_*): Likewise.
37592         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37593         [POSIX || XPG3] (BUS_*): Likewise.
37594         [POSIX || XPG3] (CLD_*): Likewise.
37595         [POSIX || XPG3] (FPE_*): Likewise.
37596         [POSIX || XPG3] (ILL_*): Likewise.
37597         [POSIX || XPG3] (POLL_*): Likewise.
37598         [POSIX || XPG3] (SEGV_*): Likewise.
37599         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37600         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37601         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37602         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37603         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37604         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37605         Specify type and value.
37606         (TVERSLEN): Likewise.
37607         (REGTYPE): Likewise.
37608         (AREGTYPE): Likewise.
37609         (LNKTYPE): Likewise.
37610         (SYMTYPE): Likewise.
37611         (CHRTYPE): Likewise.
37612         (BLKTYPE): Likewise.
37613         (DIRTYPE): Likewise.
37614         (FIFOTYPE): Likewise.
37615         (CONTTYPE): Likewise.
37616         (TSUID): Likewise.
37617         (TSGID): Likewise.
37618         (TSVTX): Likewise.
37619         (TUREAD): Likewise.
37620         (TUWRITE): Likewise.
37621         (TUEXEC): Likewise.
37622         (TGREAD): Likewise.
37623         (TGWRITE): Likewise.
37624         (TGEXEC): Likewise.
37625         (TOREAD): Likewise.
37626         (TOWRITE): Likewise.
37627         (TOEXEC): Likewise.
37628         [POSIX] (TSVTX): Expect constant.
37630 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37632         * Makefile (tests): Change dependencies to ....
37633         (tests-special): ... additions to this variable.
37634         (tests): Depend on $(tests-special).
37635         * Makerules (check-abi-list): New variable.
37636         (check-abi): Depend on $(check-abi-list).
37637         [$(subdir) = elf] (tests-special): Add
37638         $(objpfx)check-abi-libc.out.
37639         [$(build-shared) = yes && subdir] (tests-special): Add
37640         $(check-abi-list).
37641         [$(build-shared) = yes && subdir] (tests): Do not depend on
37642         check-abi.
37643         * Rules (tests): Depend on $(tests-special).
37644         (xtests): Depend on $(xtests-special).
37645         * catgets/Makefile (tests): Change dependencies to ....
37646         (tests-special): ... additions to this variable.
37647         * conform/Makefile (tests): Change dependencies to ....
37648         (tests-special): ... additions to this variable.
37649         * elf/Makefile (tests): Change dependencies to ....
37650         (tests-special): ... additions to this variable.
37651         * grp/Makefile (tests): Change dependencies to ....
37652         (tests-special): ... additions to this variable.
37653         * iconv/Makefile (xtests): Change dependencies to ....
37654         (xtests-special): ... additions to this variable.
37655         * iconvdata/Makefile (tests): Change dependencies to ....
37656         (tests-special): ... additions to this variable.
37657         * intl/Makefile (tests): Change dependencies to ....
37658         (tests-special): ... additions to this variable.  Also add
37659         $(objpfx)tst-gettext.out.
37660         * io/Makefile (tests): Change dependencies to ....
37661         (tests-special): ... additions to this variable.
37662         * libio/Makefile (tests): Change dependencies to ....
37663         (tests-special): ... additions to this variable.
37664         * malloc/Makefile (tests): Change dependencies to ....
37665         (tests-special): ... additions to this variable.
37666         * misc/Makefile (tests): Change dependencies to ....
37667         (tests-special): ... additions to this variable.
37668         * nptl/Makefile (tests): Change dependencies to ....
37669         (tests-special): ... additions to this variable.
37670         * nptl_db/Makefile (tests): Change dependencies to ....
37671         (tests-special): ... additions to this variable.
37672         * posix/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         * resolv/Makefile (tests): Change dependencies to ....
37677         (tests-special): ... additions to this variable.
37678         (xtests): Change dependencies to ....
37679         (xtests-special): ... additions to this variable.
37680         * stdio-common/Makefile (tests): Change dependencies to ....
37681         (tests-special): ... additions to this variable.
37682         (do-tst-unbputc): Remove target.
37683         (do-tst-printf): Likewise.
37684         * stdlib/Makefile (tests): Change dependencies to ....
37685         (tests-special): ... additions to this variable.
37686         * string/Makefile (tests): Change dependencies to ....
37687         (tests-special): ... additions to this variable.
37688         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37689         (tests-special): ... additions to this variable.
37691         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37692         whole file.
37693         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37694         whole file.
37695         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37696         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37698         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37699         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37700         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37701         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37702         * conform/data/libgen.h-data [XPG3]: Likewise.
37703         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37704         * conform/data/ndbm.h-data [XPG3]: Likewise.
37705         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37706         * conform/data/netdb.h-data [XPG3]: Likewise.
37707         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37708         * conform/data/poll.h-data [XPG3]: Likewise.
37709         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37710         * conform/data/strings.h-data [XPG3]: Likewise.
37711         * conform/data/stropts.h-data [XPG3]: Likewise.
37712         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37713         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37714         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37715         Likewise.
37716         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37717         * conform/data/sys/time.h-data [XPG3]: Likewise.
37718         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37719         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37720         * conform/data/sys/un.h-data [XPG3]: Likewise.
37721         * conform/data/syslog.h-data [XPG3]: Likewise.
37722         * conform/data/ucontext.h-data [XPG3]: Likewise.
37723         * conform/data/utmpx.h-data [XPG3]: Likewise.
37724         * conform/data/varargs.h-data [UNIX98]: Enable file.
37726         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37728         * math/libm-test.inc (struct test_f_f_data): Move expected results
37729         into structure for each rounding mode.
37730         (struct test_ff_f_data): Likewise.
37731         (struct test_ff_f_data_nexttoward): Likewise.
37732         (struct test_fi_f_data): Likewise.
37733         (struct test_fl_f_data): Likewise.
37734         (struct test_if_f_data): Likewise.
37735         (struct test_fff_f_data): Likewise.
37736         (struct test_c_f_data): Likewise.
37737         (struct test_f_f1_data): Likewise.
37738         (struct test_fF_f1_data): Likewise.
37739         (struct test_ffI_f1_data): Likewise.
37740         (struct test_c_c_data): Likewise.
37741         (struct test_cc_c_data): Likewise.
37742         (struct test_f_i_data): Likewise.
37743         (struct test_ff_i_data): Likewise.
37744         (struct test_f_l_data): Likewise.
37745         (struct test_f_L_data): Likewise.
37746         (struct test_fFF_11_data): Likewise.
37747         (RM_): New macro.
37748         (RM_FE_DOWNWARD): Likewise.
37749         (RM_FE_TONEAREST): Likewise.
37750         (RM_FE_TOWARDZERO): Likewise.
37751         (RM_FE_UPWARD): Likewise.
37752         (RUN_TEST_LOOP_f_f): Update references to expected results.
37753         (RUN_TEST_LOOP_2_f): Likewise.
37754         (RUN_TEST_LOOP_fff_f): Likewise.
37755         (RUN_TEST_LOOP_c_f): Likewise.
37756         (RUN_TEST_LOOP_f_f1): Likewise.
37757         (RUN_TEST_LOOP_fF_f1): Likewise.
37758         (RUN_TEST_LOOP_fI_f1): Likewise.
37759         (RUN_TEST_LOOP_ffI_f1): Likewise.
37760         (RUN_TEST_LOOP_c_c): Likewise.
37761         (RUN_TEST_LOOP_cc_c): Likewise.
37762         (RUN_TEST_LOOP_f_i): Likewise.
37763         (RUN_TEST_LOOP_f_i_tg): Likewise.
37764         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37765         (RUN_TEST_LOOP_f_b): Likewise.
37766         (RUN_TEST_LOOP_f_b_tg): Likewise.
37767         (RUN_TEST_LOOP_f_l): Likewise.
37768         (RUN_TEST_LOOP_f_L): Likewise.
37769         (RUN_TEST_LOOP_fFF_11): Likewise.
37770         * math/gen-libm-test.pl (parse_args): Output four copies of
37771         expected results for each test.
37773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37774         (__ASSUME_UTIMES): Remove.
37775         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37776         (__ASSUME_UTIMES): Likewise.
37778         * math/gen-auto-libm-tests.c: Update comment on output format.
37779         (output_for_one_input_case): Generate before-rounding and
37780         after-rounding information as conditions on output flags not
37781         floating-point format.
37782         * math/auto-libm-test-out: Regenerated.
37783         * math/gen-libm-test.pl (cond_value): New function.
37784         (or_cond_value): Use cond_value.
37785         (generate_testfile): Handle conditional exceptions.
37787 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37789         * math/libm-test.inc (max_valid_error): New variable.
37790         (init_max_error): Take new argument specifying whether function
37791         results are exactly determined.  Set max_valid_error and bound
37792         other variables for errors based on this argument.
37793         (set_max_error): Do not record results above max_valid_error.
37794         (check_float_internal): Only accept errors of up to 0.5ulps if
37795         also at most max_valid_error.
37796         (START): Take new argument EXACT and pass it to init_max_error.
37797         (acos_test): Update call to START.
37798         (acos_test_tonearest): Likewise.
37799         (acos_test_towardzero): Likewise.
37800         (acos_test_downward): Likewise.
37801         (acos_test_upward): Likewise.
37802         (acosh_test): Likewise.
37803         (asin_test): Likewise.
37804         (asin_test_tonearest): Likewise.
37805         (asin_test_towardzero): Likewise.
37806         (asin_test_downward): Likewise.
37807         (asin_test_upward): Likewise.
37808         (asinh_test): Likewise.
37809         (atan_test): Likewise.
37810         (atanh_test): Likewise.
37811         (atan2_test): Likewise.
37812         (cabs_test): Likewise.
37813         (cacos_test): Likewise.
37814         (cacosh_test): Likewise.
37815         (carg_test): Likewise.
37816         (casin_test): Likewise.
37817         (casinh_test): Likewise.
37818         (catan_test): Likewise.
37819         (catanh_test): Likewise.
37820         (cbrt_test): Likewise.
37821         (ccos_test): Likewise.
37822         (ccosh_test): Likewise.
37823         (ceil_test): Likewise.
37824         (cexp_test): Likewise.
37825         (cimag_test): Likewise.
37826         (clog_test): Likewise.
37827         (clog10_test): Likewise.
37828         (conj_test): Likewise.
37829         (copysign_test): Likewise.
37830         (cos_test): Likewise.
37831         (cos_test_tonearest): Likewise.
37832         (cos_test_towardzero): Likewise.
37833         (cos_test_downward): Likewise.
37834         (cos_test_upward): Likewise.
37835         (cosh_test): Likewise.
37836         (cosh_test_tonearest): Likewise.
37837         (cosh_test_towardzero): Likewise.
37838         (cosh_test_downward): Likewise.
37839         (cosh_test_upward): Likewise.
37840         (cpow_test): Likewise.
37841         (cproj_test): Likewise.
37842         (creal_test): Likewise.
37843         (csin_test): Likewise.
37844         (csinh_test): Likewise.
37845         (csqrt_test): Likewise.
37846         (ctan_test): Likewise.
37847         (ctan_test_tonearest): Likewise.
37848         (ctan_test_towardzero): Likewise.
37849         (ctan_test_downward): Likewise.
37850         (ctan_test_upward): Likewise.
37851         (ctanh_test): Likewise.
37852         (ctanh_test_tonearest): Likewise.
37853         (ctanh_test_towardzero): Likewise.
37854         (ctanh_test_downward): Likewise.
37855         (ctanh_test_upward): Likewise.
37856         (erf_test): Likewise.
37857         (erfc_test): Likewise.
37858         (exp_test): Likewise.
37859         (exp_test_tonearest): Likewise.
37860         (exp_test_towardzero): Likewise.
37861         (exp_test_downward): Likewise.
37862         (exp_test_upward): Likewise.
37863         (exp10_test): Likewise.
37864         (exp10_test_tonearest): Likewise.
37865         (exp10_test_towardzero): Likewise.
37866         (exp10_test_downward): Likewise.
37867         (exp10_test_upward): Likewise.
37868         (pow10_test): Likewise.
37869         (exp2_test): Likewise.
37870         (expm1_test): Likewise.
37871         (expm1_test_tonearest): Likewise.
37872         (expm1_test_towardzero): Likewise.
37873         (expm1_test_downward): Likewise.
37874         (expm1_test_upward): Likewise.
37875         (fabs_test): Likewise.
37876         (fdim_test): Likewise.
37877         (floor_test): Likewise.
37878         (fma_test): Likewise.
37879         (fma_test_towardzero): Likewise.
37880         (fma_test_downward): Likewise.
37881         (fma_test_upward): Likewise.
37882         (fmax_test): Likewise.
37883         (fmin_test): Likewise.
37884         (fmod_test): Likewise.
37885         (fpclassify_test): Likewise.
37886         (frexp_test): Likewise.
37887         (hypot_test): Likewise.
37888         (ilogb_test): Likewise.
37889         (isfinite_test): Likewise.
37890         (finite_test): Likewise.
37891         (isgreater_test): Likewise.
37892         (isgreaterequal_test): Likewise.
37893         (isinf_test): Likewise.
37894         (isless_test): Likewise.
37895         (islessequal_test): Likewise.
37896         (islessgreater_test): Likewise.
37897         (isnan_test): Likewise.
37898         (isnormal_test): Likewise.
37899         (issignaling_test): Likewise.
37900         (isunordered_test): Likewise.
37901         (j0_test): Likewise.
37902         (j1_test): Likewise.
37903         (jn_test): Likewise.
37904         (ldexp_test): Likewise.
37905         (lgamma_test): Likewise.
37906         (gamma_test): Likewise.
37907         (lrint_test): Likewise.
37908         (lrint_test_tonearest): Likewise.
37909         (lrint_test_towardzero): Likewise.
37910         (lrint_test_downward): Likewise.
37911         (lrint_test_upward): Likewise.
37912         (llrint_test): Likewise.
37913         (llrint_test_tonearest): Likewise.
37914         (llrint_test_towardzero): Likewise.
37915         (llrint_test_downward): Likewise.
37916         (llrint_test_upward): Likewise.
37917         (log_test): Likewise.
37918         (log10_test): Likewise.
37919         (log1p_test): Likewise.
37920         (log2_test): Likewise.
37921         (logb_test): Likewise.
37922         (logb_test_downward): Likewise.
37923         (lround_test): Likewise.
37924         (llround_test): Likewise.
37925         (modf_test): Likewise.
37926         (nearbyint_test): Likewise.
37927         (nextafter_test): Likewise.
37928         (nexttoward_test): Likewise.
37929         (pow_test): Likewise.
37930         (pow_test_tonearest): Likewise.
37931         (pow_test_towardzero): Likewise.
37932         (pow_test_downward): Likewise.
37933         (pow_test_upward): Likewise.
37934         (remainder_test): Likewise.
37935         (drem_test): Likewise.
37936         (remainder_test_tonearest): Likewise.
37937         (drem_test_tonearest): Likewise.
37938         (remainder_test_towardzero): Likewise.
37939         (drem_test_towardzero): Likewise.
37940         (remainder_test_downward): Likewise.
37941         (drem_test_downward): Likewise.
37942         (remainder_test_upward): Likewise.
37943         (drem_test_upward): Likewise.
37944         (remquo_test): Likewise.
37945         (rint_test): Likewise.
37946         (rint_test_tonearest): Likewise.
37947         (rint_test_towardzero): Likewise.
37948         (rint_test_downward): Likewise.
37949         (rint_test_upward): Likewise.
37950         (round_test): Likewise.
37951         (scalb_test): Likewise.
37952         (scalbn_test): Likewise.
37953         (scalbln_test): Likewise.
37954         (signbit_test): Likewise.
37955         (sin_test): Likewise.
37956         (sin_test_tonearest): Likewise.
37957         (sin_test_towardzero): Likewise.
37958         (sin_test_downward): Likewise.
37959         (sin_test_upward): Likewise.
37960         (sincos_test): Likewise.
37961         (sinh_test): Likewise.
37962         (sinh_test_tonearest): Likewise.
37963         (sinh_test_towardzero): Likewise.
37964         (sinh_test_downward): Likewise.
37965         (sinh_test_upward): Likewise.
37966         (sqrt_test): Likewise.
37967         (sqrt_test_tonearest): Likewise.
37968         (sqrt_test_towardzero): Likewise.
37969         (sqrt_test_downward): Likewise.
37970         (sqrt_test_upward): Likewise.
37971         (tan_test): Likewise.
37972         (tan_test_tonearest): Likewise.
37973         (tan_test_towardzero): Likewise.
37974         (tan_test_downward): Likewise.
37975         (tan_test_upward): Likewise.
37976         (tanh_test): Likewise.
37977         (tgamma_test): Likewise.
37978         (trunc_test): Likewise.
37979         (y0_test): Likewise.
37980         (y1_test): Likewise.
37981         (yn_test): Likewise.
37982         (significand_test): Likewise.
37984         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37985         individual tests in comment.
37986         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37987         (prev_max_error): New variable.
37988         (prev_real_max_error): Likewise.
37989         (prev_imag_max_error): Likewise.
37990         (compare_ulp_data): Don't refer to test names in comment.
37991         (find_test_ulps): Remove function.
37992         (find_function_ulps): Likewise.
37993         (find_complex_function_ulps): Likewise.
37994         (init_max_error): Take function name as argument.  Look up ulps
37995         for that function.
37996         (print_ulps): Remove function.
37997         (print_max_error): Use prev_max_error instead of calling
37998         find_function_ulps.
37999         (print_complex_max_error): Use prev_real_max_error and
38000         prev_imag_max_error instead of calling find_complex_function_ulps.
38001         (check_float_internal): Take max_ulp parameter instead of calling
38002         find_test_ulps.  Don't call print_ulps.
38003         (check_float): Update call to check_float_internal.
38004         (check_complex): Update calls to check_float_internal.
38005         (START): Pass argument to init_max_error.
38006         * math/gen-libm-test.pl (%results): Don't include "kind"
38007         information.
38008         (parse_ulps): Don't handle ulps of individual tests.
38009         (print_ulps_file): Likewise.
38010         (output_ulps): Likewise.
38011         * math/README.libm-test: Update.
38012         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38013         individual tests.
38014         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38015         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38016         * sysdeps/arm/libm-test-ulps: Likewise.
38017         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38018         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38019         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38020         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38021         * sysdeps/microblaze/libm-test-ulps: Likewise.
38022         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38023         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38025         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38026         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38027         * sysdeps/sh/libm-test-ulps: Likewise.
38028         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38029         * sysdeps/tile/libm-test-ulps: Likewise.
38030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38032 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38034         * math/libm-test.inc (print_complex_max_error): Check separately
38035         whether real and imaginary errors are within allowed range and
38036         pass 0 to print_complex_function_ulps instead of value within
38037         allowed range.
38039 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38041         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38042         formatting.
38043         (get_handles_fopen): Likewise.
38044         (do_write_test): Likewise.
38046         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38048         * libio/fileops.c (do_ftell): Use cached offset when
38049         available.
38050         * libio/iofwide.c (do_ftell_wide): Likewise.
38051         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38052         _IO_file_attach.
38053         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38055         [BZ #16532]
38056         * libio/libioP.h (get_file_offset): New function.
38057         * libio/fileops.c (get_file_offset): Likewise.
38058         (do_ftell): Likewise.
38059         (_IO_new_file_seekoff): Split out ftell logic.
38060         * libio/wfileops.c (do_ftell_wide): Likewise.
38061         (_IO_wfile_seekoff): Split out ftell logic.
38062         * libio/tst-ftell-active-handler.c: New test case.
38063         * libio/Makefile (tests): Add it.
38065 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38067         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38068         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38070 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38072         [BZ #16639]
38073         * nscd/connections.c (nscd_init): Call do_exit.
38074         (start_threads): Call do_exit and notify_parent.
38075         (begin_drop_privileges): Call do_exit.
38076         (finish_drop_privileges): Likewise.
38077         * nscd/selinux.c (preserve_capabilities): Likewise.
38078         (install_real_capabilities): Likewise.
38079         (nscd_selinux_enabled): Likewise.
38080         (avc_create_thread): Likewise.
38081         (avc_alloc_lock): Likewise.
38082         (nscd_avc_init): Likewise.
38083         * nscd/nscd.c (parent_fd): New static variable.
38084         (main): Create a pipe between parent and child processes.
38085         Skip closing parent_fd.
38086         (monitor_child): New function.
38087         (do_exit): Likewise.
38088         (notify_parent): Likewise.
38089         * nscd/nscd.h (notify_parent): Likewise.
38090         (do_exit): Likewise.
38092 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38094         * malloc/malloc.c (__libc_calloc): Revert last change.
38096 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38100 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38102         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38104         implementation.
38105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38106         (__libc_ifunc_impl_list): Likewise.
38107         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38108         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38109         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38110         * string/strrchr.c: Define STRRCHR.
38112 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38114         * benchtest/bench-strtok.c (simple_strtok): Delete.
38115         (strtok_string): Use as benchmark.
38116         * string/strtok (STRTOK): New macro.
38118 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38120         * manual/threads.texi: Add header and standard comments to all
38121         functions.
38123         * elf/dl-lookup.c (check_match): New function.
38124         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38125         (do_lookup_x): Remove nested function check_match. Use non-nested
38126         function check_match.
38128 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38130         * csu/Makefile (generated, before-compile): Use += rather than =.
38131         * catgets/Makefile (generated, generated-dirs): Likewise.
38132         * debug/Makefile (generated): Likewise.
38133         * dlfcn/Makefile (generated): Likewise.
38134         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38135         * iconvdata/Makefile (before-compile, generated): Likewise.
38136         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38137         * libio/Makefile (generated): Likewise.
38138         * malloc/Makefile (generated): Likewise.
38139         * manual/Makefile (generated, generated-dirs): Likewise.
38140         * misc/Makefile (generated): Likewise.
38141         * posix/Makefile (generated): Likewise.
38142         * resolv/Makefile (generated): Likewise.
38143         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38144         * timezone/Makefile (generated, generated-dirs): Likewise.
38146         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38148 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38151         power8 implementation.
38152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38153         file: POWER8 llround ifunc implementation.
38154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38155         (__lllround): Add POWER8 implementation.
38156         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38157         POWER8 llround implementation.
38159         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38160         power8 implementation.
38161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38162         file: POWER8 llrint ifunc implementation.
38163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38164         Add POWER8 implementation.
38165         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38166         POWER8 llrint implementation.
38168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38169         power8 implementation.
38170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38171         file: POWER8 finite ifunc implementation.
38172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38173         Add POWER8 implementation.
38174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38175         Likewise.
38176         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38177         POWER8 finite implementation.
38178         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38181         power8 implementation.
38182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38183         file: POWER8 isinf ifunc implementation.
38184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38185         POWER8 implementation.
38186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38187         Likewise.
38188         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38189         isinf implementation.
38190         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38192         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38193         (INIT_ARCH): Add hwcap2 initialization.
38194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38195         power8 implementation.
38196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38197         file: POWER8 isnan ifunc implementation.
38198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38199         POWER8 implementation.
38200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38201         Likewise.
38202         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38203         isnan implementation.
38204         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38206 2014-02-27  Joey Ye  <joey.ye@arm.com>
38208         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38209         (_FP_NANFRAC_Q): Set to zero.
38211 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38213         [BZ #16623]
38214         * math/auto-libm-test-in: New test inputs.
38215         * math/auto-libm-test-out: Regenerate.
38216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38217         and DA.
38218         (__cos): Likewise.
38219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38221 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38223         * scripts/evaluate-test.sh: Take new argument indicating whether
38224         failure is expected.
38225         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38226         indicating whether failure is expected.
38227         * conform/Makefile (test-xfail-run-conformtest): New variable.
38228         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38229         level.
38230         * posix/Makefile (test-xfail-annexc): New variable.
38231         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38233 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38235         * argp/Makefile: Include Makeconfig immediately after defining
38236         subdir.
38237         * assert/Makefile: Likewise.
38238         * benchtests/Makefile: Likewise.
38239         * catgets/Makefile: Likewise.
38240         * conform/Makefile: Likewise.
38241         * crypt/Makefile: Likewise.
38242         * csu/Makefile: Likewise.
38243         (all): Remove target.
38244         * ctype/Makefile: Include Makeconfig immediately after defining
38245         subdir.
38246         * debug/Makefile: Likewise.
38247         * dirent/Makefile: Likewise.
38248         * dlfcn/Makefile: Likewise.
38249         * gmon/Makefile: Likewise.
38250         * gnulib/Makefile: Likewise.
38251         * grp/Makefile: Likewise.
38252         * gshadow/Makefile: Likewise.
38253         * hesiod/Makefile: Likewise.
38254         * hurd/Makefile: Likewise.
38255         (all): Remove target.
38256         * iconvdata/Makefile: Include Makeconfig immediately after
38257         defining subdir.
38258         * inet/Makefile: Likewise.
38259         * intl/Makefile: Likewise.
38260         * io/Makefile: Likewise.
38261         * libio/Makefile: Likewise.
38262         (all): Remove target.
38263         * locale/Makefile: Include Makeconfig immediately after defining
38264         subdir.
38265         * login/Makefile: Likewise.
38266         * mach/Makefile: Likewise.
38267         (all): Remove target.
38268         * malloc/Makefile: Include Makeconfig immediately after defining
38269         subdir.
38270         (all): Remove target.
38271         * manual/Makefile: Include Makeconfig immediately after defining
38272         subdir.
38273         * math/Makefile: Likewise.
38274         * misc/Makefile: Likewise.
38275         * nis/Makefile: Likewise.
38276         * nss/Makefile: Likewise.
38277         * po/Makefile: Likewise.
38278         (all): Remove target.
38279         * posix/Makefile: Include Makeconfig immediately after defining
38280         subdir.
38281         * pwd/Makefile: Likewise.
38282         * resolv/Makefile: Likewise.
38283         * resource/Makefile: Likewise.
38284         * rt/Makefile: Likewise.
38285         * setjmp/Makefile: Likewise.
38286         * shadow/Makefile: Likewise.
38287         * signal/Makefile: Likewise.
38288         * socket/Makefile: Likewise.
38289         * soft-fp/Makefile: Likewise.
38290         * stdio-common/Makefile: Likewise.
38291         * stdlib/Makefile: Likewise.
38292         * streams/Makefile: Likewise.
38293         * string/Makefile: Likewise.
38294         * sunrpc/Makefile: Likewise.
38295         (all): Remove target.
38296         * sysvipc/Makefile: Include Makeconfig immediately after defining
38297         subdir.
38298         * termios/Makefile: Likewise.
38299         * time/Makefile: Likewise.
38300         * timezone/Makefile: Likewise.
38301         (all): Remove target.
38302         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38303         subdir.
38304         * wctype/Makefile: Likewise.
38306 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38308         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38309         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38310         (libc_feholdexcept_setround_mips): Ditto.
38311         (libc_feholdsetround): New.
38312         (libc_feholdsetroundf): New.
38313         (libc_feholdsetroundl): New.
38314         (libc_feupdateenv_test_mips): New.
38315         (libc_feupdateenv_test): New.
38316         (libc_feupdateenv_testf): New.
38317         (libc_feupdateenv_testl): New.
38318         (libc_feresetround): New.
38319         (libc_feresetroundf): New.
38320         (libc_feresetroundl): New.
38321         (libc_fetestexcept_mips): New.
38322         (libc_fetestexcept): New.
38323         (libc_fetestexceptf): New.
38324         (libc_fetestexceptl): New.
38325         (HAVE_RM_CTX): New.
38326         (libc_feholdexcept_setround_mips_ctx): New.
38327         (libc_feholdexcept_setround_ctx): New.
38328         (libc_feholdexcept_setroundf_ctx): New.
38329         (libc_feholdexcept_setroundl_ctx): New.
38330         (libc_fesetenv_mips_ctx): New.
38331         (libc_fesetenv_ctx): New.
38332         (libc_fesetenv_ctxf): New.
38333         (libc_fesetenv_ctxl): New.
38334         (libc_feupdateenv_mips_ctx): New.
38335         (libc_feupdateenv_ctx): New.
38336         (libc_feupdateenvf_ctx): New.
38337         (libc_feupdateenvl_ctx): New.
38338         (libc_feholdsetround_mips_ctx): New.
38339         (libc_feholdsetround_ctx): New.
38340         (libc_feholdsetroundf_ctx): New.
38341         (libc_feholdsetroundl_ctx): New.
38342         (libc_feresetround_mips_ctx): New.
38343         (libc_feresetround_ctx): New.
38344         (libc_feresetroundf_ctx): New.
38345         (libc_feresetroundl_ctx): New.
38347 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38349         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38351         * manual/ipc.texi: New file.
38352         * manual/Makefile (chapters): Add ipc.
38353         * manual/job.texi: Add "Inter-Process Communication" to next.
38354         * manual/process.texi: Add "Inter-Process Communication" to prev.
38356 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38360 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38362         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38364         * manual/arith.texi: Fix spaces after sentences.
38365         * manual/charset.texi: Likewise.
38366         * manual/errno.texi: Likewise.
38367         * manual/install.texi: Likewise.
38368         * manual/llio.texi: Likewise.
38369         * manual/locale.texi: Likewise.
38370         * manual/maint.texi: Likewise.
38371         * manual/math.texi: Likewise.
38372         * manual/memory.texi: Likewise.
38373         * manual/message.texi: Likewise.
38374         * manual/probes.texi: Likewise.
38375         * manual/resource.texi: Likewise.
38376         * manual/signal.texi: Likewise.
38377         * manual/socket.texi: Likewise.
38378         * manual/stdio.texi: Likewise.
38379         * manual/string.texi: Likewise.
38380         * manual/time.texi: Likewise.
38381         * manual/users.texi: Likewise.
38383 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38385         [BZ #16632]
38386         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38387         _DEFAULT_SOURCE is defined.
38389 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38390             Carlos O'Donell  <carlos@redhat.com>
38392         [BZ #16613]
38393         * elf/dl-tls.c (_dl_count_modids): New function.
38394         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38395         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38396         audit library and increment generation counter.
38397         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38398         * elf/tst-audit9.c: New file.
38399         * elf/tst-auditmod9a.c: New file.
38400         * elf/tst-auditmod9b.c: New file.
38401         * elf/Makefile: Add rules to build and run tst-audit9.
38403 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38405         [BZ #15347]
38406         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38408 2014-02-25  Will Newton  <will.newton@linaro.org>
38410         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38411         (__longjmp): Restore sp and lr before restoring callee
38412         saved registers.  Add longjmp and longjmp_target
38413         SystemTap probe point.
38414         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38415         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38416         Define to zero to match jmpbuf layout.
38417         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38418         (__sigsetjmp): Save sp and lr before saving callee
38419         saved registers.  Add setjmp SystemTap probe point.
38421 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38423         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38425 2014-02-24  Andreas Schwab  <schwab@suse.de>
38427         [BZ #15804]
38428         * elf/pldd.c (wait_for_ptrace_stop): New function.
38429         (main): Call it after attaching.
38431 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38433         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38434         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38435         Versions files is now verboten.
38436         * hurd/Versions (libc: GLIBC_2.0):
38437         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38438         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38439         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38440         * mach/Versions: Likewise.
38442         * csu/Versions: Remove unused %include.
38443         * resolv/Versions: Likewise.
38445 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38447         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38448         ($(objpfx)check-local-headers.out): Likewise.
38449         ($(objpfx)begin-end-check.out): Likewise.
38450         * Makerules (check-abi-%.out): Likewise.
38451         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38452         ($(objpfx)test2.cat): Likewise.
38453         ($(objpfx)de/libc.cat): Likewise.
38454         ($(objpfx)test-gencat.out): Likewise.
38455         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38456         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38457         ($(objpfx)noload-mem): Likewise.
38458         ($(objpfx)tst-pathopt.out): Likewise.
38459         ($(objpfx)tst-rtld-load-self.out): Likewise.
38460         ($(objpfx)tst-array1-cmp.out): Likewise.
38461         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38462         ($(objpfx)tst-array2-cmp.out): Likewise.
38463         ($(objpfx)tst-array3-cmp.out): Likewise.
38464         ($(objpfx)tst-array4-cmp.out): Likewise.
38465         ($(objpfx)tst-array5-cmp.out): Likewise.
38466         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38467         ($(objpfx)check-textrel.out): Likewise.
38468         ($(objpfx)check-execstack.out): Likewise.
38469         ($(objpfx)check-localplt.out): Likewise.
38470         ($(objpfx)order2-cmp.out): Likewise.
38471         ($(objpfx)tst-leaks1-mem): Likewise.
38472         ($(objpfx)tst-leaks1-static-mem): Likewise.
38473         ($(objpfx)tst-initorder-cmp.out): Likewise.
38474         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38475         ($(objpfx)tst-unused-dep.out): Likewise.
38476         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38477         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38478         * iconv/Makefile (test-iconvconfig): Likewise.
38479         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38480         ($(objpfx)iconv-test.out): Likewise.
38481         ($(objpfx)tst-tables.out): Likewise.
38482         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38483         ($(objpfx)tst-gettext.out): Likewise.
38484         ($(objpfx)tst-translit.out): Likewise.
38485         ($(objpfx)tst-gettext2.out): Likewise.
38486         ($(objpfx)tst-gettext4.out): Likewise.
38487         ($(objpfx)tst-gettext6.out): Likewise.
38488         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38489         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38490         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38491         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38492         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38493         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38494         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38495         ($(objpfx)wordexp-tst.out): Likewise.
38496         ($(objpfx)annexc.out): Likewise.
38497         ($(objpfx)tst-fnmatch-mem): Likewise.
38498         ($(objpfx)bug-regex2-mem): Likewise.
38499         ($(objpfx)bug-regex14-mem): Likewise.
38500         ($(objpfx)bug-regex21-mem): Likewise.
38501         ($(objpfx)bug-regex31-mem): Likewise.
38502         ($(objpfx)tst-vfork3-mem): Likewise.
38503         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38504         ($(objpfx)tst-pcre-mem): Likewise.
38505         ($(objpfx)tst-boost-mem): Likewise.
38506         ($(objpfx)tst-getconf.out): Likewise.
38507         ($(objpfx)bug-ga2-mem): Likewise.
38508         ($(objpfx)bug-glob2-mem): Likewise.
38509         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38510         ($(objpfx)mtrace-tst-leaks2): Likewise.
38511         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38512         ($(objpfx)tst-printf.out): Likewise.
38513         ($(objpfx)tst-setvbuf1.out): Likewise.
38514         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38515         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38516         ($(objpfx)tst-fmtmsg.out): Likewise.
38517         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38518         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38520         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38521         * bits/sigaction.h [__USE_MISC]: Likewise.
38522         * bits/waitstatus.h: Update #endif comments.
38523         * ctype/ctype.h: Likewise.
38524         * dirent/dirent.h: Likewise.
38525         [__USE_MISC]: Remove redundant conditionals.
38526         * grp/grp.h: Update #endif comments.
38527         [__USE_GNU]: Remove redundant conditionals.
38528         [__USE_MISC]: Likewise.
38529         * inet/netinet/in.h [__USE_GNU]: Likewise.
38530         * io/sys/stat.h [__USE_MISC]: Likewise.
38531         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38532         * libio/bits/stdio.h: Update #endif comments.
38533         [__USE_MISC]: Remove redundant conditionals.
38534         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38535         * libio/stdio.h: Update #endif comments.
38536         [__USE_MISC]: Remove redundant conditionals.
38537         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38538         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38539         * math/math.h: Update #else and #endif comments.
38540         [__USE_MISC]: Remove redundant conditionals.
38541         * misc/sys/uio.h: Update #endif comments.
38542         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38543         * posix/glob.h [__USE_MISC]: Likewise.
38544         * posix/sys/types.h: Update #endif comments.
38545         [__USE_MISC]: Remove redundant conditionals.
38546         * posix/sys/wait.h: Update #endif comments.
38547         [__USE_MISC]: Remove redundant conditionals.
38548         * posix/unistd.h: Update #endif comments.
38549         [__USE_MISC]: Remove redundant conditionals.
38550         * pwd/pwd.h [__USE_GNU]: Likewise.
38551         [__USE_MISC]: Likewise.
38552         * resolv/netdb.h [__USE_GNU]: Likewise.
38553         * signal/signal.h: Update #endif comments.
38554         [__USE_MISC]: Remove redundant conditionals.
38555         * stdlib/stdlib.h: Update #else and #endif comments.
38556         [__USE_MISC]: Remove redundant conditionals.
38557         [__USE_GNU]: Likewise.
38558         * string/bits/string2.h [__USE_MISC]: Likewise.
38559         * string/string.h: Update #endif comments.
38560         [__USE_MISC]: Remove redundant conditionals.
38561         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38562         Likewise.
38563         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38564         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38565         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38566         Likewise.
38567         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38568         Likewise.
38569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38570         comments.
38571         [__USE_MISC]: Remove redundant conditionals.
38572         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38573         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38574         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38575         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38576         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38577         Likewise.
38578         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38579         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38580         Likewise.
38581         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38582         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38583         Likewise.
38584         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38585         Likewise.
38586         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38587         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38588         Likewise.
38589         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38590         Likewise.
38591         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38592         * sysdeps/x86/bits/string.h: Update #endif comments.
38593         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38594         conditionals.
38595         * time/sys/time.h: Update #endif comments.
38596         * time/time.h: Likewise.
38597         [__USE_MISC]: Remove redundant conditionals.
38599 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38601         [BZ #16600]
38602         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38604 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38606         * Versions.def (librt): Add GLIBC_2.17.
38608 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38610         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38611         synonym for _SYS_AUXV_H to allow direct inclusion.
38612         * sysdeps/sparc/bits/hwcap.h: Likewise.
38613         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38614         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38615         * sysdeps/sparc/sysdep.h: Likewise.
38617 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38619         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38621 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38623         * benchtests/bench-strrchr.c: Print length instead of position.
38625 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38627         [BZ #16611]
38628         * sysdeps/unix/sysv/linux/kernel-features.h
38629         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38630         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38631         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38632         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38633         Likewise.
38634         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38635         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38636         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38637         (__ASSUME_SENDMMSG): Define instead of using previous
38638         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38639         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38640         (__ASSUME_SENDMMSG_SYSCALL): Define.
38641         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38642         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38643         Likewise.
38644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38646         Likewise.
38647         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38648         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38649         Likewise.
38650         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38651         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38652         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38653         [__ASSUME_SENDMMSG]: Change conditionals to
38654         [__ASSUME_SENDMMSG_SOCKETCALL].
38655         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38656         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38657         Define.
38658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38659         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38660         Likewise.
38661         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38662         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38663         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38664         [!__ASSUME_SENDMMSG]: Change conditional to
38665         [!__ASSUME_SENDMMSG_SOCKETCALL].
38666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38667         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38668         Define.
38670         [BZ #16610]
38671         * sysdeps/unix/sysv/linux/kernel-features.h
38672         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38673         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38674         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38675         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38676         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38677         [__i386__ || __sparc__]
38678         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38679         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38680         (__ASSUME_RECVMMSG): Define instead of using previous
38681         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38682         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38683         (__ASSUME_RECVMMSG_SYSCALL): Define.
38684         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38686         Likewise.
38687         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38689         Likewise.
38690         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38691         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38692         Likewise.
38693         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38694         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38695         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38696         [__ASSUME_RECVMMSG]: Change condition to
38697         [__ASSUME_RECVMMSG_SOCKETCALL].
38698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38700         Define.
38701         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38703         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38704         Likewise.
38705         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38706         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38707         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38708         [!__ASSUME_RECVMMSG]: Change condition to
38709         [!__ASSUME_RECVMMSG_SOCKETCALL].
38710         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38711         (__ASSUME_RECVMMSG_SYSCALL): Define.
38713         [BZ #16609]
38714         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38715         __powerpc__ || __s390__ || __sh__ || __sparc__]
38716         (__ASSUME_SOCKETCALL): Define.
38717         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38718         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38719         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38720         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38721         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38722         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38723         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38724         (__ASSUME_ACCEPT4): Define instead of using previous
38725         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38726         __powerpc__ || __sparc__ || __s390__)] condition.
38727         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38728         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38729         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38730         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38731         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38732         [!__ASSUME_ACCEPT4]: Change condition to
38733         [!__ASSUME_ACCEPT4_SOCKETCALL].
38734         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38735         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38736         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38737         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38738         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38739         __ASSUME_ACCEPT4_SYSCALL.
38740         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38741         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38743         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38744         __ASSUME_ACCEPT4_SYSCALL.
38745         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38746         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38747         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38748         [__ASSUME_ACCEPT4]: Change condition to
38749         [__ASSUME_ACCEPT4_SOCKETCALL].
38750         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38751         (__ASSUME_SOCKETCALL): Define.
38752         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38754         (__ASSUME_SOCKETCALL): Define.
38755         (__ASSUME_ACCEPT4): Remove.
38756         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38757         Define.
38758         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38759         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38760         Likewise.
38761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38762         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38764         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38765         macro.
38766         (HWCAP_ARM_LPAE): Likewise.
38767         (HWCAP_ARM_EVTSTRM): Likewise.
38768         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38769         Add vpfd32, lpae and evtstrm.
38770         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38771         Increase to 22.
38773 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38775         * math/auto-libm-test-in: Add tests of clog10.
38776         * math/auto-libm-test-out: Regenerated.
38777         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38778         * sysdeps/i386/fpu/libm-test-ulps: Update.
38779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38781 2014-02-18  Andreas Schwab  <schwab@suse.de>
38783         [BZ #16574]
38784         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38785         Store non-zero if the second buffer was newly allocated.
38786         (send_dg): Likewise.
38787         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38788         to send_vc and send_dg.
38789         (res_nsend): Pass NULL for ansp2_malloced.
38790         * resolv/res_query.c (__libc_res_nquery): Add parameter
38791         answerp2_malloced and pass it down to __libc_res_nsend.
38792         (res_nquery): Pass additional NULL to __libc_res_nquery.
38793         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38794         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38795         second answer buffer if answerp2_malloced was set.
38796         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38797         (__libc_res_nquerydomain): Add parameter
38798         answerp2_malloced and pass it down to __libc_res_nquery.
38799         (res_nquerydomain): Pass additional NULL to
38800         __libc_res_nquerydomain.
38801         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38802         additional NULL to __libc_res_nsend and __libc_res_nquery.
38803         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38804         additional NULL to __libc_res_nsearch.
38805         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38806         parameter of __libc_res_nsearch to check for separately allocated
38807         second buffer.
38808         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38809         __libc_res_nquery.
38810         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38811         additional NULL to __libc_res_nquery.
38812         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38813         __libc_res_nsearch.
38814         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38815         * include/resolv.h: Update prototypes of __libc_res_nquery,
38816         __libc_res_nsearch, __libc_res_nsend.
38818 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38820         * math/auto-libm-test-in: Add tests of fma.
38821         * math/auto-libm-test-out: Regenerated.
38822         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38823         (fma_towardzero_test_data): Likewise.
38824         (fma_downward_test_data): Likewise.
38825         (fma_upward_test_data): Likewise.
38826         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38827         mpc_mode.
38828         (rounding_modes): Add values for new field.
38829         (func_calc_method): Add value mpfr_fff_f.
38830         (func_calc_desc): Add mpfr_fff_f union field.
38831         (test_function): Add field exact_args.
38832         (FUNC): Add macro argument EXACT_ARGS.
38833         (FUNC_mpfr_f_f): Update call to FUNC.
38834         (FUNC_mpfr_f_f): Likewise.
38835         (FUNC_mpfr_ff_f): Likewise.
38836         (FUNC_mpfr_if_f): Likewise.
38837         (FUNC_mpc_c_f): Likewise.
38838         (FUNC_mpc_c_c): Likewise.
38839         (test_functions): Add fma.  Update calls to FUNC.
38840         (handle_input_arg): Add argument exact_args.
38841         (add_test): Update call to handle_input_arg.
38842         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38843         (output_for_one_input_case): Update call to calc_generic_results.
38844         Recalculate exact zero results in each rounding mode.
38846         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38847         non-negative before setting low bit.
38848         * math/auto-libm-test-in: Mark one asin test possibly having
38849         spurious underflow.
38850         * math/auto-libm-test-out: Regenerated.
38851         * sysdeps/i386/fpu/libm-test-ulps: Update.
38852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38854 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38856         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38857         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38858         ports/sysdeps/unix/sysv/linux/microblaze.
38859         * README: Add missing listing for microblaze*-*-linux-gnu.
38861 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38863         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38864         duplicate code
38866 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38868         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38869         * sysdeps/unix/sysv/linux/ia64: Move directory from
38870         ports/sysdeps/unix/sysv/linux/ia64.
38871         * README: Update listing for ia64-*-linux-gnu.
38873 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38874             Joseph Myers  <joseph@codesourcery.com>
38876         * Makeconfig (test-name): New variable.
38877         (evaluate-test): Likewise.
38878         * Makerules (do-test-clean): Remove .test-result files.
38879         (common-mostlyclean): Likewise.
38880         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38881         * scripts/evaluate-test.sh: New file.
38883 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38885         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38886         separate $(objpfx)tst-fopenloc-cmp.out and
38887         $(objpfx)tst-fopenloc-mem.out targets.
38888         (tests): Update dependencies.
38889         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38890         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38891         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38892         (tst-rxspencer-no-utf8-ARGS): New variable.
38893         (tst-rxspencer-no-utf8-ENV): Likewise.
38894         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38895         instead of $(objpfx)tst-rxspencer-mem.
38896         ($(objpfx)tst-rxspencer-mem): Change target to
38897         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38898         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38899         * posix/tst-rxspencer-no-utf8.c: New file.
38901         * elf/Makefile ($(objpfx)order.out): Remove rule.
38902         [$(run-built-tests) = yes] (tests): Depend on
38903         $(objpfx)order-cmp.out.
38904         ($(objpfx)order-cmp.out): New rule.
38905         [$(run-built-tests) = yes] (tests): Depend on
38906         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38907         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38908         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38909         $(objpfx)tst-array5-static-cmp.out.
38910         ($(objpfx)tst-array1.out): Remove rule.
38911         ($(objpfx)tst-array1-cmp.out): New rule.
38912         ($(objpfx)tst-array1-static.out): Remove rule.
38913         ($(objpfx)tst-array1-static-cmp.out): New rule.
38914         ($(objpfx)tst-array2.out): Remove rule.
38915         ($(objpfx)tst-array2-cmp.out): New rule.
38916         ($(objpfx)tst-array3.out): Remove rule.
38917         ($(objpfx)tst-array3-cmp.out): New rule.
38918         ($(objpfx)tst-array4.out): Remove rule.
38919         ($(objpfx)tst-array4-cmp.out): New rule.
38920         ($(objpfx)tst-array5.out): Remove rule.
38921         ($(objpfx)tst-array5-cmp.out): New rule.
38922         ($(objpfx)tst-array5-static.out): Remove rule.
38923         ($(objpfx)tst-array5-static-cmp.out): New rule.
38924         [$(run-built-tests) = yes] (tests): Depend on
38925         $(objpfx)order2-cmp.out.
38926         ($(objpfx)order2.out): Remove rule.
38927         ($(objpfx)order2-cmp.out): New rule.
38928         ($(objpfx)tst-initorder.out): Remove rule.
38929         [$(run-built-tests) = yes] (tests): Depend on
38930         $(objpfx)tst-initorder-cmp.out.
38931         ($(objpfx)tst-initorder-cmp.out): New rule.
38932         ($(objpfx)tst-initorder2.out): Remove rule.
38933         [$(run-built-tests) = yes] (tests): Depend on
38934         $(objpfx)tst-initorder2-cmp.out.
38935         ($(objpfx)tst-initorder2-cmp.out): New rule.
38936         [$(run-built-tests) = yes] (tests): Depend on
38937         $(objpfx)tst-unused-dep-cmp.out.
38938         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38939         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38940         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38941         on $(objpfx)tst-setvbuf1-cmp.out.
38942         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38943         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38944         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38945         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38946         ($(objpfx)tst-svc.out): Remove rule.
38947         ($(objpfx)tst-svc-cmp.out): New rule.
38949 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38951         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38952         * ctype/ctype.h [__USE_MISC]: Likewise.
38953         * dirent/dirent.h [__USE_MISC]: Likewise.
38954         * grp/grp.h [__USE_MISC]: Likewise.
38955         * io/fcntl.h [__USE_MISC]: Likewise.
38956         * io/sys/stat.h [__USE_MISC]: Likewise.
38957         * libio/stdio.h [__USE_MISC]: Likewise.
38958         * posix/unistd.h [__USE_MISC]: Likewise.
38959         * pwd/pwd.h [__USE_MISC]: Likewise.
38960         * stdlib.h [__USE_MISC]: Likewise.
38961         * string/bits/string2.h [__USE_MISC]: Likewise.
38962         * string/string.h [__USE_MISC]: Likewise.
38963         * time/time.h [__USE_MISC]: Likewise.
38965 2014-02-13  Andreas Schwab  <schwab@suse.de>
38967         [BZ #16574]
38968         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38969         second answer buffer if it was separately allocated.
38971 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38973         * sysdeps/mips/math-tests.h: Include <features.h>.
38974         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38975         (ROUNDING_TESTS_long_double): Do not define.
38976         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38977         (EXCEPTION_TESTS_long_double): Likewise.
38978         * sysdeps/mips/mips64/libm-test-ulps: Update.
38980         * include/features.h (__USE_BSD): Remove macro definitions.
38981         (__USE_SVID): Likewise.
38982         (_BSD_SOURCE): Likewise.
38983         (_SVID_SOURCE): Likewise.
38984         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38985         from definition of _DEFAULT_SOURCE.
38986         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38987         [_DEFAULT_SOURCE].
38988         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38989         * bits/mman.h [__USE_BSD]: Likewise.
38990         * bits/termios.h [__USE_BSD]: Likewise.
38991         * bits/waitstatus.h [__USE_BSD]: Likewise.
38992         * ctype/ctype.h [__USE_SVID]: Likewise.
38993         * dirent/dirent.h [__USE_BSD]: Likewise.
38994         * grp/grp.h [__USE_SVID]: Likewise.
38995         [__USE_BSD]: Likewise.
38996         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38997         * io/fcntl.h [__USE_BSD]: Likewise.
38998         * io/ftw.h [__USE_BSD]: Likewise.
38999         * io/sys/stat.h [__USE_BSD]: Likewise.
39000         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39001         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39002         * libio/stdio.h [__USE_SVID]: Likewise.
39003         [__USE_BSD]: Likewise.
39004         * math/math.h [__USE_SVID]: Likewise.
39005         [__USE_BSD]: Likewise.
39006         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39007         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39008         * misc/search.h [__USE_SVID]: Likewise.
39009         * misc/sys/mman.h [__USE_BSD]: Likewise.
39010         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39011         * misc/sys/uio.h [__USE_BSD]: Likewise.
39012         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39013         * posix/glob.h [__USE_BSD]: Likewise.
39014         * posix/regex.h [__USE_BSD]: Likewise.
39015         * posix/sys/types.h [__USE_BSD]: Likewise.
39016         [__USE_SVID]: Likewise.
39017         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39018         * posix/sys/wait.h [__USE_BSD]: Likewise.
39019         [__USE_SVID]: Likewise.
39020         * posix/unistd.h [__USE_BSD]: Likewise.
39021         [__USE_SVID]: Likewise.
39022         * pwd/pwd.h [__USE_SVID]: Likewise.
39023         * resolv/netdb.h [__USE_BSD]: Likewise.
39024         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39025         * signal/signal.h [__USE_BSD]: Likewise.
39026         [__USE_SVID]: Likewise.
39027         * socket/sys/socket.h [__USE_BSD]: Likewise.
39028         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39029         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39030         [__USE_SVID]: Likewise.
39031         * string/bits/string2.h [__USE_BSD]: Likewise.
39032         [__USE_SVID]: Likewise.
39033         * string/bits/string3.h [__USE_BSD]: Likewise.
39034         * string/endian.h [__USE_BSD]: Likewise.
39035         * string/string.h [__USE_SVID]: Likewise.
39036         [__USE_BSD]: Likewise.
39037         * string/strings.h [__USE_BSD]: Likewise.
39038         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39039         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39040         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39041         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39042         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39043         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39044         Likewise.
39045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39046         Likewise.
39047         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39048         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39049         Likewise.
39050         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39051         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39052         Likewise.
39053         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39054         Likewise.
39055         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39056         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39057         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39058         Likewise.
39059         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39060         Likewise.
39061         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39062         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39063         * termios/termios.h [__USE_BSD]: Likewise.
39064         * time/sys/time.h [__USE_BSD]: Likewise.
39065         * time/time.h [__USE_BSD]: Likewise.
39066         [__USE_SVID]: Likewise.
39068         * Makefile (subdir_targets): Remove subdir_lint.out.
39070         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39071         (do-tst-printf): Likewise.
39072         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39073         $(objpfx)tst-printf.out.
39075         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39077         * Makerules (check-abi-%): Change target to
39078         $(objpfx)check-abi-%.out.
39079         (check-abi target): Update dependencies.
39080         (check-abi-pattern variable): Redirect output of diff to $@.
39081         (check-abi variable): Likewise.
39082         * elf/Makefile (check-abi): Update dependencies.
39084         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39085         unused.
39086         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39087         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39088         subnormal range.
39089         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39090         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39091         value has largest subnormal exponent.
39092         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39093         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39094         * sysdeps/aarch64/soft-fp/sfp-machine.h
39095         (_FP_TININESS_AFTER_ROUNDING): New macro.
39096         * sysdeps/alpha/soft-fp/sfp-machine.h
39097         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39098         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39099         Likewise.
39100         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39101         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39102         * sysdeps/mips/soft-fp/sfp-machine.h
39103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39104         * sysdeps/powerpc/soft-fp/sfp-machine.h
39105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39106         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39107         Likewise.
39108         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39109         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39110         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39111         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39112         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39113         Likewise.
39115 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39117         [BZ #16545]
39118         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39119         model 1.
39121 2014-02-12  Richard Henderson  <rth@redhat.com>
39123         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39124         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39125         * sysdeps/unix/sysv/linux/alpha: Move directory from
39126         ports/sysdeps/unix/sysv/linux/alpha.
39127         * README: Update listing for alpha-*-linux-gnu.
39129 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39131         * include/features.h: Update comment documenting feature test
39132         macros.
39133         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39134         _DEFAULT_SOURCE.
39135         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39136         (_SVID_SOURCE): Likewise.
39137         (_DEFAULT_SOURCE): Update description of default features.
39138         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39139         with _GNU_SOURCE.
39140         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39141         (S_ISVTX): Likewise.
39142         * manual/math.texi (Mathematical Constants): Likewise.
39143         * manual/signal.texi (Interrupted Primitives): Likewise.
39144         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39145         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39146         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39147         Don't refer to _SVID_SOURCE in warning text.
39149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39151         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39152         already defined.
39153         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39154         * sysdeps/mips/dl-lookup.c: Remove.
39155         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39157 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39159         [BZ #16447]
39160         * math/auto-libm-test-in: Add testcase for expl.
39161         * math/auto-libm-test-out: Regenerate.
39162         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39163         calculation of unsafe.
39164         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39166 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39168         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39169         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39170         ports/sysdeps/unix/sysv/linux/aarch64.
39171         * README: Update listing for aarch64*-*-linux-gnu.
39173 2014-02-11  Will Newton  <will.newton@linaro.org>
39175         * manual/probes.texi (Mathematical Function Probes): Use
39176         "triggered" instead of "hit".
39178         * manual/probes.texi (Internal Probes): Add documentation
39179         of setjmp, longjmp and longjmp_target probes.
39181         * include/stap-probe.h: Add comment about probe argument
39182         format.
39184         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39185         definition.  (tr_where, tr_freehook, tr_mallochook,
39186         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39188 2014-02-11  David S. Miller  <davem@davemloft.net>
39190         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39191         processing int_tests.
39193 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39195         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39196         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39197         * sysdeps/unix/sysv/linux/mips: Move directory from
39198         ports/sysdeps/unix/sysv/linux/mips.
39199         * README: Update listing for mips-*-linux-gnu and
39200         mips64-*-linux-gnu.
39202 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39204         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39205         * sysdeps/unix/sysv/linux/m68k: Move directory from
39206         ports/sysdeps/unix/sysv/linux/m68k.
39207         * README: Update listing for m68k-*-linux-gnu.
39209 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39211         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39212         * sysdeps/unix/sysv/linux/generic: Move directory from
39213         ports/sysdeps/unix/sysv/linux/generic.
39214         * sysdeps/unix/sysv/linux/tile: Move directory from
39215         ports/sysdeps/unix/sysv/linux/tile.
39216         * README: Update listing for tile*-*-linux-gnu.
39218 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39220         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39221         __builtin_expect.
39222         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39223         * catgets/open_catalog.c (__open_catalog): Likewise.
39224         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39225         * debug/confstr_chk.c: Likewise.
39226         * debug/fread_chk.c (__fread_chk): Likewise.
39227         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39228         * debug/getgroups_chk.c: Likewise.
39229         * debug/mbsnrtowcs_chk.c: Likewise.
39230         * debug/mbsrtowcs_chk.c: Likewise.
39231         * debug/mbstowcs_chk.c: Likewise.
39232         * debug/memcpy_chk.c: Likewise.
39233         * debug/memmove_chk.c: Likewise.
39234         * debug/mempcpy_chk.c: Likewise.
39235         * debug/memset_chk.c: Likewise.
39236         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39237         * debug/strcat_chk.c (__strcat_chk): Likewise.
39238         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39239         * debug/strncat_chk.c (__strncat_chk): Likewise.
39240         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39241         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39242         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39243         * debug/wcpncpy_chk.c: Likewise.
39244         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39245         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39246         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39247         * debug/wcsncpy_chk.c: Likewise.
39248         * debug/wcsnrtombs_chk.c: Likewise.
39249         * debug/wcsrtombs_chk.c: Likewise.
39250         * debug/wcstombs_chk.c: Likewise.
39251         * debug/wmemcpy_chk.c: Likewise.
39252         * debug/wmemmove_chk.c: Likewise.
39253         * debug/wmempcpy_chk.c: Likewise.
39254         * debug/wmemset_chk.c: Likewise.
39255         * dirent/scandirat.c (SCANDIRAT): Likewise.
39256         * dlfcn/dladdr1.c (dladdr1): Likewise.
39257         * dlfcn/dladdr.c (dladdr): Likewise.
39258         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39259         * dlfcn/dlerror.c (__dlerror): Likewise.
39260         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39261         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39262         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39263         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39264         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39265         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39266         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39267         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39268         Likewise.
39269         * elf/dl-conflict.c: Likewise.
39270         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39271         * elf/dl-dst.h: Likewise.
39272         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39273         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39274         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39275         * elf/dl-init.c (call_init, _dl_init): Likewise.
39276         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39277         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39278         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39279         Likewise.
39280         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39281         Likewise.
39282         * elf/dl-minimal.c (__libc_memalign): Likewise.
39283         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39284         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39285         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39286         * elf/dl-sym.c (do_sym): Likewise.
39287         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39288         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39289         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39290         * elf/dl-writev.h (_dl_writev): Likewise.
39291         * elf/ldconfig.c (search_dir): Likewise.
39292         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39293         (dl_main): Likewise.
39294         * elf/setup-vdso.h (setup_vdso): Likewise.
39295         * grp/compat-initgroups.c (compat_call): Likewise.
39296         * grp/fgetgrent.c (fgetgrent): Likewise.
39297         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39298         * grp/putgrent.c (putgrent): Likewise.
39299         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39300         Likewise.
39301         * hurd/hurdinit.c: Likewise.
39302         * iconvdata/8bit-gap.c (struct): Likewise.
39303         * iconvdata/ansi_x3.110.c : Likewise.
39304         * iconvdata/big5.c : Likewise.
39305         * iconvdata/big5hkscs.c : Likewise.
39306         * iconvdata/cp1255.c: Likewise.
39307         * iconvdata/cp1258.c : Likewise.
39308         * iconvdata/cp932.c : Likewise.
39309         * iconvdata/euc-cn.c: Likewise.
39310         * iconvdata/euc-jisx0213.c : Likewise.
39311         * iconvdata/euc-jp.c: Likewise.
39312         * iconvdata/euc-jp-ms.c : Likewise.
39313         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39314         * iconvdata/gb18030.c : Likewise.
39315         * iconvdata/gbbig5.c (const): Likewise.
39316         * iconvdata/gbgbk.c: Likewise.
39317         * iconvdata/gbk.c : Likewise.
39318         * iconvdata/ibm1364.c : Likewise.
39319         * iconvdata/ibm930.c : Likewise.
39320         * iconvdata/ibm932.c: Likewise.
39321         * iconvdata/ibm933.c : Likewise.
39322         * iconvdata/ibm935.c : Likewise.
39323         * iconvdata/ibm937.c : Likewise.
39324         * iconvdata/ibm939.c : Likewise.
39325         * iconvdata/ibm943.c: Likewise.
39326         * iconvdata/iso_11548-1.c: Likewise.
39327         * iconvdata/iso-2022-cn.c : Likewise.
39328         * iconvdata/iso-2022-cn-ext.c : Likewise.
39329         * iconvdata/iso-2022-jp-3.c: Likewise.
39330         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39331         * iconvdata/iso-2022-kr.c : Likewise.
39332         * iconvdata/iso646.c (gconv_end): Likewise.
39333         * iconvdata/iso_6937-2.c : Likewise.
39334         * iconvdata/iso_6937.c : Likewise.
39335         * iconvdata/iso8859-1.c: Likewise.
39336         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39337         * iconvdata/shift_jisx0213.c : Likewise.
39338         * iconvdata/sjis.c : Likewise.
39339         * iconvdata/t.61.c : Likewise.
39340         * iconvdata/tcvn5712-1.c : Likewise.
39341         * iconvdata/tscii.c: Likewise.
39342         * iconvdata/uhc.c : Likewise.
39343         * iconvdata/unicode.c (gconv_end): Likewise.
39344         * iconvdata/utf-16.c (gconv_end): Likewise.
39345         * iconvdata/utf-32.c (gconv_end): Likewise.
39346         * iconvdata/utf-7.c (base64): Likewise.
39347         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39348         * iconv/gconv_close.c (__gconv_close): Likewise.
39349         * iconv/gconv_open.c (__gconv_open): Likewise.
39350         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39351         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39352         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39353         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39354         (ucs4le_internal_loop_single): Likewise.
39355         * iconv/iconv.c (iconv): Likewise.
39356         * iconv/iconv_close.c: Likewise.
39357         * iconv/loop.c (SINGLE): Likewise.
39358         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39359         * include/atomic.h: Likewise.
39360         * inet/inet6_option.c (option_alloc): Likewise.
39361         * intl/bindtextdom.c (set_binding_values): Likewise.
39362         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39363         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39364         * intl/localealias.c (read_alias_file): Likewise.
39365         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39366         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39367         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39368         * libio/fmemopen.c (fmemopen): Likewise.
39369         * libio/iofgets.c (_IO_fgets): Likewise.
39370         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39371         * libio/iofgetws.c (fgetws): Likewise.
39372         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39373         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39374         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39375         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39376         * locale/findlocale.c (_nl_find_locale): Likewise.
39377         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39378         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39379         Likewise.
39380         * locale/setlocale.c (setlocale): Likewise.
39381         * login/programs/pt_chown.c (main): Likewise.
39382         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39383         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39384         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39385         (mmap, mmap64, mremap, munmap): Likewise.
39386         * math/e_exp2l.c: Likewise.
39387         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39388         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39389         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39390         * math/s_catan.c (__catan): Likewise.
39391         * math/s_catanf.c (__catanf): Likewise.
39392         * math/s_catanh.c (__catanh): Likewise.
39393         * math/s_catanhf.c (__catanhf): Likewise.
39394         * math/s_catanhl.c (__catanhl): Likewise.
39395         * math/s_catanl.c (__catanl): Likewise.
39396         * math/s_ccosh.c (__ccosh): Likewise.
39397         * math/s_ccoshf.c (__ccoshf): Likewise.
39398         * math/s_ccoshl.c (__ccoshl): Likewise.
39399         * math/s_cexp.c (__cexp): Likewise.
39400         * math/s_cexpf.c (__cexpf): Likewise.
39401         * math/s_cexpl.c (__cexpl): Likewise.
39402         * math/s_clog10.c (__clog10): Likewise.
39403         * math/s_clog10f.c (__clog10f): Likewise.
39404         * math/s_clog10l.c (__clog10l): Likewise.
39405         * math/s_clog.c (__clog): Likewise.
39406         * math/s_clogf.c (__clogf): Likewise.
39407         * math/s_clogl.c (__clogl): Likewise.
39408         * math/s_csin.c (__csin): Likewise.
39409         * math/s_csinf.c (__csinf): Likewise.
39410         * math/s_csinh.c (__csinh): Likewise.
39411         * math/s_csinhf.c (__csinhf): Likewise.
39412         * math/s_csinhl.c (__csinhl): Likewise.
39413         * math/s_csinl.c (__csinl): Likewise.
39414         * math/s_csqrt.c (__csqrt): Likewise.
39415         * math/s_csqrtf.c (__csqrtf): Likewise.
39416         * math/s_csqrtl.c (__csqrtl): Likewise.
39417         * math/s_ctan.c (__ctan): Likewise.
39418         * math/s_ctanf.c (__ctanf): Likewise.
39419         * math/s_ctanh.c (__ctanh): Likewise.
39420         * math/s_ctanhf.c (__ctanhf): Likewise.
39421         * math/s_ctanhl.c (__ctanhl): Likewise.
39422         * math/s_ctanl.c (__ctanl): Likewise.
39423         * math/w_pow.c: Likewise.
39424         * math/w_powf.c: Likewise.
39425         * math/w_powl.c: Likewise.
39426         * math/w_scalb.c (sysv_scalb): Likewise.
39427         * math/w_scalbf.c (sysv_scalbf): Likewise.
39428         * math/w_scalbl.c (sysv_scalbl): Likewise.
39429         * misc/error.c (error_tail): Likewise.
39430         * misc/pselect.c (__pselect): Likewise.
39431         * nis/nis_callback.c (__nis_create_callback): Likewise.
39432         * nis/nis_call.c (__nisfind_server): Likewise.
39433         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39434         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39435         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39436         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39437         * nis/nis_lookup.c (nis_lookup): Likewise.
39438         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39439         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39440         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39441         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39442         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39443         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39444         * nis/nss_compat/compat-initgroups.c (add_group)
39445         (internal_getgrent_r): Likewise.
39446         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39447         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39448         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39449         (internal_getspnam_r): Likewise.
39450         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39451         (_nss_nis_getaliasbyname_r): Likewise.
39452         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39453         (_nss_nis_getntohost_r): Likewise.
39454         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39455         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39456         (_nss_nis_getgrgid_r): Likewise.
39457         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39458         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39459         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39460         (_nss_nis_gethostbyname4_r): Likewise.
39461         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39462         (initgroups_netid): Likewise.
39463         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39464         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39465         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39466         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39467         (_nss_nis_getprotobynumber_r): Likewise.
39468         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39469         (_nss_nis_getsecretkey): Likewise.
39470         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39471         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39472         (_nss_nis_getpwuid_r): Likewise.
39473         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39474         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39475         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39476         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39477         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39478         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39479         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39480         Likewise.
39481         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39482         (_nss_nisplus_getntohost_r): Likewise.
39483         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39484         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39485         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39486         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39487         Likewise.
39488         * nis/nss_nisplus/nisplus-initgroups.c
39489         (_nss_nisplus_initgroups_dyn): Likewise.
39490         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39491         (_nss_nisplus_getnetbyaddr_r): Likewise.
39492         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39493         (_nss_nisplus_getprotobynumber_r): Likewise.
39494         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39495         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39496         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39497         Likewise.
39498         * nis/nss_nisplus/nisplus-service.c
39499         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39500         (_nss_nisplus_getservbyport_r): Likewise.
39501         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39502         (_nss_nisplus_getspnam_r): Likewise.
39503         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39504         Likewise.
39505         * nscd/aicache.c (addhstaiX): Likewise.
39506         * nscd/cache.c (cache_search, prune_cache): Likewise.
39507         * nscd/connections.c (register_traced_file, send_ro_fd)
39508         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39509         (main_loop_epoll): Likewise.
39510         * nscd/grpcache.c (addgrbyX): Likewise.
39511         * nscd/hstcache.c (addhstbyX): Likewise.
39512         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39513         * nscd/mem.c (gc, mempool_alloc): Likewise.
39514         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39515         (addinnetgrX): Likewise.
39516         * nscd/nscd-client.h (__nscd_acquire_maplock)
39517         (__nscd_drop_map_ref): Likewise.
39518         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39519         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39520         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39521         Likewise.
39522         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39523         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39524         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39525         (__nscd_get_map_ref): Likewise.
39526         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39527         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39528         Likewise.
39529         * nscd/pwdcache.c (addpwbyX): Likewise.
39530         * nscd/selinux.c (preserve_capabilities): Likewise.
39531         * nscd/servicescache.c (addservbyX): Likewise.
39532         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39533         * posix/fnmatch.c (fnmatch): Likewise.
39534         * posix/getopt.c (_getopt_internal_r): Likewise.
39535         * posix/glob.c (glob, glob_in_dir): Likewise.
39536         * posix/wordexp.c (exec_comm_child): Likewise.
39537         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39538         (getanswer_r, gaih_getanswer_slice): Likewise.
39539         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39540         * resolv/res_init.c: Likewise.
39541         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39542         * resolv/res_query.c (__libc_res_nquery): Likewise.
39543         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39544         Likewise.
39545         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39546         * stdio-common/perror.c (perror): Likewise.
39547         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39548         * stdio-common/tmpnam.c (tmpnam): Likewise.
39549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39550         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39551         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39552         Likewise.
39553         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39554         * stdlib/putenv.c (putenv): Likewise.
39555         * stdlib/setenv.c (__add_to_environ): Likewise.
39556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39557         * stdlib/strtol_l.c (INTERNAL): Likewise.
39558         * string/memmem.c (memmem): Likewise.
39559         * string/strerror.c (strerror): Likewise.
39560         * string/strnlen.c (__strnlen): Likewise.
39561         * string/test-memmem.c (simple_memmem): Likewise.
39562         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39563         * sunrpc/pm_getport.c (__get_socket): Likewise.
39564         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39565         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39566         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39567         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39568         Likewise.
39569         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39570         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39571         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39572         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39573         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39574         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39575         Likewise.
39576         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39577         Likewise.
39578         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39579         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39580         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39581         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39582         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39584         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39585         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39586         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39587         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39588         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39589         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39590         Likewise.
39591         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39592         Likewise.
39593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39594         Likewise.
39595         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39596         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39598         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39599         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39600         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39601         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39602         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39604         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39605         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39606         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39607         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39608         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39609         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39610         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39611         Likewise.
39612         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39613         Likewise.
39614         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39615         Likewise.
39616         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39617         Likewise.
39618         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39619         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39620         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39621         Likewise.
39622         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39623         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39624         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39625         * sysdeps/posix/sleep.c: Likewise.
39626         * sysdeps/posix/tempname.c: Likewise.
39627         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39628         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39629         Likewise.
39630         * sysdeps/powerpc/powerpc32/dl-machine.h
39631         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39632         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39634         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39635         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39636         Likewise.
39637         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39638         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39639         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39640         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39641         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39642         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39643         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39644         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39645         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39646         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39647         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39648         (elf_machine_lazy_rel): Likewise.
39649         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39650         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39651         (elf_machine_lazy_rel): Likewise.
39652         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39653         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39654         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39655         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39656         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39657         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39658         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39659         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39660         Likewise.
39661         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39662         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39663         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39664         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39665         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39666         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39667         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39668         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39669         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39670         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39671         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39672         Likewise.
39673         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39674         (__posix_fallocate64_l64): Likewise.
39675         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39676         (posix_fallocate): Likewise.
39677         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39678         Likewise.
39679         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39680         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39681         (getifaddrs_internal): Likewise.
39682         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39683         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39684         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39685         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39686         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39687         (__posix_fallocate64_l64): Likewise.
39688         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39689         Likewise.
39690         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39691         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39692         (__get_clockfreq): Likewise.
39693         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39694         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39695         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39697         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39698         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39699         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39700         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39701         Likewise.
39702         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39703         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39704         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39705         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39706         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39707         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39708         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39709         Likewise.
39710         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39711         (posix_fallocate): Likewise.
39712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39713         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39714         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39715         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39716         (elf_machine_rela, elf_machine_rela_relative)
39717         (elf_machine_lazy_rel): Likewise.
39718         * time/asctime.c (asctime_internal): Likewise.
39719         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39720         * time/tzset.c (__tzset_parse_tz): Likewise.
39721         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39722         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39723         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39724         * wcsmbs/wcsmbsload.h: Likewise.
39726         [BZ #15894]
39727         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39729         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39730         (arena_get2): Remove THREAD_STATS conditionals.
39731         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39732         (__malloc_stats, int): Likewise.
39734 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39736         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39737         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39739         * manual/setjmp.texi: Fix typos/grammar errors.
39741         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39742         Only return early when n is <= 0.  Delete unused return statement.
39744         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39745         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39746         * debug/tst-longjmp_chk3.c: New file.
39748         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39749         (test_main): Replace code with set_fortify_handler call.
39750         * debug/test-strcpy_chk.c: Likewise.
39751         * debug/tst-chk1.c: Likewise.
39752         * debug/tst-longjmp_chk.c: Likewise.
39753         * test-skeleton.c: Include fcntl.h & paths.h
39754         (set_fortify_handler): Define.
39756         * debug/tst-longjmp_chk.c: Add header comment and include
39757         ../test-skeleton.c.
39758         (do_test): Mark static.
39759         (TEST_FUNCTION): Define.
39761         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39762         (IP_PMTUDISC_INTERFACE): Likewise.
39763         (IP_MULTICAST_IF): Likewise.
39764         (IP_MULTICAST_TTL): Likewise.
39765         (IP_MULTICAST_LOOP): Likewise.
39766         (IP_ADD_MEMBERSHIP): Likewise.
39767         (IP_DROP_MEMBERSHIP): Likewise.
39768         (IP_UNBLOCK_SOURCE): Likewise.
39769         (IP_BLOCK_SOURCE): Likewise.
39770         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39771         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39772         (IP_MSFILTER): Likewise.
39773         (MCAST_JOIN_GROUP): Likewise.
39774         (MCAST_BLOCK_SOURCE): Likewise.
39775         (MCAST_UNBLOCK_SOURCE): Likewise.
39776         (MCAST_LEAVE_GROUP): Likewise.
39777         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39778         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39779         (MCAST_MSFILTER): Likewise.
39780         (IP_MULTICAST_ALL): Likewise.
39781         (IP_UNICAST_IF): Likewise.
39783         * timezone/Makefile: Delete $(have-ksh) check.
39784         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39785         * timezone/tzselect.ksh: Add +x mode bits.
39787         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39788         (ANON_INODE_FS_MAGIC): Likewise.
39789         (BDEVFS_MAGIC): Likewise.
39790         (BINFMTFS_MAGIC): Likewise.
39791         (BTRFS_TEST_MAGIC): Likewise.
39792         (CRAMFS_MAGIC_WEND): Likewise.
39793         (DEBUGFS_MAGIC): Likewise.
39794         (ECRYPTFS_SUPER_MAGIC): Likewise.
39795         (EXT3_SUPER_MAGIC): Likewise.
39796         (EXT4_SUPER_MAGIC): Likewise.
39797         (FUTEXFS_SUPER_MAGIC): Likewise.
39798         (HOSTFS_SUPER_MAGIC): Likewise.
39799         (HUGETLBFS_MAGIC): Likewise.
39800         (MINIX3_SUPER_MAGIC): Likewise.
39801         (MTD_INODE_FS_MAGIC): Likewise.
39802         (NILFS_SUPER_MAGIC): Likewise.
39803         (OPENPROM_SUPER_MAGIC): Likewise.
39804         (PIPEFS_MAGIC): Likewise.
39805         (PSTOREFS_MAGIC): Likewise.
39806         (QNX6_SUPER_MAGIC): Likewise.
39807         (RAMFS_MAGIC): Likewise.
39808         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39809         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39810         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39811         (SECURITYFS_MAGIC): Likewise.
39812         (SELINUX_MAGIC): Likewise.
39813         (SMACK_MAGIC): Likewise.
39814         (SOCKFS_MAGIC): Likewise.
39815         (SQUASHFS_MAGIC): Likewise.
39816         (STACK_END_MAGIC): Likewise.
39817         (TMPFS_MAGIC): Likewise.
39818         (USBDEVICE_SUPER_MAGIC): Likewise.
39819         (V9FS_MAGIC): Likewise.
39820         (XENFS_SUPER_MAGIC): Likewise.
39821         (CRAMFS_MAGIC): Fix typo in comment.
39822         (EXT2_SUPER_MAGIC): Update comment.
39823         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39825 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39827         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39828         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39829         * sysdeps/unix/sysv/linux/arm: Move directory from
39830         ports/sysdeps/unix/sysv/linux/arm.
39831         * README: Update listing for arm-*-linux-gnueabi.
39833         * README: Remove mention of am33.
39835 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39837         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39838         than the comma operator, to avoid "rhs of comma has no effect"
39839         compiler warnings.
39840         (__sigfillset, __sigandset, __sigorset): Likewise.
39841         * include/signal.h (__sigemptyset): Likewise.
39842         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39844 2014-02-07  Allan McRae  <allan@archlinux.org>
39846         * version.h (RELEASE): Set to "development".
39847         (VERSION): Set to "2.19.90"
39848         * NEWS: Add 2.20 section.
39850 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39852         [BZ #16529]
39853         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39855 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39857         * manual/contrib.texi: Update entry for Carlos O'Donell,
39858         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39860 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39862         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39864         * sysdeps/unix/sysv/linux/kernel-features.h
39865         [__LINUX_KERNEL_VERSION >= 0x020621]
39866         (__ASSUME_PROC_PID_TASK_COMM): Define.
39868 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39870         [BZ #16398]
39871         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39872         conversion when destination buffer does not have enough space.
39873         * libio/tst-ftell-partial-wide.c: New test case.
39874         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39876         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39877         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39878         Leonard and Allan McRae.
39880 2014-02-04  David S. Miller  <davem@davemloft.net>
39882         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39883         32-bit.
39885 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39888         New file
39889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39890         New file
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39892         New file.
39893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39894         New file.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39896         New file.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39898         New file.
39899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39900         New file.
39901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39902         New file.
39903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39904         New file.
39905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39906         New file.
39907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39908         New file.
39909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39910         New file.
39911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39912         New file.
39914 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39916         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39917         * shlib-versions: Likewise.
39919 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39920             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39922         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39923         (abilist-pattern): New variable, set to %-le.abilist.
39925         * Makerules (abilist-pattern): New variable.
39926         (vpath): Use $(abilist-pattern) in place of %.abilist.
39927         (check-abi-% pattern rule): Likewise.
39928         (check-abi, update-abi): Likewise.
39930 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39934 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39936         * manual/startup.texi: Add next, previous, and top entries for
39937         the `Program Arguments' and `Environment Variables' nodes.
39939 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39941         * manual/macros.texi: Add comments before MTASC-safety macros.
39943         * manual/users.texi: Document MTASC-safety properties.
39945         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39946         (pthread_getspecific, pthread_setspecific): Format with
39947         @deftypefun, and add @safety note.
39948         * manual/signal.texi: Move comments that analyze the above
39949         functions to their home place.
39951 2014-02-03  Allan McRae  <allan@archlinux.org>
39953         * po/sl.po: Update Slovenian translation from translation project.
39955 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39957         * manual/time.texi (timegm): Add missing blank after @c.
39958         Reported by Joseph Myers <joseph@codesourcery.com>.
39960 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39962         * manual/check-safety.sh: New.
39963         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39965         * manual/terminal.texi: Document MTASC-safety properties.
39967         * manual/filesys.texi: Document MTASC-safety properties.
39969         * manual/errno.texi: Document MTASC-safety properties.
39971         * manual/intro.texi: Document safety identifiers and
39972         conditionals.
39974         * manual/string.texi (wcstok): Fix prototype.
39975         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39977         * manual/time.texi: Document MTASC-safety properties.
39979         * manual/string.texi: Document MTASC-safety properties.
39981         * manual/threads.texi: Document MTASC-safety properties.
39983         * manual/stdio.texi: Document MTASC-safety properties.
39985         * manual/syslog.texi: Document MTASC-safety properties.
39987         * manual/sysinfo.texi: Document MTASC-safety properties.
39989         * manual/startup.texi: Document MTASC-safety properties.
39991         * manual/socket.texi: Document MTASC-safety properties.
39993         * manual/signal.texi: Document MTASC-safety properties.
39995 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39997         * manual/setjmp.texi: Document MTASC-safety properties.
39999         * manual/search.texi: Document MTASC-safety properties.
40001         * manual/resource.texi: Document MTASC-safety properties.
40003         * manual/process.texi: Document MTASC-safety properties.
40005         * manual/platform.texi: Document MTASC-safety properties.
40007         * manual/pipe.texi: Document MTASC-safety properties.
40009         * manual/pattern.texi: Document MTASC-safety properties.
40011         * manual/message.texi: Document MTASC-safety properties.
40013         [BZ #12751]
40014         * manual/memory.texi: Document MTASC-safety properties.
40016         * manual/math.texi: Document MTASC-safety properties.
40018         * manual/locale.texi: Document MTASC-safety properties.
40020         * manual/llio.texi: Document MTASC-safety properties.
40022         * manual/libdl.texi: New.
40024         * manual/lang.texi: Document MTASC-safety properties.
40026         * manual/job.texi: Document MTASC-safety properties.
40028         * manual/getopt.texi: Document MTASC-safety properties.
40030         * manual/ctype.texi: Document MTASC-safety properties.
40032 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40034         [BZ #16046]
40035         * csu/libc-tls.c (static_map): Remove variable.
40036         (__libc_setup_tls): Use main executable's link map for TLS data.
40037         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40038         casing for LM_ID_BASE and GL(dl_nns).
40039         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40040         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40041         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40042         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40043         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40044         member.
40045         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40046         l_phnum members.
40048 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40050         * manual/debug.texi: Document MTASC-safety properties.
40052 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40054         [BZ #16510]
40055         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40056         of __x86_64__ when disabling x87 inline functions.
40058 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40060         * manual/charset.texi: Document MTASC-safety properties.
40062         * manual/crypt.texi: Document MTASC-safety properties.
40064         * manual/conf.texi: Document MTASC-safety properties.
40066         * manual/arith.texi: Document MTASC-safety properties.
40068         * manual/argp.texi: Document MTASC-safety properties.
40070         * manual/macros.texi: Introduce macros to document multi
40071         thread, asynchronous signal and asynchronous cancellation
40072         safety properties.
40073         * manual/intro.texi: Introduce the properties themselves.
40075 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40077         * sysdeps/sh/sh4/Makefile: New file.
40079 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40081         * math/gen-libm-test.pl ($srcdir): New variable.
40082         ($auto_input): Use it.
40084 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40086         [BZ #16506]
40087         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40088         access beyond array bounds when parsing netgroups file.
40090         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40091         the old buffer before realloc.
40093 2014-01-27  Allan McRae  <allan@archlinux.org>
40095         * po/fr.po: Update French translation from translation project.
40097 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40099         * sysdeps/sh/libm-test-ulps: Regenerate.
40101 2014-01-24  David S. Miller  <davem@davemloft.net>
40103         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40105 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40107         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40108         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40110 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40112         [BZ #16474]
40113         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40114         string pointers after reallocation.
40116 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40118         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40119         __SH4A__ instead of __SH_FPU_ANY__.
40121 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40123         * sysdeps/sh/fpu_control.h: New file.
40124         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40125         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40126         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40127         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40128         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40129         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40130         * sysdeps/sh/sys/ucontext.h: Remove.
40131         * sysdeps/sh/sys: Remove directory.
40133 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40135         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40136         s390/sys/ucontext.h.
40137         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40138         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40140 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40142         [BZ #15605]
40143         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40145 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40147         [BZ#16431]
40148         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40149         Adjust the vDSO correctly for internal calls.
40150         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40152 2014-01-20  Allan McRae  <allan@archlinux.org>
40154         * po/ca.po: Update Catalan translation from translation project.
40156 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40158         * sysdeps/s390/sotruss-lib.c: New file.
40160 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40162         [BZ#16430]
40163         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40164         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40165         local calls issues by not having a PLT stub required for IFUNC calls.
40166         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40168 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40170         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40171         * math/test-fpucw-static.c: Likewise.
40173 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40175         [BZ #16453]
40176         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40178 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40180         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40181         implementation for powerpc.
40183 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40185         [BZ #14782]
40186         * sysdeps/posix/system.c (__libc_system): Do not enable
40187         asynchronous cancellation.
40189 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40191         [BZ #16427]
40192         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40193         handling only for numbers special also in the IEEE case.
40195 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40197         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40199 2014-01-11  Allan McRae  <allan@archlinux.org>
40201         * po/bg.po: Update Bulgarian translation from translation project.
40203         * po/de.po: Update German translation from translation project.
40205 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40207         * sysdeps/generic/gcc-compat.h: New file.
40209 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40211         * benchtests/asin-inputs: Correct slow inputs.
40212         * benchtests/acos-inputs: Likewise.
40214 2014-01-10  Allan McRae  <allan@archlinux.org>
40216         * po:sv.po: Update Swedish translation from translation project.
40218         * po/vi.po: Update Vietnamese translation from translation project.
40220         * po/eo.po: Update Esperanto translation from translation project.
40222         * po/cs.po: Update Czech translation from translation project.
40224         * po/nl.po: Update Dutch translation from translation project.
40226         * po/pl.po: Update Polish translation from translation project.
40228         * po/ru.po: Update Russian translation from translation project.
40230         * po/uk.po: Update Ukrainian translation from translation project.
40232 2014-01-08  Brooks Moses  <bmoses@google.com>
40234         * elf/dl-load.c: Fix comment typo.
40236 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40238         * po/header.pot: Rename to...
40239         * po/pot.header: ... this.
40240         * po/Makefile: Use pot.header.
40242 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40243             Maxim Kuvyrkov  <maxim@kugelworks.com>
40245         [BZ #16394]
40246         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40247         SRC and DEST against LEN.
40249 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40251         [BZ #16414]
40252         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40253         implementation.
40254         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40256 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40260 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40262         [BZ #16408]
40263         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40264         for large positive arguments.
40266 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40268         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40270         * math/auto-libm-test-in: Mark various tests with
40271         xfail-rounding:ldbl-128ibm.
40272         * math/auto-libm-test-out: Regenerated.
40274         [BZ #16407]
40275         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40276         Increase overflow threshold.
40278 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40280         [BZ #14286]
40281         * stdio-common/vfprintf.c: Check for integer overflow.
40283 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40285         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40286         the first argument and return value of __tls_get_addr_internal.
40288 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40290         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40291         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40293 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40295         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40296         * sysdeps/s390/rtld-global-offsets.sym: New file.
40297         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40298         GLIBC_2.19 symbol.
40299         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40300         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40301         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40302         ... this.
40303         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40304         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40305         ... this.
40306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40307         Regenerate.
40308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40309         Regenerate.
40310         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40311         halfs of GPRs for high_gprs contexts.
40312         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40313         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40314         field.
40315         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40316         uc_flags field.
40317         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40318         64 bit versions:
40319         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40320         for high GPRs (uc_high_gprs) and for future extensions
40321         (__reserved).
40322         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40323         for future extensions (__reserved).
40324         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40325         64 bit versions:
40326         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40327         SC_HIGHGPRS offset definition.
40328         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40329         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40331         * Versions.def: Add GLIBC_2.19 for libpthread.
40332         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40333         siglongjmp for libpthread with GLIBC_2.19 symver.
40334         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40335         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40336         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40337         * sysdeps/s390/__longjmp.c: New file.
40338         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40339         * sysdeps/s390/longjmp.c: New file.
40340         * sysdeps/s390/setjmp.S: New file.
40341         * sysdeps/s390/sigjmp.S: New file.
40342         * sysdeps/s390/v1-longjmp.c: New file.
40343         * sysdeps/s390/v1-setjmp.h: New file.
40344         * sysdeps/s390/v1-sigjmp.c: New file.
40345         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40346         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40347         GLIBC_2.19 version.
40348         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40349         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40350         versioned symbols for ____longjmp_chk.
40351         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40352         Likewise.
40353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40354         Regenerate.
40355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40356         Regenerate.
40357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40358         Regenerate.
40359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40360         Regenerate.
40361         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40362         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40363         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40364         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40365         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40366         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40367         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40368         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40369         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40370         * sysdeps/s390/rtld-__longjmp.c: New file.
40371         * sysdeps/s390/rtld-setjmp.S: New file.
40373 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40375         [BZ #16400]
40376         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40377         Return -__logl (x) for small positive arguments without evaluating
40378         a polynomial.
40380 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40382         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40383         Rename to ...
40384         (__ptrace_peeksiginfo_args): ... this.
40385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40386         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40389 2014-01-06  Allan McRae  <allan@archlinux.org>
40391         * inet/netinet/in.h: Fix typo in comment.
40393 2014-01-05  Andreas Jaeger  <aj@suse.de>
40395         * sysdeps/i386/fpu/libm-test-ulps: Update.
40397 2014-01-05  Allan McRae  <allan@archlinux.org>
40399         * po/libc.pot: Regenerated.
40401         * malloc/memusagestat.c: Fix gettext call formatting.
40403 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40405         * nscd/nscd.c: Improve usage() output.
40407 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40409         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40410         * sysdeps/unix/sysv/linux/configure: Regenerated.
40411         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40412         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40414 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40416         [BZ #16390]
40417         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40418         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40420 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40423         extra tokens at end of #undef directive.
40424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40425         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40426         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40428 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40430         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40432         * math/auto-libm-test-in: Mark various tests with
40433         xfail-rounding:ldbl-128ibm.
40434         * math/auto-libm-test-out: Regenerated.
40436 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40438         [BZ #16386]
40439         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40440         numbers with subnormal high part when calculating exponent.
40442         [BZ #16385]
40443         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40444         fabs.
40446         [BZ #16384]
40447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40448         M_LN2l.
40449         (__ieee754_acoshl): Use __log1pl not __log1p.
40451 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40453         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40454         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40455         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40456         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40457         (reused_arena, arena_get2): Convert to GNU style.
40458         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40459         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40460         (memalign_check, __malloc_set_state): Likewise.
40461         * malloc/mallocbug.c (main): Likewise.
40462         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40463         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40464         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40465         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40466         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40467         (__posix_memalign, malloc_info): Likewise.
40468         * malloc/malloc.h: Likewise.
40469         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40470         (mallochook, memalignhook, reallochook, mabort): Likewise.
40471         * malloc/mcheck.h: Likewise.
40472         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40473         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40474         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40475         * malloc/morecore.c (__default_morecore): Likewise.
40476         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40477         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40478         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40479         (print_and_abort): Likewise.
40480         * malloc/obstack.h: Likewise.
40481         * malloc/set-freeres.c (__libc_freeres): Likewise.
40482         * malloc/tst-mallocstate.c (main): Likewise.
40483         * malloc/tst-mtrace.c (main): Likewise.
40484         * malloc/tst-realloc.c (do_test): Likewise.
40486 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         [BZ #16366]
40489         * nscd/netgroupcache.c (do_notfound): New function.
40490         (addgetnetgrentX): Use it.
40492         [BZ # 16365]
40493         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40494         NSS_STATUS_NOTFOUND.
40496 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40498         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40501 2014-01-01  Allan McRae  <allan@archlinux.org>
40503         * scripts/update-copyrights: Update configure input file suffix.
40505         * NEWS: Update copyright year.
40506         * catgets/gencat.c: Likewise.
40507         * csu/version.c: Likewise.
40508         * debug/catchsegv.sh: Likewise.
40509         * debug/pcprofiledump.c: Likewise.
40510         * debug/xtrace.sh: Likewise.
40511         * elf/ldconfig.c: Likewise.
40512         * elf/ldd.bash.in: Likewise.
40513         * elf/pldd.c: Likewise.
40514         * elf/sotruss.ksh: Likewise.
40515         * elf/sprof.c: Likewise.
40516         * iconv/iconv_prog.c: Likewise.
40517         * iconv/iconvconfig.c: Likewise.
40518         * locale/programs/locale.c: Likewise.
40519         * locale/programs/localedef.c: Likewise.
40520         * login/programs/pt_chown.c: Likewise.
40521         * malloc/memusage.sh: Likewise.
40522         * malloc/memusagestat.c: Likewise.
40523         * malloc/mtrace.pl: Likewise.
40524         * manual/libc.texinfo: Likewise.
40525         * nscd/nscd.c: Likewise.
40526         * nss/getent.c: Likewise.
40527         * nss/makedb.c: Likewise.
40528         * posix/getconf.c: Likewise.
40529         * scripts/test-installation.pl: Likewise.
40531         * All files with FSF copyright notices: Update copyright dates
40532         using scripts/update-copyrights.
40533         * intl/plural.c: Regenerated.
40534         * locale/programs/charmap-kw.h: Likewise.
40535         * locale/programs/locfile-kw.h: Likewise.
40537 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40539         * sysdeps/unix/sysv/linux/configure: Regenerated.
40540         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40541         the linux/fanotify.h header.
40542         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40543         HAVE_LINUX_FANOTIFY_H is defined.
40545 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40547         * benchtests/cos-inputs: New inputs.
40548         * benchtests/sin-inputs: Likewise.
40550         * benchtests/atan-inputs: New inputs. Fix name of multiple
40551         precision fallback inputs.
40553         * benchtests/atanh-inputs: New inputs.
40554         * benchtests/tanh-inputs: Likewise.
40556         * benchtests/acosh-inputs: New inputs.
40557         * benchtests/asinh-inputs: Likewise.
40559         * benchtests/cosh-inputs: New inputs.
40560         * benchtests/sinh-inputs: Likewise.
40562         * benchtests/acos-inputs: Add more inputs.
40563         * benchtests/asin-inputs: Likewise.
40565 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40567         [BZ #16375]
40568         * manual/arith.texi: Fix spelling.
40569         * manual/charset.texi: Likewise.
40570         * manual/errno.texi: Likewise.
40571         * manual/filesys.texi: Likewise.
40572         * manual/lang.texi: Likewise.
40573         * manual/llio.texi: Likewise.
40574         * manual/locale.texi: Likewise.
40575         * manual/message.texi: Likewise.
40576         * manual/resource.texi: Likewise.
40577         * manual/search.texi: Likewise.
40578         * manual/setjmp.texi: Likewise.
40579         * manual/stdio.texi: Likewise.
40580         * manual/string.texi: Likewise.
40581         * manual/sysinfo.texi: Likewise.
40582         * manual/time.texi: Likewise.
40584 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40586         * po/sl.po: New file.
40588 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40590         * .gitignore: Add core/.gdbinit/.gdb_history.
40592 2013-12-27  Allan McRae  <allan@archlinux.org>
40594         [BZ #16369]
40595         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40596         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40598 2013-12-24  Brooks Moses  <bmoses@google.com>
40600         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40601         all compilers that claim C++98 compliance, not just GCC.
40602         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40603         Likewise.
40605 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40607         * NEWS: Restore accidentally deleted bug-fix entries.
40609 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40610             Ondřej Bílka  <neleai@seznam.cz>
40612         [BZ #15073]
40613         * malloc/malloc.c (_int_free): Perform sanity check only if we
40614         have_lock.
40616 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40618         [BZ #12986]
40619         * manual/stdio.texi (String Input Conversions): Clarify that character
40620         classes are not supported.
40622 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40626 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40628         [BZ #16337]
40629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40630         Calculate results for small negative arguments directly rather
40631         than using reflection formula with special underflow handling.
40633         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40634         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40635         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40636         (fchflags): Likewise.
40637         (revoke): Likewise.
40638         (setlogin): Likewise.
40639         (sigaltstack): Likewise.
40640         (wait4): Likewise.
40641         (sigblock): Remove.
40642         (sigsetmask): Likewise.
40643         (wait3): Likewise.
40644         (waitpid): Likewise.
40645         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40646         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40647         file.
40648         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40649         * sysdeps/unix/bsd/Makefile: ... here.
40650         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40651         * sysdeps/unix/bsd/Versions: ... here.
40652         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40653         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40654         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40655         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40656         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40657         * sysdeps/unix/bsd/sigblock.c: ... here.
40658         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40659         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40660         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40661         * sysdeps/unix/bsd/sigvec.c: ... here.
40662         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40663         * sysdeps/unix/bsd/tcdrain.c: ... here.
40664         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40665         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40666         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40667         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40668         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40669         * sysdeps/unix/bsd/wait.c: ... here.
40670         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40671         * sysdeps/unix/bsd/wait3.c: ... here.
40672         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40673         * sysdeps/unix/bsd/waitpid.c: ... here.
40675 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40677         [BZ #16356]
40678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40679         round-to-nearest for [!USE_AS_EXPM1L].
40680         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40681         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40682         more tests of exp and exp10.  Expect some exp10 tests to miss
40683         exceptions or fail in directed rounding modes.
40684         * math/auto-libm-test-out: Regenerated.
40685         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40686         (exp10_test_tonearest): New function.
40687         (exp10_towardzero_test_data): New array.
40688         (exp10_test_towardzero): New function.
40689         (exp10_downward_test_data): New array.
40690         (exp10_test_downward): New function.
40691         (exp10_upward_test_data): New array.
40692         (exp10_test_upward): New function.
40693         (main): Call the new functions.
40694         * sysdeps/i386/fpu/libm-test-ulps: Update.
40695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40697 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40699         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40700         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40701         * math/auto-libm-test-out: Regenerated.
40702         * math/libm-test.inc (acosh_test_data): Add more tests.
40703         (atanh_test_data): Likewise.
40704         (ceil_test_data): Likewise.
40705         (copysign_test_data): Likewise.
40706         * sysdeps/i386/fpu/libm-test-ulps: Update.
40707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40709         * timezone/checktab.awk: Update from tzcode 2013i.
40710         * timezone/private.h: Likewise.
40711         * timezone/scheck.c: Likewise.
40712         * timezone/tzfile.h: Likewise.
40713         * timezone/tzselect.ksh: Likewise.
40714         * timezone/zdump.c: Likewise.
40715         * timezone/zic.c: Likewise.
40717         * math/auto-libm-test-in: Add tests of cpow.
40718         * math/auto-libm-test-out: Regenerated.
40719         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40720         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40721         mpc_cc_c.
40722         (func_calc_desc): Add mpc_cc_c union field.
40723         (test_functions): Add cpow.
40724         (special_fill_2pi): New function.
40725         (special_real_inputs): Add 2pi.
40726         (calc_generic_results): Handle mpc_cc_c.
40727         * sysdeps/i386/fpu/libm-test-ulps: Update.
40728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40730         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40731         csqrt, ctan and ctanh.
40732         * math/auto-libm-test-out: Regenerated.
40733         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40734         (TEST_COND_x86): Likewise.
40735         (ccos_test_data): Use AUTO_TESTS_c_c.
40736         (ccosh_test_data): Likewise.
40737         (cexp_test_data): Likewise.
40738         (clog_test_data): Likewise.
40739         (csqrt_test_data): Likewise.
40740         (ctan_test_data): Likewise.
40741         (ctan_tonearest_test_data): Likewise.
40742         (ctan_towardzero_test_data): Likewise.
40743         (ctan_downward_test_data): Likewise.
40744         (ctan_upward_test_data): Likewise.
40745         (ctanh_test_data): Likewise.
40746         (ctanh_tonearest_test_data): Likewise.
40747         (ctanh_towardzero_test_data): Likewise.
40748         (ctanh_downward_test_data): Likewise.
40749         (ctanh_upward_test_data): Likewise.
40750         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40751         mpc_c_c.
40752         (func_calc_desc): Add mpc_c_c union field.
40753         (FUNC_mpc_c_c): New macro.
40754         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40755         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40756         ctanh.
40757         (special_fill_min_subnorm_p120): New function.
40758         (special_real_inputs): Add min_subnorm_p120.
40759         (calc_generic_results): Handle mpc_c_c.
40760         * sysdeps/i386/fpu/libm-test-ulps: Update.
40761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40763 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40765         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40766         (do_sin_slow): New functions.
40767         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40768         (cslow2, csloww1, csloww2): Use the new functions.
40770         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40771         Use M to change sign of result instead of X.  Assume X is
40772         positive.
40773         (csloww1): Likewise.
40774         (__sin): Adjust.
40775         (__cos): Adjust.
40777         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40778         arguments A and DA.
40779         (__sin): Adjust.
40780         (__cos): Likewise.
40782         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40783         (__cos): Likewise.
40784         (sloww1): Don't adjust sign of DX.
40785         (csloww1): Likewise.
40786         (sloww2): Use X directly and don't adjust sign of DX.
40787         (csloww2): Likewise.
40789 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40791         * math/auto-libm-test-in: Add tests of cabs and carg.
40792         * math/auto-libm-test-out: Regenerated.
40793         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40794         (carg_test_data): Likewise.
40795         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40796         mpc_c_f.
40797         (func_calc_desc): Add mpc_c_f union field.
40798         (test_functions): Add cabs and carg.
40799         (calc_generic_results): Handle mpc_c_f.
40801         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40802         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40803         as a macro and a compat symbol.
40804         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40805         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40806         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40807         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40808         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40810         not use .hidden.
40811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40812         Likewise.
40813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40814         Likewise.
40815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40816         Likewise.
40817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40818         Likewise.
40819         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40820         Likewise.
40821         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40822         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40823         from GLIBC_2.3.2.
40825 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40829 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40831         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40832         trailing whitespace removed.
40833         * scripts/config.guess: Update to version 2013-11-29.
40834         * scripts/config.sub: Update to version 2013-10-01.
40836         * math/auto-libm-test-in: Add tests of sincos.
40837         * math/auto-libm-test-out: Regenerated.
40838         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40839         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40840         mpfr_f_11.
40841         (func_calc_desc): Add mpfr_f_11 union field.
40842         (test_functions): Add sincos.
40843         (calc_generic_results): Handle mpfr_f_11.
40844         * sysdeps/i386/fpu/libm-test-ulps: Update.
40845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40847 2013-12-19  Andreas Schwab  <schwab@suse.de>
40849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40850         CALL_MCOUNT.
40851         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40852         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40853         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40855 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40857         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40858         * sysdeps/i386/fpu/libm-test-ulps: Update.
40859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40861         [BZ #16293]
40862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40863         round-to-nearest mode when using frndint.
40864         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40865         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40866         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40867         Likewise.
40868         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40869         sinh test to fail.
40870         * math/auto-libm-test-out: Regenerated.
40871         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40872         (TEST_COND_x86): Likewise.
40873         (expm1_tonearest_test_data): New array.
40874         (expm1_test_tonearest): New function.
40875         (expm1_towardzero_test_data): New array.
40876         (expm1_test_towardzero): New function.
40877         (expm1_downward_test_data): New array.
40878         (expm1_test_downward): New function.
40879         (expm1_upward_test_data): New array.
40880         (expm1_test_upward): New function.
40881         (main): Run the new test functions.
40882         * sysdeps/i386/fpu/libm-test-ulps: Update.
40883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40885         * include/features.h: Update comment documenting feature test
40886         macros.  Mention _DEFAULT_SOURCE in comment.
40887         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40888         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40889         _BSD_SOURCE and _SVID_SOURCE.
40890         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40891         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40892         !_SVID_SOURCE]: Likewise.
40893         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40894         (__USE_POSIX_IMPLICITLY): Define.
40895         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40896         (_POSIX_SOURCE): Undefine and redefine.
40897         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40898         (_POSIX_C_SOURCE): Likewise.
40899         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40900         (Feature Test Macros): Update documentation of default features.
40902 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40904         * benchtests/Makefile: Add bench-strtok.
40905         * benchtests/bench-strtok.c: New file: strtok benchtest.
40907 2013-12-19  Allan McRae  <allan@archlinux.org>
40909         * manual/install.texi: Suppress menu for plain text output.
40910         * INSTALL: Regenerated.
40912 2013-12-18  Brooks Moses  <bmoses@google.com>
40914         [BZ #15846]
40915         * misc/getauxval.c: Include errno.h.
40916         (__getauxval): Set errno to ENOENT if the requested type is not
40917         found.
40918         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40919         don't declare with __attribute_const__.
40920         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40921         * manual/startup.texi: Document that getauxval sets errno.
40923 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40925         * math/auto-libm-test-in: Add tests of jn and yn.
40926         * math/auto-libm-test-out: Regenerated.
40927         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40928         (yn_test_data): Likewise.
40929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40930         mpfr_if_f.
40931         (func_calc_desc): Add mpfr_if_f union field.
40932         (FUNC_mpfr_if_f): New macro.
40933         (test_functions): Add jn and yn.
40934         (calc_generic_results): Assert type of second input for
40935         mpfr_ff_f.  Handle mpfr_if_f.
40936         (output_for_one_input_case): Disable all checking for arguments
40937         fitting floating-point types in case of an integer argument.
40938         * sysdeps/i386/fpu/libm-test-ulps: Update.
40939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40942         Don't expect fegetround reference in libm.so.
40944 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40946         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40947         $(config-cflags-nofma).
40949 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40951         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40952         * math/auto-libm-test-out: Regenerated.
40954         [BZ #16338]
40955         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40956         to determine exponent and adjust argument to have exponent of -1.
40957         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40958         log2.
40959         * math/auto-libm-test-out: Regenerated.
40960         * sysdeps/i386/fpu/libm-test-ulps: Update.
40961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40963 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40965         * manual/probes.texi: Remove cases when per-thread arenas are
40966         disabled.
40968 2013-12-18  Andreas Schwab  <schwab@suse.de>
40970         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40971         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40972         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40973         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40974         * sysdeps/i386/i686/multiarch/Makefile: Update.
40975         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40977 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40979         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40980         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40982 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40984         [BZ #15968]
40985         Support TZ transition times < 00:00:00.
40986         This is needed for version-3 tz-format files; it supports time
40987         stamps past 2037 for America/Godthab (the only entry in the tz
40988         database for which this change is relevant).
40989         * manual/time.texi (TZ Variable): Document transition times
40990         from -167:59:59 through -00:00:01.
40991         * time/tzset.c (tz_rule): Time of day is now signed.
40992         (__tzset_parse_tz): Parse negative time of day.
40994         Document TZ transition times >= 25:00:00.
40995         * manual/time.texi (TZ Variable): Document transition times from
40996         25:00:00 through 167:59:59.  These are already supported, and this
40997         support will help with version-3 tz-format files.
40999         * manual/time.texi (TZ Variable): Modernize North America example
41000         to reflect current (i.e., 2007-and-later) daylight saving rules.
41002         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41004 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41006         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41007         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41010         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41011         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41012         * sysdeps/unix/bsd/clock.c: Likewise.
41013         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41014         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41015         * sysdeps/unix/bsd/init-posix.c: Likewise.
41016         * sysdeps/unix/bsd/poll.c: Likewise.
41017         * sysdeps/unix/bsd/ptsname.c: Likewise.
41018         * sysdeps/unix/bsd/seekdir.c: Likewise.
41019         * sysdeps/unix/bsd/setegid.c: Likewise.
41020         * sysdeps/unix/bsd/seteuid.c: Likewise.
41021         * sysdeps/unix/bsd/setgid.c: Likewise.
41022         * sysdeps/unix/bsd/setrgid.c: Likewise.
41023         * sysdeps/unix/bsd/setruid.c: Likewise.
41024         * sysdeps/unix/bsd/setsid.c: Likewise.
41025         * sysdeps/unix/bsd/setuid.c: Likewise.
41026         * sysdeps/unix/bsd/sigaction.c: Likewise.
41027         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41028         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41029         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41030         * sysdeps/unix/bsd/telldir.c: Likewise.
41031         * sysdeps/unix/bsd/times.c: Likewise.
41032         * sysdeps/unix/bsd/usleep.c: Likewise.
41034         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41035         ($(objpfx)libbsd-compat.a): Remove rule.
41037         * include/features.h (__FAVOR_BSD): Do not define.
41038         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41039         features conflicting with POSIX.
41040         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41041         (_BSD_SOURCE): Remove description of not being a subset of other
41042         feature test macros.
41043         * manual/job.texi (getpgrp): Do not document BSD version.
41044         (getpgid): Do not document by reference to BSD getpgrp.
41045         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41046         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41047         * signal/signal.h [__FAVOR_BSD]: Likewise.
41048         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41049         instead of making contents conditional on [__FAVOR_BSD].
41050         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41052 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41056 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41058         [BZ #16314]
41059         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41060         values below 2**-450, not 2**-500.
41061         * math/auto-libm-test-in: Don't allow spurious underflow from
41062         hypot.
41063         * math/auto-libm-test-out: Regenerated.
41065         [BZ #16316]
41066         [BZ #16330]
41067         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41068         values of ha and hb and sort them after adjusting subnormal
41069         arguments.
41070         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41071         Likewise.
41072         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41073         values of ea and eb and sort them after adjusting subnormal
41074         arguments.
41075         * math/auto-libm-test-in: Do not expect some hypot tests of
41076         subnormals to fail.  Add more hypot tests.
41077         * math/auto-libm-test-out: Regenerated.
41079 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41081         [BZ #13304]
41082         * sysdeps/sh/s_fma.c: New file.
41083         * sysdeps/sh/s_fmaf.c: New file.
41084         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41085         version.
41086         * sysdeps/sh/Implies: Add sh/soft-fp.
41088 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41090         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41091         level of indirection to members `objname', `errstring', `malloced'.
41092         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41093         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41094         it as the __longjmp argument (just pass 1 instead).
41095         (_dl_catch_error): Initialize C with argument pointers and address of
41096         volatile local ERRCODE rather than copying values out of C at return.
41098 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41100         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41101         * math/auto-libm-test-out: Regenerated.
41102         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41103         (hypot_test_data): Likewise.
41104         (pow_test_data): Likewise.
41105         (pow_tonearest_test_data): Likewise.
41106         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41107         mpfr_ff_f.
41108         (func_calc_desc): Add mpfr_ff_f union field.
41109         (FUNC_mpfr_ff_f): New macro.
41110         (test_functions): Add atan2, hypot and pow.
41111         (special_fill_min): New function.
41112         (special_fill_minus_min): Likewise.
41113         (special_fill_min_subnorm): Likewise.
41114         (special_fill_minus_min_subnorm): Likewise.
41115         (special_real_inputs): Add min, -min, min_subnorm and
41116         -min_subnorm.
41117         (calc_generic_results): Handle mpfr_ff_f.
41118         * sysdeps/i386/fpu/libm-test-ulps: Update.
41119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41121 2013-12-16  Will Newton  <will.newton@linaro.org>
41123         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41124         (Aligned Memory Blocks): Add documentation for aligned_alloc
41125         and suggest it as an alternative to posix_memalign.
41126         (Hooks for Malloc): Document __memalign_hook is also called
41127         for aligned_alloc.  (Summary of Malloc): Add summary for
41128         aligned alloc.  Document __memalign_hook is also called
41129         for aligned_alloc.
41131 2013-12-16  Will Newton  <will.newton@linaro.org>
41133         * manual/memory.texi (Malloc Examples): Clarify default
41134         alignment documentation.  Suggest posix_memalign rather
41135         than memalign or valloc.
41136         (Aligned Memory Blocks): Remove suggestion to use memalign
41137         or valloc.  Remove obsolete comment about BSD.
41138         Document memalign errno values and mark the function obsolete.
41139         Document posix_memalign returned error codes.  Mark valloc
41140         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41141         called for posix_memalign and valloc.
41142         (Summary of Malloc): Add posix_memalign to function summary.
41143         __memalign_hook is also called for posix_memalign and valloc.
41145 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41147         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41148         TAYLOR_SIN.
41149         (__sin): Adjust.
41150         (__cos): Likewise.
41151         (sloww): Use mynumber union.  Expand ternary operator into
41152         if-else statements.
41153         (cslow): use mynumber union.
41155 2013-12-16  Allan McRae  <allan@archlinux.org>
41157         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41158         * configure: Regenerated.
41160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41162         [BZ #14120]
41163         * configure.ac: Added --enable-maintainer-mode. Check for
41164         autoconf when enabled.
41165         * configure: Regenerated.
41167         * nscd/nscd.service: New file.
41168         * nscd/nscd.tmpfiles: New file.
41170 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41172         [BZ #12100]
41173         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41174         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41175         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41176         (strstr): Add __strstr_sse2_unaligned ifunc.
41177         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41178         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41179         (strcasestr): Remove __strcasestr_sse42 ifunc.
41180         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41184 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41186         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41187         * sysdeps/sh/bits/fenv.h: ... here.
41188         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41190 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41192         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41195         hypotf multiarch implementations.
41196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41197         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41199         multiarch hypot for PPC64.
41200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41203         multiarch hypotf for PPC64.
41205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41206         modff multiarch implementations.
41207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41210         multiarch modf for PPC64.
41211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41214         multiarch modff for PPC64.
41216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41217         and logl multiarch implementations.
41218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41221         multiarch logb for PPC64.
41222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41225         multiarch logb for PPC64.
41226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41229         multiarch logb for PPC64.
41231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41232         isinff multiarch implementation.
41233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41234         file.
41235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41237         multiarch isinf for PPC64.
41238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41239         file.
41240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41241         multiarch isinff for PPC64.
41243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41244         finitef multiarch implementation.
41245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41246         file.
41247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41249         multiarch finite for PPC64.
41250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41251         file.
41252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41253         multiarch finitef for PPC64.
41255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41256         lrint multiarch implementation.
41257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41258         file.
41259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41261         multiarch llrint for PPC64.
41262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41263         multiarch lrint for PPC64.
41265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41266         copysignf multiarch implementation.
41267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41268         file.
41269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41270         file.
41271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41272         multiarch copysign for PPC64.
41273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41274         multiarch copysignf for PPC64.
41276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41277         multiarch implementation.
41278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41279         file.
41280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41281         file.
41282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41283         file.
41284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41285         file.
41286         multiarch llround for PPC64.
41287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41288         multiarch trunc for PPC64.
41289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41290         multiarch truncf for PPC64.
41292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41293         multiarch implementation.
41294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41295         file.
41296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41297         file.
41298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41299         file.
41300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41301         file.
41302         multiarch llround for PPC64.
41303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41304         multiarch round for PPC64.
41305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41306         multiarch roundf for PPC64.
41308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41309         multiarch implementation.
41310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41311         file.
41312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41313         file.
41314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41315         file.
41316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41317         file.
41318         multiarch llround for PPC64.
41319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41320         multiarch floor for PPC64.
41321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41322         multiarch floorf for PPC64.
41324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41325         multiarch implementation.
41326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41327         file.
41328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41329         file.
41330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41331         file.
41332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41333         file.
41334         multiarch llround for PPC64.
41335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41336         multiarch ceil for PPC64.
41337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41338         multiarch ceilf for PPC64.
41340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41341         multiarch implementation.
41342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41343         file.
41344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41345         file.
41346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41347         file.
41348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41349         multiarch llround for PPC64.
41350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41351         multiarch lround for PPC64.
41353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41354         multiarch implementation.
41355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41358         file.
41359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41362         multiarch isnan for PPC64.
41363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41364         multiarch isnanf for PPC64.
41366         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41367         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41368         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41369         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41370         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41373         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41374         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41375         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41376         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41379         multiarch implementations.
41380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41381         (__libc_ifunc_impl_list): Likewise.
41382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41385         multiarch stpcpy for PPC64.
41387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41388         multiarch implementations.
41389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41390         (__libc_ifunc_impl_list): Likewise.
41391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41392         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41393         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41394         multiarch strcpy for PPC64.
41396         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41397         redefine function name.
41398         (_wordcopy_fwd_dest_aligned): Likewise.
41399         (_wordcopy_bwd_aligned): Likewise.
41400         (_wordcopy_bwd_dest_aligned): Likewise.
41401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41402         multiarch implementations.
41403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41404         (__libc_ifunc_impl_list): Likewise.
41405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41407         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41408         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41409         multiarch wcscpy for PPC64.
41411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41412         multiarch implementations.
41413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41414         (__libc_ifunc_impl_list): Likewise.
41415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41417         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41418         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41419         multiarch wcscpy for PPC64.
41421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41422         multiarch implementations.
41423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41424         (__libc_ifunc_impl_list): Likewise.
41425         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41426         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41427         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41428         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41429         multiarch wcsrchr for PPC64.
41431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41432         multiarch implementations.
41433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41434         (__libc_ifunc_impl_list): Likewise.
41435         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41436         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41437         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41438         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41439         multiarch wcschr for PPC64.
41441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41442         multiarch implementations.
41443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41444         (__libc_ifunc_impl_list): Likewise.
41445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41446         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41447         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41448         multiarch strchrnul for PPC64.
41450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41451         implementations.
41452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41453         (__libc_ifunc_impl_list): Likewise.
41454         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41455         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41456         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41457         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41458         strchr for PPC64.
41460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41461         implementations.
41462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41463         (__libc_ifunc_impl_list): Likewise.
41464         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41465         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41466         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41467         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41468         strncmp for PPC64.
41470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41471         multiarch implementations.
41472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41473         (__libc_ifunc_impl_list): Likewise.
41474         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41475         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41476         strncasecmp for PPC64.
41477         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41478         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41479         multiarch strncasecmp_l for PPC64.
41481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41482         multiarch implementations.
41483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41484         (__libc_ifunc_impl_list): Likewise.
41485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41487         multiarch strcasecmp for PPC64.
41488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41489         file.
41490         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41491         multiarch strcasecmp_l for PPC64.
41493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41494         implementations.
41495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41496         (__libc_ifunc_impl_list): Likewise.
41497         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41498         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41499         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41500         strnlen for PPC64.
41502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41503         implementations.
41504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41505         (__libc_ifunc_impl_list): Likewise.
41506         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41507         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41508         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41509         strlen for PPC64.
41511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41512         implementations.
41513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41514         (__libc_ifunc_impl_list): Likewise.
41515         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41516         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41517         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41518         rawmemrchr for PPC64.
41520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41521         implementation.
41522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41523         (__libc_ifunc_impl_list): Likewise.
41524         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41525         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41526         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41527         memrchr for PPC64.
41529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41530         implementation.
41531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41532         (__libc_ifunc_impl_list): Likewise.
41533         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41534         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41535         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41536         memchr for PPC64.
41538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41539         implementation.
41540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41541         (__libc_ifunc_impl_list): Likewise.
41542         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41543         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41544         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41545         mempcpy for PPC64.
41547         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41548         avoid cretion of __bzero symbol.
41549         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41550         Likewise.
41551         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41552         Likewise.
41553         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41554         Likewise.
41555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41556         multiarch implementations.
41557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41558         (__libc_ifunc_impl_list): Likewise.
41559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41560         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41561         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41562         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41563         bzero for PPC32.
41564         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41565         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41566         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41567         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41568         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41569         memset for PPC64.
41570         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41572         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41574         implementations.
41575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41576         (__libc_ifunc_impl_list): Likewise.
41577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41578         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41579         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41580         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41581         memcmp for PPC64.
41583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41584         multiarch for POWER/PPC64.
41585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41586         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41587         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41591         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41593         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41594         memcpy for PPC64.
41596         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41597         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41598         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41599         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41600         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41601         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41602         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41603         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41604         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41605         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41606         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41607         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41608         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41609         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41610         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41619 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41623 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41625         * benchtests/Makefile (bench): Add exp2 and log2.
41626         (LDLIBS-bench-exp2): Add -lm.
41627         (LDLIBS-bench-log2): Likewise.
41628         * benchtests/exp2-inputs: New inputs file.
41629         * benchtests/log2-inputs: New inputs file.
41630         * benchtests/log-inputs: Add new inputs.
41631         * benchtests/tan-inputs: Likewise.
41633 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41635         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41636         definition...
41637         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41638         (csloww2): ... from here.
41640         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41641         instead of structures.
41642         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41643         (POLYNOMIAL): Likewise.
41644         (TAYLOR_SLOW): Likewise.
41645         (__sin): Likewise.
41646         (__cos): Likewise.
41647         (slow1): Likewise.
41648         (slow2): Likewise.
41649         (sloww): Likewise.
41650         (sloww1); Likewise.
41651         (sloww2): Likewise.
41652         (bsloww1): Likewise.
41653         (bsloww2): Likewise.
41654         (cslow2): Likewise.
41655         (csloww): Likewise.
41656         (csloww1): Likewise.
41657         (csloww2): Likewise.
41659 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41661         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41662         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41663         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41664         * malloc/hooks.c (realloc_check): Likewise.
41666         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41667         * malloc/arena.c: Remove PER_THREAD conditional.
41668         [!PER_THREAD]: Remove code.
41669         (ptmalloc_unlock_all2): Likewise.
41670         (ptmalloc_init): Likewise.
41671         (_int_new_arena): Likewise.
41672         (arena_get2): Likewise.
41673         * malloc/hooks.c (__malloc_get_state): Likewise.
41674         (__malloc_set_state): Likewise.
41675         * malloc/malloc.c: Likewise.
41676         (struct malloc_state): Likewise.
41677         (struct malloc_par): Likewise.
41678         (__libc_realloc): Likewise.
41679         (__libc_mallopt): Likewise.
41681 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41683         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41685 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41687         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41688         macro to a function.  Check for zero perturb_byte.
41689         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41691         * malloc/malloc.c: (force_reg): Remove.
41692         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41693         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41694         force_reg by atomic_forced_read.
41695         * malloc/arena.c (ptmalloc_init): Likewise.
41696         * malloc/hooks.c (top_check): Likewise.
41698 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41702 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41706 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41708         * math/auto-libm-test-in: Add tests of lgamma.
41709         * math/auto-libm-test-out: Regenerated.
41710         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41711         (M_LOG_2_SQRT_PIl): Likewise.
41712         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41714         mpfr_f_f1.
41715         (func_calc_desc): Add mpfr_f_f1 union field.
41716         (ARGS1): New macro.
41717         (ARGS2): Likewise.
41718         (ARGS3): Likewise.
41719         (ARGS4): Likewise.
41720         (RET1): Likewise.
41721         (RET2): Likewise.
41722         (CALC): Likewise.
41723         (FUNC): Likewise.
41724         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41725         (test_functions): Add lgamma.
41726         (calc_generic_results): Handle mpfr_f_f1.
41727         * sysdeps/i386/fpu/libm-test-ulps: Update.
41728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41732         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41733         __mpn_add_n for PowerPC64/POWER7.
41734         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41735         __mpn_sub_n for PowerPC64/POWER7.
41737         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41738         __mpn_addmul_1 for PowerPC64.
41739         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41740         __mpn_submul_1 for PowerPC64.
41741         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41742         for PowerPC64.
41743         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41744         for PowerPC64.
41746 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41748         [BZ #15089]
41749         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41751 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41753         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41755         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41756         add multiarch folders.
41757         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41758         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41759         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41760         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41761         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41762         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41763         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41764         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41765         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41766         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41767         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41776         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41778         New file.
41779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41780         New file.
41781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41782         multiarch __ieee754_hypot for PowerPC32.
41783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41784         New file.
41785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41786         New file.
41787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41788         multiarch __ieee754_hypotf for PowerPC32.
41790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41791         long_double_symbol only if __logbl is defined.
41792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41793         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41795         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41796         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41797         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41798         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41799         path for implementation.
41800         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41801         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41803         logb, and logbl multiarch implementations for PowerPC32.
41804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41805         file.
41806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41807         file.
41808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41809         multiarch logb for PowerPC32.
41810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41811         file.
41812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41813         file.
41814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41815         multiarch logbf for PowerPC32.
41816         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41818         file.
41819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41820         multiarch logbl implementation for PowerPC32.
41822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41823         and modff multiarch implementations.
41824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41825         New file.
41826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41827         New file.
41828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41829         multiarch modf for PowerPC32.
41830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41831         New file.
41832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41833         New file.
41834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41835         multiarch modff for PowerPC32.
41837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41838         and lrintf multiarch implementations.
41839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41840         New file.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41842         New file.
41843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41844         multiarch lrint for PowerPC32.
41845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41846         file: multiarch lrintf for PowerPC32.
41848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41849         and lroundf multiarch implementations.
41850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41851         New file.
41852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41853         New file.
41854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41855         New file.
41856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41857         multiarch lround for PowerPC32.
41858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41859         file: multiarch lroundf for PowerPC32.
41861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41862         copysign and copysignf multiarch implementations.
41863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41864         New file.
41865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41866         New file.
41867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41868         file: multiarch copysign for PowerPC32.
41869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41870         file: multiarch copysignf for PowerPC32.
41872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41873         and truncf multiarch implementations.
41874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41875         New file.
41876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41877         file.
41878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41879         multiarch trunc for PowerPC32.
41880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41881         New file.
41882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41883         New file.
41884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41885         multiarch truncf for PowerPC32.
41887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41888         and roundf multiarch implementations.
41889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41890         New file.
41891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41892         file.
41893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41894         multiarch round for PowerPC32.
41895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41896         New file.
41897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41898         New file.
41899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41900         multiarch roundf for PowerPC32.
41902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41903         and floorf multiarch implementations.
41904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41905         New file.
41906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41907         file.
41908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41909         multiarch floor for PowerPC32.
41910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41911         New file.
41912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41913         New file.
41914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41915         multiarch floorf for PowerPC32.
41917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41918         and ceilf multiarch implementations.
41919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41920         New file.
41921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41922         file.
41923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41924         multiarch ceil for PowerPC32.
41925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41926         New file.
41927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41928         file.
41929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41930         multiarch ceilf for PowerPC32.
41932         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41933         is defined.
41934         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41935         FINITEF is defined.
41936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41937         and finitef multiarch implementations.
41938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41939         New file.
41940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41941         file.
41942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41943         multiarch finite for PowerPC32.
41944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41945         New file.
41946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41947         file: multiarch finitef for PowerPC32.
41949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41950         and isinff multiarch implementations.
41951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41952         file.
41953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41954         file.
41955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41956         multiarch isinf for PowerPC32.
41957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41958         New file.
41959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41960         multiarch isinff for PowerPC32.
41962         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41963         alias when __isnan is defined.
41964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41965         and isnanf multiarch implementations.
41966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41967         file.
41968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41969         file.
41970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41971         file.
41972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41973         file.
41974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41975         multiarch isnan for PowerPC32.
41976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41977         New file.
41978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41979         New file.
41980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41981         multiarch isnanf for PowerPC32.
41983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41984         and sqrtf multiarch implementations.
41985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41986         file.
41987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41988         file.
41989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41990         multiarch sqrt for PowerPC32.
41991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41992         file.
41993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41994         file.
41995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41996         multiarch sqrtf for PowerPC32.
41998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41999         and llroundf multiarch implementations.
42000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42001         New file.
42002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42003         New file.
42004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42005         New file.
42006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42007         file: multiarch llround for PowerPC32.
42008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42009         file: multiarch llroundf for PowerPC32.
42011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42012         multiarch PowerPC32 fpu implementations.
42013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42014         New file.
42015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42016         New file.
42017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42018         multiarch llrint for PowerPC32.
42019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42020         New file.
42021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42022         New file.
42023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42024         file.
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42029         file.
42030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42031         file.
42032         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42033         file.
42034         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42035         multiarch wordcopy for PPC32.
42036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42037         wordcopy objects.
42038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42039         (__libc_ifunc_impl_list): Likewise.
42040         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42041         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42042         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42043         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42044         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42045         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42047         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42049         file.
42050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42051         file.
42052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42053         file.
42054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42055         multiarch wcscpy for PPC32.
42056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42057         multiarch objects.
42058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42059         (__libc_ifunc_impl_list): Likewise.
42060         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42061         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42062         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42063         sysdeps/powerpc/power6/wcscpy.c.
42065         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42067         file.
42068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42069         file.
42070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42071         file.
42072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42073         multiarch wcsrchr for PPC32.
42074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42075         multiarch objects.
42076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42077         (__libc_ifunc_impl_list): Likewise.
42078         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42079         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42080         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42081         sysdeps/powerpc/power6/wcsrchr.c.
42083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42084         file.
42085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42086         file.
42087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42089         multiarch wcschr for PPc32.
42090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42091         multiarch objects.
42092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42093         (__libc_ifunc_impl_list): Likewise.
42094         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42095         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42096         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42097         sysdeps/powerpc/power6/wcschr.c.
42099         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42101         file.
42102         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42103         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42104         file: multiarch strchr for PPC32.
42105         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42106         multiarch objects.
42107         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42108         (__libc_ifunc_impl_list): Likewise.
42110         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42111         name.
42112         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42113         file.
42114         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42115         file.
42116         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42117         multiarch strchrnul for PPC32.
42118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42119         multiarch objects.
42120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42121         (__libc_ifunc_impl_list): Likewise.
42123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42124         file.
42125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42126         multiarch strncasecmp for PPC32.
42127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42128         file.
42129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42130         multiarch strncasecmp_l for PPC32.
42131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42132         strncasecmp multiarch objects.
42133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42134         (__libc_ifunc_impl_list): Likewise.
42136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42137         file.
42138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42139         multiarch strncasecmp for PPC32.
42140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42141         New file.
42142         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42143         multiarch strcasecmp_l for PPC32.
42144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42145         multiarch objects.
42146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42147         (__libc_ifunc_impl_list): Likewise.
42149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42150         file.
42151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42152         file.
42153         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42154         multiarch strncmp for PPC32.
42155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42156         multiarch objects.
42157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42158         (__libc_ifunc_impl_list): Likewise.
42160         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42161         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42162         file.
42163         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42164         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42166         multiarch objects.
42167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42168         (__libc_ifunc_impl_list): Likewise.
42170         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42171         file.
42172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42173         file.
42174         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42176         multiarch objects.
42177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42178         (__libc_ifunc_impl_list): Likewise.
42180         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42181         file.
42182         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42183         file.
42184         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42185         multiarch rawmemchr for PPC32.
42186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42187         multiarch objects.
42188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42189         (__libc_ifunc_impl_list): Likewise.
42191         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42192         file.
42193         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42194         file.
42195         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42196         file: memrchr multiarch for PPC32.
42197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42198         multiarch objects.
42199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42200         (__libc_ifunc_impl_list): Likewise.
42202         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42203         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42204         file.
42205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42207         multiarch memchr for PPC32.
42208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42209         multiarch objects.
42210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42211         (__libc_ifunc_impl_list): Likewise.
42213         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42214         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42215         file.
42216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42217         file.
42218         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42219         file: multiarch mempcpy for PPC32.
42220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42221         multiarch objects.
42222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42223         (__libc_ifunc_impl_list): Likewise.
42225         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42226         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42227         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42228         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42229         multiarch bzero for PPC32.
42230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42231         file.
42232         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42233         file.
42234         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42235         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42236         file: multiarch memset for PPC32.
42237         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42239         memset multiarch objects.
42240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42241         (__libc_ifunc_impl_list): Likewise.
42243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42244         file.
42245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42246         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42247         memcmp for PPC32.
42248         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42250         multiarch objects.
42251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42252         (__libc_ifunc_impl_list): Likewise.
42254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42257         file.
42258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42259         file.
42260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42261         file.
42262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42263         multiarch memcpy for PPC32.
42264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42265         multiarch objects.
42266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42267         (__libc_ifunc_impl_list): Likewise.
42269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42270         support multiarch for POWER/PPC32.
42271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42272         Likewise.
42273         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42275         Implies file to make multiarch folder appers before the fpu and
42276         default folder for power4 configuration.
42278 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42280         * scripts/bench.pl: Append volatile keyword to type.
42282 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42284         * sysdeps/sh/sotruss-lib.c: New file.
42285         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42287 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42291 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42293         [BZ #6810]
42294         * math/w_tgamma.c: Include <errno.h>.
42295         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42296         * math/w_tgammaf.c: Include <errno.h>.
42297         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42298         * math/w_tgammal.c: Include <errno.h>.
42299         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42300         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42301         underflow.  Add more tgamma tests.
42302         * math/auto-libm-test-out: Regenerated.
42303         * sysdeps/i386/fpu/libm-test-ulps: Update.
42304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42306         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42307         sin, sinh, tan, tanh, tgamma, y0 and y1.
42308         * math/auto-libm-test-out: Regenerated.
42309         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42310         (TEST_COND_x86): Likewise.
42311         (M_E2l): Remove macro.
42312         (M_E3l): Likewise.
42313         (M_2_SQRT_PIl): Likewise.
42314         (M_SQRT_PIl): Likewise.
42315         (M_1_DIV_El): Likewise.
42316         (log_test_data): Use AUTO_TESTS_f_f.
42317         (log10_test_data): Likewise.
42318         (log1p_test_data): Likewise.
42319         (log2_test_data): Likewise.
42320         (sin_test_data): Likewise.
42321         (sin_tonearest_test_data): Likewise.
42322         (sin_towardzero_test_data): Likewise.
42323         (sin_downward_test_data): Likewise.
42324         (sin_upward_test_data): Likewise.
42325         (sinh_test_data): Likewise.
42326         (sinh_tonearest_test_data): Likewise.
42327         (sinh_towardzero_test_data): Likewise.
42328         (sinh_downward_test_data): Likewise.
42329         (sinh_upward_test_data): Likewise.
42330         (tan_test_data): Likewise.
42331         (tan_tonearest_test_data): Likewise.
42332         (tan_towardzero_test_data): Likewise.
42333         (tan_downward_test_data): Likewise.
42334         (tan_upward_test_data): Likewise.
42335         (tanh_test_data): Likewise.
42336         (tgamma_test_data): Likewise.
42337         (y0_test_data): Likewise.
42338         (y1_test_data): Likewise.
42339         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42340         (special_real_inputs): Add pi/4.
42341         * sysdeps/i386/fpu/libm-test-ulps: Update.
42342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42344 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42346         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42347         "longjmp_target" static probes.
42348         (__longjmp): Rename to __longjmp_symbol.
42349         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42350         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42351         on which longjmp to generate.
42352         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42353         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42354         probe.
42355         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42356         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42357         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42359         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42360         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42362         __longjmp_symbol based on which __longjmp to generate.
42363         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42364         probe.
42365         (setjmp): Rename to setjmp_symbol.
42366         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42367         (_setjmp): Rename to _setjmp_symbol.
42368         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42369         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42370         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42371         which setjmp to generate.
42372         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42373         "longjmp_target" static probes.
42375 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42377         * benchtests/README: Add note about output arguments.
42378         * benchtests/bench-sincos.c: Remove file.
42379         * benchtests/sincos-inputs: New file.
42380         * scripts/bench.pl: Identify output arguments and define
42381         static variables for them.
42383         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42385         [BZ #15941]
42386         * Makefile (INSTALL): Add install-plain.texi as the primary
42387         dependency.
42388         * manual/install-plain.texi: New file.
42389         * manual/install.texi: Include node directive only for
42390         non-plaintext output.
42392 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42394         * stdlib/longlong.h: Update from GCC.
42396         [BZ #6807]
42397         [BZ #15901]
42398         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42399         * math/w_j0f.c (y0f): Likewise.
42400         * math/w_j0l.c (__y0l): Likewise.
42401         * math/w_j1.c (y1): Likewise.
42402         * math/w_j1f.c (y1f): Likewise.
42403         * math/w_j1l.c (__y1l): Likewise.
42404         * math/w_jn.c (yn): Likewise.
42405         * math/w_jnf.c (ynf): Likewise.
42406         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42407         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42408         value for Bessel function domain errors outside _SVID_ mode.
42409         Adjust sign of return value for yn (negative integer, 0).
42410         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42411         by zero in return for negative x and set sign appropriately for
42412         negative n.
42413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42414         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42415         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42416         expectations in error cases.
42417         (y1_test_data): Likewise.
42418         (yn_test_data): Likewise.
42419         * sysdeps/i386/fpu/libm-test-ulps: Update.
42420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42422 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42424         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42425         "64" to "64-v1".  Add "64-v2".
42426         (abi-64-options): Rename to ...
42427         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42428         (abi-64-condition): Rename to ...
42429         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42430         (abi-64-ld-soname): Rename to ...
42431         (abi-64-v1-ld-soname): ... this.
42432         (abi-64-v2-options): Define.
42433         (abi-64-v2-condition): Likewise.
42434         (abi-64-v2-ld-soname): Likewise.
42435         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42436         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42441 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42442             Alan Modra  <amodra@gmail.com>
42444         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42445         New versions for use with the ELFv2 ABI.
42446         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42447         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42448         declaration.
42449         (struct La_ppc64v2_retval): Likewise.
42450         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42451         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42452         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42453         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42454         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42455         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42456         Do not save or restore CR.
42457         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42458         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42459         return values for ELFv2 ABI.  Fix location of FPR return registers.
42460         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42461         updated values for _CALL_ELF == 2.
42462         (La_regs, La_retval, int_retval): Likewise.
42464 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42466         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42467         (FRAME_MIN_SIZE_PARM): Likewise.
42468         (FRAME_BACKCHAIN): Likewise.
42469         (FRAME_CR_SAVE): Likewise.
42470         (FRAME_LR_SAVE): Likewise.
42471         (FRAME_TOC_SAVE): Likewise.
42472         (FRAME_PARM_SAVE): Likewise.
42473         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42474         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42475         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42476         (call_mcount_parm_offset): New macro.
42477         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42478         (PROF): Use symbolic stack frame offsets.
42479         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42480         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42481         Redefine in terms of FRAME_MIN_SIZE.
42482         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42483         (_dl_profile_resolve): Likewise.  Update comment.
42484         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42485         symbols stack frame offsets.
42486         (__sigsetjmp): Likewise.
42487         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42488         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42489         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42490         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42493         (FRAME_BACKCHAIN): Remove.
42494         (FRAME_CR_SAVE): Likewise.
42495         (FRAME_LR_SAVE): Likewise.
42496         (FRAME_COMPILER_DW): Likewise.
42497         (FRAME_LINKER_DW): Likewise.
42498         (FRAME_TOC_SAVE): Likewise.
42499         (FRAME_PARM_SAVE): Likewise.
42500         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42501         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42502         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42504         (CHECK_SP): Use symbolic stack frame offsets.
42505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42506         zone" instead of caller's parameter save area for temp storage.
42507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42508         Likewise.  Also, use symbolic stack frame offsets.
42509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42510         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42511         our own stack frame instead of the caller's.
42512         (__socket): Use symbolic stack frame offsets.
42514 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42515             Alan Modra  <amodra@gmail.com>
42517         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42518         Define.
42519         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42520         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42521         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42522         New function.
42523         (elf_machine_fixup_plt): Call it.
42524         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42525         reloc arguments.
42526         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42527         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42528         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42529         r2 before calling target.
42531 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42532             Alan Modra  <amodra@gmail.com>
42534         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42535         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42536         versions of macros to support ELFv2 ABI.
42537         (LOCALENTRY): New macro.
42538         (ENTRY, EALIGN): Use it.
42539         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42540         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42541         fall through into ENTRY entry point.
42542         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42543         Only define if _CALL_ELF != 2.
42545         (elf_machine_matches_host): Verify ABI version matches.
42546         (RTLD_START): Use LOCALENTRY.
42547         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42548         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42549         (PLT_ENTRY_WORDS): New macro.
42550         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42551         (elf_machine_runtime_setup): Support ELFv2 ABI.
42552         (elf_machine_fixup_plt): Likewise.
42553         (elf_machine_plt_conflict): Likewise.
42554         (resolve_ifunc): Likewise.
42555         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42557         Likewise.
42558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42559         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42561         (makecontext): Support ELFv2 ABI.
42562         * elf/elf.h (EF_PPC64_ABI): Define.
42564 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42566         * sysdeps/powerpc/powerpc64/sysdep.h
42567         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42568         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42569         (ENTRY) [ASSEMBLER]: ... but instead here ...
42570         (EALIGN) [ASSEMBLER]: ... and here.
42571         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42572         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42573         (ENTRY_2) [!ASSEMBLER]: Use it.
42574         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42575         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42576         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42577         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42578         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42580         Use PPC64_LOAD_FUNCPTR.
42582         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42584 2013-12-04  Alan Modra  <amodra@gmail.com>
42586         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42587         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42588         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42589         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42591         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42592         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42593         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42594         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42595         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42596         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42598 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42601         (__makecontext): Fix incorrect CFI when backtracing out of
42602         context created via makecontext.
42603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42604         (__setcontext): Fix incorrect CFI during switch to new context.
42605         (__novec_setcontext): Likewise.
42607 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42609         [BZ #4772]
42610         * time/strptime_l.c (__strptime_internal): Allow modifiers
42611         in strptime.
42612         * time/tst-strptime.c (day_tests): Add testcase.
42614 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42616         * scripts/bench.pl: Skip over blank lines.
42618 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42620         [BZ #926]
42621         * manual/time.texi (Calendar Time): Clarify what timezone functions
42622         use.
42624 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42628 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42630         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42631         implementation.
42632         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42633         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42634         * debug/memset_chk.c (__memset_chk): Likewise.
42635         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42636         * debug/strncpy_chk.c: Likewise.
42638 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42640         [BZ #15268]
42641         [BZ #15425]
42642         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42643         (__ieee754_exp): For possibly underflowing results, check size of
42644         result and force underflow exception if required.
42645         * math/auto-libm-test-in: Add more tests of exp.
42646         * math/auto-libm-test-out: Regenerated.
42647         * sysdeps/i386/fpu/libm-test-ulps: Update.
42648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42650         [BZ #16283]
42651         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42652         * math/w_exp2f.c (__exp2f): Likewise.
42653         * math/w_exp2l.c (__exp2l): Likewise.
42654         * math/auto-libm-test-in: Do not allow missing errno on exp2
42655         underflow.
42656         * math/auto-libm-test-out: Regenerated.
42658 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42660         [BZ #16274]
42661         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42662         handle filename validation.
42663         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42664         (do_open): Delete.
42666 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42668         [BZ #6786]
42669         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42670         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42671         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42672         <float.h>.
42673         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42674         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42675         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42677         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42679         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42680         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42681         Add more erfc tests.
42682         * math/auto-libm-test-out: Regenerated.
42683         * sysdeps/i386/fpu/libm-test-ulps: Update.
42684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42686         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42687         exp2, expm1, j0 and j1.
42688         * math/auto-libm-test-out: Regenerated.
42689         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42690         (erfc_test_data): Likewise.
42691         (exp_test_data): Likewise.
42692         (exp_tonearest_test_data): Likewise.
42693         (exp_towardzero_test_data): Likewise.
42694         (exp_downward_test_data): Likewise.
42695         (exp_upward_test_data): Likewise.
42696         (exp10_test_data): Likewise.
42697         (exp2_test_data): Likewise.
42698         (expm1_test_data): Likewise.
42699         (j0_test_data): Likewise.
42700         (j1_test_data): Likewise.
42701         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42702         (input_flag_type): Add flag_xfail_rounding.
42703         (input_flags): Add xfail-rounding.
42704         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42705         (output_for_one_input_case): Handle flag_xfail_rounding.
42706         * sysdeps/i386/fpu/libm-test-ulps: Update.
42707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42709 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42711         [BZ #16289]
42712         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42713         division by 0.
42715 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         [BZ #16195]
42718         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42719         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42720         (STAP_PROBE0): New macro.
42721         (STAP_PROBE1): Likewise.
42722         (STAP_PROBE2): Likewise.
42723         (STAP_PROBE3): Likewise.
42724         (STAP_PROBE4): Likewise.
42726 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42728         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42730 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42732         * benchtests/Makefile (bench): Add sqrt.
42733         (LDLIBS-bench-sqrt): New.
42734         * benchtests/sqrt-input: New.
42736 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42738         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42739         (GAIH_EAI): Likewise.
42740         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42741         (gaih_inet): Likewise.
42742         (getaddrinfo): Don't use GAIH_EAI.
42744         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42745         (struct gaih): Remove definition.
42747 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42749         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42750         Use HERRNOP directly.
42752 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42756 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42758         * math/gen-auto-libm-tests.c (test_functions): Add more
42759         single-argument functions.
42760         (special_fill_pi_2): New function.
42761         (special_fill_minus_pi_2): Likewise.
42762         (special_fill_pi_6): Likewise.
42763         (special_fill_minus_pi_6): Likewise.
42764         (special_fill_pi_3): Likewise.
42765         (special_fill_2pi_3): Likewise.
42766         (special_fill_e): Likewise.
42767         (special_fill_1_e): Likewise.
42768         (special_fill_e_minus_1): Likewise.
42769         (special_real_inputs): Add more special inputs.
42770         (output_for_one_input_case): Do not require ERANGE on underflow to
42771         zero if round-to-nearest result does not underflow to zero, unless
42772         exact results required.
42773         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42774         atan, atanh, cbrt, cos and cosh.
42775         * math/auto-libm-test-out: Regenerated.
42776         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42777         (acos_tonearest_test_data): Likewise.
42778         (acos_towardzero_test_data): Likewise.
42779         (acos_downward_test_data): Likewise.
42780         (acos_upward_test_data): Likewise.
42781         (acosh_test_data): Likewise.
42782         (asin_test_data): Likewise.
42783         (asin_tonearest_test_data): Likewise.
42784         (asin_towardzero_test_data): Likewise.
42785         (asin_upward_test_data): Likewise.
42786         (asinh_test_data): Likewise.
42787         (atan_test_data): Likewise.
42788         (atanh_test_data): Likewise.
42789         (cbrt_test_data): Likewise.
42790         (cos_test_data): Likewise.
42791         (cos_tonearest_test_data): Likewise.
42792         (cos_towardzero_test_data): Likewise.
42793         (cos_downward_test_data): Likewise.
42794         (cos_upward_test_data): Likewise.
42795         (cosh_test_data): Likewise.
42796         (cosh_tonearest_test_data): Likewise.
42797         (cosh_towardzero_test_data): Likewise.
42798         (cosh_downward_test_data): Likewise.
42799         (cosh_upward_test_data): Likewise.
42800         * sysdeps/i386/fpu/libm-test-ulps: Update.
42801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42803 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42805         [BZ #6787]
42806         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42807         * math/w_exp10f.c (__exp10f): Likewise.
42808         * math/w_exp10l.c (__exp10l): Likewise.
42809         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42810         errno settings in existing tests.
42812         [BZ #14032]
42813         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42814         precision control set to double precision.
42815         * sysdeps/i386/fpu/w_sqrt.c: New file.
42816         * math/auto-libm-test-in: Add more tests.
42817         * math/auto-libm-test-out: Update.
42819         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42820         (sqrt_test_tonearest): New function.
42821         (sqrt_towardzero_test_data): New variable.
42822         (sqrt_test_towardzero): New function.
42823         (sqrt_downward_test_data): New variable.
42824         (sqrt_test_downward): New function.
42825         (sqrt_upward_test_data): New variable.
42826         (sqrt_test_upward): New function.
42827         (main): Call the new functions.
42829         * math/gen-auto-libm-tests.c: New file.
42830         * math/auto-libm-test-in: Likewise.
42831         * math/auto-libm-test-out: New generated file.
42832         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42833         variables.
42834         (%beautify): Add generated representations of zero.
42835         (top level): Set $auto_input and call parse_auto_input.
42836         (beautify): Remove trailing "f" from hex float constants.
42837         (parse_args): Handle XFAIL_TEST.
42838         (convert_condition): New function.
42839         (or_value): Likewise.
42840         (or_cond_value): Likewise.
42841         (generate_testfile): Handle AUTO_TESTS_* lines.
42842         (parse_auto_input): New function.
42843         * math/libm-test.inc (XFAIL_TEST): New macro.
42844         (ERRNO_UNCHANGED): Update value.
42845         (ERRNO_EDOM): Likewise.
42846         (ERRNO_ERANGE): Likewise.
42847         (IGNORE_RESULT): Likewise.
42848         (TEST_COND_flt_32): New macro.
42849         (TEST_COND_dbl_64): Likewise.
42850         (TEST_COND_ldbl_96_intel): Likewise.
42851         (TEST_COND_ldbl_96_m68k): Likewise.
42852         (TEST_COND_ldbl_128): Likewise.
42853         (TEST_COND_ldbl_128ibm): Likewise.
42854         (TEST_COND_long32): Likewise.
42855         (TEST_COND_long64): Likewise.
42856         (TEST_COND_before_rounding): Likewise.
42857         (TEST_COND_after_rounding): Likewise.
42858         (enable_test): Handle XFAIL_TEST flag.
42859         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42860         with finite results.
42861         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42862         auto-libm-test-out.
42864 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42865             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42867         [BZ #16214]
42868         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42869         __tls_get_addr_internal instead of __tls_get_offset in order to
42870         avoid GOT pointer dependency.  Make rtld export
42871         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42872         __tls_get_addr since we are a __tls_get_offset platform.
42873         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42874         GOT pointer being set up before.
42875         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42877 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42879         * manual/math.texi (Errors in Math Functions): Document accuracy
42880         goals.
42882         [BZ #15004]
42883         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42884         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42885         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42886         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42887         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42888         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42889         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42891         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42892         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42893         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42894         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42895         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42896         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42897         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42898         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42900         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42901         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42902         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42903         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42904         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42905         Likewise.
42906         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42907         Likewise.
42908         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42909         Likewise.
42910         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42911         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42912         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42913         atomic-feupdateenv and flt-rounds.
42914         * sysdeps/powerpc/nofpu/Versions (libc): Add
42915         __atomic_feholdexcept, __atomic_feclearexcept,
42916         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42917         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42918         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42919         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42920         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42921         here.
42922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42923         Update.
42925         * manual/arith.texi (FP Exceptions): Document that exceptions may
42926         not be raised when matherr is used.
42927         (Math Error Reporting): Document overflow in directed rounding
42928         modes.  Document that errno may not be set when finite values are
42929         returned on overflow.  Document intent to set errno on underflow
42930         only for underflow to zero.
42932         [BZ #16271]
42933         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42934         round-to-nearest then adjust result for other rounding modes.
42935         * include/fenv.h (fegetround): Use libm_hidden_proto.
42936         * math/fegetround.c (fegetround): Use libm_hidden_def.
42937         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42938         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42939         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42940         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42941         Likewise.
42942         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42943         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42944         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42945         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42947 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42949         [BZ #16077]
42950         * nss/Versions (libnss_files): Add
42951         _nss_files_gethostbyname3_r.
42952         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42953         New function.
42954         (HOST_DB_LOOKUP): Remove macro.
42955         (_nss_files_gethostbyname_r): Implement function without the
42956         HOST_DB_LOOKUP macro.
42957         (_nss_files_gethostbyname2_r): Likewise.
42959 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42961         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42963 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42965         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42966         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42967         warning.
42969 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42971         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42972         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42973         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42974         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42975         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42976         __fe_nomask_env_priv and attribute_hidden.
42977         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42978         (libc_feupdateenv_test_ppc): Likewise.
42979         (libc_feresetround_ppc): Likewise.
42980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42981         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42982         compat_symbol macro.
42983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42984         (__fe_nomask_env): Likewise.
42985         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42987 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42989         * string/Makefile: Remove ifunc tests.
42990         * string/test-string.h: Define TEST_IFUNC.
42991         * string/test-bcopy-ifunc.c: Remove.
42992         * string/test-bzero-ifunc.c: Likewise.
42993         * string/test-memccpy-ifunc.c: Likewise.
42994         * string/test-memchr-ifunc.c: Likewise.
42995         * string/test-memcmp-ifunc.c: Likewise.
42996         * string/test-memcpy-ifunc.c: Likewise.
42997         * string/test-memmem-ifunc.c: Likewise.
42998         * string/test-memmove-ifunc.c: Likewise.
42999         * string/test-mempcpy-ifunc.c: Likewise.
43000         * string/test-memrchr-ifunc.c: Likewise.
43001         * string/test-memset-ifunc.c: Likewise.
43002         * string/test-rawmemchr-ifunc.c: Likewise.
43003         * string/test-stpcpy-ifunc.c: Likewise.
43004         * string/test-stpncpy-ifunc.c: Likewise.
43005         * string/test-strcasecmp-ifunc.c: Likewise.
43006         * string/test-strcasestr-ifunc.c: Likewise.
43007         * string/test-strcat-ifunc.c: Likewise.
43008         * string/test-strchr-ifunc.c: Likewise.
43009         * string/test-strchrnul-ifunc.c: Likewise.
43010         * string/test-strcmp-ifunc.c: Likewise.
43011         * string/test-strcpy-ifunc.c: Likewise.
43012         * string/test-strcspn-ifunc.c: Likewise.
43013         * string/test-strlen-ifunc.c: Likewise.
43014         * string/test-strncasecmp-ifunc.c: Likewise.
43015         * string/test-strncat-ifunc.c: Likewise.
43016         * string/test-strncmp-ifunc.c: Likewise.
43017         * string/test-strncpy-ifunc.c: Likewise.
43018         * string/test-strnlen-ifunc.c: Likewise.
43019         * string/test-strpbrk-ifunc.c: Likewise.
43020         * string/test-strrchr-ifunc.c: Likewise.
43021         * string/test-strspn-ifunc.c: Likewise.
43022         * string/test-strstr-ifunc.c: Likewise.
43024 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43026         * benchtests/Makefile: Remove ifunc tests.
43027         * benchtests/bench-string.h: Define TEST_IFUNC.
43028         * benchtests/bench-bcopy-ifunc.c: Remove.
43029         * benchtests/bench-bzero-ifunc.c: Likewise.
43030         * benchtests/bench-memccpy-ifunc.c: Likewise.
43031         * benchtests/bench-memchr-ifunc.c: Likewise.
43032         * benchtests/bench-memcmp-ifunc.c: Likewise.
43033         * benchtests/bench-memcpy-ifunc.c: Likewise.
43034         * benchtests/bench-memmem-ifunc.c: Likewise.
43035         * benchtests/bench-memmove-ifunc.c: Likewise.
43036         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43037         * benchtests/bench-memrchr-ifunc.c: Likewise.
43038         * benchtests/bench-memset-ifunc.c: Likewise.
43039         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43040         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43041         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43042         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43043         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43044         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43045         * benchtests/bench-strcat-ifunc.c: Likewise.
43046         * benchtests/bench-strchr-ifunc.c: Likewise.
43047         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43048         * benchtests/bench-strcmp-ifunc.c: Likewise.
43049         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43050         * benchtests/bench-strcpy-ifunc.c: Likewise.
43051         * benchtests/bench-strcspn-ifunc.c: Likewise.
43052         * benchtests/bench-strlen-ifunc.c: Likewise.
43053         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43054         * benchtests/bench-strncat-ifunc.c: Likewise.
43055         * benchtests/bench-strncmp-ifunc.c: Likewise.
43056         * benchtests/bench-strncpy-ifunc.c: Likewise.
43057         * benchtests/bench-strnlen-ifunc.c: Likewise.
43058         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43059         * benchtests/bench-strrchr-ifunc.c: Likewise.
43060         * benchtests/bench-strsep-ifunc.c: Likewise.
43061         * benchtests/bench-strspn-ifunc.c: Likewise.
43062         * benchtests/bench-strstr-ifunc.c: Likewise.
43064 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43066         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43068 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43070         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43071         * rt/aio.h: Likewise.
43072         * sysdeps/gnu/bits/utmp.h: Likewise.
43073         * sysdeps/gnu/bits/utmpx.h: Likewise.
43074         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43075         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43076         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43077         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43078         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43079         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43080         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43081         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43082         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43083         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43084         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43086         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43088         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43089         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43090         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43091         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43092         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43093         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43094         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43095         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43096         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43097         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43098         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43099         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43100         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43101         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43102         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43103         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43104         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43105         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43106         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43107         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43108         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43109         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43110         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43111         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43112         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43113         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43114         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43115         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43117 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43119         [BZ #16245]
43120         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43121         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43123 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43125         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43127         Likewise.
43129 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43131         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43132         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43133         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43134         (__fesetround): Remove define.
43135         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43136         rounding and exceptions handling.
43137         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43138         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43139         (__fe_nomask_env): Likewise.
43140         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43141         __fegetround instead of fegetround.
43142         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43143         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43145 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43147         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43148         it's there.
43150         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43152 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43154         [BZ #11157]
43155         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43156         (encrypt_r): Likewise.
43157         * malloc/obstack.h (obstack_free): Likewise.
43158         * posix/unistd.h (encrypt): Likewise.
43160 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43162         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43163         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43164         DL_CALL_DT_FINI() that call the functions directly.
43165         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43166         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43167         * elf/dl-fini.c: Likewise.
43169 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43171         * malloc/hooks.c (memalign_check): Add alignment rounding.
43172         * malloc/malloc.c (_mid_memalign): New function.
43173         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43174         Implement by calling _mid_memalign.
43175         * manual/probes.texi (Memory Allocation Probes): Remove
43176         memory_valloc_retry and memory_pvalloc_retry.
43178 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43180         * locale/programs/locarchive.c (open_archive): Add const
43181         qualifier to ARCHIVEFNAME and copy default fname to
43182         DEFAULT_FNAME.
43184         [BZ #15601]
43185         * libio/tst-widetext.input: Rename Oriya to Odia.
43186         * locale/iso-639.def: Likewise.
43188         * manual/probes.texi (Mathematical Function Probes): Add
43189         documentation for sin, cos, asin and acos probes.
43190         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43191         (__sin32): Add slowasin probe.
43192         (__cos32): Add slowacos probe.
43193         (__mpsin): Add slowsin probe.
43194         (__mpcos): Add slowcos probe.
43196 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43198         [BZ #15483]
43199         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43200         thread-local __sim_exceptions_thread and global
43201         __sim_exceptions_global.
43202         (__sim_disabled_exceptions): Change to thread-local
43203         __sim_disabled_exceptions_thread and global
43204         __sim_disabled_exceptions_global.
43205         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43206         and global __sim_round_mode_global.
43207         (__simulate_exceptions): Use thread-local floating-point state and
43208         set global state from it as needed.
43209         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43210         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43211         __sim_round_mode_thread.
43212         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43213         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43214         and global __sim_exceptions_global.
43215         (__sim_disabled_exceptions): Change to thread-local
43216         __sim_disabled_exceptions_thread and global
43217         __sim_disabled_exceptions_global.
43218         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43219         and global __sim_round_mode_global.
43220         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43221         (SIM_SET_GLOBAL): Likewise.
43222         * sysdeps/powerpc/soft-fp/sfp-machine.h
43223         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43224         __sim_round_mode_thread.
43225         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43226         __sim_disabled_exceptions_thread.
43227         (__sim_exceptions): Change to __sim_exceptions_thread.
43228         (__sim_disabled_exceptions): Change to
43229         __sim_disabled_exceptions_thread.
43230         (__sim_round_mode): Change to __sim_round_mode_thread.
43231         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43232         thread-local floating-point state and set global state from it as
43233         needed.
43234         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43235         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43236         (__sim_disabled_exceptions): Remove extern declaration.
43237         (feenableexcept): Use thread-local floating-point state and set
43238         global state from it as needed.
43239         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43240         extern declaration.
43241         (__sim_disabled_exceptions): Likewise.
43242         (__sim_round_mode): Likewise.
43243         (__fegetenv): Use thread-local floating-point state.
43244         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43245         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43246         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43247         floating-point state and set global state from it as needed.
43248         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43249         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43250         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43251         Likewise.
43252         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43253         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43254         Likewise.
43255         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43256         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43257         Use __sim_round_mode_thread.
43258         * math/test-fenv-tls.c: New file.
43259         * math/Makefile (tests): Add test-fenv-tls.
43260         ($(objpfx)test-fenv-tls): Depend on
43261         $(common-objpfx)nptl/libpthread.so.
43263 2013-11-19  Andreas Schwab  <schwab@suse.de>
43265         * locale/programs/locale.c (show_info): Decode wordarray elements.
43266         * locale/categories.def (LC_MONETARY): Add element for
43267         _NL_MONETARY_CRNCYSTR.
43268         * locale/C-monetary.c (conversion_rate): New variable.
43269         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43270         element.
43272 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43274         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43275         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43277 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43279         * elf/Makefile (tst-auxv): New test.
43280         * elf/tst-auxv.c: New
43281         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43283 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43285         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43286         (hidden_proto): Caller changed.
43287         (hidden_tls_proto): New macro.
43288         (libc_hidden_tls_proto): Likewise.
43289         (rtld_hidden_tls_proto): Likewise.
43290         (libm_hidden_tls_proto): Likewise.
43291         (libresolv_hidden_tls_proto): Likewise.
43292         (librt_hidden_tls_proto): Likewise.
43293         (libdl_hidden_tls_proto): Likewise.
43294         (libnss_files_hidden_tls_proto): Likewise.
43295         (libnsl_hidden_tls_proto): Likewise.
43296         (libnss_nisplus_hidden_tls_proto): Likewise.
43297         (libutil_hidden_tls_proto): Likewise.
43299 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43301         [BZ #10253]
43302         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43303         (decompose_rpath): Defer expansion to fillin_rpath.
43304         (_dl_init_paths): Pass linkmap to fillin_rpath.
43306 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43308         * benchtests/Makefile: Add strsep.
43309         * benchtests/bench-strsep.c: New file: strsep benchtest.
43310         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43312 2013-11-18  Andreas Schwab  <schwab@suse.de>
43314         * locale/programs/locale.c (show_info) [case byte]: Check for
43315         '\377' instead of '\177'.
43316         * locale/C-monetary.c (not_available): Always use "\377".
43317         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43318         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43319         detect unavailable sign_posn locale elements.
43320         * locale/localeconv.c (__localeconv): For grouping and
43321         mon_grouping handle "\177" and "\377" like no grouping.
43322         (INT_ELEM): New macro.  Use it to set all numeric members.
43323         * locale/programs/ld-monetary.c (monetary_read)
43324         <tok_mon_grouping>: Normalize single -1 to the empty string.
43325         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43326         Likewise.
43328 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43330         [BZ #16055]
43331         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43332         when we match (nil).
43333         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43335 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43337         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43338         (NO_TEST_INLINE): Update value.
43339         (ERRNO_UNCHANGED): Likewise.
43340         (ERRNO_EDOM): Likewise.
43341         (ERRNO_ERANGE): Likewise.
43342         (IGNORE_RESULT): Likewise.
43343         (check_float_internal): Check signs of NaN results if
43344         TEST_NAN_SIGN used.
43345         (check_complex): Pass TEST_NAN_SIGN flag through to second
43346         check_float_internal call.
43347         (copysign_test_data): Add tests with quiet NaNs as second
43348         argument.  Use TEST_NAN_SIGN.
43349         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43350         TEST_NAN_SIGN.
43351         (signbit_test_data): Add tests of quiet NaN argument.
43352         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43354         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43355         $ignore_result.
43356         (parse_args): Handle function results specified as IGNORE.
43357         * math/libm-test.inc (IGNORE_RESULT): New macro.
43358         (check_float_internal): Do not check numerical result if flag
43359         IGNORE_RESULT set.
43360         (check_complex): Pass through IGNORE_RESULT to second
43361         check_float_internal call.
43362         (check_int): Do not check numerical result if flag IGNORE_RESULT
43363         set.
43364         (check_long): Likewise.
43365         (check_bool): Likewise.
43366         (check_longlong): Likewise.
43367         (lrint_test_data): Add tests of infinite and NaN arguments.
43368         (lrint_tonearest_test_data): Likewise.
43369         (lrint_towardzero_test_data): Likewise.
43370         (lrint_downward_test_data): Likewise.
43371         (lrint_upward_test_data): Likewise.
43372         (llrint_test_data): Likewise.
43373         (llrint_tonearest_test_data): Likewise.
43374         (llrint_towardzero_test_data): Likewise.
43375         (llrint_downward_test_data): Likewise.
43376         (llrint_upward_test_data): Likewise.
43377         (lround_test_data): Likewise.
43378         (llround_test_data): Likewise.
43380         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43381         (ERRNO_UNCHANGED): Update value.
43382         (ERRNO_EDOM): Likewise.
43383         (ERRNO_ERANGE): Likewise.
43384         (NO_TEST_INLINE_FLOAT): New macro.
43385         (NO_TEST_INLINE_DOUBLE): Likewise.
43386         (enable_test): New function.
43387         (RUN_TEST_f_f): Check enable_test before running test.
43388         (RUN_TEST_2_f): Likewise.
43389         (RUN_TEST_fff_f): Likewise.
43390         (RUN_TEST_c_f): Likewise.
43391         (RUN_TEST_f_f1): Likewise.
43392         (RUN_TEST_fF_f1): Likewise.
43393         (RUN_TEST_fI_f1): Likewise.
43394         (RUN_TEST_ffI_f1): Likewise.
43395         (RUN_TEST_c_c): Likewise.
43396         (RUN_TEST_cc_c): Likewise.
43397         (RUN_TEST_f_i): Likewise.
43398         (RUN_TEST_f_i_tg): Likewise.
43399         (RUN_TEST_ff_i_tg): Likewise.
43400         (RUN_TEST_f_b): Likewise.
43401         (RUN_TEST_f_b_tg): Likewise.
43402         (RUN_TEST_f_l): Likewise.
43403         (RUN_TEST_f_L): Likewise.
43404         (RUN_TEST_fFF_11): Likewise.
43405         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43406         conditionals.
43407         (cosh_test_data): Likewise.
43408         (exp_test_data): Likewise.
43409         (expm1_test_data): Likewise.
43410         (hypot_test_data): Likewise.
43411         (pow_test_data): Likewise.
43412         (sinh_test_data): Likewise.
43413         (tanh_test_data): Likewise.
43414         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43415         flags argument.
43417         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43418         tests with quiet NaN input and output.
43419         (acosh_test_data): Likewise.
43420         (asin_test_data): Likewise.
43421         (asinh_test_data): Likewise.
43422         (atan_test_data): Likewise.
43423         (atanh_test_data): Likewise.
43424         (atan2_test_data): Likewise.
43425         (cbrt_test_data): Likewise.
43426         (cos_test_data): Likewise.
43427         (cosh_test_data): Likewise.
43428         (erf_test_data): Likewise.
43429         (erfc_test_data): Likewise.
43430         (exp_test_data): Likewise.
43431         (exp10_test_data): Likewise.
43432         (exp2_test_data): Likewise.
43433         (expm1_test_data): Likewise.
43434         (hypot_test_data): Likewise.
43435         (j0_test_data): Likewise.
43436         (j1_test_data): Likewise.
43437         (jn_test_data): Likewise.
43438         (lgamma_test_data): Likewise.
43439         (log_test_data): Likewise.
43440         (log10_test_data): Likewise.
43441         (log1p_test_data): Likewise.
43442         (log2_test_data): Likewise.
43443         (pow_test_data): Likewise.
43444         (scalb_test_data): Likewise.
43445         (sin_test_data): Likewise.
43446         (sincos_test_data): Likewise.
43447         (sinh_test_data): Likewise.
43448         (tan_test_data): Likewise.
43449         (tanh_test_data): Likewise.
43450         (tgamma_test_data): Likewise.
43451         (y0_test_data): Likewise.
43452         (y1_test_data): Likewise.
43453         (yn_test_data): Likewise.
43455         [BZ #16167]
43456         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43457         argument being NaN and avoid computations with second argument in
43458         that case.
43459         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43460         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43461         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43463 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43465         * locale/iso-639.def: Add Chitwani Tharu (the).
43467 2013-11-14  Andreas Schwab  <schwab@suse.de>
43469         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43470         word instead of empty string.
43472 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43475         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43477         (__fe_nomask_env): Likewise.
43479 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43481         * benchtests/bench-timing.h: Include time.h.
43483 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43485         [BZ #15997]
43486         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43487         to 3.4.0 for x32.
43488         * sysdeps/unix/sysv/linux/configure: Regenerated.
43490 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43492         [BZ #16151]
43493         * stdlib/strtod_l.c (round_and_return): Do not consider
43494         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43495         exponent one less than half the least subnormal exponent.
43496         * stdlib/test-strtod-round-data: Add more tests.
43497         * stdlib/tst-strtod-round.c (tests): Regenerated.
43499 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43501         [BZ #14143]
43502         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43503         (__fe_mask_env): Likewise.
43504         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43505         libm_hidden_proto and add function prototype.
43506         (__fe_mask_env): Add function prototype.
43507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43508         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43510         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43512         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43514 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43516         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43517         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43519 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43521         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43522         of htab_find_slot().
43524 2013-11-11  David S. Miller  <davem@davemloft.net>
43526         [BZ #16150]
43527         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43528         symbol in the non-vis3 case in static builds.
43529         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43530         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43531         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43532         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43534 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43536         [BZ #387]
43537         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43538         it is empty.
43540 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43542         * benchtests/Makefile: Add bench-strtod.
43543         * benchtests/bench-strtod.c: New file: strtod benchtest
43545 2013-11-11  Andreas Schwab  <schwab@suse.de>
43547         [BZ #16153]
43548         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43549         terminating NUL in key length.
43551 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43553         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43554         Add artificial ODP entry for vDSO symbol for PPC64.
43555         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43556         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43558 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43560         [BZ #15374]
43561         * nss/getent.c (services_keys): Recognize services starting with digit.
43563 2013-11-06  David S. Miller  <davem@davemloft.net>
43565         [BZ #15985]
43566         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43567         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43569 2013-11-06  Will Newton  <will.newton@linaro.org>
43571         * manual/memory.texi (Malloc Examples): Remove register
43572         keyword from examples.
43574 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43576         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43578 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43580         [BZ #6981]
43581         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43582         depending on [__GCC_IEC_559 > 0].
43583         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43584         depending on [__GCC_IEC_559_COMPLEX > 0].
43586 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43588         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43589         to iso-639.def.
43591 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43593         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43595 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43597         [BZ #16112]
43598         * malloc/malloc (malloc_info): Do not handle first bin as
43599         special case.
43601 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43603         * locale/iso-639.def: Add Central Nahuatl (nhn).
43605 2013-11-01  Bruno Haible  <bruno@clisp.org>
43607         [BZ #7003]
43608         * manual/math.texi (BSD Random): Specify range upper bound as
43609         in POSIX.
43611 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43613         * locale/iso-639.def: Add Meadow Mari (mhr).
43615 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43617         [BZ #14752], [BZ #15763]
43618         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43619         Validate name.
43620         * rt/tst_shm.c: Add test for escaping directory.
43622 2013-10-31  Andreas Schwab  <schwab@suse.de>
43624         [BZ #15917]
43625         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43626         followed by 'x' as part of digit sequence.
43627         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43629 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43631         [BZ #16037]
43632         * configure.ac: allow GNU Make 4.0 and greater.
43633         * configure: Regenerated.
43635 2013-10-30  Will Newton  <will.newton@linaro.org>
43637         [BZ #16038]
43638         * malloc/hooks.c (memalign_check): Limit alignment to the
43639         maximum representable power of two.
43640         * malloc/malloc.c (__libc_memalign): Likewise.
43641         * malloc/tst-memalign.c (do_test): Add test for very
43642         large alignment values.
43643         * malloc/tst-posix_memalign.c (do_test): Likewise.
43645 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43647         [BZ #11087]
43648         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43649         (munmap_chunk): Likewise.
43650         (mremap_chunk): Likewise.
43652 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43654         [BZ #15799]
43655         * stdlib/div.c (div): Remove obsolete code.
43656         * stdlib/ldiv.c (ldiv): Likewise.
43657         * stdlib/lldiv.c (lldiv): Likewise.
43659 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43661         [BZ #16071]
43662         * nss/nss_files/files-XXX.c (get_contents_ret): New
43663         enumerator.
43664         (get_contents): New function.
43665         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43667 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43669         * configure.in: Moved to ...
43670         * configure.ac: ... here. Change reference to configure.in
43671         to configure.ac.
43672         * sysdeps/arm/preconfigure.ac: ... here.
43673         configure.in to configure.ac.
43674         * sysdeps/gnu/configure.in: Moved to ...
43675         * sysdeps/gnu/configure.ac: ... here.
43676         * sysdeps/i386/configure.in: Moved to ...
43677         * sysdeps/i386/configure.ac: ... here.
43678         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43679         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43680         * sysdeps/mach/configure.in: Moved to ...
43681         * sysdeps/mach/configure.ac: ... here.
43682         * sysdeps/mach/hurd/configure.in: Moved to ...
43683         * sysdeps/mach/hurd/configure.ac: ... here.
43684         * sysdeps/powerpc/configure.in: Moved to ...
43685         * sysdeps/powerpc/configure.ac: ... here.
43686         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43687         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43688         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43689         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43690         * sysdeps/s390/s390-32/configure.in: Moved to ...
43691         * sysdeps/s390/s390-32/configure.ac: ... here.
43692         * sysdeps/s390/s390-64/configure.in: Moved to ...
43693         * sysdeps/s390/s390-64/configure.ac: ... here.
43694         * sysdeps/sh/configure.in: Moved to ...
43695         * sysdeps/sh/configure.ac: ... here.
43696         * sysdeps/sparc/configure.in: Moved to ...
43697         * sysdeps/sparc/configure.ac: ... here.
43698         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43699         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43700         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43701         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43702         * sysdeps/x86_64/configure.in: Moved to ...
43703         * sysdeps/x86_64/configure.ac: ... here.
43704         * sysdeps/x86_64/preconfigure.in: Moved to ...
43705         * sysdeps/x86_64/preconfigure.ac: ... here.
43706         * aclocal.m4: Change reference to configure.in to configure.ac.
43707         * config.h.in: Likewise.
43708         * manual/install.texi: Likewise.
43709         * manual/maint.texi: Likewise.
43710         * Makefile: Likewise.
43711         * malloc/Makefile: Likewise.
43712         * nscd/Makefile: Likewise.
43713         * Makeconfig: Change reference to configure.in and
43714         preconfigure.in to configure.ac and preconfigure.ac
43715         respectively.
43716         * INSTALL: Regenerated.
43717         * configure: Likewise.
43718         * sysdeps/gnu/configure: Likewise.
43719         * sysdeps/i386/configure: Likewise.
43720         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43721         * sysdeps/mach/configure: Likewise.
43722         * sysdeps/mach/hurd/configure: Likewise.
43723         * sysdeps/powerpc/configure: Likewise.
43724         * sysdeps/powerpc/powerpc32/configure: Likewise.
43725         * sysdeps/powerpc/powerpc64/configure: Likewise.
43726         * sysdeps/s390/s390-32/configure: Likewise.
43727         * sysdeps/s390/s390-64/configure: Likewise.
43728         * sysdeps/sh/configure: Likewise.
43729         * sysdeps/sparc/configure: Likewise.
43730         * sysdeps/unix/sysv/linux/configure: Likewise.
43731         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43732         * sysdeps/x86_64/configure: Likewise.
43733         * sysdeps/x86_64/preconfigure: Likewise.
43735 2013-10-29  Andreas Schwab  <schwab@suse.de>
43737         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43739 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43741         * benchtests/pow-inputs: Add new inputs.
43743         * benchtests/exp-inputs: Add new inputs.
43745         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43746         conditional check for return value.
43747         (__cos32): Likewise.
43749 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43751         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43752         to provide a boost for large inputs with word alignment.
43753         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43754         implementation based on optimized PPC64 strcpy.
43755         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43756         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43757         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43758         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43760 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43762         [BZ #2801]
43763         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43765 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43767         [BZ #14876]
43768         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43769         * time/tst-strptime.c (day_tests): Add testcase.
43771 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43773         [BZ #14029]
43774         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43776 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43778         [BZ #16074]
43779         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43780         MAP_FAILED on error.
43782 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43784         [BZ #16072]
43785         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43786         heap for large requests.
43788 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43790         [BZ #9954]
43791         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43792         result if the result has no associated interface.
43793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43794         interface for all 127.X.Y.Z addresses.
43796 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43798         * locale/iso-639.def: Add Ligurian (lij)
43800 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43802         [BZ #15825]
43803         * sunrpc/rpc_main.c: Document rpcgen -5.
43805 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43807         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43809 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43811         [BZ #10278]
43812         * posix/glob.c: Match only directories when trailing slash is present.
43813         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43814         (main): Add testcase.
43816 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43818         [BZ #15670]
43819         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43821 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43823         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43824         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43825         AUTH_DES and cindex for FIPS 140-2.
43826         (DES Encryption): Add cindex FIPS 46-3.
43828         * locale/locarchive.h (struct locarhandle): Add fname.
43829         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43830         if an optional argument was specified to --list-archive,
43831         otherwise NULL.
43832         * locale/programs/locarchive.c (show_archive_content): Take new
43833         argument fname and pass it via ah.fname to open_archive.
43834         * locale/programs/localedef.h: Update decl.
43835         (open_archive): If AH->fname is non-null, open that file
43836         rather than the default file name, and don't ignore ENOENT.
43837         (create_archive): Set AH.fname to NULL.
43838         (delete_locales_from_archive): Likewise.
43839         (add_locales_to_archive): Likewise.
43840         * locale/programs/locfile.c (write_all_categories): Likewise.
43842 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43843             Aldy Hernandez  <aldyh@redhat.com>
43845         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43846         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43847         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43848         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43849         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43851         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43853         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43854         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43856         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43857         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43858         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43860         Likewise.
43861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43862         Likewise.
43863         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43864         Likewise.
43865         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43866         Likewise.
43867         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43868         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43869         Likewise.
43870         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43871         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43872         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43873         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43874         Likewise.
43875         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43876         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43877         * sysdeps/powerpc/preconfigure: Likewise.
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43879         Likewise.
43880         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43881         Replace contents of file by #include of <fenv_libc.h>.
43882         * sysdeps/powerpc/soft-fp/sfp-machine.h
43883         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43884         and <sys/prctl.h>.
43885         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43896         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43898         Allow copysignl PLT reference to be missing.
43900 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43901             Joseph Myers  <joseph@codesourcery.com
43903         [BZ #15948]
43904         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43905         single character.
43906         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43908 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43910         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43911         * elf/tst-tls1.c: Likewise.
43912         * elf/tst-tls10.h: Likewise.
43913         * elf/tst-tls14.c: Likewise.
43914         * elf/tst-tls2.c: Likewise.
43915         * elf/tst-tls3.c: Likewise.
43916         * elf/tst-tls4.c: Likewise.
43917         * elf/tst-tls5.c: Likewise.
43918         * elf/tst-tls6.c: Likewise.
43919         * elf/tst-tls7.c: Likewise.
43920         * elf/tst-tls8.c: Likewise.
43921         * elf/tst-tls9.c: Likewise.
43922         * elf/tst-tlsmod1.c: Likewise.
43923         * elf/tst-tlsmod13.c: Likewise.
43924         * elf/tst-tlsmod13a.c: Likewise.
43925         * elf/tst-tlsmod14a.c: Likewise.
43926         * elf/tst-tlsmod16a.c: Likewise.
43927         * elf/tst-tlsmod16b.c: Likewise.
43928         * elf/tst-tlsmod2.c: Likewise.
43929         * elf/tst-tlsmod3.c: Likewise.
43930         * elf/tst-tlsmod4.c: Likewise.
43931         * elf/tst-tlsmod5.c: Likewise.
43932         * elf/tst-tlsmod6.c: Likewise.
43934 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43936         [BZ #12486]
43937         * malloc/malloc.c: remove checks for statistics.
43939 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43941         [BZ #15277]
43942         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43943         * inet/tst-network.c: Add testcase.
43945 2013-10-17  Andreas Schwab  <schwab@suse.de>
43947         [BZ #15218]
43948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43949         to determine canonical name.
43951 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43953         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43954         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43955         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43959         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43960         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43961         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43962         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43963         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43964         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43965         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43966         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43970         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43971         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43972         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43973         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43974         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43976         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43977         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43978         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43979         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43980         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43981         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43982         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43983         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43985         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43986         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43987         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43988         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43989         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43990         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43991         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43992         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43993         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43994         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43995         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43996         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43997         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43998         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43999         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44000         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44001         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44002         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44003         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44004         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44005         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44006         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44007         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44008         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44009         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44010         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44012 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44014         [BZ #16041]
44015         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44016         make result into a quiet NaN.
44018 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44020         * soft-fp/adddf3.c: Fix horizontal whitespace.
44021         * soft-fp/addsf3.c: Likewise.
44022         * soft-fp/addtf3.c: Likewise.
44023         * soft-fp/divdf3.c: Likewise.
44024         * soft-fp/divsf3.c: Likewise.
44025         * soft-fp/divtf3.c: Likewise.
44026         * soft-fp/double.h: Likewise.
44027         * soft-fp/eqdf2.c: Likewise.
44028         * soft-fp/eqsf2.c: Likewise.
44029         * soft-fp/eqtf2.c: Likewise.
44030         * soft-fp/extenddftf2.c: Likewise.
44031         * soft-fp/extended.h: Likewise.
44032         * soft-fp/extendsfdf2.c: Likewise.
44033         * soft-fp/extendsftf2.c: Likewise.
44034         * soft-fp/extendxftf2.c: Likewise.
44035         * soft-fp/fixdfdi.c: Likewise.
44036         * soft-fp/fixdfsi.c: Likewise.
44037         * soft-fp/fixdfti.c: Likewise.
44038         * soft-fp/fixsfdi.c: Likewise.
44039         * soft-fp/fixsfsi.c: Likewise.
44040         * soft-fp/fixsfti.c: Likewise.
44041         * soft-fp/fixtfdi.c: Likewise.
44042         * soft-fp/fixtfsi.c: Likewise.
44043         * soft-fp/fixtfti.c: Likewise.
44044         * soft-fp/fixunsdfdi.c: Likewise.
44045         * soft-fp/fixunsdfsi.c: Likewise.
44046         * soft-fp/fixunsdfti.c: Likewise.
44047         * soft-fp/fixunssfdi.c: Likewise.
44048         * soft-fp/fixunssfsi.c: Likewise.
44049         * soft-fp/fixunssfti.c: Likewise.
44050         * soft-fp/fixunstfdi.c: Likewise.
44051         * soft-fp/fixunstfsi.c: Likewise.
44052         * soft-fp/fixunstfti.c: Likewise.
44053         * soft-fp/floatdidf.c: Likewise.
44054         * soft-fp/floatdisf.c: Likewise.
44055         * soft-fp/floatditf.c: Likewise.
44056         * soft-fp/floatsidf.c: Likewise.
44057         * soft-fp/floatsisf.c: Likewise.
44058         * soft-fp/floatsitf.c: Likewise.
44059         * soft-fp/floattidf.c: Likewise.
44060         * soft-fp/floattisf.c: Likewise.
44061         * soft-fp/floattitf.c: Likewise.
44062         * soft-fp/floatundidf.c: Likewise.
44063         * soft-fp/floatundisf.c: Likewise.
44064         * soft-fp/floatunditf.c: Likewise.
44065         * soft-fp/floatunsidf.c: Likewise.
44066         * soft-fp/floatunsisf.c: Likewise.
44067         * soft-fp/floatunsitf.c: Likewise.
44068         * soft-fp/floatuntidf.c: Likewise.
44069         * soft-fp/floatuntisf.c: Likewise.
44070         * soft-fp/floatuntitf.c: Likewise.
44071         * soft-fp/fmadf4.c: Likewise.
44072         * soft-fp/fmasf4.c: Likewise.
44073         * soft-fp/fmatf4.c: Likewise.
44074         * soft-fp/gedf2.c: Likewise.
44075         * soft-fp/gesf2.c: Likewise.
44076         * soft-fp/getf2.c: Likewise.
44077         * soft-fp/ledf2.c: Likewise.
44078         * soft-fp/lesf2.c: Likewise.
44079         * soft-fp/letf2.c: Likewise.
44080         * soft-fp/muldf3.c: Likewise.
44081         * soft-fp/mulsf3.c: Likewise.
44082         * soft-fp/multf3.c: Likewise.
44083         * soft-fp/negdf2.c: Likewise.
44084         * soft-fp/negsf2.c: Likewise.
44085         * soft-fp/negtf2.c: Likewise.
44086         * soft-fp/op-1.h: Likewise.
44087         * soft-fp/op-2.h: Likewise.
44088         * soft-fp/op-4.h: Likewise.
44089         * soft-fp/op-8.h: Likewise.
44090         * soft-fp/op-common.h: Likewise.
44091         * soft-fp/quad.h: Likewise.
44092         * soft-fp/single.h: Likewise.
44093         * soft-fp/soft-fp.h: Likewise.
44094         * soft-fp/sqrtdf2.c: Likewise.
44095         * soft-fp/sqrtsf2.c: Likewise.
44096         * soft-fp/sqrttf2.c: Likewise.
44097         * soft-fp/subdf3.c: Likewise.
44098         * soft-fp/subsf3.c: Likewise.
44099         * soft-fp/subtf3.c: Likewise.
44100         * soft-fp/truncdfsf2.c: Likewise.
44101         * soft-fp/trunctfdf2.c: Likewise.
44102         * soft-fp/trunctfsf2.c: Likewise.
44103         * soft-fp/trunctfxf2.c: Likewise.
44104         * soft-fp/unorddf2.c: Likewise.
44105         * soft-fp/unordsf2.c: Likewise.
44106         * soft-fp/unordtf2.c: Likewise.
44108 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44110         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44111         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44113 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44115         * elf/dl-libc.c: Clear initfini list after freeing.
44117 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44119         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44120         * soft-fp/addsf3.c: Likewise.
44121         * soft-fp/addtf3.c: Likewise.
44122         * soft-fp/divdf3.c: Likewise.
44123         * soft-fp/divsf3.c: Likewise.
44124         * soft-fp/divtf3.c: Likewise.
44125         * soft-fp/double.h: Likewise.
44126         * soft-fp/eqdf2.c: Likewise.
44127         * soft-fp/eqsf2.c: Likewise.
44128         * soft-fp/eqtf2.c: Likewise.
44129         * soft-fp/extenddftf2.c: Likewise.
44130         * soft-fp/extended.h: Likewise.
44131         * soft-fp/extendsfdf2.c: Likewise.
44132         * soft-fp/extendsftf2.c: Likewise.
44133         * soft-fp/extendxftf2.c: Likewise.
44134         * soft-fp/fixdfdi.c: Likewise.
44135         * soft-fp/fixdfsi.c: Likewise.
44136         * soft-fp/fixdfti.c: Likewise.
44137         * soft-fp/fixsfdi.c: Likewise.
44138         * soft-fp/fixsfsi.c: Likewise.
44139         * soft-fp/fixsfti.c: Likewise.
44140         * soft-fp/fixtfdi.c: Likewise.
44141         * soft-fp/fixtfsi.c: Likewise.
44142         * soft-fp/fixtfti.c: Likewise.
44143         * soft-fp/fixunsdfdi.c: Likewise.
44144         * soft-fp/fixunsdfsi.c: Likewise.
44145         * soft-fp/fixunsdfti.c: Likewise.
44146         * soft-fp/fixunssfdi.c: Likewise.
44147         * soft-fp/fixunssfsi.c: Likewise.
44148         * soft-fp/fixunssfti.c: Likewise.
44149         * soft-fp/fixunstfdi.c: Likewise.
44150         * soft-fp/fixunstfsi.c: Likewise.
44151         * soft-fp/fixunstfti.c: Likewise.
44152         * soft-fp/floatdidf.c: Likewise.
44153         * soft-fp/floatdisf.c: Likewise.
44154         * soft-fp/floatditf.c: Likewise.
44155         * soft-fp/floatsidf.c: Likewise.
44156         * soft-fp/floatsisf.c: Likewise.
44157         * soft-fp/floatsitf.c: Likewise.
44158         * soft-fp/floattidf.c: Likewise.
44159         * soft-fp/floattisf.c: Likewise.
44160         * soft-fp/floattitf.c: Likewise.
44161         * soft-fp/floatundidf.c: Likewise.
44162         * soft-fp/floatundisf.c: Likewise.
44163         * soft-fp/floatunsidf.c: Likewise.
44164         * soft-fp/floatunsisf.c: Likewise.
44165         * soft-fp/floatuntidf.c: Likewise.
44166         * soft-fp/floatuntisf.c: Likewise.
44167         * soft-fp/floatuntitf.c: Likewise.
44168         * soft-fp/fmadf4.c: Likewise.
44169         * soft-fp/fmasf4.c: Likewise.
44170         * soft-fp/fmatf4.c: Likewise.
44171         * soft-fp/gedf2.c: Likewise.
44172         * soft-fp/gesf2.c: Likewise.
44173         * soft-fp/getf2.c: Likewise.
44174         * soft-fp/ledf2.c: Likewise.
44175         * soft-fp/lesf2.c: Likewise.
44176         * soft-fp/letf2.c: Likewise.
44177         * soft-fp/muldf3.c: Likewise.
44178         * soft-fp/mulsf3.c: Likewise.
44179         * soft-fp/multf3.c: Likewise.
44180         * soft-fp/negdf2.c: Likewise.
44181         * soft-fp/negsf2.c: Likewise.
44182         * soft-fp/negtf2.c: Likewise.
44183         * soft-fp/op-1.h: Likewise.
44184         * soft-fp/op-2.h: Likewise.
44185         * soft-fp/op-4.h: Likewise.
44186         * soft-fp/op-8.h: Likewise.
44187         * soft-fp/op-common.h: Likewise.
44188         * soft-fp/quad.h: Likewise.
44189         * soft-fp/single.h: Likewise.
44190         * soft-fp/soft-fp.h: Likewise.
44191         * soft-fp/sqrtdf2.c: Likewise.
44192         * soft-fp/sqrtsf2.c: Likewise.
44193         * soft-fp/sqrttf2.c: Likewise.
44194         * soft-fp/subdf3.c: Likewise.
44195         * soft-fp/subsf3.c: Likewise.
44196         * soft-fp/subtf3.c: Likewise.
44197         * soft-fp/truncdfsf2.c: Likewise.
44198         * soft-fp/trunctfdf2.c: Likewise.
44199         * soft-fp/trunctfsf2.c: Likewise.
44200         * soft-fp/trunctfxf2.c: Likewise.
44201         * soft-fp/unorddf2.c: Likewise.
44202         * soft-fp/unordsf2.c: Likewise.
44203         * soft-fp/unordtf2.c: Likewise.
44205 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44207         [BZ #15672]
44208         * misc/error.c (error_tail): Fix possible buffer overflow.
44210 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44212         [BZ #13028]
44213         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44214         address.
44216 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44218         [BZ #832]
44219         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44220         testing pipefail option.
44222 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44224         * soft-fp/double.h: Indent preprocessor directives inside #if.
44225         * soft-fp/extended.h: Likewise.
44226         * soft-fp/op-2.h: Likewise.
44227         * soft-fp/op-4.h: Likewise.
44228         * soft-fp/op-common.h: Likewise.
44229         * soft-fp/quad.h: Likewise.
44230         * soft-fp/single.h: Likewise.
44231         * soft-fp/soft-fp.h: Likewise.
44233 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44235         * iconv/iconv_prog.c: Fix typos.
44236         * stdio-common/psiginfo-data.h: Likewise.
44238 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44240         [BZ #15764]
44241         * locale/setlocale.c: Fix typo.
44243 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44245         [BZ #16036]
44246         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44247         signaling NaN arguments.
44248         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44249         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44251         [BZ #14910]
44252         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44253         unordered operands.
44254         * soft-fp/gesf2.c (__gesf2): Likewise.
44255         * soft-fp/getf2.c (__getf2): Likewise.
44256         * soft-fp/ledf2.c (__ledf2): Likewise.
44257         * soft-fp/lesf2.c (__lesf2): Likewise.
44258         * soft-fp/letf2.c (__letf2): Likewise.
44260         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44261         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44262         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44263         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44264         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44265         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44266         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44267         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44268         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44269         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44270         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44271         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44272         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44273         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44274         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44275         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44276         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44277         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44278         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44279         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44280         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44281         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44282         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44283         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44284         * soft-fp/floattidf.c (__floattidf): Likewise.
44285         * soft-fp/floattisf.c (__floattisf): Likewise.
44286         * soft-fp/floattitf.c (__floattitf): Likewise.
44287         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44288         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44289         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44290         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44291         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44292         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44293         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44294         * soft-fp/gesf2.c (__gesf2): Likewise.
44295         * soft-fp/getf2.c (__getf2): Likewise.
44296         * soft-fp/ledf2.c (__ledf2): Likewise.
44297         * soft-fp/lesf2.c (__lesf2): Likewise.
44298         * soft-fp/letf2.c (__letf2): Likewise.
44300         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44301         Undefine and redefine.
44302         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44303         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44304         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44305         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44306         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44307         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44308         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44309         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44310         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44311         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44312         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44313         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44314         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44315         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44316         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44318         [BZ #16032]
44319         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44320         without decrementing exponent if mantissa >= that for the
44321         denominator, not >.
44322         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44323         denominator, not >.  Decrement exponent in < case instead of
44324         incrementing in >= case.
44325         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44326         without decrementing exponent if mantissa >= that for the
44327         denominator, not >.
44329         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44330         computing saturated result for unsigned overflow.
44332 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44333             Jeff Law  <law@redhat.com>
44335         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44336         (atan2Mp): Add systemtap probe marker.
44337         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44338         (__ieee754_log): Add systemtap probe marker.
44339         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44340         (atanMp): Add systemtap probe marker.
44341         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44342         (tanMp): Add systemtap probe marker.
44343         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44344         (__slowexp): Add systemtap probe marker.
44345         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44346         (__slowpow): Add systemtap probe marker.
44347         * manual/probes.texi: Document probes.
44349 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44351         [BZ #15362]
44352         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44353         written.
44354         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44355         written.
44356         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44357         written to buffer but not flushed.
44358         * libio/iofwrite_u.c:  Likewise.
44359         * libio/iopadn.c:  Return bytes returned even if EOF was
44360         encountered.
44361         * libio/iowpadn.c:  Likewise.
44362         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44363         if _IO_padn does not write the whole buffer.
44364         [!COMPILE_WPRINTF] (PAD): Likewise.
44366 2013-10-10  David S. Miller  <davem@davemloft.net>
44368         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44369         directory block.
44371 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44373         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44374         instead of FSF address.
44375         * soft-fp/fixdfti.c: Likewise.
44376         * soft-fp/fixsfti.c: Likewise.
44377         * soft-fp/fixtfti.c: Likewise.
44378         * soft-fp/fixunsdfti.c: Likewise.
44379         * soft-fp/fixunssfti.c: Likewise.
44380         * soft-fp/fixunstfti.c: Likewise.
44381         * soft-fp/floattidf.c: Likewise.
44382         * soft-fp/floattisf.c: Likewise.
44383         * soft-fp/floattitf.c: Likewise.
44384         * soft-fp/floatuntidf.c: Likewise.
44385         * soft-fp/floatuntisf.c: Likewise.
44386         * soft-fp/floatuntitf.c: Likewise.
44387         * soft-fp/trunctfxf2.c: Likewise.
44389         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44390         * soft-fp/fixdfti.c: Likewise.
44391         * soft-fp/fixsfti.c: Likewise.
44392         * soft-fp/fixtfti.c: Likewise.
44393         * soft-fp/fixunsdfti.c: Likewise.
44394         * soft-fp/fixunssfti.c: Likewise.
44395         * soft-fp/fixunstfti.c: Likewise.
44396         * soft-fp/floattidf.c: Likewise.
44397         * soft-fp/floattisf.c: Likewise.
44398         * soft-fp/floattitf.c: Likewise.
44399         * soft-fp/floatuntidf.c: Likewise.
44400         * soft-fp/floatuntisf.c: Likewise.
44401         * soft-fp/floatuntitf.c: Likewise.
44402         * soft-fp/trunctfxf2.c: Likewise.
44404 2013-10-10  David S. Miller  <davem@davemloft.net>
44406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44408 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44410         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44411         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44412         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44413         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44414         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44415         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44416         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44418         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44419         for NaNs before doing comparisons on argument.
44420         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44421         Likewise.
44423 2013-10-10  Will Newton  <will.newton@linaro.org>
44425         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44426         passed to _int_memalign does not overflow.
44428 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44430         * scripts/bench.pl: Add include-sources directive.
44431         * benchtests/README: Update documentation.
44433 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44435         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44436         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44437         instead of FP_INIT_ROUNDMODE.
44438         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44439         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44441         [BZ #16034]
44442         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44443         copy class of input value.
44444         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44445         not handle exceptions.
44446         * soft-fp/negsf2.c (__negsf2): Likewise.
44447         * soft-fp/negtf2.c (__negtf2): Likewise.
44448         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44450 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44452         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44453         semicolon.  From Linux kernel.
44455 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44459 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44461         [BZ #156]
44462         * manual/socket.texi: Added statement about buffer
44463         for gethostbyname2_r.
44465 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44467         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44468         Use .p2align directive instead, throughout.
44469         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44470         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44471         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44473         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44474         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44475         * sysdeps/x86_64/strchr.S: Likewise.
44476         * sysdeps/x86_64/strrchr.S: Likewise.
44478 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44480         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44482         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44484         * sysdeps/generic/math_private.h (__mpsin1): Remove
44485         declaration.
44486         (__mpcos1): Likewise.
44487         (__mpsin): New argument __range_reduce.
44488         (__mpcos): Likewise.
44489         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44490         (slow): Use __mpsin and __mpcos.
44491         (slow1): Likewise.
44492         (slow2): Likewise.
44493         (sloww): Likewise.
44494         (sloww1): Likewise.
44495         (sloww2): Likewise.
44496         (bsloww): Likewise.
44497         (bsloww1): Likewise.
44498         (bsloww2): Likewise.
44499         (cslow2): Likewise.
44500         (csloww): Likewise.
44501         (csloww1): Likewise.
44502         (csloww2): Likewise.
44503         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44504         range_reduce.  Merge in __mpsin1.
44505         (__mpcos): Likewise.
44506         (__mpsin1): Remove.
44507         (__mpcos1): Likewise.
44509 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44511         * locale/loadlocale.c (_nl_intern_locale_data): Use
44512         LOCFILE_ALIGNED_P.
44513         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44514         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44515         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44516         obstack data is appropriately aligned.
44517         (obstack_int32_grow_fast): Likewise.
44518         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44519         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44520         (add_locale_uint32_array): Likewise.
44522 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44524         * benchtests/Makefile: Remove ARGLIST and RET variables.
44525         ($(objpfx)bench-%.c): Pass only function name to the script.
44526         * benchtests/README: Update documentation.
44527         * benchtests/acos-inputs: Add new directives.
44528         * benchtests/acosh-inputs: Likewise.
44529         * benchtests/asin-inputs: Likewise.
44530         * benchtests/asinh-inputs: Likewise.
44531         * benchtests/atan-inputs: Likewise.
44532         * benchtests/atanh-inputs: Likewise.
44533         * benchtests/cos-inputs: Likewise.
44534         * benchtests/cosh-inputs: Likewise.
44535         * benchtests/exp-inputs: Likewise.
44536         * benchtests/log-inputs: Likewise.
44537         * benchtests/pow-inputs: Likewise.
44538         * benchtests/rint-inputs: Likewise.
44539         * benchtests/sin-inputs: Likewise.
44540         * benchtests/sinh-inputs: Likewise.
44541         * benchtests/tan-inputs: Likewise.
44542         * benchtests/tanh-inputs: Likewise.
44543         * scripts/bench.pl: Add support for new directives.
44545 2013-10-07  Alan Modra  <amodra@gmail.com>
44547         * README: Fix careless merge.
44549 2013-10-05  Alan Modra  <amodra@gmail.com>
44551         * NEWS: Mention powerpc64le support and bugs fixed.
44552         * README: Both big-endian and little-endian powerpc64 supported.
44554 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44556         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44557         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44558         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44559         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44561 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44563         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44564         match prototype.
44566 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44568         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44569         Move -mhard-float appending from
44570         ports/sysdeps/powerpc/powerpc32/Makefile.
44571         [$(with-fp) = yes] (ASFLAGS): Likewise.
44572         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44573         * sysdeps/powerpc/nofpu: Move directory from
44574         ports/sysdeps/powerpc/nofpu.
44575         * sysdeps/powerpc/soft-fp: Move directory from
44576         ports/sysdeps/powerpc/soft-fp.
44577         * sysdeps/powerpc/powerpc32/405: Move directory from
44578         ports/sysdeps/powerpc/powerpc32/405.
44579         * sysdeps/powerpc/powerpc32/440: Move directory from
44580         ports/sysdeps/powerpc/powerpc32/440.
44581         * sysdeps/powerpc/powerpc32/464: Move directory from
44582         ports/sysdeps/powerpc/powerpc32/464.
44583         * sysdeps/powerpc/powerpc32/476: Move directory from
44584         ports/sysdeps/powerpc/powerpc32/476.
44585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44592         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44594         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44595         * README: Update for powerpc-*-linux-gnu software floating point
44596         support in libc.
44598         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44599         case to powerpc/powerpc32*.
44600         * sysdeps/unix/sysv/linux/configure: Regenerated.
44602         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44603         (_FPU_MASK_OM): Define as 0x04.
44604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44606         0x00c10080.
44607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44608         0x0000003c.
44609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44612         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44613         getcontext_e500.
44614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44615         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44616         setcontext_e500.
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44618         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44619         and setcontext_e500.
44621 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44623         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44625 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44627         * manual/threads.texi (Default Thread Attributes): Fix typo.
44629 2013-10-04  Will Newton  <will.newton@linaro.org>
44631         * malloc/Makefile: Add tst-memalign.
44632         * malloc/tst-memalign.c: New file.
44634         * malloc/tst-posix_memalign.c: Add comments.
44635         (do_test): Add comments and call free on all potentially
44636         allocated pointers. Add space after cast.
44638         * malloc/tst-pvalloc.c: Add comments.
44639         (do_test): Add comments and call free on all potentially
44640         allocated pointers. Remove duplicate check for NULL pointer.
44641         Add space after cast.
44643         * malloc/tst-valloc.c: Add comments.
44644         (do_test): Add comments and call free on all potentially
44645         allocated pointers. Remove duplicate check for NULL pointer.
44646         Add space after cast.
44648 2013-10-04  Alan Modra  <amodra@gmail.com>
44650         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44651         Use stdint types in rather than __attribute__((mode())).
44652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44654 2013-10-04  Alan Modra  <amodra@gmail.com>
44656         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44657         Correct handling of unaligned relocs for little-endian.
44658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44660 2013-10-04  Alan Modra  <amodra@gmail.com>
44662         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44663         * configure: Regenerate.
44664         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44665         * shlib-versions: Likewise.
44667 2013-10-04  Alan Modra  <amodra@gmail.com>
44669         * string/tester.c (test_memrchr): Increment reported test cycle.
44671 2013-10-04  Alan Modra  <amodra@gmail.com>
44673         * string/test-memcpy.c (do_one_test): When reporting errors, print
44674         string address and don't overrun end of string.
44676 2013-10-04  Alan Modra  <amodra@gmail.com>
44678         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44679         insrdi.  Make better use of reg selection to speed exit slightly.
44680         Schedule entry path a little better.  Remove useless "are we done"
44681         checks on entry to main loop.  Handle wrapping around zero address.
44682         Correct main loop count.  Handle single left-over word from main
44683         loop inline rather than by using loop_small.  Remove extra word
44684         case in loop_small caused by wrong loop count.  Add little-endian
44685         support.
44686         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44687         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44688         cache hint.
44689         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44690         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44691         support.  Avoid rlwimi.
44692         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44694 2013-10-04  Alan Modra  <amodra@gmail.com>
44696         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44697         insrdi.  Formatting.
44698         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44699         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44700         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44701         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44702         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44703         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44705 2013-10-04  Alan Modra  <amodra@gmail.com>
44707         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44709         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44710         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44711         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44712         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44713         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44714         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44715         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44716         use of regs.  Use power7 mtocrf.  Tidy function tails.
44718 2013-10-04  Alan Modra  <amodra@gmail.com>
44720         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44721         Formatting.  Consistently use rXXX register defines or rN defines.
44722         Use early exit labels that avoid restoring unused non-volatile regs.
44723         Make cr field use more consistent with rWORDn compares.  Rename
44724         regs used as shift registers for unaligned loop, using rN defines
44725         for short lifetime/multiple use regs.
44726         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44727         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44728         addi 1,1,64 to pop stack frame.  Simplify return value code.
44729         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44731 2013-10-04  Alan Modra  <amodra@gmail.com>
44733         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44734         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44735         rather than rlwimi.
44736         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44737         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44738         little-endian support.  Correct typos.
44739         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44740         rather than rlwimi.
44741         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44742         in loop and entry code to keep "and." results.
44743         (strchr): Add little-endian support.  Comment.  Move cntlzd
44744         earlier in tail.
44745         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44747 2013-10-04  Alan Modra  <amodra@gmail.com>
44749         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44750         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44751         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44752         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44754 2013-10-04  Alan Modra  <amodra@gmail.com>
44756         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44757         (rTMP): Define as r11.
44758         (strcmp): Add little-endian support.  Optimise tail.
44759         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44760         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44761         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44762         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44763         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44764         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44765         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44767 2013-10-04  Alan Modra  <amodra@gmail.com>
44769         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44770         little-endian support.  Remove unnecessary "are we done" tests.
44771         Handle "s" wrapping around zero and extremely large "size".
44772         Correct main loop count.  Handle single left-over word from main
44773         loop inline rather than by using small_loop.  Correct comments.
44774         Delete "zero" tail, use "end_max" instead.
44775         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44777 2013-10-04  Alan Modra  <amodra@gmail.com>
44779         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44780         support.  Don't branch over align.
44781         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44782         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44783         support.  Rearrange tmp reg use to suit.  Comment.
44784         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44786 2013-10-04  Alan Modra  <amodra@gmail.com>
44788         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44790 2013-10-04  Alan Modra  <amodra@gmail.com>
44792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44793         conditional form of branch and link when obtaining pc.
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44796 2013-10-04  Alan Modra  <amodra@gmail.com>
44798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44799         HIWORD/LOWORD.
44800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44803 2013-10-04  Alan Modra  <amodra@gmail.com>
44805         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44806         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44807         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44808         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44809         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44810         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44811         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44812         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44813         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44814         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44816 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44817             Alistair Popple <alistair@ozlabs.au.ibm.com>
44818             Alan Modra <amodra@gmail.com>
44820         [BZ #15723]
44821         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44822         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44823         _dl_hwcap access for little-endian.
44824         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44825         destroy vmx regs when saving unaligned.
44826         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44827         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44828         destroy vmx regs when saving unaligned.
44830 2013-10-04  Alan Modra  <amodra@gmail.com>
44832         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44833         Don't use a union to pack hi/low value.
44835 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44837         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44838         for little-endian.
44839         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44840         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44841         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44842         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44843         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44845 2013-10-04  Alan Modra  <amodra@gmail.com>
44847         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44848         constants to usual value for .cst8 section, and remove redundant
44849         high address load.
44850         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44851         constant for 0x1p52.  Load little-endian words of double from
44852         correct stack offsets.
44854 2013-10-04  Alan Modra  <amodra@gmail.com>
44856         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44857         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44858         words of double from correct stack offsets.
44859         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44860         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44861         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44864         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44865         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44866         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44867         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44868         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44869         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44870         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44871         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44872         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44873         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44875         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44877 2013-10-04  Alan Modra  <amodra@gmail.com>
44879         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44880         64-bit int/double union.
44881         (_FPU_SETCW): Likewise.
44882         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44883         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44885 2013-10-04  Alan Modra  <amodra@gmail.com>
44887         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44888         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44890 2013-10-04  Alan Modra  <amodra@gmail.com>
44892         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44893         use vector int constants.
44894         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44896 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44898         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44899         array with long long.
44900         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44901         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44902         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44903         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44904         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44905         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44906         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44907         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44908         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44909         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44910         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44911         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44912         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44914 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44916         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44917         (__signbit): Likewise.  Correct for little-endian.
44918         (__signbitl): Call __signbit.
44919         (lrint): Correct for little-endian.
44920         (lrintf): Call lrint.
44922 2013-10-04  Alan Modra  <amodra@gmail.com>
44924         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44925         union 32-bit int array member with 64-bit int array.
44926         (t515, tm256): Double rather than long double.
44927         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44929 2013-10-04  Alan Modra  <amodra@gmail.com>
44931         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44932         Delete.
44933         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44935         version of math_ldbl.h.
44937 2013-10-04  Alan Modra  <amodra@gmail.com>
44939         [BZ #15734], [BZ #15735]
44940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44941         all uses of ieee875 long double macros and unions.  Simplify test
44942         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44943         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44944         normalize after ldbl_extract_mantissa, and don't add hidden bit
44945         already handled.  Don't treat low word of ieee854 mantissa like
44946         low word of IBM long double and mask off bit when testing for
44947         zero.
44948         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44949         all uses of ieee875 long double macros and unions.  Simplify tests
44950         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44951         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44952         two1022, instead use their values.  Recognise that tests for large
44953         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44954         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44955         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44956         test for 0.0L and nan.  Correct negation.
44957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44958         ieee875 long double macros and unions.  Correct output for large
44959         magnitude x.  Correct absolute value calculation.
44960         (__erfcl): Likewise.
44961         * math/libm-test.inc: Add tests for errors discovered in IBM long
44962         double versions of fmodl, remainderl, erfl and erfcl.
44964 2013-10-04  Alan Modra  <amodra@gmail.com>
44966         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44967         all uses of ieee854 long double macros and unions.  Simplify tests
44968         for long doubles that are fully specified by the high double.
44969         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44970         Likewise.
44971         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44972         Remove dead code too.
44973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44974         (__ieee754_ynl): Likewise.
44975         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44977         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44978         Remove dead code too.
44979         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44980         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44981         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44982         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44983         Simplify.
44984         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44985         Simplify.
44986         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44987         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44989         Comment on variable precision.
44990         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44991         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44992         Likewise.
44993         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44994         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44995         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44996         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44997         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44999 2013-10-04  Alan Modra  <amodra@gmail.com>
45001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45002         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45003         all uses of ieee854 long double macros and unions.
45004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45006         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45007         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45009         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45010         Likewise.
45011         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45012         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45013         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45014         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45017         Simplify sign and nan test too.
45018         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45020         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45021         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45022         Likewise.
45023         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45024         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45025         Likewise.
45026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45028         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45029         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45030         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45033 2013-10-04  Alan Modra  <amodra@gmail.com>
45035         * stdio-common/printf_size.c (__printf_size): Don't use
45036         union ieee854_long_double in fpnum union.
45037         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45038         signbit macro to retrieve sign from long double.
45039         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45040         retrieve sign from long double.
45041         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45042         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45043         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45044         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45045         * math/test-misc.c (main): Don't use union ieee854_long_double.
45047 2013-10-04  Alan Modra  <amodra@gmail.com>
45049         [BZ #15680]
45050         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45051         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45052         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45053         calculation.  Remove unnecessary test for denormal exponent.
45054         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45055         Correct handling of denormals.  Avoid undefined shift behaviour.
45056         Correct normalisation of low mantissa when low double is denormal.
45057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45058         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45059         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45060         Correct normalisation of low mantissa.  Test for overflow of high
45061         mantissa and normalise.
45062         (ldbl_nearbyint): Use more readable constant for two52.
45063         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45064         (__mpn_construct_long_double): Fix test for overflow of high
45065         mantissa and correct normalisation.  Avoid undefined shift.
45067 2013-10-04  Alan Modra  <amodra@gmail.com>
45069         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45070         (union ibm_extended_long_double): Define as an array of ieee754_double.
45071         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45072         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45073         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45074         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45078         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45083 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45085         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45086         page size instead of calling getpagesize.
45088         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45089         (LOCFILE_ALIGN_MASK): Likewise.
45090         (LOCFILE_ALIGN_UP): Likewise.
45091         (LOCFILE_ALIGNED_P): Likewise.
45092         * locale/programs/ld-collate.c (collate_output): Use the new
45093         macros instead of __alignof__ (int32_t).
45094         * locale/weight.h (findidx): Likewise.
45096 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45098         [BZ #431]
45099         * manual/string.texi: Fix strncat and wcsncat.
45101 2013-10-03  Brooks Moses  <bmoses@google.com>
45103         [BZ #15915]
45104         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45105         * Makerules: ...here, and adjust associated comments.
45107 2013-10-02  Will Newton  <will.newton@linaro.org>
45109         * malloc/Makefile: Add tst-pvalloc.
45110         * malloc/tst-pvalloc.c: New file.
45112 2013-10-02  Will Newton  <will.newton@linaro.org>
45114         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45115         improve test coverage.
45117 2013-10-02  Will Newton  <will.newton@linaro.org>
45119         * malloc/Makefile: Add tst-posix_memalign.
45120         * malloc/tst-posix_memalign.c: New file.
45122 2013-10-01  Eric Blake  <eblake@redhat.com>
45124         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45125         Use __THROWNL rather than __THROW on static functions.
45127 2013-09-30  Petr Machata  <pmachata@redhat.com>
45129         * elf/elf.h (R_AARCH64_ABS16): New macro.
45130         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45131         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45132         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45133         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45134         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45135         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45136         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45137         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45138         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45139         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45140         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45141         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45142         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45143         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45144         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45145         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45146         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45147         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45148         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45149         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45150         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45151         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45152         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45153         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45154         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45155         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45156         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45157         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45158         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45159         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45160         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45161         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45162         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45163         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45164         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45165         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45166         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45167         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45168         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45169         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45170         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45171         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45172         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45173         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45174         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45175         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45176         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45177         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45178         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45179         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45180         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45181         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45182         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45183         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45184         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45185         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45186         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45187         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45188         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45189         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45190         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45191         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45192         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45193         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45194         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45195         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45196         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45197         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45198         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45199         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45200         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45201         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45202         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45203         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45204         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45205         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45206         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45207         (R_AARCH64_TLSDESC_LDR): Likewise.
45208         (R_AARCH64_TLSDESC_ADD): Likewise.
45209         (R_AARCH64_TLSDESC_CALL): Likewise.
45211 2013-09-30  Andreas Schwab  <schwab@suse.de>
45213         [BZ #15048]
45214         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45215         the nss database lookup.
45216         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45217         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45219 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45221         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45223 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45225         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45226         ${Bash-specific parameter/pattern/string} parameter expansion.
45227         * sysdeps/unix/make-syscalls.sh: Likewise.
45229 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45231         * sysdeps/sh/stackguard-macros.h: New file.
45233 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45237         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45238         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45239         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45240         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45242 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45244         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45245         Fix thread ID register.
45247 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45249         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45250         [POSIX || UNIX98]: Require rather than permitting all symbols from
45251         <time.h>.
45252         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45253         element of struct sched_param.
45254         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45255         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45256         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45257         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45258         constant.
45260 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45262         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45263         argument calculation.
45265 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45267         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45268         Expect macro.
45269         [POSIX] (pthread_attr_t): Do not require type.
45270         [POSIX] (pthread_cond_t): Likewise.
45271         [POSIX] (pthread_condattr_t): Likewise.
45272         [POSIX] (pthread_key_t): Likewise.
45273         [POSIX] (pthread_mutex_t): Likewise.
45274         [POSIX] (pthread_mutexattr_t): Likewise.
45275         [POSIX] (pthread_once_t): Likewise.
45276         [POSIX] (pthread_t): Likewise.
45277         [POSIX-based standards] (pthread_atfork): Expect function.
45279 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45280             Richard Sandiford  <richard@codesourcery.com>
45282         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45283         (swap_endianness_p): New extern variable.
45284         (set_big_endian): New inline function.
45285         (maybe_swap_uint32): Likewise.
45286         (maybe_swap_uint32_array): Likewise.
45287         (maybe_swap_uint32_obstack): Likewise.
45288         * locale/programs/locfile.c: Include <stdbool.h>.
45289         (swap_endianness_p): New variable.
45290         (add_locale_uint32): Call maybe_swap_uint32.
45291         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45292         (write_locale_data): Call maybe_swap_uint32_array.
45293         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45294         maybe_swap_uint32.
45295         (obstack_int32_grow_fast): Likewise.
45296         (output_weightwc): Call maybe_swap_uint32_obstack.
45297         (collate_output): Likewise.
45298         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45299         (OPT_LITTLE_ENDIAN): Likewise.
45300         (options): Add --little-endian and --big-endian options.
45301         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45302         * locale/programs/locarchive.c: Include "locfile.h".
45303         (GET): New macro.
45304         (SET): Likewise.
45305         (INC): Likewise.
45306         (create_archive): Use the new macros to access fields of
45307         structures directly mapped from or written to locale archives.
45308         (oldlocrecentcmp): Likewise.
45309         (enlarge_archive): Likewise.
45310         (insert_name): Likewise.
45311         (add_alias): Likewise.
45312         (add_locale): Likewise.
45313         (delete_locales_from_archive): Likewise.
45314         (show_archive_content): Likewise.
45315         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45316         locale data.
45318 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45320         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45321         http://www.gnu.org/doc/freemanuals.texi.
45322         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45324 2013-09-24  Will Newton  <will.newton@linaro.org>
45326         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45327         macro.
45329 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45331         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45332         unsigned char.
45334 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45336         * manual/threads.texi (POSIX Threads): Fix a typo.
45338 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45340         [BZ #14547]
45341         * string/tst-strcoll-overflow.c: New test case.
45342         * string/Makefile (xtests): Add tst-strcoll-overflow.
45343         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45344         cache if string sizes may cause integer overflow.
45346         [BZ #14547]
45347         * string/strcoll_l.c (coll_seq): New members rule, idx,
45348         save_idx and back_us.
45349         (get_next_seq_nocache): New function.
45350         (do_compare_nocache): New function.
45351         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45352         when malloc fails.
45354 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45356         [BZ #15754]
45357         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45358         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45359         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45361         [BZ #15754]
45362         * elf/Makefile (tests): Add tst-ptrguard1.
45363         (tests-static): Add tst-ptrguard1-static.
45364         (tst-ptrguard1-ARGS): Define.
45365         (tst-ptrguard1-static-ARGS): Define.
45366         * elf/tst-ptrguard1.c: New file.
45367         * elf/tst-ptrguard1-static.c: New file.
45368         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45369         * sysdeps/i386/stackguard-macros.h: Likewise.
45370         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45371         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45372         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45373         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45374         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45375         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45377 2013-09-23  Hector Marco  <hecmargi@upv.es>
45378             Ismael Ripoll  <iripoll@disca.upv.es>
45379             Carlos O'Donell  <carlos@redhat.com>
45381         [BZ #15754]
45382         * sysdeps/generic/stackguard-macros.h: Define
45383         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45384         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45385         Define __pointer_chk_guard_local.
45386         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45387         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45389 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45391         [BZ #15859]
45392         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45394 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45396         * include/string.h (__ffs): Declare as hidden.
45397         * string/ffs.c (__ffs): Define as hidden.
45398         * sysdeps/i386/ffs.c (__ffs): Likewise.
45399         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45400         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45401         * sysdeps/s390/ffs.c (__ffs): Likewise.
45402         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45404 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45406         * NEWS: Mention malloc probes.
45408         * malloc/arena.c (new_heap): New memory_heap_new probe.
45409         (grow_heap): New memory_heap_more probe.
45410         (shrink_heap): New memory_heap_less probe.
45411         (heap_trim): New memory_heap_free probe.
45412         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45413         (systrim): New memory_sbrk_less probe.
45414         * manual/probes.texi: Document them.
45416         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45417         * manual/probes.texi: Document it.
45419         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45420         (__libc_realloc): Add memory_realloc_retry probe.
45421         (__libc_memalign): Add memory_memalign_retry probe.
45422         (__libc_valloc): Add memory_valloc_retry probe.
45423         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45424         (__libc_calloc): Add memory_calloc_retry probe.
45425         * manual/probes.texi: Document them.
45427         * malloc/arena.c (get_free_list): Add probe
45428         memory_arena_reuse_free_list.
45429         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45430         and memory_arena_reuse.
45431         (arena_get2) [!PER_THREAD]: Likewise.
45432         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45433         memory_arena_reuse_realloc.
45434         * manual/probes.texi: Document them.
45436         * malloc/malloc.c (__libc_free): Add
45437         memory_mallopt_free_dyn_thresholds probe.
45438         (__libc_mallopt): Add multiple memory_mallopt probes.
45439         * manual/probes.texi: Document them.
45441         * malloc/malloc.c: Include stap-probe.h.
45442         (__libc_mallopt): Add memory_mallopt probe.
45443         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45444         * manual/probes.texi: New.
45445         * manual/Makefile (chapters): Add probes.
45446         * manual/threads.texi: Set next node.
45448 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45450         [BZ #15963, #13985]
45451         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45452         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45453         Add `Chinese' to `nan' entry name.
45455 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45457         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45458         (POLYNOMIAL): Likewise.
45459         (TAYLOR_SINCOS): Likewise.
45460         (TAYLOR_SLOW): Likewise.
45461         (__sin): Use TAYLOR_SINCOS.
45462         (__cos): Likewise.
45463         (slow): Use TAYLOR_SLOW.
45464         (sloww): Likewise.
45465         (bsloww): Likewise.
45466         (csloww): Likewise.
45468 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45470         * stdlib/strtod_l.c: Fix buffer overrun.
45472 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * benchtests/Makefile (bench): Add sincos.
45475         * benchtests/bench-sincos.c: New file.
45477         * math/libm-test.inc (cos_test_data): New test inputs.
45478         (sin_test_data): Likewise.
45480         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45481         macro.
45482         (__sin): Use it.
45483         (__cos): Likewise.
45484         (slow1): Likewise.
45485         (slow2): Likewise.
45486         (sloww1): Likewise.
45487         (sloww2): Likewise.
45488         (bsloww1): Likewise.
45489         (bsloww2): Likewise.
45490         (cslow2): Likewise.
45491         (csloww1): Likewise.
45492         (csloww2): Likewise.
45494         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45495         function.
45496         (__sin): Use it.
45497         (__cos): Likewise.
45499         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45500         gotos.
45501         (__cos): Likewise.
45503 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45505         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45506         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45507         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45508         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45509         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45510         * elf/cache.c (print_entry): Handle the new cache flags.
45512 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45513             Aldy Hernandez  <aldyh@redhat.com>
45515         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45516         Change condition to [_SOFT_FLOAT].
45517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45529         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45532         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45533         declaration.
45535 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45537         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45538         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45539         (__longjmp): Use LOAD_GP to load saved GPRs.
45540         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45541         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45542         (__sigsetjmp): Use SAVE_GP to save GPRs.
45544         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45545         Do not append -msoft-float.
45546         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45548 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45550         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45552 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45554         [BZ #15966]
45555         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45556         (_FPU_GETCW): Use initial "__" on variable and field names but not
45557         on macro parameter name.
45558         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45559         parentheses around reference to macro parameter.
45561 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45563         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45564         prototype.
45565         (ctype_startup): Use uint32_t in cast and sizeof for
45566         ctype->charnames.
45568 2013-09-11  Jia Liu  <proljc@gmail.com>
45570         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45571         __daddr_t_defined.
45572         [__FreeBSD__]: Likewise.
45574 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45577         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45578         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45579         (strchr): Remove __strchr_sse42 ifunc selection.
45580         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45581         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45583 2013-09-11  Will Newton  <will.newton@linaro.org>
45585         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45586         parameter to RES. Remove hardcoded 1000 value.
45587         * benchtests/bench-skeleton.c (main): Pass RES parameter
45588         to TIMING_INIT and multiply result by 1000.
45590 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45594 2013-09-11  Andreas Schwab  <schwab@suse.de>
45596         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45597         if not defined.
45598         (O_TMPFILE) [__USE_GNU]: Define.
45599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45600         Define.
45602 2013-09-11  Will Newton  <will.newton@linaro.org>
45604         [BZ #15857]
45605         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45606         does not overflow.
45608 2013-09-11  Will Newton  <will.newton@linaro.org>
45610         [BZ #15856]
45611         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45612         does not overflow.
45614 2013-09-11  Will Newton  <will.newton@linaro.org>
45616         [BZ #15855]
45617         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45618         does not overflow.
45620 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45622         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45623         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45625         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45626         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45628 2013-09-10  Allan McRae  <allan@archlinux.org>
45630         [BZ #15748]
45631         * manual/arith.texi (Parsing of Floats): Clarify
45632         cross-reference.
45634         [BZ #15849]
45635         * manual/install.texi (Running make install): Mention
45636         --enable-pt-chown.
45637         * INSTALL: Regenerated.
45639 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45641         * csu/init-first.c (_init): Remove the !SHARED condition around
45642         FPU control word initialization.
45643         * elf/dl-support.c (_dl_fpu_control): New variable.
45644         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45645         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45646         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45647         * math/test-fpucw-static.c: New file.
45648         * math/test-fpucw-ieee.c: New file.
45649         * math/test-fpucw-ieee-static.c: New file.
45650         * math/Makefile (tests): Add `test-fpucw-ieee' and
45651         `$(tests-static)'.
45652         (tests-static): New variable.
45653         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45654         dependency to...
45655         [($(build-shared),yes)]
45656         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45657         ... this.
45658         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45659         New dependency.
45661 2013-09-09  Allan McRae  <allan@archlinux.org>
45663         [BZ #15939]
45664         * manual/string.texi (Collation Functions): Fix typo in
45665         strcoll example.
45666         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45668         [BZ #15893]
45669         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45671         [BZ #15892]
45672         * libio/memstream.c (open_memstream): Fix memory leak.
45673         * libio/wmemstream.c (open_wmemstream): Likewise.
45675         [BZ #15895]
45676         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45678 2013-09-09  Will Newton  <will.newton@linaro.org>
45680         * malloc/Makefile: Add tst-realloc to tests.
45681         * malloc/tst-realloc.c: New file.
45683 2013-09-09  Allan McRae  <allan@archlinux.org>
45685         [BZ #15844]
45686         * COPYING: Update from GNU website to fix FSF address.
45687         * COPYING.LIB: Likewise.
45689 2013-09-06  David S. Miller  <davem@davemloft.net>
45691         * po/zh_TW.po: Update Chinese (traditional) translation from
45692         translation project.
45694 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45695             Joseph Myers  <joseph@codesourcery.com>
45697         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45698         "localeinfo.h".
45699         (obstack_chunk_alloc): New macro.
45700         (obstack_chunk_free): Likewise.
45701         (record_offset): New function.
45702         (init_locale_data): Likewise.
45703         (align_locale_data): Likewise.
45704         (add_locale_empty): Likewise.
45705         (add_locale_raw_data): Likewise.
45706         (add_locale_raw_obstack): Likewise.
45707         (add_locale_string): Likewise.
45708         (add_locale_wstring): Likewise.
45709         (add_locale_uint32): Likewise.
45710         (add_locale_uint32_array): Likewise.
45711         (add_locale_char): Likewise.
45712         (start_locale_structure): Likewise.
45713         (end_locale_structure): Likewise.
45714         (start_locale_prelude): Likewise.
45715         (end_locale_prelude): Likewise.
45716         (write_locale_data): Take locale_file structure rather than an
45717         iovec.
45718         * locale/programs/locfile.h: Include "obstack.h".
45719         (struct locale_file): Change to store locale file contents instead
45720         of header.
45721         (init_locale_data): New prototype.
45722         (align_locale_data): Likewise.
45723         (add_locale_empty): Likewise.
45724         (add_locale_raw_data): Likewise.
45725         (add_locale_raw_obstack): Likewise.
45726         (add_locale_string): Likewise.
45727         (add_locale_wstring): Likewise.
45728         (add_locale_uint32): Likewise.
45729         (add_locale_uint32_array): Likewise.
45730         (add_locale_char): Likewise.
45731         (start_locale_structure): Likewise.
45732         (end_locale_structure): Likewise.
45733         (start_locale_prelude): Likewise.
45734         (end_locale_prelude): Likewise.
45735         (write_locale_data): Update prototype.
45736         * locale/programs/3level.h (struct TABLE): Remove result field.
45737         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45738         Use new locale_file interface.
45739         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45740         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45741         * locale/programs/ld-address.c (address_output): Use new
45742         locale_file interface.
45743         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45744         NO_ADD_LOCALE.
45745         (collate_finish): Don't call collseq_table_finalize.
45746         (collate_output): Use new locale_file interface.
45747         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45748         in file.
45749         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45750         (TABLE): Move defines earlier in file.
45751         (ELEMENT): Likewise.
45752         (DEFAULT): Likewise.
45753         (wctrans_table_add): Move macro and inline function earlier in
45754         file.
45755         (struct wctype_table): Move type earlier in file.
45756         (add_locale_wctype_table): New static prototype.
45757         (struct locale_ctype_t): Use logical types instead of struct iovec
45758         pointers for members.
45759         (ctype_output): Use new locale_file interface.
45760         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45761         new locale_file interface.
45762         (allocate_arrays): Update for use of new locale_file interface.
45763         * locale/programs/ld-identification.c (identification_output): Use
45764         new locale_file interface.
45765         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45766         * locale/programs/ld-messages.c (messages_output): Likewise.
45767         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45768         * locale/programs/ld-name.c (name_output): Likewise.
45769         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45770         * locale/programs/ld-paper.c (paper_output): Likewise.
45771         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45772         * locale/programs/ld-time.c (time_output): Likewise.
45774 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45776         * benchtests/Makefile: Add memrchr benchmark.
45777         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45778         benchmark as memrchr.
45779         * benchtests/bench-memrchr-ifunc.c: New file.
45780         * benchtests/bench-memrchr.c: New file.
45782 2013-09-06   Will Newton  <will.newton@linaro.org>
45784         * benchtests/Makefile (string-bench): Add memcpy.
45786 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45787             Cong Wang  <amwang@redhat.com>
45789         [BZ #15850]
45790         * sysdeps/unix/sysv/linux/bits/in.h
45791         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45792         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45793         before __USE_KERNEL_IPV6_DEFS uses.
45794         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45795         IPPROTO_BEETPH.
45796         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45797         sockaddr_in6, or ipv6_mreq.
45799 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45801         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45802         memory access for final bytes in some large inputs.
45803         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45805 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45807         * string/test-memrchr.c: New file.
45808         * string/test-memrchr-ifunc.c: New file.
45809         * string/Makefile: Add new memrchr testcase.
45811 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45813         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45814         fanotify_init returns EPERM.
45816 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45818         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45819         errors.
45820         (top level): Treat second token from macro or constant entries for
45821         allowed headers as allowed.
45822         * include/complex.h: Condition internal declarations on
45823         [!_ISOMAC].
45824         * include/fenv.h: Condition include of <stdbool.h> and internal
45825         declarations on [!_ISOMAC].
45827 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45829         [BZ #15923]
45830         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45832 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45834         * configure.in (--enable-versioning): Remove configure option.
45835         (libc_cv_asm_symver_directive): Remove configure test.
45836         (libc_cv_ld_version_script_option): Likewise.
45837         (VERSIONING): Remove variable and AC_SUBST.
45838         (DO_VERSIONING): Remove AC_DEFINE.
45839         * configure: Regenerated.
45840         * config.h.in (DO_VERSIONING): Remove macro.
45841         * Makerules [$(versioning) = yes]: Change conditionals to
45842         [$(build-shared) = yes].
45843         * config.make.in (versioning): Remove variable.
45844         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45845         [$(build-shared) = yes].
45846         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45847         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45848         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45849         [$(build-shared) = yes].
45850         * extra-lib.mk [$(versioning) = yes]: Likewise.
45851         * hurd/Makefile [$(versioning) = yes]: Likewise.
45852         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45853         [SHARED].
45854         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45855         [SHARED].
45856         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45857         [SHARED && !NO_HIDDEN].
45858         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45859         [SHARED].
45860         [SHARED && DO_VERSIONING]: Likewise..
45861         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45862         [$(build-shared) = yes].
45863         * manual/install.texi (--disable-versioning): Remove
45864         documentation.
45865         * INSTALL: Regenerated.
45866         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45867         to [SHARED].
45868         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45869         [$(build-shared) = yes].
45870         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45871         * sysdeps/i386/i686/multiarch/strstr-c.c
45872         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45873         [SHARED && !NO_HIDDEN].
45874         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45875         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45876         * sysdeps/powerpc/powerpc32/dl-machine.c
45877         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45878         * sysdeps/powerpc/powerpc32/sysdep.h
45879         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45880         to [SHARED && PIC && !NO_HIDDEN].
45881         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45882         conditional to [SHARED].
45884 2013-09-04   Will Newton  <will.newton@linaro.org>
45886         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45887         * benchtests/bench-string.h: Include bench-timing.h instead
45888         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45889         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45890         call to HP_TIMING_DIFF_INIT.
45891         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45892         instead of hp-timing.h macros.
45893         * benchtests/bench-memchr.c: Likewise.
45894         * benchtests/bench-memcmp.c: Likewise.
45895         * benchtests/bench-memcpy.c: Likewise.
45896         * benchtests/bench-memmem.c: Likewise.
45897         * benchtests/bench-memmove.c: Likewise.
45898         * benchtests/bench-memset.c: Likewise.
45899         * benchtests/bench-rawmemchr.c: Likewise.
45900         * benchtests/bench-strcasecmp.c: Likewise.
45901         * benchtests/bench-strcasestr.c: Likewise.
45902         * benchtests/bench-strcat.c: Likewise.
45903         * benchtests/bench-strchr.c: Likewise.
45904         * benchtests/bench-strcmp.c: Likewise.
45905         * benchtests/bench-strcpy.c: Likewise.
45906         * benchtests/bench-strcpy_chk.c: Likewise.
45907         * benchtests/bench-strlen.c: Likewise.
45908         * benchtests/bench-strncasecmp.c: Likewise.
45909         * benchtests/bench-strncat.c: Likewise.
45910         * benchtests/bench-strncmp.c: Likewise.
45911         * benchtests/bench-strncpy.c: Likewise.
45912         * benchtests/bench-strnlen.c: Likewise.
45913         * benchtests/bench-strpbrk.c: Likewise.
45914         * benchtests/bench-strrchr.c: Likewise.
45915         * benchtests/bench-strspn.c: Likewise.
45916         * benchtests/bench-strstr.c: Likewise.
45918 2013-09-04  Will Newton  <will.newton@linaro.org>
45920         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45922 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45924         [BZ #15427]
45925         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45926         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45927         * math/libm-test.inc (lgamma_test_data): Add more tests.
45928         * sysdeps/i386/fpu/libm-test-ulps: Update.
45929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45931 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45933         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45935         Add ifunc.
45936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45937         Add strcmp-sse2-unaligned
45938         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45940 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45942         * Versions.def (libc): Add GLIBC_2.19.
45944 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45946         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45947         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45949 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45951         [BZ #14155]
45952         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45953         intermediate calculations in recurrence.
45954         (__ieee754_ynf): Likewise.
45955         * math/libm-test.inc (jn_test_data): Do not allow spurious
45956         underflow exception.  Add more tests.
45957         (yn_test_data): Add more tests.
45958         * sysdeps/i386/fpu/libm-test-ulps: Update.
45959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45961 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45963         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45965 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45967         * csu/init-first.c: Fix then/than typos.
45968         * locale/programs/ld-collate.c: Likewise.
45969         * locale/programs/linereader.h: Likewise.
45970         * manual/charset.texi: Likewise.
45971         * manual/filesys.texi: Likewise.
45972         * manual/stdio.texi: Likewise.
45973         * manual/string.texi: Likewise.
45974         * stdlib/fmtmsg.c: Likewise.
45975         * sysdeps/i386/stpncpy.S: Likewise.
45976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45977         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45978         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45979         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45981 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45983         * elf/dl-open.c: Fix typos.
45984         * iconvdata/gbbig5.c: Likewise.
45985         * iconvdata/iso-2022-jp.c: Likewise.
45986         * iconv/gconv_int.h: Likewise.
45987         * iconv/loop.c: Likewise.
45988         * nis/rpcsvc/nis.h: Likewise.
45989         * resolv/ns_name.c: Likewise.
45990         * stdio-common/vfscanf.c: Likewise.
45991         * streams/stropts.h: Likewise.
45992         * sunrpc/rpc_thread.c: Likewise.
45993         * sysdeps/i386/strpbrk.S: Likewise.
45994         * sysdeps/ieee754/k_standard.c: Likewise.
45995         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45997         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45998         * sysdeps/mach/hurd/profil.c: Likewise.
45999         * sysdeps/s390/dl-procinfo.h: Likewise.
46000         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46001         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46002         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46003         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46004         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46006 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46008         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46011 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46013         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46014         aix specific files.
46015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46016         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46017         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46018         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46019         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46020         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46021         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46022         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46024 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46025             Roland McGrath  <roland@hack.frob.com>
46027         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46028         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46030 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46032         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46033         __executable_start symbol instead of _start.
46035 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46037         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46038         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46039         Move macros to...
46040         * sysdeps/gnu/ldsodefs.h: ... this new file.
46042         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46043         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46044         instead of ELFOSABI_LINUX.
46046         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46047         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46048         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46049         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46050         Likewise.
46051         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46052         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46053         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46054         Likewise.
46055         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46056         (ibm_extended_long_double): Add ieee_nan member.
46057         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46058         (do_test): New function.
46060         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46061         TEST_TRUNC.
46062         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46063         functions, renamed from truncdfsf_test, trunctfsf_test,
46064         trunctfdf_test.
46065         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46066         functions.
46067         (do_test): Run all these.
46069 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46071         * argp/argp-help.c: Fix typos.
46072         * argp/argp-parse.c: Likewise.
46073         * debug/backtracesyms.c: Likewise.
46074         * elf/elf.h: Likewise.
46075         * malloc/malloc.c: Likewise.
46076         * nis/nis_print.c: Likewise.
46077         * resolv/res_comp.c: Likewise.
46078         * stdlib/stdlib.h: Likewise.
46079         * sunrpc/clnt_tcp.c: Likewise.
46080         * sunrpc/clnt_udp.c: Likewise.
46081         * sunrpc/clnt_unix.c: Likewise.
46082         * sysdeps/unix/bsd/ptsname.c: Likewise.
46083         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46084         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46086         Likewise.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46088         Likewise.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46090         Likewise.
46091         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46093 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46095         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46098 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46100         [BZ #15897]
46101         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46102         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46103         ($(objpfx)bug-dl-leaf): New rule.
46104         ($(objpfx)bug-dl-leaf.so): Likewise.
46105         ($(objpfx)bug-dl-leaf.out): Likewise.
46106         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46107         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46108         * dlfcn/bug-dl-leaf.c: New test.
46109         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46110         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46111         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46112         (dlclose): Likewise.
46113         (dlmopen): Likewise.
46115 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46117         * include/netdb.h [!_ISOMAC]:
46118         Don't include <tls.h>.
46119         (h_errno, __libc_h_errno): Move declaration and macros out of
46120         [_LIBC_REENTRANT].
46122         * include/resolv.h [_RESOLV_H_]:
46123         Don't include <tls.h>.
46124         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46125         * resolv/res_libc.c: Don't include <tls.h>.
46126         (_res): Use __attribute__ ((nocommon)) in place of
46127         __attribute__ ((section (".bss"))).
46129         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46130         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46132         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46134         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46135         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46137         * resolv/res_mkquery.c: Include <sys/time.h>.
46139         * inet/ifreq.c: Moved to ...
46140         * sysdeps/unix/ifreq.c: ... here.
46141         * inet/ifreq.c: New file, true stub version.
46143         * socket/sa_len.c: New file.
46144         * socket/Makefile (aux): Add it.
46145         * sysdeps/unix/sysv/linux/Makefile
46146         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46147         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46148         and #include <socket/sa_len.c>.
46149         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46150         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46152         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46153         * bits/socket.h: ... here.
46155         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46156         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46157         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46159 2013-08-27  Andreas Schwab  <schwab@suse.de>
46161         [BZ #15736]
46162         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46163         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46164         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46165         * string/test-strcasecmp.c (test_main): Run tests in several
46166         locales.
46167         * string/test-strncasecmp.c (test_main): Likewise.
46169         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46170         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46171         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46173         (__strncasecmp_ssse3) [PIC]: Likewise.
46175 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46177         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46179         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46180         instead of explicitly declaring xdecrypt.
46181         * nis/nss_nis/nis-publickey.c: Likewise.
46183 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46185         [BZ #15890]
46186         * nscd/aicache.c: Include res_hconf.h.
46187         (addhstaiX): Initialize res_hconf.
46189 2013-08-26  Andreas Schwab  <schwab@suse.de>
46191         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46192         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46194 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46196         * nscd/aicache.c (addhstaiX): Fix indentation.
46198 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46200         * configure.ac: Quote $build_pt_chown test.
46201         * configure: Regenerated.
46203 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46205         [BZ #15532]
46206         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46207         * math/s_cexpf.c (__cexpf): Likewise.
46208         * math/s_cexpl.c (__cexpl): Likewise.
46209         * math/libm-test.inc (cexp_test_data): Correct expected return
46210         value for NaN + i0.  Add another test.
46212 2013-08-22  David S. Miller  <davem@davemloft.net>
46214         * po/ca.po: Update Catalan translation from translation project.
46215         * po/uk.po: Add Ukrainian translations from translation project.
46217 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46219         [BZ #15797]
46220         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46221         is infinite, not alongside NaN test.
46222         * math/s_fdimf.c (__fdimf): Likewise.
46223         * math/s_fdiml.c (__fdiml): Likewise.
46224         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46225         errno is unchanged.
46227 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46229         * argp/argp-help.c: Fix typos.
46230         * crypt/speeds.c: Likewise.
46231         * csu/check_fds.c: Likewise.
46232         * elf/dl-load.c: Likewise.
46233         * elf/dl-open.c: Likewise.
46234         * elf/reldep3.c: Likewise.
46235         * elf/reldep.c: Likewise.
46236         * elf/sprof.c: Likewise.
46237         * iconv/iconv_charmap.c: Likewise.
46238         * iconv/skeleton.c: Likewise.
46239         * iconv/strtab.c: Likewise.
46240         * io/lockf64.c: Likewise.
46241         * libio/libioP.h: Likewise.
46242         * resolv/gai_notify.c: Likewise.
46243         * resolv/ns_name.c: Likewise.
46244         * resolv/ns_samedomain.c: Likewise.
46245         * resolv/res_send.c: Likewise.
46246         * stdlib/random.c: Likewise.
46247         * sunrpc/rpc/xdr.h: Likewise.
46248         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46249         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46250         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46251         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46252         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46256         * sysdeps/mach/hurd/check_fds.c: Likewise.
46257         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46258         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46259         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46260         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46261         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46262         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46263         * sysdeps/pthread/aio_notify.c: Likewise.
46264         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46265         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46266         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46267         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46268         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46270 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46272         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46273         version if bit_Slow_SSE4_2 is set.
46274         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46277 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46279         [BZ #15867]
46280         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46281         trampoline stack frame information.
46282         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46284         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46285         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46286         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46287         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46288         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46289         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46290         sa_flags value.
46291         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46292         interrupting a syscall and set with option SA_SIGINFO.
46294 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46296         [BZ #15531]
46297         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46298         argument is infinite.
46299         * math/s_cprojf.c (__cprojf): Likewise.
46300         * math/s_cprojl.c (__cprojl): Likewise.
46301         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46302         * math/libm-test.inc (cproj_test_data): Add more tests.
46304         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46307         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46308         size.  Use __ffs to determine corresponding shift.
46310 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46311             Roland McGrath  <roland@hack.frob.com>
46313         * Makefile (INSTALL): Remove trailing blank lines from output of
46314         makeinfo.
46316 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46318         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46319         Align 32 bit compat elf_greg to 8 bytes.
46321 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46323         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46325 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46327         * string/strcoll_l.c (coll_seq): New structure.
46328         (get_next_seq_cached): New function.
46329         (get_next_seq): New function.
46330         (do_compare): New function.
46331         (STRCOLL): Use GNU style definition.  Simplify implementation
46332         by using get_next_seq, get_next_seq_cached and do_compare.
46334 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46336         [BZ #14699]
46337         CVE-2013-4237
46338         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46339         member.
46340         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46341         member.
46342         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46343         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46344         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46345         conditional.
46346         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46347         GETDENTS_64BIT_ALIGNED.
46348         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46349         * manual/filesys.texi (Reading/Closing Directory): Document
46350         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46351         strongly.
46352         * manual/conf.texi (Limits for Files): Add portability note to
46353         NAME_MAX, PATH_MAX.
46354         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46356 2013-08-13  Andreas Schwab  <schwab@suse.de>
46358         [BZ #15749]
46359         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46360         of fabs.
46361         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46362         LDBL_MAX_EXP >= 16384]: Add tests for it.
46364 2013-08-12  David S. Miller  <davem@davemloft.net>
46366         * version.h (RELEASE): Set to "development".
46367         (VERSION): Set to "2.18.90".
46368         * NEWS: Add 2.19 section.
46370 2013-08-03  David S. Miller  <davem@davemloft.net>
46372         * po/ko.po: Update Korean translation from translation project.
46374 2013-08-01  David S. Miller  <davem@davemloft.net>
46376         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46377         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46378         Bilka.
46380 2013-07-30  David S. Miller  <davem@davemloft.net>
46382         * po/fr.po: Update French translation from translation project.
46384 2013-07-28  David S. Miller  <davem@davemloft.net>
46386         * po/cs.po: Update Czech translation from translation project.
46388         * po/sv.po: Update Swedish translation from translation project.
46390 2013-07-27  David S. Miller  <davem@davemloft.net>
46392         * po/eo.po: Update Esperanto translation from translation project.
46394         * po/vi.po: Update Vietnamese translation from translation project.
46396         * po/de.po: Update German translation from translation project.
46398 2013-07-26  David S. Miller  <davem@davemloft.net>
46400         * po/bg.po: Update Bulgarian translation from translation project.
46402         * po/nl.po: Update Dutch translation from translation project.
46403         * po/pl.po: Update Polish translation from translation project.
46404         * po/ru.po: Update Russian translation from translation project.
46406 2013-07-24  David S. Miller  <davem@davemloft.net>
46408         * po/libc.pot: Update.
46410 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46412         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46413         variable page size.
46414         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46415         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46416         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46418 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46420         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46422 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46423             Andreas Schwab  <schwab@suse.de>
46424             Roland McGrath  <roland@hack.frob.com>
46425             Joseph Myers  <joseph@codesourcery.com>
46426             Carlos O'Donell  <carlos@redhat.com>
46428         [BZ #15755]
46429         * config.h.in: Define HAVE_PT_CHOWN.
46430         * config.make.in (build-pt-chown): New variable.
46431         * configure.in (--enable-pt_chown): New configure option.
46432         * configure: Regenerate.
46433         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46434         build-pt-chown is enabled.
46435         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46436         pt_chown to fix pty ownership.
46437         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46438         CLOSE_ALL_FDS.
46439         * manual/install.texi (Configuring and compiling): Mention
46440         --enable-pt_chown. Add @findex for grantpt.
46441         * INSTALL: Regenerate.
46443 2013-07-20  David S. Miller  <davem@davemloft.net>
46445         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46446         difference between 32-bit and 64-bit.
46448 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46450         [BZ #15711]
46451         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46452         Avoid system header dependency with -ffreestanding.
46453         ($(objpfx)bits/syscall%d): Likewise.
46455 2013-07-13  David S. Miller  <davem@davemloft.net>
46457         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46458         underflows from atanl/atan2l due to bug 15319.
46459         (casinh_test_data): Likewise.
46461 2013-07-07  David S. Miller  <davem@davemloft.net>
46463         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46465 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46467         * sysdeps/i386/fpu/libm-test-ulps: Update.
46468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46470 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46472         * configure.in (--enable-lock-elision): Fix message text.
46473         * INSTALL: Regenerate.
46474         * configure: Regenerate.
46476 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46480 2013-07-03  Andreas Jaeger  <aj@suse.de>
46482         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46483         define.
46484         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46485         (ptrace_peeksiginfo_args): Add.
46486         (__ptrace_peeksiginfo_flags): Add.
46487         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46491 2013-07-03  Allan McRae  <allan@archlinux.org>
46493         * sysdeps/i386/fpu/libm-test-ulps: Update.
46495 2013-07-02  David S. Miller  <davem@davemloft.net>
46497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46499 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46503 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46505         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46508 2013-07-02  Andi Kleen <ak@linux.intel.com>
46510         * config.h.in (ENABLE_LOCK_ELISION): Add.
46511         * configure.in (--enable-lock-elision): Add option.
46512         * manual/install.texi: Document --enable lock elision.
46513         * configure: Regenerate
46514         * INSTALL: Regenerate.
46516 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46518         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46519         SSE4.2 strcasecmp for libc.a.
46520         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46522 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46524         [BZ #13304]
46525         * soft-fp/op-common.h (_FP_FMA): New macro.
46526         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46527         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46528         (_FP_MUL_MEAT_1_imm): ... here.
46529         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46530         (_FP_MUL_MEAT_1_wide): ... here.
46531         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46532         (_FP_MUL_MEAT_1_hard): ... here.
46533         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46534         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46535         (_FP_MUL_MEAT_2_wide): ... here.
46536         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46537         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46538         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46539         (_FP_MUL_MEAT_2_gmp): ... here.
46540         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46541         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46542         (_FP_MUL_MEAT_4_wide): ... here.
46543         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46544         (_FP_MUL_MEAT_4_gmp): ... here.
46545         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46546         (_FP_WFRACBITS_DW_S): Likewise.
46547         (_FP_WFRACXBITS_DW_S): Likewise.
46548         (_FP_HIGHBIT_DW_S): Likewise.
46549         (FP_FMA_S): Likewise.
46550         (_FP_FRAC_HIGH_DW_S): Likewise.
46551         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46552         (_FP_WFRACBITS_DW_D): Likewise.
46553         (_FP_WFRACXBITS_DW_D): Likewise.
46554         (_FP_HIGHBIT_DW_D): Likewise.
46555         (FP_FMA_D): Likewise.
46556         (_FP_FRAC_HIGH_DW_D): Likewise.
46557         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46558         (_FP_WFRACBITS_DW_E): Likewise.
46559         (_FP_WFRACXBITS_DW_E): Likewise.
46560         (_FP_HIGHBIT_DW_E): Likewise.
46561         (FP_FMA_E): Likewise.
46562         (_FP_FRAC_HIGH_DW_E): Likewise.
46563         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46564         (_FP_WFRACBITS_DW_Q): Likewise.
46565         (_FP_WFRACXBITS_DW_Q): Likewise.
46566         (_FP_HIGHBIT_DW_Q): Likewise.
46567         (FP_FMA_Q): Likewise.
46568         (_FP_FRAC_HIGH_DW_Q): Likewise.
46569         * soft-fp/fmasf4.c: New file.
46570         * soft-fp/fmadf4.c: Likewise.
46571         * soft-fp/fmatf4.c: Likewise.
46573 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46576         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46577         Silvermont.
46578         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46579         macro.
46580         (index_Slow_SSE4_2): Likewise.
46581         (index_Prefer_PMINUB_for_stringop): Likewise.
46582         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46583         bit_Slow_SSE4_2 is set.
46584         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46585         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46587 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46589         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46590         rtld_global._dl_hwcap2.
46591         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46592         POWER8.
46593         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46594         POWER8 feature descriptions defined in _dl_hwcap2.
46595         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46596         string handling for POWER8 feature bits.
46597         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46598         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46599         _dl_powerpc_cap_flags.
46600         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46601         * sysdeps/powerpc/rtld-global-offsets.sym
46602         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46603         _dl_hwcap2 in the rtld_global_ro structure.
46605 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46607         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46608         hardware capabilities in support of AT_HWCAP2.
46609         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46610         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46611         GLRO(dl_hwcap2).
46612         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46613         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46614         explicitly the unknown a_type display mechanism is used.
46615         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46616         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46617         struct member.
46618         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46619         to macro prototype for AT_HWCAP2 support.
46620         * sysdeps/i386/dl-procinfo.h: Likewise.
46621         * sysdeps/s390/dl-procinfo.h: Likewise.
46622         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46623         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46624         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46625         return -1 for unknown a_type display fallback.
46626         * sysdeps/sparc/dl-procinfo.h: Likewise.
46627         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46628         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46630 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46632         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46633         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46635 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46637         [BZ #12492]
46638         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46639         mprotect making __stack_prot writable.
46641 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46642             Joseph Myers  <joseph@codesourcery.com>
46644         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46645         as being properly aligned.
46647 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46649         * dlfcn/modstatic5.c: New file.
46650         * dlfcn/tststatic5.c: New file.
46651         * dlfcn/Makefile (tests): Add tststatic5.
46652         (tests-static): Likewise.
46653         (modules-names): Add modstatic5.
46654         (tststatic5-ENV): New variable.
46655         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46657         [BZ #15022]
46658         * elf/dl-support.c (_dl_main_map): New variable.
46659         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46660         (_dl_nns, _dl_load_adds): Set to 1.
46661         (_dl_initial_searchlist): Refer to _dl_main_map.
46662         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46663         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46664         call to _dl_get_origin.
46665         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46666         around call_map.
46667         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46668         * dlfcn/modstatic3.c: New file.
46669         * dlfcn/tststatic3.c: New file.
46670         * dlfcn/tststatic4.c: New file.
46671         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46672         (tests-static): Likewise.
46673         (modules-names): Add modstatic3.
46674         (tststatic3-ENV, tststatic4-ENV): New variables.
46675         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46676         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46678 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46680         * configure.in (CC): Require GCC version 4.4 or later.
46681         * configure: Regenerated.
46682         * manual/install.texi (Tools for Compilation): Update GCC version
46683         requirement.
46684         * INSTALL: Regenerated.
46686 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46688         [BZ #15674]
46689         * string/test-memcmp.c (check2): New.
46690         (main): Call check2.
46692         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46694 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46696         [BZ #15022]
46697         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46698         over to...
46699         (dl_open_worker) [!SHARED]: ... here.
46701 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46703         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46705 2013-06-25  Richard Henderson  <rth@redhat.com>
46707         * locale/programs/locarchive.c: Include <libc-internal.h>
46709 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46711         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46712         trailing whitespace removed.
46714 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46716         [BZ #10283]
46717         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46718         * locale/programs/locarchive.c: Include libc-mmap.h.
46719         (prepare_address_space): Take two new outputs (the mmap base and len).
46720         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46721         values.
46722         (create_archive): Declare new mmap base and len values for
46723         prepare_address_space, and store the result in ah.
46724         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46725         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46726         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46727         Declare new mmap base and len values for
46728         prepare_address_space, and store the result in new_ah.
46729         (open_archive): Declare new mmap base and len values for
46730         prepare_address_space, and store the result in ah.
46731         (close_archive): If ah->mmap_base is not NULL, use that and
46732         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46733         * sysdeps/generic/libc-mmap.h: New file.
46735 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46737         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46738         (ALIGN_UP): Likewise.
46739         (PTR_ALIGN_DOWN): Likewise.
46740         (PTR_ALIGN_UP): Likewise.
46742 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46744         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46745         entry mapped to PPC_PLATFORM_POWER8.
46746         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46747         POWER8.
46748         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46749         (_dl_string_platform): Add case for exporting platform position for
46750         POWER8.
46751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46752         search path to sysdeps/powerpc/powerpc32/power8 directory.
46753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46754         search path to sysdeps/powerpc/powerpc64/power8 directory.
46755         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46756         power7 directories.
46757         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46758         power7 directories.
46760 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46762         * INSTALL: Regenerate.
46764         * nscd/connections.c (nscd_init): Fix comment.
46766 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46768         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46770         [BZ #15667]
46771         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46772         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46774 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46776         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46777         DL_DST_REQ_STATIC.
46778         (DL_DST_REQ_STATIC): Remove macro.
46780 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46782         [BZ #7006]
46783         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46784         with a shift of 0 bits.
46786 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46788         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46789         $(tststatic-ENV).
46791 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46793         [BZ #15655]
46794         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46796 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46798         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46799         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46800         accepts -fno-tree-loop-distribute-patterns.
46801         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46802         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46803         recursive call.
46804         * string/memset.c (memset): Likewise.
46805         * string/test-memmove.c (simple_memmove): Disable loop transformation
46806         to library calls.
46807         * string/test-memset.c (simple_memset): Likewise.
46808         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46809         * benchtests/bench-memset.c (simple_memset): Likewise.
46810         * configure: Regenerated.
46812 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46814         * math/test-misc.c (main): Ignore fesetround failure when failures
46815         of subsequent rounding tests would be ignored.
46817         [BZ #15654]
46818         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46819         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46820         * math/fegetenv.c (__fegetenv): Return 0.
46821         * math/fegetexcept.c (fegetexcept): Return 0.
46822         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46823         FE_TONEAREST.
46824         * math/feholdexcpt.c (feholdexcept): Return 0.
46825         * math/fesetenv.c (__fesetenv): Return 0.
46826         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46827         argument FE_TONEAREST.
46828         * math/feupdateenv.c (__feupdateenv): Return 0.
46829         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46831 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46833         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46834         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46835         ($(objpfx)rtld-%.os rules): Use them.
46837 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46839         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46840         fields.
46842 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46844         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46845         length of target pattern, then descending length of dependency pattern.
46846         * configure.in (AWK): Require gawk 3.1.2 or newer.
46847         * manual/install.texi (Tools for Compilation): Say that we do.
46848         * configure: Regenerated.
46850         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46851         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46852         * scripts/sysd-rules.awk: ... this new script.
46853         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46854         than a glob-style pattern.
46856 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46858         * math/test-misc.c (main): Do not treat incorrectly rounded
46859         conversions as failure unless ROUNDING_TESTS passes.
46861 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46863         [BZ #15631]
46864         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46865         restore exception state around main square root computation, then
46866         check for inexactness explicitly.
46868         * math/libm-test.inc (fma_test_data): Add another test.
46870 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46872         * manual/threads.texi (Non-POSIX Extensions): New document
46873         node.  Document pthread_getattr_default_np and
46874         pthread_setattr_default_np.
46876         * Versions.def (libpthread): Add GLIBC_2.18.
46877         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46879         Likewise.
46880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46881         Likewise.
46882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46883         Likewise.
46884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46885         Likewise.
46886         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46887         Likewise.
46888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46889         Likewise.
46890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46891         Likewise.
46892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46893         Likewise.
46894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46895         Likewise.
46897 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46900         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46902 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46903             H.J. Lu  <hjl.tools@gmail.com>
46905         [BZ #15627]
46906         * sysdeps/x86_64/rtld-memset.c: Remove file.
46907         * sysdeps/x86_64/rtld-memset.S: New file.
46909 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46911         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46912         (test_in_one_mode): Take arguments for whether the rounding mode
46913         is supported for each floating-point type.
46914         (do_test): Pass new arguments to test_in_one_mode using
46915         ROUNDING_TESTS.
46917 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46919         * posix/tst-waitid.c (do_test): Distinguish different instances of
46920         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46921         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46922         before entering the kernel for waitpid.
46924 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46926         * NEWS: Fix note on clock function precision.  Text by Roland
46927         McGrath.
46929 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46931         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46932         it into place only when and if the sanity check passes.
46934 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46936         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46937         output for whether conversion result is exact.  Take argument
46938         indicating whether type is IBM long double.
46939         (round_for_all): Change need_exact field to ibm_ld.
46940         * stdlib/tst-strtod-round.c (struct exactness): New type.
46941         (struct test): Change bool ld_ok field to struct exactness exact.
46942         (TEST): Update all definitions for change to field.
46943         (tests): Regenerate array contents.
46944         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46945         field value.  Check for IBM long double here.
46946         (do_test): Update calls to test_in_one_mode.
46948 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46950         [BZ #12515]
46951         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46952         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46954 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46956         [BZ #15605]
46957         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46958         generated by the compiler on loop optimizations.
46959         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46960         general definitions.
46962 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46964         * math/bug-nextafter.c: Include <math-tests.h>.
46965         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46966         the relevant type.
46967         * math/bug-nexttoward.c: Include <math-tests.h>.
46968         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46969         the relevant type.
46970         * math/test-misc.c: Include <math-tests.h>.
46971         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46972         the relevant type.
46974 2013-06-12  Andreas Jaeger  <aj@suse.de>
46976         * po/ia.po: Update Interlingua translation from translation
46977         project.
46979 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46981         * include/fenv.h: Include stdbool.h.
46982         (struct rm_ctx): New structure.
46983         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46984         Define macro.
46985         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46986         (SET_RESTORE_ROUNDF): Likewise.
46987         (SET_RESTORE_ROUNDL): Likewise.
46988         (SET_RESTORE_ROUND_NOEX): Likewise.
46989         (SET_RESTORE_ROUND_NOEXF): Likewise.
46990         (SET_RESTORE_ROUND_NOEXL): Likewise.
46991         (SET_RESTORE_ROUND_53BIT): Likewise.
46992         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46993         (libc_feresetround_noexf_ctx): Likewise.
46994         (libc_feresetround_noexl_ctx): Likewise.
46995         (libc_feholdsetround_53bit_ctx): Likewise.
46996         (libc_feresetround_53bit_ctx): Likewise.
46997         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46998         (libc_feholdexcept_setround_sse_ctx): New function.
46999         (libc_fesetenv_sse_ctx): Likewise.
47000         (libc_feupdateenv_sse_ctx): Likewise.
47001         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47002         (libc_feholdexcept_setround_387_ctx): Likewise.
47003         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47004         (libc_feholdsetround_387_prec_ctx): Likewise.
47005         (libc_feholdsetround_387_ctx): Likewise.
47006         (libc_feholdsetround_387_53bit_ctx): Likewise.
47007         (libc_feholdsetround_sse_ctx): Likewise.
47008         (libc_feresetround_sse_ctx): Likewise.
47009         (libc_feresetround_387_ctx): Likewise.
47010         (libc_feupdateenv_387_ctx): Likewise.
47011         (libc_feholdexcept_setroundf_ctx): Define macro.
47012         (libc_fesetenvf_ctx): Likewise.
47013         (libc_feupdateenvf_ctx): Likewise.
47014         (libc_feholdsetroundf_ctx): Likewise.
47015         (libc_feresetroundf_ctx): Likewise.
47016         (libc_feholdexcept_setround_ctx): Likewise.
47017         (libc_fesetenv_ctx): Likewise.
47018         (libc_feupdateenv_ctx): Likewise.
47019         (libc_feholdsetround_ctx): Likewise.
47020         (libc_feresetround_ctx): Likewise.
47021         (libc_feholdexcept_setroundl_ctx): Likewise.
47022         (libc_feupdateenvl_ctx): Likewise.
47023         (libc_feholdsetroundl_ctx): Likewise.
47024         (libc_feresetroundl_ctx): Likewise.
47025         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47026         (libc_feresetround_53bit_ctx): Likewise.
47028 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47030         * locale/iso-639.def: Convert to UTF-8.
47032 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47034         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47035         (EXCEPTION_TESTS_double): Likewise.
47036         (EXCEPTION_TESTS_long_double): Likewise.
47037         (EXCEPTION_TESTS): Likewise.
47038         * math/libm-test.inc (test_exceptions): Only test exceptions if
47039         EXCEPTION_TESTS (FLOAT).
47041 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47043         * benchtests/Makefile (string-bench): Add strcpy_chk and
47044         stpcpy_chk.
47045         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47046         * benchtests/bench-stpcpy_chk.c: New file.
47047         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47048         * benchtests/bench-strcpy_chk.c: New file.
47049         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47050         code.
47051         (do_test): Likewise.
47053 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47055         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47056         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47057         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47058         with tabs where appropriate.
47059         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47060         dl-procinfo.h.
47061         [PPC_PLATFORM_PPC440]: Likewise.
47062         [PPC_PLATFORM_PPC464]: Likewise.
47063         [PPC_PLATFORM_PPC476]: Likewise.
47064         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47065         ppc464, and ppc476 platform strings merging from ports/
47066         dl-procinfo.h.
47068 2013-06-11  Andreas Schwab  <schwab@suse.de>
47070         [BZ #14991]
47071         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47072         (from_ucs4_idx): Regenerate.
47073         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47074         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47075         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47076         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47077         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47078         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47079         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47080         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47081         from FROM_LOOP and TO_LOOP specific macros.
47082         (BODY): Handle combining characters.
47083         * iconvdata/BIG5HKSCS.irreversible: Update.
47084         * iconvdata/BIG5HKSCS.precomposed: New file.
47085         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47086         characters.
47087         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47089 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47091         * include/sys/time.h: Fix indentation and add copyright header.
47093         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47094         (do_test): Likewise.
47095         * string/test-memchr.c (do_one_test): Likewise.
47096         (do_test): Likewise.
47097         * string/test-memcmp.c (do_one_test): Likewise.
47098         (do_test): Likewise.
47099         * string/test-memcpy.c (do_one_test): Likewise.
47100         (do_test): Likewise.
47101         * string/test-memmem.c (do_one_test): Likewise.
47102         (do_test): Likewise.
47103         (do_random_tests): Likewise.
47104         * string/test-memmove.c (do_one_test): Likewise.
47105         (do_test): Likewise.
47106         * string/test-memset.c (do_one_test): Likewise.
47107         (do_test): Likewise.
47108         * string/test-rawmemchr.c (do_one_test): Likewise.
47109         (do_test): Likewise.
47110         * string/test-strcasecmp.c (do_one_test): Likewise.
47111         (do_test): Likewise.
47112         * string/test-strcasestr.c (do_one_test): Likewise.
47113         (do_test): Likewise.
47114         * string/test-strcat.c (do_one_test): Likewise.
47115         (do_test): Likewise.
47116         * string/test-strchr.c (do_one_test): Likewise.
47117         (do_test): Likewise.
47118         * string/test-strcmp.c (do_one_test): Likewise.
47119         (do_test): Likewise.
47120         * string/test-strcpy.c (do_one_test): Likewise.
47121         (do_test): Likewise.
47122         * string/test-string.h: Likewise.
47123         (test_init): Likewise.
47124         * string/test-strlen.c (do_one_test): Likewise.
47125         (do_test): Likewise.
47126         * string/test-strncasecmp.c (do_one_test): Likewise.
47127         (do_test): Likewise.
47128         * string/test-strncat.c (do_one_test): Likewise.
47129         (do_test): Likewise.
47130         * string/test-strncmp.c (do_one_test): Likewise.
47131         (do_test_limit): Likewise.
47132         (do_test): Likewise.
47133         * string/test-strncpy.c (do_one_test): Likewise.
47134         (do_test): Likewise.
47135         * string/test-strnlen.c (do_one_test): Likewise.
47136         (do_test): Likewise.
47137         * string/test-strpbrk.c (do_one_test): Likewise.
47138         (do_test): Likewise.
47139         * string/test-strrchr.c (do_one_test): Likewise.
47140         (do_test): Likewise.
47141         * string/test-strspn.c (do_one_test): Likewise.
47142         (do_test): Likewise.
47143         * string/test-strstr.c (do_one_test): Likewise.
47144         (do_test): Likewise.
47146         * benchtests/Makefile (string-bench): Add string benchmarks.
47147         * benchtests/bench-bcopy-ifunc.c: New file.
47148         * benchtests/bench-bcopy.c: New file.
47149         * benchtests/bench-bzero-ifunc.c: New file.
47150         * benchtests/bench-bzero.c: New file.
47151         * benchtests/bench-memccpy-ifunc.c: New file.
47152         * benchtests/bench-memccpy.c: New file.
47153         * benchtests/bench-memchr-ifunc.c: New file.
47154         * benchtests/bench-memchr.c: New file.
47155         * benchtests/bench-memcmp-ifunc.c: New file.
47156         * benchtests/bench-memcmp.c: New file.
47157         * benchtests/bench-memmem-ifunc.c: New file.
47158         * benchtests/bench-memmem.c: New file.
47159         * benchtests/bench-memmove-ifunc.c: New file.
47160         * benchtests/bench-memmove.c: New file.
47161         * benchtests/bench-mempcpy-ifunc.c: New file.
47162         * benchtests/bench-mempcpy.c: New file.
47163         * benchtests/bench-memset-ifunc.c: New file.
47164         * benchtests/bench-memset.c: New file.
47165         * benchtests/bench-rawmemchr-ifunc.c: New file.
47166         * benchtests/bench-rawmemchr.c: New file.
47167         * benchtests/bench-stpcpy-ifunc.c: New file.
47168         * benchtests/bench-stpcpy.c: New file.
47169         * benchtests/bench-stpncpy-ifunc.c: New file.
47170         * benchtests/bench-stpncpy.c: New file.
47171         * benchtests/bench-strcasecmp-ifunc.c: New file.
47172         * benchtests/bench-strcasecmp.c: New file.
47173         * benchtests/bench-strcasestr-ifunc.c: New file.
47174         * benchtests/bench-strcasestr.c: New file.
47175         * benchtests/bench-strcat-ifunc.c: New file.
47176         * benchtests/bench-strcat.c: New file.
47177         * benchtests/bench-strchr-ifunc.c: New file.
47178         * benchtests/bench-strchr.c: New file.
47179         * benchtests/bench-strchrnul-ifunc.c: New file.
47180         * benchtests/bench-strchrnul.c: New file.
47181         * benchtests/bench-strcmp-ifunc.c: New file.
47182         * benchtests/bench-strcmp.c: New file.
47183         * benchtests/bench-strcpy-ifunc.c: New file.
47184         * benchtests/bench-strcpy.c: New file.
47185         * benchtests/bench-strcspn-ifunc.c: New file.
47186         * benchtests/bench-strcspn.c: New file.
47187         * benchtests/bench-strlen-ifunc.c: New file.
47188         * benchtests/bench-strlen.c: New file.
47189         * benchtests/bench-strncasecmp-ifunc.c: New file.
47190         * benchtests/bench-strncasecmp.c: New file.
47191         * benchtests/bench-strncat-ifunc.c: New file.
47192         * benchtests/bench-strncat.c: New file.
47193         * benchtests/bench-strncmp-ifunc.c: New file.
47194         * benchtests/bench-strncmp.c: New file.
47195         * benchtests/bench-strncpy-ifunc.c: New file.
47196         * benchtests/bench-strncpy.c: New file.
47197         * benchtests/bench-strnlen-ifunc.c: New file.
47198         * benchtests/bench-strnlen.c: New file.
47199         * benchtests/bench-strpbrk-ifunc.c: New file.
47200         * benchtests/bench-strpbrk.c: New file.
47201         * benchtests/bench-strrchr-ifunc.c: New file.
47202         * benchtests/bench-strrchr.c: New file.
47203         * benchtests/bench-strspn-ifunc.c: New file.
47204         * benchtests/bench-strspn.c: New file.
47205         * benchtests/bench-strstr-ifunc.c: New file.
47206         * benchtests/bench-strstr.c: New file.
47208         * benchtests/Makefile: Disable parallel execution of targets.
47209         (string-bench): Add memcpy.
47210         (benchset): New variable to store a list of benchmark sets.
47211         (bench-func): Renamed from bench.
47212         (bench-set): New target.
47213         (bench): Depend on bench-func and bench-set.
47214         * benchtests/README: Add section on benchmark sets.
47215         * benchtests/bench-memcpy-ifunc.c: New file.
47216         * benchtests/bench-memcpy.c: New file.
47217         * benchtests/bench-string.h: New file.
47219 2013-06-11  Andreas Schwab  <schwab@suse.de>
47221         [BZ #15577]
47222         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47223         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47224         values in the triple.
47225         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47226         terminator in the group key.
47228 2013-06-11  Andreas Jaeger  <aj@suse.de>
47230         * po/zh_TW.po: Update Chinese (traditional) translation from
47231         translation project.
47233 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47235         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47236         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47237         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47238         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47239         (clock_getcpuclockid): Likewise.
47240         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47241         Add weak_alias and libc_hidden_def.
47242         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47243         * rt/clock_gettime.c (clock_gettime): Rename to
47244         __clock_gettime.  Add weak_alias and libc_hidden_def.
47245         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47246         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47247         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47248         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47249         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47250         Likewise.
47251         * rt/clock_settime.c (clock_settime): Rename to
47252         __clock_settime.  Add weak_alias and libc_hidden_def.
47253         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47255 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47257         * mach/err_boot.sub: Remove trailing whitespace.
47258         * mach/err_ipc.sub: Likewise.
47259         * mach/err_mach.sub: Likewise.
47261         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47262         (ROUNDING_TESTS_double): Likewise.
47263         (ROUNDING_TESTS_long_double): Likewise.
47264         (ROUNDING_TESTS): Likewise.
47265         * math/libm-test.inc: Include <math-tests.h>.
47266         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47267         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47268         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47269         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47271 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47273         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47274         of assigning.
47276 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47278         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47279         otherwise empty TRANS lines.
47280         * sysdeps/gnu/errlist.c: Regenerated.
47282         * catgets/gencat.c (error_print): Use (void) in function
47283         definition.
47284         * crypt/crypt_util.c (__init_des): Likewise.
47285         * crypt/speeds.c (Stop): Likewise.
47286         (main): Likewise.
47287         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47288         * inet/ruserpass.c (token): Likewise.
47289         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47290         * intl/localealias.c (extend_alias_table): Likewise.
47291         * intl/plural-exp.c (init_germanic_plural): Likewise.
47292         * libio/fcloseall.c (__fcloseall): Likewise.
47293         * libio/genops.c (_IO_flush_all): Likewise.
47294         (_IO_flush_all_linebuffered): Likewise.
47295         (_IO_cleanup): Likewise.
47296         (_IO_iter_begin): Likewise.
47297         (_IO_iter_end): Likewise.
47298         (_IO_list_lock): Likewise.
47299         (_IO_list_unlock): Likewise.
47300         (_IO_list_resetlock): Likewise.
47301         * libio/getchar.c (getchar): Likewise.
47302         * libio/getchar_u.c (getchar_unlocked): Likewise.
47303         * libio/getwchar.c (getwchar): Likewise.
47304         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47305         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47306         * login/getpt.c (__getpt): Likewise.
47307         * login/tst-utmp.c (main): Likewise.
47308         * malloc/hooks.c (__malloc_check_init): Likewise.
47309         * malloc/malloc.c (__malloc_stats): Likewise.
47310         * malloc/mtrace.c (tr_break): Likewise.
47311         (mtrace): Likewise.
47312         (muntrace): Likewise.
47313         * misc/fstab.c (endfsent): Likewise.
47314         * misc/getclktck.c (__getclktck): Likewise.
47315         * misc/getdtsz.c (__getdtablesize): Likewise.
47316         * misc/gethostid.c (gethostid): Likewise.
47317         * misc/getpagesize.c (__getpagesize): Likewise.
47318         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47319         (__get_nprocs): Likewise.
47320         (__get_phys_pages): Likewise.
47321         (__get_avphys_pages): Likewise.
47322         * misc/getttyent.c (getttyent): Likewise.
47323         (setttyent): Likewise.
47324         (endttyent): Likewise.
47325         * misc/getusershell.c (getusershell): Likewise.
47326         (endusershell): Likewise.
47327         (setusershell): Likewise.
47328         (initshells): Likewise.
47329         * misc/hsearch.c (__hdestroy): Likewise.
47330         * misc/sync.c (sync): Likewise.
47331         * misc/syslog.c (closelog_internal): Likewise.
47332         (closelog): Likewise.
47333         * misc/ttyslot.c (ttyslot): Likewise.
47334         * misc/vhangup.c (vhangup): Likewise.
47335         * posix/fork.c (__fork): Likewise.
47336         * posix/getegid.c (__getegid): Likewise.
47337         * posix/geteuid.c (__geteuid): Likewise.
47338         * posix/getgid.c (__getgid): Likewise.
47339         * posix/getpid.c (__getpid): Likewise.
47340         * posix/getppid.c (__getppid): Likewise.
47341         * posix/getuid.c (__getuid): Likewise.
47342         * posix/pause.c (pause): Likewise.
47343         * posix/setpgrp.c (setpgrp): Likewise.
47344         * posix/setsid.c (__setsid): Likewise.
47345         * posix/test-vfork.c (noop): Likewise.
47346         * resolv/gethnamaddr.c (_endhtent): Likewise.
47347         (_gethtent): Likewise.
47348         (ht_endhostent): Likewise.
47349         (gethostent): Likewise.
47350         (dns_service): Likewise.
47351         * stdlib/drand48.c (drand48): Likewise.
47352         * stdlib/lrand48.c (lrand48): Likewise.
47353         * stdlib/mrand48.c (mrand48): Likewise.
47354         * stdlib/rand.c (rand): Likewise.
47355         * stdlib/random.c (__random): Likewise.
47356         * stdlib/setenv.c (clearenv): Likewise.
47357         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47358         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47359         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47360         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47361         (__get_nprocs): Likewise.
47362         (__get_phys_pages): Likewise.
47363         (__get_avphys_pages): Likewise.
47364         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47365         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47366         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47367         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47368         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47369         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47370         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47371         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47372         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47373         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47374         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47375         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47376         * sysdeps/posix/clock.c (clock): Likewise.
47377         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47378         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47379         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47380         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47381         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47383         (__get_nprocs_conf): Likewise.
47384         (__get_phys_pages): Likewise.
47385         (__get_avphys_pages): Likewise.
47386         * time/clock.c (clock): Likewise.
47387         * time/tzset.c (__tzname_max): Likewise.
47389 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47391         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47392         (__bswap_32): Do not use "register".
47393         * crypt/crypt.c (_ufc_doit_r): Likewise.
47394         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47395         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47396         * gmon/gmon.c (__monstartup): Likewise.
47397         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47398         * hurd/hurdmalloc.c (more_memory): Likewise.
47399         (malloc): Likewise.
47400         (free): Likewise.
47401         (realloc): Likewise.
47402         (malloc_fork_prepare): Likewise.
47403         (malloc_fork_parent): Likewise.
47404         (malloc_fork_child): Likewise.
47405         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47406         (_svcauth_des): Likewise.
47407         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47408         * inet/inet_net.c (inet_network): Likewise.
47409         * inet/inet_netof.c (inet_netof): Likewise.
47410         * inet/rcmd.c (__validuser2_sa): Likewise.
47411         * io/fts.c (fts_open): Likewise.
47412         (fts_load): Likewise.
47413         (fts_close): Likewise.
47414         (fts_read): Likewise.
47415         (fts_children): Likewise.
47416         (fts_build): Likewise.
47417         (fts_stat): Likewise.
47418         (fts_sort): Likewise.
47419         (fts_alloc): Likewise.
47420         (fts_lfree): Likewise.
47421         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47422         (_IO_file_xsgetn): Likewise.
47423         (_IO_file_xsgetn_mmap): Likewise.
47424         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47425         (_IO_cookie_write): Likewise.
47426         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47427         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47428         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47429         * malloc/obstack.c (_obstack_begin): Likewise.
47430         (_obstack_begin_1): Likewise.
47431         (_obstack_newchunk): Likewise.
47432         (_obstack_allocated_p): Likewise.
47433         (obstack_free): Likewise.
47434         (_obstack_memory_used): Likewise.
47435         * misc/getttyent.c (getttynam): Likewise.
47436         (getttyent): Likewise.
47437         (skip): Likewise.
47438         (value): Likewise.
47439         * misc/getusershell.c (initshells): Likewise.
47440         * misc/syslog.c (__vsyslog_chk): Likewise.
47441         * misc/ttyslot.c (ttyslot): Likewise.
47442         * nis/nis_hash.c (__nis_hash): Likewise.
47443         * posix/fnmatch_loop.c (FCT): Likewise.
47444         * posix/getconf.c (print_all): Likewise.
47445         (main): Likewise.
47446         * posix/getopt.c (exchange): Likewise.
47447         * posix/glob.c (globfree): Likewise.
47448         (prefix_array): Likewise.
47449         (__glob_pattern_type): Likewise.
47450         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47451         (NS_GET32): Likewise.
47452         (NS_PUT16): Likewise.
47453         (NS_PUT32): Likewise.
47454         * resolv/gethnamaddr.c (getanswer): Likewise.
47455         (gethostbyname2): Likewise.
47456         (gethostbyaddr): Likewise.
47457         (_gethtent): Likewise.
47458         (_gethtbyname2): Likewise.
47459         (_gethtbyaddr): Likewise.
47460         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47461         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47462         * resolv/res_init.c (__res_vinit): Likewise.
47463         (net_mask): Likewise.
47464         * resolv/res_mkquery.c (outchar): Likewise.
47465         (PRINT): Likewise.
47466         * stdio-common/printf_fp.c (outchar): Likewise.
47467         (PRINT): Likewise.
47468         * stdio-common/printf_fphex.c (outchar): Likewise.
47469         (PRINT): Likewise.
47470         * stdio-common/printf_size.c (outchar): Likewise.
47471         (PRINT): Likewise.
47472         * stdio-common/test_rdwr.c (main): Likewise.
47473         * stdio-common/tfformat.c (matches): Likewise.
47474         * stdio-common/vfprintf.c (outchar): Likewise.
47475         (printf_unknown): Likewise.
47476         (buffered_vfprintf): Likewise.
47477         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47478         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47479         (ReadFile): Likewise.
47480         * stdlib/qsort.c (SWAP): Likewise.
47481         (_quicksort): Likewise.
47482         * stdlib/setenv.c (__add_to_environ): Likewise.
47483         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47484         * stdlib/strtol_l.c (__strtol_l): Likewise.
47485         * stdlib/tst-strtod.c (main): Likewise.
47486         * stdlib/tst-strtol.c (main): Likewise.
47487         * stdlib/tst-strtoll.c (main): Likewise.
47488         * string/bits/string2.h (__strcmp_cc): Likewise.
47489         (__strcmp_cg): Likewise.
47490         (__strcspn_c1): Likewise.
47491         (__strcspn_c2): Likewise.
47492         (__strcspn_c3): Likewise.
47493         (__strspn_c1): Likewise.
47494         (__strspn_c2): Likewise.
47495         (__strspn_c3): Likewise.
47496         (__strsep_1c): Likewise.
47497         (__strsep_2c): Likewise.
47498         (__strsep_3c): Likewise.
47499         * string/memccpy.c (__memccpy): Likewise.
47500         * string/stpcpy.c (__stpcpy): Likewise.
47501         * string/strcmp.c (strcmp): Likewise.
47502         * string/strrchr.c (strrchr): Likewise.
47503         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47504         Likewise.
47505         * sysdeps/mach/hurd/getcwd.c
47506         (_hurd_canonicalize_directory_name_internal): Likewise.
47507         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47508         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47509         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47510         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47511         Likewise, in both definitions.
47512         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47513         definitions.
47514         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47515         64] (__bswap_64): Likewise.
47516         * time/test_time.c (main): Likewise.
47517         * time/tzfile.c (__tzfile_read): Likewise.
47518         (__tzfile_compute): Likewise.
47519         * time/tzset.c (__tzset_parse_tz): Likewise.
47520         (tzset_internal): Likewise.
47521         (compute_change): Likewise.
47522         * wcsmbs/wcscat.c (__wcscat): Likewise.
47523         * wcsmbs/wcschr.c (wcschr): Likewise.
47524         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47525         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47526         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47527         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47528         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47529         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47530         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47531         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47532         * wcsmbs/wmemset.c (wmemset): Likewise.
47534 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47536         * scripts/config.guess: Update to version 2013-05-16.
47537         * scripts/config.sub: Update to version 2013-04-24.
47538         * scripts/install-sh: Update to version 2011-11-20.07.
47539         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47540         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47542 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47544         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47545         * elf/sln.c: Likewise.
47546         * hurd/hurd/ioctl.h: Likewise.
47547         * hurd/hurdmalloc.c: Likewise.
47548         * hurd/xattr.c: Likewise.
47549         * include/shlib-compat.h: Likewise.
47550         * inet/ruserpass.c: Likewise.
47551         * libio/iofgets_u.c: Likewise.
47552         * libio/iofgetws_u.c: Likewise.
47553         * locale/programs/ld-identification.c: Likewise.
47554         * locale/programs/ld-time.c: Likewise.
47555         * mach/msg-destroy.c: Likewise.
47556         * nss/nss_files/files-netgrp.c: Likewise.
47557         * resolv/res_data.c: Likewise.
47558         * soft-fp/op-1.h: Likewise.
47559         * soft-fp/op-2.h: Likewise.
47560         * soft-fp/op-4.h: Likewise.
47561         * soft-fp/op-common.h: Likewise.
47562         * stdio-common/printf_fphex.c: Likewise.
47563         * stdlib/strtod_l.c: Likewise.
47564         * sunrpc/rpc/clnt.h: Likewise.
47565         * sysdeps/generic/framestate.c: Likewise.
47566         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47567         * sysdeps/i386/bsd-setjmp.S: Likewise.
47568         * sysdeps/i386/__longjmp.S: Likewise.
47569         * sysdeps/i386/setjmp.S: Likewise.
47570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47571         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47573         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47574         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47575         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47576         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47579         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47580         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47581         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47582         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47583         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47584         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47585         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47586         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47587         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47588         * sysdeps/ieee754/support.c: Likewise.
47589         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47590         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47591         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47592         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47593         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47594         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47595         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47596         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47597         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47598         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47599         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47600         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47601         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47602         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47603         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47604         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47605         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47608 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47610         * posix/transbug.c: Remove executable mode.
47612 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47614         * crypt/speeds.c: Remove trailing whitespace.
47615         * dlfcn/default.c: Likewise.
47616         * elf/ifuncdep2.c: Likewise.
47617         * elf/ifuncmain1.c: Likewise.
47618         * elf/ifuncmain1vis.c: Likewise.
47619         * elf/testobj.h: Likewise.
47620         * elf/tst-stackguard1.c: Likewise.
47621         * gmon/sys/gmon.h: Likewise.
47622         * hurd/hurdmsg.c: Likewise.
47623         * hurd/new-fd.c: Likewise.
47624         * hurd/ports-get.c: Likewise.
47625         * iconvdata/ibm1008_420.c: Likewise.
47626         * inet/tst-getni1.c: Likewise.
47627         * inet/tst-getni2.c: Likewise.
47628         * libio/ioungetc.c: Likewise.
47629         * libio/wfiledoalloc.c: Likewise.
47630         * manual/libm-err-tab.pl: Likewise.
47631         * math/w_dremf.c: Likewise.
47632         * misc/ftruncate.c: Likewise.
47633         * posix/bug-glob2.c: Likewise.
47634         * posix/tst-pcre.c: Likewise.
47635         * posix/wait4.c: Likewise.
47636         * resolv/README: Likewise.
47637         * resolv/res_debug.h: Likewise.
47638         * resolv/tst-inet_ntop.c: Likewise.
47639         * setjmp/bug269-setjmp.c: Likewise.
47640         * soft-fp/extended.h: Likewise.
47641         * soft-fp/op-1.h: Likewise.
47642         * soft-fp/op-2.h: Likewise.
47643         * soft-fp/op-4.h: Likewise.
47644         * soft-fp/op-8.h: Likewise.
47645         * soft-fp/testit.c: Likewise.
47646         * stdio-common/bug16.c: Likewise.
47647         * stdlib/random.c: Likewise.
47648         * sunrpc/rpcsvc/rquota.x: Likewise.
47649         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47650         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47651         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47652         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47653         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47654         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47655         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47656         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47657         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47658         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47659         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47660         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47662         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47664         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47665         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47666         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47667         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47670         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47671         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47672         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47674         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47675         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47676         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47677         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47678         * sysdeps/ieee754/s_lib_version.c: Likewise.
47679         * sysdeps/mach/hurd/check_fds.c: Likewise.
47680         * sysdeps/mach/hurd/getsockname.c: Likewise.
47681         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47682         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47683         * sysdeps/powerpc/bits/link.h: Likewise.
47684         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47685         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47686         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47687         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47688         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47689         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47690         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47691         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47692         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47693         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47694         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47695         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47696         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47697         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47698         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47699         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47702         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47703         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47704         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47705         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47706         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47707         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47708         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47709         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47710         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47711         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47712         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47714         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47716         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47717         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47718         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47719         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47720         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47721         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47722         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47723         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47724         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47725         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47726         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47727         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47728         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47729         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47730         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47731         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47732         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47733         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47737         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47738         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47739         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47740         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47742         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47744         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47745         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47746         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47747         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47748         * sysdeps/powerpc/sysdep.h: Likewise.
47749         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47750         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47751         * sysdeps/sh/dl-trampoline.S: Likewise.
47752         * sysdeps/sh/memset.S: Likewise.
47753         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47754         * sysdeps/sh/strlen.S: Likewise.
47755         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47756         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47757         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47758         * sysdeps/sparc/sparc32/rem.S: Likewise.
47759         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47760         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47761         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47762         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47763         * sysdeps/sparc/sparc32/urem.S: Likewise.
47764         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47765         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47766         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47767         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47768         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47769         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47770         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47771         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47772         * sysdeps/unix/bsd/times.c: Likewise.
47773         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47774         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47778         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47779         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47780         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47783         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47784         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47785         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47786         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47787         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47788         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47789         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47790         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47791         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47792         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47793         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47794         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47795         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47796         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47797         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47798         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47799         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47800         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47801         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47802         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47803         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47804         * sysdeps/x86_64/strcspn.S: Likewise.
47806 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47808         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47809         generated file.  Regenerate properly from gen-translit.pl.
47810         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47811         locale/C-translit.h.
47813 2013-06-05  Andreas Schwab  <schwab@suse.de>
47815         [BZ #15100]
47816         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47817         week as 6 instead of -1.
47818         * time/tst-strptime.c (day_tests): Add test case.
47820 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47822         * sysdeps/generic/math_private.h
47823         (libc_feholdexcept_setround_53bit): Replace with
47824         libc_feholdsetround_53bit.
47825         (libc_feupdateenv_53bit): Replace with
47826         libc_feresetround_53bit.
47827         (SET_RESTORE_ROUND_53BIT): Adjust.
47829 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47831         * string/test-strchrnul.c: Add copyright header.
47833         * posix/tst-getaddrinfo4.c: Increase test timeout.
47835 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47837         [BZ #15536]
47838         * math/libm-test.inc (MAX_EXP): Remove
47839         (MIN_EXP): Define.
47840         (ulp): Use MIN_EXP - MANT_DIG.
47841         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47843 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47845         * po/be.po: Revert last change.
47846         * po/zh_CN.po: Likewise.
47847         * po/header.pot: Likewise.
47849 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47851         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47852         link-libc-deps to empty as target-specific variable.
47853         * Makerules (link-libc-args): New variable.
47854         (libc-for-link): Likewise.
47855         (link-libc-deps): Likewise.
47856         (lib%.so): Depend on $(link-libc-deps).  Link with
47857         $(link-libc-args).
47858         (build-module): Link with $(link-libc-args).
47859         (build-module-asneeded): Likewise.
47860         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47861         list of objects.
47862         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47863         target-specific variable.
47864         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47865         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47866         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47867         libc.
47868         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47869         libc and ld.so.
47870         ($(objpfx)libpcprofile.so): Likewise.
47871         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47872         libc_nonshared.a.
47873         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47874         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47875         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47876         $(link-libc-deps).
47877         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47878         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47879         * login/Makefile ($(objpfx)libutil.so): Likewise.
47880         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47881         * math/Makefile ($(objpfx)libm.so): Likewise.
47882         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47883         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47884         variable instead of depending directly on libc.
47885         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47886         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47887         $(link-libc-deps).
47888         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47889         libc.
47890         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47891         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47892         ($(objpfx)libanl.so): Likewise.
47893         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47894         ld.so.
47895         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47896         $(link-libc-deps).
47897         * sysdeps/i386/fpu/Makefile: Remove file.
47898         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47899         ($(objpfx)libm.so): Remove dependency on ld.so.
47901 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47903         [BZ # 15553]
47904         * nis/yp_xdr.c (XDRMAXNAME): Define.
47905         (XDRMAXRECORD): Define.
47906         (xdr_domainname): Use XDRMAXNAME.
47907         (xdr_mapname): Likewise.
47908         (xdr_peername): Likewise.
47909         (xdr_keydat): Use XDRMAXRECORD.
47910         (xdr_valdat): Likewise.
47912 2013-05-30  Jeff Law  <law@redhat.com>
47914         [BZ #14256]
47915         * manual/errno.texi (ESTALE): Update to account for more than
47916         just NFS file systems.
47917         * sysdeps/gnu/errlist.c: Regenerated.
47919 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47921         [BZ #15465]
47922         * elf/Makefile (tests): Add tst-null-argv.
47923         (modules-names):  Add tst-null-argv-lib.
47924         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47925         (tst-null-argv-ENV): Set environment for tst-null-argv.
47926         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47927         (RTLD_PROGNAME): New macro.
47928         * elf/tst-null-argv.c: New test case.
47929         * elf/tst-null-argv-lib.c: Library for test case.
47930         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47931         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47932         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47933         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47934         * elf/dl-init.c (call_init): Likewise.
47935         (_dl_init): Likewise.
47936         * elf/dl-load.c (print_search_path): Likewise.
47937         (_dl_map_object): Likewise.
47938         * elf/dl-lookup.c (do_lookup_x): Likewise.
47939         (add_dependency): Likewise.
47940         (_dl_lookup_symbol_x): Likewise.
47941         (_dl_debug_bindings): Likewise.
47942         * elf/dl-open.c (_dl_show_scope): Likewise.
47943         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47944         * elf/dl-version.c (match_symbol): Likewise.
47945         (_dl_check_map_versions): Likewise.
47946         * elf/rtld.c (dl_main): Likewise.
47947         (print_unresolved): Use RTLD_PROGNAME.
47948         (print_missing_version): Likewise.
47949         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47950         (elf_machine_rela): Likewise.
47951         * sysdeps/powerpc/powerpc32/dl-machine.c
47952         (__process_machine_rela): Likewise.
47953         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47954         Likewise.
47955         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47956         Likewise.
47957         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47958         Likewise.
47959         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47960         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47961         Likewise.
47962         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47963         Likewise.
47964         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47966 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47968         * po/be.po: Add descriptive title.
47969         * po/zh_CN.po: Likewise.
47970         * po/header.pot: Likewise.
47972 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47974         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47975         error message.
47976         (enlarge_archive): Likewise.
47978 2013-05-28  Ben North  <ben@redfrontdoor.org>
47980         * manual/arith.texi (frexp): It is the magnitude of the return
47981         value which lies in [0.5, 1), not the return value itself.
47983 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47987 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47989         * stdio-common/bug26.c (main): Correct fscanf template.
47991         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47992         declare _dl_skip_args.
47994         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47995         Don't declare.
47997         * manual/platform.texi: Add missing @end deftypefun.
47999 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48001         [BZ #15529]
48002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48003         bit of mantissa of 2^16382.
48004         * math/libm-test.inc (hypot_test_data): Add more tests.
48006         * math/libm-test.inc: Add drem and pow10 to list of tested
48007         functions.
48008         (pow10_test): New function.
48009         (drem_test): Likewise.
48010         (drem_test_tonearest): Likewise.
48011         (drem_test_towardzero): Likewise.
48012         (drem_test_downward): Likewise.
48013         (drem_test_upward): Likewise.
48014         (main): Call the new functions.
48016         * math/libm-test.inc (finite_test_data): Remove.
48017         (finite_test): Run tests from isfinite_test_data.
48018         (gamma_test_data): Remove.
48019         (gamma_test): Run tests from lgamma_test_data.
48020         * sysdeps/i386/fpu/libm-test-ulps: Update.
48021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48023 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48025         * manual/platform.texi: Add PowerPC PPR function set documentation.
48026         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48027         implementation.
48029 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48031         * math/libm-test.inc (MAX_EXP): Define.
48032         (ULPDIFF): Define.
48033         (ulp): New function.
48034         (check_float_internal): Use ULPDIFF.
48035         (cpow_test): Disable failing test.
48036         (check_ulp): Test ulp() implemetnation.
48037         (main): Call check_ulp before starting tests.
48039 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48041         * math/gen-libm-test.pl (generate_testfile): Do not handle
48042         START_DATA and END_DATA.
48043         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48044         END_DATA.
48045         (acos_tonearest_test_data): Likewise.
48046         (acos_towardzero_test_data): Likewise.
48047         (acos_downward_test_data): Likewise.
48048         (acos_upward_test_data): Likewise.
48049         (acosh_test_data): Likewise.
48050         (asin_test_data): Likewise.
48051         (asin_tonearest_test_data): Likewise.
48052         (asin_towardzero_test_data): Likewise.
48053         (asin_downward_test_data): Likewise.
48054         (asin_upward_test_data): Likewise.
48055         (asinh_test_data): Likewise.
48056         (atan_test_data): Likewise.
48057         (atanh_test_data): Likewise.
48058         (atan2_test_data): Likewise.
48059         (cabs_test_data): Likewise.
48060         (cacos_test_data): Likewise.
48061         (cacosh_test_data): Likewise.
48062         (carg_test_data): Likewise.
48063         (casin_test_data): Likewise.
48064         (casinh_test_data): Likewise.
48065         (catan_test_data): Likewise.
48066         (catanh_test_data): Likewise.
48067         (cbrt_test_data): Likewise.
48068         (ccos_test_data): Likewise.
48069         (ccosh_test_data): Likewise.
48070         (ceil_test_data): Likewise.
48071         (cexp_test_data): Likewise.
48072         (cimag_test_data): Likewise.
48073         (clog_test_data): Likewise.
48074         (clog10_test_data): Likewise.
48075         (conj_test_data): Likewise.
48076         (copysign_test_data): Likewise.
48077         (cos_test_data): Likewise.
48078         (cos_tonearest_test_data): Likewise.
48079         (cos_towardzero_test_data): Likewise.
48080         (cos_downward_test_data): Likewise.
48081         (cos_upward_test_data): Likewise.
48082         (cosh_test_data): Likewise.
48083         (cosh_tonearest_test_data): Likewise.
48084         (cosh_towardzero_test_data): Likewise.
48085         (cosh_downward_test_data): Likewise.
48086         (cosh_upward_test_data): Likewise.
48087         (cpow_test_data): Likewise.
48088         (cproj_test_data): Likewise.
48089         (creal_test_data): Likewise.
48090         (csin_test_data): Likewise.
48091         (csinh_test_data): Likewise.
48092         (csqrt_test_data): Likewise.
48093         (ctan_test_data): Likewise.
48094         (ctan_tonearest_test_data): Likewise.
48095         (ctan_towardzero_test_data): Likewise.
48096         (ctan_downward_test_data): Likewise.
48097         (ctan_upward_test_data): Likewise.
48098         (ctanh_test_data): Likewise.
48099         (ctanh_tonearest_test_data): Likewise.
48100         (ctanh_towardzero_test_data): Likewise.
48101         (ctanh_downward_test_data): Likewise.
48102         (ctanh_upward_test_data): Likewise.
48103         (erf_test_data): Likewise.
48104         (erfc_test_data): Likewise.
48105         (exp_test_data): Likewise.
48106         (exp_tonearest_test_data): Likewise.
48107         (exp_towardzero_test_data): Likewise.
48108         (exp_downward_test_data): Likewise.
48109         (exp_upward_test_data): Likewise.
48110         (exp10_test_data): Likewise.
48111         (exp2_test_data): Likewise.
48112         (expm1_test_data): Likewise.
48113         (fabs_test_data): Likewise.
48114         (fdim_test_data): Likewise.
48115         (finite_test_data): Likewise.
48116         (floor_test_data): Likewise.
48117         (fma_test_data): Likewise.
48118         (fma_towardzero_test_data): Likewise.
48119         (fma_downward_test_data): Likewise.
48120         (fma_upward_test_data): Likewise.
48121         (fmax_test_data): Likewise.
48122         (fmin_test_data): Likewise.
48123         (fmod_test_data): Likewise.
48124         (fpclassify_test_data): Likewise.
48125         (frexp_test_data): Likewise.
48126         (gamma_test_data): Likewise.
48127         (hypot_test_data): Likewise.
48128         (ilogb_test_data): Likewise.
48129         (isfinite_test_data): Likewise.
48130         (isgreater_test_data): Likewise.
48131         (isgreaterequal_test_data): Likewise.
48132         (isinf_test_data): Likewise.
48133         (isless_test_data): Likewise.
48134         (islessequal_test_data): Likewise.
48135         (islessgreater_test_data): Likewise.
48136         (isnan_test_data): Likewise.
48137         (isnormal_test_data): Likewise.
48138         (issignaling_test_data): Likewise.
48139         (isunordered_test_data): Likewise.
48140         (j0_test_data): Likewise.
48141         (j1_test_data): Likewise.
48142         (jn_test_data): Likewise.
48143         (ldexp_test_data): Likewise.
48144         (lgamma_test_data): Likewise.
48145         (lrint_test_data): Likewise.
48146         (lrint_tonearest_test_data): Likewise.
48147         (lrint_towardzero_test_data): Likewise.
48148         (lrint_downward_test_data): Likewise.
48149         (lrint_upward_test_data): Likewise.
48150         (llrint_test_data): Likewise.
48151         (llrint_tonearest_test_data): Likewise.
48152         (llrint_towardzero_test_data): Likewise.
48153         (llrint_downward_test_data): Likewise.
48154         (llrint_upward_test_data): Likewise.
48155         (log_test_data): Likewise.
48156         (log10_test_data): Likewise.
48157         (log1p_test_data): Likewise.
48158         (log2_test_data): Likewise.
48159         (logb_test_data): Likewise.
48160         (logb_downward_test_data): Likewise.
48161         (lround_test_data): Likewise.
48162         (llround_test_data): Likewise.
48163         (modf_test_data): Likewise.
48164         (nearbyint_test_data): Likewise.
48165         (nextafter_test_data): Likewise.
48166         (nexttoward_test_data): Likewise.
48167         (pow_test_data): Likewise.
48168         (pow_tonearest_test_data): Likewise.
48169         (pow_towardzero_test_data): Likewise.
48170         (pow_downward_test_data): Likewise.
48171         (pow_upward_test_data): Likewise.
48172         (remainder_test_data): Likewise.
48173         (remainder_tonearest_test_data): Likewise.
48174         (remainder_towardzero_test_data): Likewise.
48175         (remainder_downward_test_data): Likewise.
48176         (remainder_upward_test_data): Likewise.
48177         (remquo_test_data): Likewise.
48178         (rint_test_data): Likewise.
48179         (rint_tonearest_test_data): Likewise.
48180         (rint_towardzero_test_data): Likewise.
48181         (rint_downward_test_data): Likewise.
48182         (rint_upward_test_data): Likewise.
48183         (round_test_data): Likewise.
48184         (scalb_test_data): Likewise.
48185         (scalbn_test_data): Likewise.
48186         (scalbln_test_data): Likewise.
48187         (signbit_test_data): Likewise.
48188         (sin_test_data): Likewise.
48189         (sin_tonearest_test_data): Likewise.
48190         (sin_towardzero_test_data): Likewise.
48191         (sin_downward_test_data): Likewise.
48192         (sin_upward_test_data): Likewise.
48193         (sincos_test_data): Likewise.
48194         (sinh_test_data): Likewise.
48195         (sinh_tonearest_test_data): Likewise.
48196         (sinh_towardzero_test_data): Likewise.
48197         (sinh_downward_test_data): Likewise.
48198         (sinh_upward_test_data): Likewise.
48199         (sqrt_test_data): Likewise.
48200         (tan_test_data): Likewise.
48201         (tan_tonearest_test_data): Likewise.
48202         (tan_towardzero_test_data): Likewise.
48203         (tan_downward_test_data): Likewise.
48204         (tan_upward_test_data): Likewise.
48205         (tanh_test_data): Likewise.
48206         (tgamma_test_data): Likewise.
48207         (trunc_test_data): Likewise.
48208         (y0_test_data): Likewise.
48209         (y1_test_data): Likewise.
48210         (yn_test_data): Likewise.
48211         (significand_test_data): Likewise.
48213         * math/gen-libm-test.pl (@functions): Remove variable.
48214         (generate_testfile): Don't handle START and END lines.
48215         * math/libm-test.inc (START): New macro.
48216         (END): Likewise.
48217         (END_COMPLEX): Likewise.
48218         (acos_test): Use END macro without arguments.
48219         (acos_test_tonearest): Likewise.
48220         (acos_test_towardzero): Likewise.
48221         (acos_test_downward): Likewise.
48222         (acos_test_upward): Likewise.
48223         (acosh_test): Likewise.
48224         (asin_test): Likewise.
48225         (asin_test_tonearest): Likewise.
48226         (asin_test_towardzero): Likewise.
48227         (asin_test_downward): Likewise.
48228         (asin_test_upward): Likewise.
48229         (asinh_test): Likewise.
48230         (atan_test): Likewise.
48231         (atanh_test): Likewise.
48232         (atan2_test): Likewise.
48233         (cabs_test): Likewise.
48234         (cacos_test): Use END_COMPLEX macro without arguments.
48235         (cacosh_test): Likewise.
48236         (carg_test): Use END macro without arguments.
48237         (casin_test): Use END_COMPLEX macro without arguments.
48238         (casinh_test): Likewise.
48239         (catan_test): Likewise.
48240         (catanh_test): Likewise.
48241         (cbrt_test): Use END macro without arguments.
48242         (ccos_test): Use END_COMPLEX macro without arguments.
48243         (ccosh_test): Likewise.
48244         (ceil_test): Use END macro without arguments.
48245         (cexp_test): Use END_COMPLEX macro without arguments.
48246         (cimag_test): Use END macro without arguments.
48247         (clog_test): Use END_COMPLEX macro without arguments.
48248         (clog10_test): Likewise.
48249         (conj_test): Likewise.
48250         (copysign_test): Use END macro without arguments.
48251         (cos_test): Likewise.
48252         (cos_test_tonearest): Likewise.
48253         (cos_test_towardzero): Likewise.
48254         (cos_test_downward): Likewise.
48255         (cos_test_upward): Likewise.
48256         (cosh_test): Likewise.
48257         (cosh_test_tonearest): Likewise.
48258         (cosh_test_towardzero): Likewise.
48259         (cosh_test_downward): Likewise.
48260         (cosh_test_upward): Likewise.
48261         (cpow_test): Use END_COMPLEX macro without arguments.
48262         (cproj_test): Likewise.
48263         (creal_test): Use END macro without arguments.
48264         (csin_test): Use END_COMPLEX macro without arguments.
48265         (csinh_test): Likewise.
48266         (csqrt_test): Likewise.
48267         (ctan_test): Likewise.
48268         (ctan_test_tonearest): Likewise.
48269         (ctan_test_towardzero): Likewise.
48270         (ctan_test_downward): Likewise.
48271         (ctan_test_upward): Likewise.
48272         (ctanh_test): Likewise.
48273         (ctanh_test_tonearest): Likewise.
48274         (ctanh_test_towardzero): Likewise.
48275         (ctanh_test_downward): Likewise.
48276         (ctanh_test_upward): Likewise.
48277         (erf_test): Use END macro without arguments.
48278         (erfc_test): Likewise.
48279         (exp_test): Likewise.
48280         (exp_test_tonearest): Likewise.
48281         (exp_test_towardzero): Likewise.
48282         (exp_test_downward): Likewise.
48283         (exp_test_upward): Likewise.
48284         (exp10_test): Likewise.
48285         (exp2_test): Likewise.
48286         (expm1_test): Likewise.
48287         (fabs_test): Likewise.
48288         (fdim_test): Likewise.
48289         (finite_test): Likewise.
48290         (floor_test): Likewise.
48291         (fma_test): Likewise.
48292         (fma_test_towardzero): Likewise.
48293         (fma_test_downward): Likewise.
48294         (fma_test_upward): Likewise.
48295         (fmax_test): Likewise.
48296         (fmin_test): Likewise.
48297         (fmod_test): Likewise.
48298         (fpclassify_test): Likewise.
48299         (frexp_test): Likewise.
48300         (gamma_test): Likewise.
48301         (hypot_test): Likewise.
48302         (ilogb_test): Likewise.
48303         (isfinite_test): Likewise.
48304         (isgreater_test): Likewise.
48305         (isgreaterequal_test): Likewise.
48306         (isinf_test): Likewise.
48307         (isless_test): Likewise.
48308         (islessequal_test): Likewise.
48309         (islessgreater_test): Likewise.
48310         (isnan_test): Likewise.
48311         (isnormal_test): Likewise.
48312         (issignaling_test): Likewise.
48313         (isunordered_test): Likewise.
48314         (j0_test): Likewise.
48315         (j1_test): Likewise.
48316         (jn_test): Likewise.
48317         (ldexp_test): Likewise.
48318         (lgamma_test): Likewise.
48319         (lrint_test): Likewise.
48320         (lrint_test_tonearest): Likewise.
48321         (lrint_test_towardzero): Likewise.
48322         (lrint_test_downward): Likewise.
48323         (lrint_test_upward): Likewise.
48324         (llrint_test): Likewise.
48325         (llrint_test_tonearest): Likewise.
48326         (llrint_test_towardzero): Likewise.
48327         (llrint_test_downward): Likewise.
48328         (llrint_test_upward): Likewise.
48329         (log_test): Likewise.
48330         (log10_test): Likewise.
48331         (log1p_test): Likewise.
48332         (log2_test): Likewise.
48333         (logb_test): Likewise.
48334         (logb_test_downward): Likewise.
48335         (lround_test): Likewise.
48336         (llround_test): Likewise.
48337         (modf_test): Likewise.
48338         (nearbyint_test): Likewise.
48339         (nextafter_test): Likewise.
48340         (nexttoward_test): Likewise.
48341         (pow_test): Likewise.
48342         (pow_test_tonearest): Likewise.
48343         (pow_test_towardzero): Likewise.
48344         (pow_test_downward): Likewise.
48345         (pow_test_upward): Likewise.
48346         (remainder_test): Likewise.
48347         (remainder_test_tonearest): Likewise.
48348         (remainder_test_towardzero): Likewise.
48349         (remainder_test_downward): Likewise.
48350         (remainder_test_upward): Likewise.
48351         (remquo_test): Likewise.
48352         (rint_test): Likewise.
48353         (rint_test_tonearest): Likewise.
48354         (rint_test_towardzero): Likewise.
48355         (rint_test_downward): Likewise.
48356         (rint_test_upward): Likewise.
48357         (round_test): Likewise.
48358         (scalb_test): Likewise.
48359         (scalbn_test): Likewise.
48360         (scalbln_test): Likewise.
48361         (signbit_test): Likewise.
48362         (sin_test): Likewise.
48363         (sin_test_tonearest): Likewise.
48364         (sin_test_towardzero): Likewise.
48365         (sin_test_downward): Likewise.
48366         (sin_test_upward): Likewise.
48367         (sincos_test): Likewise.
48368         (sinh_test): Likewise.
48369         (sinh_test_tonearest): Likewise.
48370         (sinh_test_towardzero): Likewise.
48371         (sinh_test_downward): Likewise.
48372         (sinh_test_upward): Likewise.
48373         (sqrt_test): Likewise.
48374         (tan_test): Likewise.
48375         (tan_test_tonearest): Likewise.
48376         (tan_test_towardzero): Likewise.
48377         (tan_test_downward): Likewise.
48378         (tan_test_upward): Likewise.
48379         (tanh_test): Likewise.
48380         (tgamma_test): Likewise.
48381         (trunc_test): Likewise.
48382         (y0_test): Likewise.
48383         (y1_test): Likewise.
48384         (yn_test): Likewise.
48385         (significand_test): Likewise.
48387 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48389         [BZ #15381]
48390         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48392 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48394         [BZ #14894]
48395         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48396         __ppc_mdoio and __ppc_mdoom.
48397         * manual/platform.texi: Document new functions __ppc_yield,
48398         __ppc_mdoio and __ppc_mdoom.
48400 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48402         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48403         (main): Mention "tls" pseudo-hwcap is legacy.
48404         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48406 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48408         * math/gen-libm-test.pl (parse_args): Output only string of
48409         arguments as text for test name, not full call or descriptions of
48410         tests for extra outputs.
48411         (generate_testfile): Do not pass function name to parse_args.
48412         Generate this_func variable from START.
48413         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48414         field to arg_str.
48415         (struct test_ff_f_data): Likewise.
48416         (test_ff_f_data_nexttoward): Likewise.
48417         (struct test_fi_f_data): Likewise.
48418         (struct test_fl_f_data): Likewise.
48419         (struct test_if_f_data): Likewise.
48420         (struct test_fff_f_data): Likewise.
48421         (struct test_c_f_data): Likewise.
48422         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48423         (struct test_fF_f1_data): Likewise.
48424         (struct test_ffI_f1_data): Likewise.
48425         (struct test_c_c_data): Rename test_name field to arg_str.
48426         (struct test_cc_c_data): Likewise.
48427         (struct test_f_i_data): Likewise.
48428         (struct test_ff_i_data): Likewise.
48429         (struct test_f_l_data): Likewise.
48430         (struct test_f_L_data): Likewise.
48431         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48432         and extra2_name.
48433         (COMMON_TEST_SETUP): New macro.
48434         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48435         (COMMON_TEST_CLEANUP): Likewise.
48436         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48437         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48438         macros.
48439         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48440         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48441         macros.
48442         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48443         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48444         cleanup macros.
48445         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48446         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48447         macros.
48448         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48449         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48450         macros.
48451         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48452         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48453         cleanup macros.
48454         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48455         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48456         cleanup macros.
48457         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48458         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48459         cleanup macros.
48460         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48461         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48462         macros.
48463         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48464         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48465         macros.
48466         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48467         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48468         macros.
48469         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48470         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48471         cleanup macros.
48472         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48473         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48474         cleanup macros.
48475         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48476         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48477         macros.
48478         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48479         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48480         cleanup macros.
48481         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48482         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48483         macros.
48484         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48485         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48486         macros.
48487         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48488         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48489         cleanup macros.
48490         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48492 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48494         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48495         to _sifields.sigfault.
48496         (si_addr_lsb): Define new macro.
48497         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48499         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48501 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48503         [BZ #15441]
48504         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48505         returns -1.
48506         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48507         null return -1.
48508         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48509         loading the domain.
48511 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48513         * math/gen-libm-test.pl (parse_args): Do not include expected
48514         result in test name.
48515         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48516         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48517         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48518         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48519         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48522 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48524         * benchtests/Makefile: Sort function entries.
48526         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48527         tanh, asinh, acosh, atanh.
48528         * benchtests/acos-inputs: New file.
48529         * benchtests/acosh-inputs: New file.
48530         * benchtests/asin-inputs: New file.
48531         * benchtests/asinh-inputs: New file.
48532         * benchtests/atanh-inputs: New file.
48533         * benchtests/cosh-inputs: New file.
48534         * benchtests/log-inputs: New file.
48535         * benchtests/sinh-inputs: New file.
48536         * benchtests/tanh-inputs: New file.
48538 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48540         [BZ #15339]
48541         * posix/tst-getaddrinfo4.c: New test.
48542         * posix/Makefile (tests): Add it.
48544 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48546         [BZ #15339]
48547         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48548         when no services were used.
48549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48550         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48552 2013-05-21  Andreas Schwab  <schwab@suse.de>
48554         [BZ #15014]
48555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48556         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48557         successful.
48558         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48559         redundant variable declarations and reallocation of buffer when
48560         parsing as IPv6 address.  Always set NSS status when called from
48561         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48562         buffer too small.  Correct computation of needed size.
48563         * nss/Makefile (tests): Add test-digits-dots.
48564         * nss/test-digits-dots.c: New test.
48566 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48568         * benchtests/Makefile: Remove instructions for adding
48569         benchmark tests.
48570         * benchtests/README: New file to explain how to execute and
48571         enhance the benchmark tests.
48573 2013-05-21  Andreas Schwab  <schwab@suse.de>
48575         [BZ #15493]
48576         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48577         * setjmp/tst-sigsetjmp.c: New test.
48579 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48581         * sysdeps/x86_64/memset.S (memset): New implementation.
48582         (__bzero): Likewise.
48583         (__memset_tail): New function.
48585 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48587         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48588         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48589         __memcpy_sse2_unaligned ifunc selection.
48590         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48591         Add memcpy-sse2-unaligned.S.
48592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48593         Add: __memcpy_sse2_unaligned.
48595 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48597         [BZ #15490]
48598         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48599         math_force_eval before restoring floating-point envrionment.
48600         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48601         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48602         Likewise.
48603         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48604         <math_private.h>.
48605         (__nearbyintl): Use math_force_eval before restoring
48606         floating-point environment.
48607         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48609         * math/gen-libm-test.pl (special_functions): Remove.
48610         (parse_args): Don't handle TEST_extra.  Handle functions with no
48611         return value.
48612         * math/libm-test.inc (struct test_sincos_data): Replace with
48613         struct test_fFF_11_data.
48614         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48615         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48616         (sincos_test_data): Change element type to struct
48617         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48618         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48619         RUN_TEST_LOOP_sincos.
48620         * math/README.libm-test: Don't mention special handling of
48621         individual functions.
48622         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48623         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48624         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48625         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48626         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48629         * math/gen-libm-test.pl (get_variable): Remove function.
48630         (parse_args): Don't show pointer parameters to call in test
48631         names.  Use "extra output N" in test names for extra outputs
48632         rather than naming variables.
48634 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48636         [BZ #15488]
48637         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48638         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48639         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48640         double tests.
48641         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48642         disable.
48643         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48644         check_long_double.
48646         * math/gen-libm-test.pl (@tests): Remove variable.
48647         ($count): Likewise.
48648         (new_test): Remove function.
48649         (show_exceptions): New function.
48650         (special_functions): Use show_exceptions instead of new_test.
48651         (parse_args): Likewise.
48652         (generate_testfile): Pass only function name in generated call to
48653         print_max_error or print_complex_max_error.
48654         (get_ulps): Do not handle complex tests specially.
48655         (output_test): Rename to ...
48656         (get_all_ulps_for_test): ... this.  Return a string rather than
48657         printing to a file.  Require ulps to be present.
48658         (output_ulps): Generate arrays rather than #defines.
48659         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48660         (struct ulp_data): New type.
48661         (BUILD_COMPLEX_ULP): Remove macro.
48662         (compare_ulp_data): New function.
48663         (find_ulps): Likewise.
48664         (find_test_ulps): Likewise.
48665         (find_function_ulps): Likewise.
48666         (find_complex_function_ulps): Likewise.
48667         (print_max_error): Determine allowed ulps using
48668         find_function_ulps.
48669         (print_complex_max_error): Determine allowed ulps using
48670         find_complex_function_ulps.
48671         (check_float_internal): Determine max ulps using find_test_ulps.
48672         (check_float): Do not take max_ulp parameter.  Update call to
48673         check_float_internal.
48674         (check_complex): Likewise.
48675         (check_int): Do not take max_ulp parameter.
48676         (check_long): Likewise.
48677         (check_bool): Likewise.
48678         (check_longlong): Likewise.
48679         (struct test_f_f_data): Remove max_ulp field.
48680         (struct test_ff_f_data): Likewise.
48681         (struct test_ff_f_data_nexttoward): Likewise.
48682         (struct test_fi_f_data): Likewise.
48683         (struct test_fl_f_data): Likewise.
48684         (struct test_if_f_data): Likewise.
48685         (struct test_fff_f_data): Likewise.
48686         (struct test_c_f_data): Likewise.
48687         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48688         (struct test_fF_f1_data): Likewise.
48689         (struct test_ffI_f1_data): Likewise.
48690         (struct test_c_c_data): Remove max_ulp field.
48691         (struct test_cc_c_data): Likewise.
48692         (struct test_f_i_data): Likewise.
48693         (struct test_ff_i_data): Likewise.
48694         (struct test_f_l_data): Likewise.
48695         (struct test_f_L_data): Likewise.
48696         (struct test_sincos_data): Likewise.
48697         (RUN_TEST_f_f): Do not handle ulps.
48698         (RUN_TEST_LOOP_f_f): Likewise.
48699         (RUN_TEST_2_f): Likewise.
48700         (RUN_TEST_LOOP_2_f): Likewise.
48701         (RUN_TEST_fff_f): Likewise.
48702         (RUN_TEST_LOOP_fff_f): Likewise.
48703         (RUN_TEST_c_f): Likewise.
48704         (RUN_TEST_LOOP_c_f): Likewise.
48705         (RUN_TEST_f_f1): Likewise.
48706         (RUN_TEST_LOOP_f_f1): Likewise.
48707         (RUN_TEST_fF_f1): Likewise.
48708         (RUN_TEST_LOOP_fF_f1): Likewise.
48709         (RUN_TEST_fI_f1): Likewise.
48710         (RUN_TEST_LOOP_fI_f1): Likewise.
48711         (RUN_TEST_ffI_f1): Likewise.
48712         (RUN_TEST_LOOP_ffI_f1): Likewise.
48713         (RUN_TEST_c_c): Likewise.
48714         (RUN_TEST_LOOP_c_c): Likewise.
48715         (RUN_TEST_cc_c): Likewise.
48716         (RUN_TEST_LOOP_cc_c): Likewise.
48717         (RUN_TEST_f_i): Likewise.
48718         (RUN_TEST_LOOP_f_i): Likewise.
48719         (RUN_TEST_f_i_tg): Likewise.
48720         (RUN_TEST_LOOP_f_i_tg): Likewise.
48721         (RUN_TEST_ff_i_tg): Likewise.
48722         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48723         (RUN_TEST_f_b): Likewise.
48724         (RUN_TEST_LOOP_f_b): Likewise.
48725         (RUN_TEST_f_b_tg): Likewise.
48726         (RUN_TEST_LOOP_f_b_tg): Likewise.
48727         (RUN_TEST_f_l): Likewise.
48728         (RUN_TEST_LOOP_f_l): Likewise.
48729         (RUN_TEST_f_L): Likewise.
48730         (RUN_TEST_LOOP_f_L): Likewise.
48731         (RUN_TEST_sincos): Likewise.
48732         (RUN_TEST_LOOP_sincos): Likewise.
48734 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48736         [BZ #15480]
48737         [BZ #15485]
48738         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48739         main case of finite arguments, set rounding mode to FE_TONEAREST
48740         and discard exceptions.
48741         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48742         exceptions.
48743         (remainder_tonearest_test_data): New variable.
48744         (remainder_test_tonearest): New function.
48745         (remainder_towardzero_test_data): New variable.
48746         (remainder_test_towardzero): New function.
48747         (remainder_downward_test_data): New variable.
48748         (remainder_test_downward): New function.
48749         (remainder_upward_test_data): New variable.
48750         (remainder_test_upward): New function.
48751         (main): Call the new test functions.
48753         * math/libm-test.inc (struct test_f_f1_data): Remove field
48754         extra_init.
48755         (struct test_fF_f1_data): Likewise.
48756         (struct test_ffI_f1_data): Likewise.
48757         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48758         based on value of EXTRA_EXPECTED.
48759         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48760         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48761         EXTRA_VAR based on value of EXTRA_EXPECTED.
48762         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48763         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48764         EXTRA_VAR based on value of EXTRA_EXPECTED.
48765         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48766         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48767         EXTRA_VAR based on value of EXTRA_EXPECTED.
48768         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48769         * math/gen-libm-test.pl (parse_args): Don't output initializers
48770         for extra output values.
48772         * math/libm-test.inc (check_int): Expect result to be exactly
48773         equal to expected value and do not handle ulps.
48774         (check_long): Likewise.
48775         (check_longlong): Likewise.
48777         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48778         exceptions.
48779         (cimag_test_data): Likewise.
48780         (conj_test_data): Likewise.
48781         (copysign_test_data): Likewise.
48782         (cproj_test_data): Likewise.
48783         (creal_test_data): Likewise.
48784         (fabs_test_data): Likewise.
48785         (fdim_test_data): Likewise.
48786         (finite_test_data): Likewise.
48787         (floor_test_data): Likewise.
48788         (fmax_test_data): Likewise.
48789         (fmin_test_data): Likewise.
48790         (fmod_test_data): Likewise.
48791         (fpclassify_test_data): Likewise.
48792         (frexp_test_data): Likewise.
48793         (ilogb_test_data): Likewise.
48794         (isfinite_test_data): Likewise.
48795         (isgreater_test_data): Likewise.
48796         (isgreaterequal_test_data): Likewise.
48797         (isinf_test_data): Likewise.
48798         (isless_test_data): Likewise.
48799         (islessequal_test_data): Likewise.
48800         (islessgreater_test_data): Likewise.
48801         (isnan_test_data): Likewise.
48802         (isnormal_test_data): Likewise.
48803         (issignaling_test_data): Likewise.
48804         (isunordered_test_data): Likewise.
48805         (ldexp_test_data): Likewise.
48806         (lrint_test_data): Likewise.
48807         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48808         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48809         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48810         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48811         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48812         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48813         test input.
48814         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48815         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48816         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48817         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48818         that test input.
48819         (lrint_downward_test_data): Test for "inexact" exceptions.
48820         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48821         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48822         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48823         test input.
48824         (lrint_upward_test_data): Test for "inexact" exceptions.
48825         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48826         test input.
48827         (llrint_test_data): Test for "inexact" exceptions.
48828         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48829         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48830         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48831         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48832         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48833         (llrint_downward_test_data): Test for "inexact" exceptions.
48834         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48835         (llrint_upward_test_data): Test for "inexact" exceptions.
48836         (logb_test_data): Likewise.
48837         (logb_downward_test_data): Likewise.
48838         (nextafter_test_data): Likewise.
48839         (nexttoward_test_data): Likewise.
48840         (remainder_test_data): Likewise.
48841         (remquo_test_data): Likewise.
48842         (scalbn_test_data): Likewise.
48843         (scalbln_test_data): Likewise.
48844         (signbit_test_data): Likewise.
48845         (sqrt_test_data): Likewise.
48846         (significand_test_data): Likewise.
48848 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48850         [BZ #15424]
48851         * benchtests/bench-modf.c (struct args): Mark arg0 as
48852         volatile.
48853         * scripts/bench.pl: Mark members of struct args as volatile.
48855 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48857         [BZ # 15497]
48858         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48859         negative infinity on POWER6 or lower.
48860         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48862 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48864         [BZ #15442]
48865         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48866         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48867         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48868         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48869         (_FP_SETQNAN): New macro.
48870         (_FP_SETQNAN_SEMIRAW): Likewise.
48871         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48872         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48873         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48874         (FP_EXTEND): Use _FP_FRAC_SNANP.
48875         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48876         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48877         into account.
48878         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48879         New macro.
48880         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48881         Likewise.
48883 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48885         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48886         with DIVIDE_BY_ZERO_EXCEPTION.
48887         (gamma_test_data): Likewise.
48888         (lgamma_test_data): Likewise.
48889         (log_test_data): Likewise.
48890         (log10_test_data): Likewise.
48891         (log2_test_data): Likewise.
48892         (tgamma_test_data): Likewise.
48894         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48895         (acos_test_tonearest): Likewise.
48896         (acos_test_towardzero): Likewise.
48897         (acos_test_downward): Likewise.
48898         (acos_test_upward): Likewise.
48899         (acosh_test): Likewise.
48900         (asin_test): Likewise.
48901         (asin_test_tonearest): Likewise.
48902         (asin_test_towardzero): Likewise.
48903         (asin_test_downward): Likewise.
48904         (asin_test_upward): Likewise.
48905         (asinh_test): Likewise.
48906         (atan_test): Likewise.
48907         (atanh_test): Likewise.
48908         (atan2_test): Likewise.
48909         (cabs_test): Likewise.
48910         (cacos_test): Likewise.
48911         (cacosh_test): Likewise.
48912         (casin_test): Likewise.
48913         (casinh_test): Likewise.
48914         (catan_test): Likewise.
48915         (catanh_test): Likewise.
48916         (cbrt_test): Likewise.
48917         (ccos_test): Likewise.
48918         (ccosh_test): Likewise.
48919         (cexp_test): Likewise.
48920         (clog_test): Likewise.
48921         (clog10_test): Likewise.
48922         (cos_test): Likewise.
48923         (cos_test_tonearest): Likewise.
48924         (cos_test_towardzero): Likewise.
48925         (cos_test_downward): Likewise.
48926         (cos_test_upward): Likewise.
48927         (cosh_test): Likewise.
48928         (cosh_test_tonearest): Likewise.
48929         (cosh_test_towardzero): Likewise.
48930         (cosh_test_downward): Likewise.
48931         (cosh_test_upward): Likewise.
48932         (cpow_test): Likewise.
48933         (csin_test): Likewise.
48934         (csinh_test): Likewise.
48935         (csqrt_test): Likewise.
48936         (ctan_test): Likewise.
48937         (ctan_test_tonearest): Likewise.
48938         (ctan_test_towardzero): Likewise.
48939         (ctan_test_downward): Likewise.
48940         (ctan_test_upward): Likewise.
48941         (ctanh_test): Likewise.
48942         (ctanh_test_tonearest): Likewise.
48943         (ctanh_test_towardzero): Likewise.
48944         (ctanh_test_downward): Likewise.
48945         (ctanh_test_upward): Likewise.
48946         (erf_test): Likewise.
48947         (erfc_test): Likewise.
48948         (exp_test): Likewise.
48949         (exp_test_tonearest): Likewise.
48950         (exp_test_towardzero): Likewise.
48951         (exp_test_downward): Likewise.
48952         (exp_test_upward): Likewise.
48953         (exp10_test): Likewise.
48954         (exp2_test): Likewise.
48955         (expm1_test): Likewise.
48956         (fmod_test): Likewise.
48957         (gamma_test): Likewise.
48958         (hypot_test): Likewise.
48959         (j0_test): Likewise.
48960         (j1_test): Likewise.
48961         (jn_test): Likewise.
48962         (lgamma_test): Likewise.
48963         (log_test): Likewise.
48964         (log10_test): Likewise.
48965         (log1p_test): Likewise.
48966         (log2_test): Likewise.
48967         (logb_test_downward): Likewise.
48968         (pow_test): Likewise.
48969         (pow_test_tonearest): Likewise.
48970         (pow_test_towardzero): Likewise.
48971         (pow_test_downward): Likewise.
48972         (pow_test_upward): Likewise.
48973         (remainder_test): Likewise.
48974         (remquo_test): Likewise.
48975         (sin_test): Likewise.
48976         (sin_test_tonearest): Likewise.
48977         (sin_test_towardzero): Likewise.
48978         (sin_test_downward): Likewise.
48979         (sin_test_upward): Likewise.
48980         (sincos_test): Likewise.
48981         (sinh_test): Likewise.
48982         (sinh_test_tonearest): Likewise.
48983         (sinh_test_towardzero): Likewise.
48984         (sinh_test_downward): Likewise.
48985         (sinh_test_upward): Likewise.
48986         (sqrt_test): Likewise.
48987         (tan_test): Likewise.
48988         (tan_test_tonearest): Likewise.
48989         (tan_test_towardzero): Likewise.
48990         (tan_test_downward): Likewise.
48991         (tan_test_upward): Likewise.
48992         (tanh_test): Likewise.
48993         (tgamma_test): Likewise.
48994         (y0_test): Likewise.
48995         (y1_test): Likewise.
48996         (yn_test): Likewise.
48998         * math/gen-libm-test.pl (adjust_arg): Remove function.
48999         (special_function): Remove argument $in_func.  Only handle
49000         generating output for tables of tests, not inside functions.
49001         (parse_args): Likewise.
49002         (generate_testfile): Remove variable $in_func.  Update call to
49003         parse_args.
49004         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49005         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49006         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49007         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49008         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49009         (MAX_VALUE_INIT): Rename macro to max_value.
49010         (MIN_VALUE_INIT): Rename macro to min_value.
49011         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49012         (plus_zero): Remove variable.
49013         (minus_zero): Likewise.
49014         (plus_infty): Likewise.
49015         (minus_infty): Likewise.
49016         (qnan_value): Likewise.
49017         (max_value): Likewise.
49018         (min_value): Likewise.
49019         (min_subnorm_value): Likewise.
49021 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49023         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49024         uint64_t or uint32_t usage.
49025         * crypt/sha256-block.c: Likewise.
49026         * crypt/sha256-crypt.c: Likewise.
49027         * crypt/sha256.c: Likewise.
49028         * crypt/sha512-block.c: Likewise.
49029         * crypt/sha512-crypt.c: Likewise.
49030         * crypt/sha512.c: Likewise.
49031         * debug/backtrace-tst.c: Likewise.
49032         * debug/pcprofiledump.c: Likewise.
49033         * elf/cache.c: Likewise.
49034         * elf/dl-cache.c: Likewise.
49035         * elf/dl-misc.c: Likewise.
49036         * elf/dl-profile.c: Likewise.
49037         * elf/dl-support.c: Likewise.
49038         * elf/ldconfig.c: Likewise.
49039         * elf/sprof.c: Likewise.
49040         * iconv/dummy-repertoire.c: Likewise.
49041         * iconv/iconv_charmap.c: Likewise.
49042         * iconv/skeleton.c: Likewise.
49043         * iconvdata/8bit-generic.c: Likewise.
49044         * iconvdata/cp737.h: Likewise.
49045         * iconvdata/cp775.h: Likewise.
49046         * iconvdata/ibm1008.h: Likewise.
49047         * iconvdata/ibm1025.h: Likewise.
49048         * iconvdata/ibm1046.h: Likewise.
49049         * iconvdata/ibm1097.h: Likewise.
49050         * iconvdata/ibm1112.h: Likewise.
49051         * iconvdata/ibm1122.h: Likewise.
49052         * iconvdata/ibm1123.h: Likewise.
49053         * iconvdata/ibm1124.h: Likewise.
49054         * iconvdata/ibm1129.h: Likewise.
49055         * iconvdata/ibm1130.h: Likewise.
49056         * iconvdata/ibm1132.h: Likewise.
49057         * iconvdata/ibm1133.h: Likewise.
49058         * iconvdata/ibm1137.h: Likewise.
49059         * iconvdata/ibm1140.h: Likewise.
49060         * iconvdata/ibm1141.h: Likewise.
49061         * iconvdata/ibm1142.h: Likewise.
49062         * iconvdata/ibm1143.h: Likewise.
49063         * iconvdata/ibm1144.h: Likewise.
49064         * iconvdata/ibm1145.h: Likewise.
49065         * iconvdata/ibm1146.h: Likewise.
49066         * iconvdata/ibm1147.h: Likewise.
49067         * iconvdata/ibm1148.h: Likewise.
49068         * iconvdata/ibm1149.h: Likewise.
49069         * iconvdata/ibm1153.h: Likewise.
49070         * iconvdata/ibm1154.h: Likewise.
49071         * iconvdata/ibm1155.h: Likewise.
49072         * iconvdata/ibm1156.h: Likewise.
49073         * iconvdata/ibm1157.h: Likewise.
49074         * iconvdata/ibm1158.h: Likewise.
49075         * iconvdata/ibm1160.h: Likewise.
49076         * iconvdata/ibm1161.h: Likewise.
49077         * iconvdata/ibm1162.h: Likewise.
49078         * iconvdata/ibm1163.h: Likewise.
49079         * iconvdata/ibm1164.h: Likewise.
49080         * iconvdata/ibm1166.h: Likewise.
49081         * iconvdata/ibm1167.h: Likewise.
49082         * iconvdata/ibm12712.h: Likewise.
49083         * iconvdata/ibm1390.h: Likewise.
49084         * iconvdata/ibm1399.h: Likewise.
49085         * iconvdata/ibm16804.h: Likewise.
49086         * iconvdata/ibm4517.h: Likewise.
49087         * iconvdata/ibm4899.h: Likewise.
49088         * iconvdata/ibm4909.h: Likewise.
49089         * iconvdata/ibm4971.h: Likewise.
49090         * iconvdata/ibm5347.h: Likewise.
49091         * iconvdata/ibm803.h: Likewise.
49092         * iconvdata/ibm856.h: Likewise.
49093         * iconvdata/ibm901.h: Likewise.
49094         * iconvdata/ibm902.h: Likewise.
49095         * iconvdata/ibm9030.h: Likewise.
49096         * iconvdata/ibm9066.h: Likewise.
49097         * iconvdata/ibm921.h: Likewise.
49098         * iconvdata/ibm922.h: Likewise.
49099         * iconvdata/ibm9448.h: Likewise.
49100         * iconvdata/isiri-3342.h: Likewise.
49101         * iconvdata/jis0201.h: Likewise.
49102         * include/link.h: Likewise.
49103         * include/netdb.h: Likewise.
49104         * inet/check_native.c: Likewise.
49105         * inet/check_pf.c: Likewise.
49106         * inet/getipv4sourcefilter.c: Likewise.
49107         * inet/getnameinfo.c: Likewise.
49108         * inet/getsourcefilter.c: Likewise.
49109         * inet/htonl.c: Likewise.
49110         * inet/setipv4sourcefilter.c: Likewise.
49111         * inet/setsourcefilter.c: Likewise.
49112         * inet/test-inet6_opt.c: Likewise.
49113         * inet/tst-network.c: Likewise.
49114         * locale/C-collate.c: Likewise.
49115         * locale/C-ctype.c: Likewise.
49116         * locale/C-time.c: Likewise.
49117         * locale/C-translit.h: Likewise.
49118         * locale/loadarchive.c: Likewise.
49119         * locale/programs/3level.h: Likewise.
49120         * locale/programs/charmap.c: Likewise.
49121         * locale/programs/charmap.h: Likewise.
49122         * locale/programs/ld-address.c: Likewise.
49123         * locale/programs/ld-collate.c: Likewise.
49124         * locale/programs/ld-ctype.c: Likewise.
49125         * locale/programs/ld-identification.c: Likewise.
49126         * locale/programs/ld-measurement.c: Likewise.
49127         * locale/programs/ld-messages.c: Likewise.
49128         * locale/programs/ld-monetary.c: Likewise.
49129         * locale/programs/ld-name.c: Likewise.
49130         * locale/programs/ld-numeric.c: Likewise.
49131         * locale/programs/ld-paper.c: Likewise.
49132         * locale/programs/ld-telephone.c: Likewise.
49133         * locale/programs/ld-time.c: Likewise.
49134         * locale/programs/linereader.c: Likewise.
49135         * locale/programs/locale.c: Likewise.
49136         * locale/programs/locarchive.c: Likewise.
49137         * locale/programs/locfile.h: Likewise.
49138         * locale/programs/repertoire.c: Likewise.
49139         * locale/programs/simple-hash.c: Likewise.
49140         * locale/programs/simple-hash.h: Likewise.
49141         * malloc/memusage.c: Likewise.
49142         * malloc/memusagestat.c: Likewise.
49143         * nis/nis_defaults.c: Likewise.
49144         * nis/nis_hash.c: Likewise.
49145         * nis/nis_print.c: Likewise.
49146         * nis/nis_xdr.c: Likewise.
49147         * nscd/connections.c: Likewise.
49148         * nscd/hstcache.c: Likewise.
49149         * nscd/nscd_gethst_r.c: Likewise.
49150         * nscd/nscd_getserv_r.c: Likewise.
49151         * nscd/nscd_helper.c: Likewise.
49152         * nscd/servicescache.c: Likewise.
49153         * nss/makedb.c: Likewise.
49154         * nss/nss_db/db-XXX.c: Likewise.
49155         * nss/nss_db/db-initgroups.c: Likewise.
49156         * nss/nss_db/db-netgrp.c: Likewise.
49157         * nss/nss_files/files-network.c: Likewise.
49158         * nss/nss_files/files-parse.c: Likewise.
49159         * posix/bug-regex5.c: Likewise.
49160         * posix/fnmatch_loop.c: Likewise.
49161         * posix/regcomp.c: Likewise.
49162         * posix/regexec.c: Likewise.
49163         * posix/tst-rfc3484-2.c: Likewise.
49164         * posix/tst-rfc3484-3.c: Likewise.
49165         * posix/tst-rfc3484.c: Likewise.
49166         * resolv/nss_dns/dns-canon.c: Likewise.
49167         * resolv/nss_dns/dns-network.c: Likewise.
49168         * resolv/res_init.c: Likewise.
49169         * resolv/res_mkquery.c: Likewise.
49170         * resolv/tst-aton.c: Likewise.
49171         * stdlib/cxa_atexit.c: Likewise.
49172         * stdlib/cxa_finalize.c: Likewise.
49173         * stdlib/gen-fpioconst.c: Likewise.
49174         * stdlib/strtol_l.c: Likewise.
49175         * string/tst-endian.c: Likewise.
49176         * sunrpc/auth_des.c: Likewise.
49177         * sunrpc/clnt_udp.c: Likewise.
49178         * sunrpc/rtime.c: Likewise.
49179         * sunrpc/svcauth_des.c: Likewise.
49180         * sunrpc/xdr.c: Likewise.
49181         * sunrpc/xdr_intXX_t.c: Likewise.
49182         * sunrpc/xdr_rec.c: Likewise.
49183         * sysdeps/generic/ldconfig.h: Likewise.
49184         * sysdeps/generic/ldsodefs.h: Likewise.
49185         * sysdeps/generic/memusage.h: Likewise.
49186         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49188         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49189         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49190         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49192         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49193         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49194         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49196         * sysdeps/posix/getaddrinfo.c: Likewise.
49197         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49198         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49199         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49200         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49201         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49202         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49203         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49204         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49205         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49206         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49207         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49208         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49209         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49210         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49211         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49212         * sysdeps/x86_64/dl-tls.h: Likewise.
49213         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49214         * time/alt_digit.c: Likewise.
49215         * time/era.c: Likewise.
49216         * wcsmbs/tst-c16c32-1.c: Likewise.
49218 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49220         * math/libm-test.inc (struct test_sincos_data): New type.
49221         (RUN_TEST_LOOP_sincos): New macro.
49222         (sincos_test_data): New variable.
49223         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49225 2013-05-16  Richard Henderson  <rth@redhat.com>
49227         * math/atest-exp2.c (LIMB64): New macro.
49228         (CONSTSZ): New macro.
49229         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49230         (hexdig): Move ...
49231         (print_mpn_fp): ... to function scope.
49232         (read_mpn_hex): Remove.
49233         (get_log2): Remove.
49234         (exp2_mpn): Use mp_log2.
49235         (main): Use mp_exp1.
49237 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49239         * math/libm-test.inc: Remove comment about not testing "inexact"
49240         exceptions.
49241         (INEXACT_EXCEPTION): New macro.
49242         (NO_INEXACT_EXCEPTION): Likewise.
49243         (INVALID_EXCEPTION_OK): Update value.
49244         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49245         (OVERFLOW_EXCEPTION_OK): Likewise.
49246         (UNDERFLOW_EXCEPTION_OK): Likewise.
49247         (IGNORE_ZERO_INF_SIGN): Likewise.
49248         (ERRNO_UNCHANGED): Likewise.
49249         (ERRNO_EDOM): Likewise.
49250         (ERRNO_ERANGE): Likewise.
49251         (test_exceptions): Handle testing "inexact" exceptions.
49252         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49253         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49254         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49255         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49256         INEXACT_EXCEPTION.
49257         (rint_towardzero_test_data): Likewise.
49258         (rint_downward_test_data): Likewise.
49259         (rint_upward_test_data): Likewise.
49261         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49262         with OVERFLOW_EXCEPTION.
49263         (exp10_test_data): Likewise.
49264         (exp2_test_data): Likewise.
49265         (expm1_test_data): Likewise.
49266         (lgamma_test_data): Likewise.
49267         (pow_test_data): Likewise.
49268         (tgamma_test_data): Likewise.
49269         (yn_test_data): Remove duplicate test of overflow.
49271         * math/libm-test.inc (struct test_cc_c_data): New type.
49272         (RUN_TEST_LOOP_cc_c): New macro.
49273         (cpow_test_data): New variable.
49274         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49276         * math/libm-test.inc (struct test_f_L_data): New type.
49277         (RUN_TEST_LOOP_f_L): New macro.
49278         (llrint_test_data): New variable.
49279         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49280         (llrint_tonearest_test_data): New variable.
49281         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49282         (llrint_towardzero_test_data): New variable.
49283         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49284         (llrint_downward_test_data): New variable.
49285         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49286         (llrint_upward_test_data): New variable.
49287         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49288         (llround_test_data): New variable.
49289         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49291 2013-05-13  Peter Collingbourne  <pcc@google.com>
49293         * math/atest-exp2.c (get_log2): Remove const attribute.
49295 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49297         * math/libm-test.inc (struct test_f_l_data): New type.
49298         (RUN_TEST_LOOP_f_l): New macro.
49299         (lrint_test_data): New variable.
49300         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49301         (lrint_tonearest_test_data): New variable.
49302         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49303         (lrint_towardzero_test_data): New variable.
49304         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49305         (lrint_downward_test_data): New variable.
49306         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49307         (lrint_upward_test_data): New variable.
49308         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49309         (lround_test_data): New variable.
49310         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49312 2013-05-15  Peter Collingbourne  <pcc@google.com>
49314         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49315         (EXTRACT_WORDS64) Use where appropriate.
49316         (INSERT_WORDS64) Likewise.
49318         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49319         constraints with x constraints.
49320         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49322         * malloc/obstack.c (_obstack_compat): Add initializer.
49324 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49326         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49327         si_trapno and add si_addr_lsb to _sifields.sigfault.
49328         (si_trapno): Remove macro.
49329         (si_addr_lsb): Define new macro.
49330         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49332 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49334         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49335         instead of TEST_f_l.
49336         (llrint_test_tonearest): Likewise.
49337         (llrint_test_towardzero): Likewise.
49338         (llrint_test_downward): Likewise.
49339         (llrint_test_upward): Likewise.
49340         (llround_test): Likewise.
49342         * math/libm-test.inc (struct test_f_i_data): Add comment.
49343         (RUN_TEST_LOOP_f_b): New macro.
49344         (RUN_TEST_LOOP_f_b_tg): Likewise.
49345         (finite_test_data): New variable.
49346         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49347         (isfinite_test_data): New variable.
49348         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49349         (isinf_test_data): New variable.
49350         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49351         (isnan_test_data): New variable.
49352         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49353         (isnormal_test_data): New variable.
49354         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49355         (issignaling_test_data): New variable.
49356         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49357         (signbit_test_data): New variable.
49358         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49360         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49361         with INVALID_EXCEPTION.
49362         (acosh_test_data): Likewise.
49363         (asin_test_data): Likewise.
49364         (atanh_test_data): Likewise.
49365         (fmod_test_data): Likewise.
49366         (log_test_data): Likewise.
49367         (log10_test_data): Likewise.
49368         (log2_test_data): Likewise.
49369         (pow_test_data): Likewise.
49370         (sqrt_test_data): Likewise.
49371         (y0_test_data): Likewise.
49372         (y1_test_data): Likewise.
49373         (yn_test_data): Likewise.
49375         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49376         function contents.
49378         * math/libm-test.inc (struct test_ff_i_data): New type.
49379         (RUN_TEST_LOOP_ff_i_tg): New macro.
49380         (isgreater_test_data): New variable.
49381         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49382         (isgreaterequal_test_data): New variable.
49383         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49384         (isless_test_data): New variable.
49385         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49386         (islessequal_test_data): New variable.
49387         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49388         (islessgreater_test_data): New variable.
49389         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49390         (isunordered_test_data): New variable.
49391         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49393 2013-05-14  David S. Miller  <davem@davemloft.net>
49395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49397 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49399         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49401         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49402         extra_test to int.
49403         (struct test_f_i_data): Change type of max_ulp to int.
49405         * math/libm-test.inc (test_ffI_f1_data): New type.
49406         (RUN_TEST_LOOP_ffI_f1): New macro.
49407         (remquo_test_data): New variable.
49408         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49410         * setjmp/tst-setjmp-fp.c: New file.
49411         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49412         (link-libm): New variable.
49413         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49415         * math/libm-test.inc (struct test_f_i_data): New type.
49416         (RUN_TEST_LOOP_f_i): New macro.
49417         (RUN_TEST_LOOP_f_i_tg): Likewise.
49418         (fpclassify_test_data): New variable.
49419         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49420         (ilogb_test_data): New variable.
49421         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49423         * math/libm-test.inc (scalbln_test): Correct function name in END
49424         call.
49426         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49427         (RUN_TEST_LOOP_fI_f1): New macro.
49428         (frexp_test_data): New variable.
49429         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49431         * math/libm-test.inc (struct test_fF_f1_data): New type.
49432         (RUN_TEST_LOOP_fF_f1): New macro.
49433         (modf_test_data): New variable.
49434         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49436         * math/libm-test.inc (struct test_f_f1_data): New type.
49437         (RUN_TEST_LOOP_f_f1): New macro.
49438         (gamma_test_data): New variable.
49439         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49440         (lgamma_test_data): New variable.
49441         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49443 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49445         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49446         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49447         (main): Comment "tls" pseudo-hwcap.
49449 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49451         * math/libm-test.inc (struct test_fl_f_data): New type.
49452         (RUN_TEST_LOOP_fl_f): New variable.
49453         (scalbln_test_data): New variable.
49454         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49456         * math/libm-test.inc (struct test_fi_f_data): New type.
49457         (RUN_TEST_LOOP_fi_f): New macro.
49458         (ldexp_test_data): New variable.
49459         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49460         (scalbn_test_data): New variable.
49461         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49463         * math/libm-test.inc (struct test_c_f_data): New type.
49464         (RUN_TEST_LOOP_c_f): New macro.
49465         (cabs_test_data): New variable.
49466         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49467         (carg_test_data): New variable.
49468         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49469         (cimag_test_data): New variable.
49470         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49471         (creal_test_data): New variable.
49472         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49474         * math/libm-test.inc (struct test_if_f_data): New type.
49475         (RUN_TEST_LOOP_if_f): New macro.
49476         (jn_test_data): New variable.
49477         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49478         (yn_test_data): New variable.
49479         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49481         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49483 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49485         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49486         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49488 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49490         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49491         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49492         (bench-deps): Add bench-timing.h.
49493         * benchtests-bench-skeleton.c: Include bench-timing.h.
49494         (main): Use TIMING_* macros instead of clock_gettime.
49495         * benchtests/bench-timing.h: New file.
49497         [BZ #14582]
49498         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49499         Renamed from _LIB_VERSION.
49500         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49502 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49504         * math/libm-test.inc (struct test_fff_f_data): New type.
49505         (RUN_TEST_LOOP_fff_f): New macro.
49506         (fma_test_data): New variable.
49507         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49508         (fma_towardzero_test_data): New variable.
49509         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49510         (fma_downward_test_data): New variable.
49511         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49512         (fma_upward_test_data): New variable.
49513         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49515         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49516         (struct test_c_c_data): New type.
49517         (RUN_TEST_LOOP_c_c): New macro.
49518         (cacos_test_data): New variable.
49519         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49520         (cacosh_test_data): New variable.
49521         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49522         (casin_test_data): New variable.
49523         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49524         (casinh_test_data): New variable.
49525         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49526         (catan_test_data): New variable.
49527         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49528         (catanh_test_data): New variable.
49529         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49530         (ccos_test_data): New variable.
49531         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49532         (ccosh_test_data): New variable.
49533         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49534         (cexp_test_data): New variable.
49535         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49536         (clog_test_data): New variable.
49537         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49538         (clog10_test_data): New variable.
49539         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49540         (conj_test_data): New variable.
49541         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49542         (cproj_test_data): New variable.
49543         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49544         (csin_test_data): New variable.
49545         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49546         (csinh_test_data): New variable.
49547         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49548         (csqrt_test_data): New variable.
49549         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49550         (ctan_test_data): New variable.
49551         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49552         (ctan_tonearest_test_data): New variable.
49553         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49554         (ctan_towardzero_test_data): New variable.
49555         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49556         (ctan_downward_test_data): New variable.
49557         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49558         (ctan_upward_test_data): New variable.
49559         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49560         (ctanh_test_data): New variable.
49561         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49562         (ctanh_tonearest_test_data): New variable.
49563         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49564         (ctanh_towardzero_test_data): New variable.
49565         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49566         (ctanh_downward_test_data): New variable.
49567         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49568         (ctanh_upward_test_data): New variable.
49569         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49570         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49571         of BUILD_COMPLEX.
49573         * math/libm-test.inc (struct test_ff_f_data): New type.
49574         (struct test_ff_f_data_nexttoward): Likewise.
49575         (RUN_TEST_LOOP_2_f): New macro.
49576         (RUN_TEST_LOOP_ff_f): Likewise.
49577         (atan2_test_data): New variable.
49578         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49579         (copysign_test_data): New variable.
49580         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49581         (fdim_test_data): New variable.
49582         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49583         (fmax_test_data): New variable.
49584         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49585         (fmin_test_data): New variable.
49586         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49587         (fmod_test_data): New variable.
49588         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49589         (hypot_test_data): New variable.
49590         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49591         (nextafter_test_data): New variable.
49592         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49593         (nexttoward_test_data): New variable.
49594         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49595         (pow_test_data): New variable.
49596         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49597         (pow_tonearest_test_data): New variable.
49598         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49599         (pow_towardzero_test_data): New variable.
49600         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49601         (pow_downward_test_data): New variable.
49602         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49603         (pow_upward_test_data): New variable.
49604         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49605         (remainder_test_data): New variable.
49606         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49607         (scalb_test_data): New variable.
49608         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49609         * sysdeps/i386/fpu/libm-test-ulps: Update.
49611 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49613         * math/libm-test.inc (fma_test): Use max_value instead of local
49614         variable fltmax.
49615         (nextafter_test): Likewise.
49617         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49618         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49619         (acos_downward_test_data): New variable.
49620         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49621         (acos_upward_test_data): New variable.
49622         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49623         (acosh_test_data): New variable.
49624         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49625         (asin_test_data): New variable.
49626         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49627         (asin_tonearest_test_data): New variable.
49628         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49629         (asin_towardzero_test_data): New variable.
49630         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49631         (asin_downward_test_data): New variable.
49632         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49633         (asin_upward_test_data): New variable.
49634         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49635         (asinh_test_data): New variable.
49636         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49637         (atan_test_data): New variable.
49638         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49639         (atanh_test_data): New variable.
49640         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49641         (cbrt_test_data): New variable.
49642         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49643         (ceil_test_data): New variable.
49644         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49645         (cos_test_data): New variable.
49646         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49647         (cos_tonearest_test_data): New variable.
49648         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49649         (cos_towardzero_test_data): New variable.
49650         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49651         (cos_downward_test_data): New variable.
49652         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49653         (cos_upward_test_data): New variable.
49654         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49655         (cosh_test_data): New variable.
49656         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49657         (cosh_tonearest_test_data): New variable.
49658         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49659         (cosh_towardzero_test_data): New variable.
49660         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49661         (cosh_downward_test_data): New variable.
49662         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49663         (cosh_upward_test_data): New variable.
49664         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49665         (erf_test_data): New variable.
49666         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49667         (erfc_test_data): New variable.
49668         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49669         (exp_test_data): New variable.
49670         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49671         (exp_tonearest_test_data): New variable.
49672         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49673         (exp_towardzero_test_data): New variable.
49674         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49675         (exp_downward_test_data): New variable.
49676         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49677         (exp_upward_test_data): New variable.
49678         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49679         (exp10_test_data): New variable.
49680         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49681         (exp2_test_data): New variable.
49682         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49683         (expm1_test_data): New variable.
49684         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49685         (fabs_test_data): New variable.
49686         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49687         (floor_test_data): New variable.
49688         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49689         (j0_test_data): New variable.
49690         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49691         (j1_test_data): New variable.
49692         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49693         (log_test_data): New variable.
49694         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49695         (log10_test_data): New variable.
49696         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49697         (log1p_test_data): New variable.
49698         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49699         (log2_test_data): New variable.
49700         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49701         (logb_test_data): New variable.
49702         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49703         (logb_downward_test_data): New variable.
49704         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49705         (nearbyint_test_data): New variable.
49706         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49707         (rint_test_data): New variable.
49708         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49709         (rint_tonearest_test_data): New variable.
49710         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49711         (rint_towardzero_test_data): New variable.
49712         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49713         (rint_downward_test_data): New variable.
49714         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49715         (rint_upward_test_data): New variable.
49716         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49717         (round_test_data): New variable.
49718         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49719         (sin_test_data): New variable.
49720         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49721         (sin_tonearest_test_data): New variable.
49722         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49723         (sin_towardzero_test_data): New variable.
49724         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49725         (sin_downward_test_data): New variable.
49726         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49727         (sin_upward_test_data): New variable.
49728         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49729         (sinh_test_data): New variable.
49730         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49731         (sinh_tonearest_test_data): New variable.
49732         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49733         (sinh_towardzero_test_data): New variable.
49734         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49735         (sinh_downward_test_data): New variable.
49736         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49737         (sinh_upward_test_data): New variable.
49738         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49739         (sqrt_test_data): New variable.
49740         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49741         (tan_test_data): New variable.
49742         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49743         (tan_tonearest_test_data): New variable.
49744         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49745         (tan_towardzero_test_data): New variable.
49746         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49747         (tan_downward_test_data): New variable.
49748         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49749         (tan_upward_test_data): New variable.
49750         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49751         (tanh_test_data): New variable.
49752         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49753         (tgamma_test_data): New variable.
49754         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49755         (trunc_test_data): New variable.
49756         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49757         (y0_test_data): New variable.
49758         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49759         (y1_test_data): New variable.
49760         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49761         (significand_test_data): New variable.
49762         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49764 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49766         [BZ #12387]
49767         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49769 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49771         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49773 2013-05-10  Andreas Jaeger  <aj@suse.de>
49775         [BZ #15448]
49776         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49777         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49779 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49781         * math/gen-libm-test.pl (adjust_arg): New function.
49782         (special_functions): Handle generating output in both functions
49783         and arrays.
49784         (parse_args): Likewise.
49785         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49786         $in_func argument to parse_args.
49787         * math/libm-test.inc (struct test_f_f_data): New type.
49788         (IF_ROUND_INIT_): New macro.
49789         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49790         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49791         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49792         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49793         (ROUND_RESTORE_): Likewise.
49794         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49795         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49796         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49797         (ROUND_RESTORE_FE_UPWARD): Likewise.
49798         (RUN_TEST_LOOP_f_f): New macro.
49799         (acos_test_data): New variable.
49800         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49801         (acos_tonearest_test_data): New variable.
49802         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49804 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49806         * benchtests/bench-skeleton.c (startup): Fix coding style.
49808 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49810         [BZ #6809]
49811         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49812         negative infinity argument.
49813         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49814         negative infinity argument.
49815         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49816         negative infinity argument.
49817         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49818         domain errors.
49820 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49822         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49823         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49824         * iconv/iconv_prog.c (main): Likewise.
49825         * locale/programs/charmap-dir.c (charmap_readdir)
49826         (fopen_uncompressed): Likewise.
49827         * locale/programs/locfile.c (siblings_uncached)
49828         (write_locale_data): Use lstat64 instead of lstat.
49829         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49830         stat.
49832 2013-05-10  Andreas Jaeger  <aj@suse.de>
49834         [BZ #15395]
49835         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49836         localization.
49837         Include <locale.h>.
49839 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49841         * elf/dl-close.c (_dl_close_worker): Add comments.
49843 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49845         [BZ #15359]
49846         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49847         high part of pi/2.
49848         (__ieee754_rem_pio2l): Update comments.
49850         [BZ #15429]
49851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49852         high part of pi/2.
49853         (__ieee754_rem_pio2l): Update comments.
49855         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49856         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49858         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49859         M_PI_4l.
49861         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49862         (M_PI_34_LOG10El): Likewise.
49863         (M_PI2_LOG10El): Likewise.
49864         (M_PI4_LOG10El): Likewise.
49865         (M_PI_LOG10El): Likewise.
49867 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49871 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49873         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49874         (MINUS_ZERO_INIT): Likewise.
49875         (PLUS_INFTY_INIT): Likewise.
49876         (MINUS_INFTY_INIT): Likewise.
49877         (QNAN_VALUE_INIT): Likewise.
49878         (MAX_VALUE_INIT): Likewise.
49879         (MIN_VALUE_INIT): Likewise.
49880         (MIN_SUBNORM_VALUE_INIT): Likewise.
49881         (plus_zero): Initialize with PLUS_ZERO_INIT.
49882         (minus_zero): Initialize with MINUS_ZERO_INIT.
49883         (plus_infty): Initialize with PLUS_INFTY_INIT.
49884         (minus_infty): Initialize with MINUS_INFTY_INIT.
49885         (qnan_value): Initialize with QNAN_VALUE_INIT.
49886         (max_value): Initialize with MAX_VALUE_INIT.
49887         (min_value): Initialize with MIN_VALUE_INIT.
49888         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49890         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49891         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49892         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49893         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49895         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49896         (RUN_TEST_2_f): Likewise.
49897         (RUN_TEST_ff_f): Likewise.
49898         (RUN_TEST_fi_f): Likewise.
49899         (RUN_TEST_fl_f): Likewise.
49900         (RUN_TEST_fff_f): Likewise.
49901         (RUN_TEST_c_f): Likewise.
49902         (RUN_TEST_f_f1): Likewise.
49903         (RUN_TEST_fF_f1): Likewise.
49904         (RUN_TEST_fI_f1): Likewise.
49905         (RUN_TEST_ffI_f1): Likewise.
49906         (RUN_TEST_c_c): Likewise.
49907         (RUN_TEST_cc_c): Likewise.
49908         (RUN_TEST_f_i): Likewise.
49909         (RUN_TEST_f_i_tg): Likewise.
49910         (RUN_TEST_ff_i_tg): Likewise.
49911         (RUN_TEST_f_b): Likewise.
49912         (RUN_TEST_f_b_tg): Likewise.
49913         (RUN_TEST_f_l): Likewise.
49914         (RUN_TEST_f_L): Likewise.
49915         (RUN_TEST_sincos): Likewise.
49916         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49917         whether to show exceptions.  Do not include ");\n" in return
49918         value.
49919         (special_functions): Output call to RUN_TEST_sincos instead of
49920         check_float calls.  Update calls to new_test.
49921         (parse_args): Output call to single RUN_TEST_* macro instead of
49922         check_* calls and other assignments.  Update calls to new_test.
49924         [BZ #2546]
49925         [BZ #2560]
49926         [BZ #5159]
49927         [BZ #15426]
49928         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49929         input to result for tgamma overflow.
49930         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49931         (gamma_coeff): New variable.
49932         (NCOEFF): New macro.
49933         (gamma_positive): New function.
49934         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49935         underflow here.  Use gamma_positive instead of exp (lgamma) for
49936         other arguments.
49937         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49938         (gamma_coeff): New variable.
49939         (NCOEFF): New macro.
49940         (gammaf_positive): New function.
49941         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49942         underflow here.  Use gamma_positive instead of exp (lgamma) for
49943         other arguments.
49944         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49945         (gamma_coeff): New variable.
49946         (NCOEFF): New macro.
49947         (gammal_positive): New function.
49948         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49949         underflow here.  Use gamma_positive instead of exp (lgamma) for
49950         other arguments.
49951         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49952         (gamma_coeff): New variable.
49953         (NCOEFF): New macro.
49954         (gammal_positive): New function.
49955         (__ieee754_gammal_r): Handle positive infinity, overflow and
49956         underflow here.  Handle NaN the same as positive infinity.  Remove
49957         check x < 0xffffffff for negative integers.  Use gamma_positive
49958         instead of exp (lgamma) for other arguments.
49959         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49960         (gamma_coeff): New variable.
49961         (NCOEFF): New macro.
49962         (gammal_positive): New function.
49963         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49964         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49965         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49966         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49967         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49968         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49969         * sysdeps/generic/math_private.h (__gamma_productf): New
49970         prototype.
49971         (__gamma_product): Likewise.
49972         (__gamma_productl): Likewise.
49973         * math/Makefile (libm-calls): Add gamma_product.
49974         * math/libm-test.inc (tgamma_test): Add more tests.
49975         * sysdeps/i386/fpu/libm-test-ulps: Update.
49976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49978 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49980         * benchtests/bench-skeleton.c (main): Preheat CPU.
49982 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49984         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49986 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49988         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49989         and _dl_skip_args_internal.
49991 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49993         * manual/message.texi (Message Translation): Talk about users.
49994         Message to key mapping impacts design.
49996 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49998         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50000         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50002         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50003         * sysdeps/wordsize-64/glob64.c: ... here.
50005         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50006         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50007         New macros.
50009         * debug/getlogin_r_chk.c: Moved to ...
50010         * login/getlogin_r_chk.c: ... here.
50011         * debug/Makefile (routines): Move getlogin_r_chk to ...
50012         * login/Makefile (routines): ... here.
50013         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50014         * login/Versions (libc: GLIBC_2.4): ... here.
50016         * io/poll.c (__poll): Renamed from poll.
50017         Add libc_hidden_def.
50018         (poll): Define as weak alias.
50020         * debug/ptsname_r_chk.c: Moved to ...
50021         * login/ptsname_r_chk.c: ... here.
50022         * debug/Makefile (routines): Move ptsname_r_chk to ...
50023         * login/Makefile (routines): ... here.
50024         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50025         * login/Versions (libc: GLIBC_2.4): ... here.
50027         * posix/getlogin.c: Moved to ...
50028         * login/getlogin.c: ... here.
50029         * posix/getlogin_r.c: Moved to ...
50030         * login/getlogin_r.c: ... here.
50031         * posix/getlogin_r.c: Moved to ...
50032         * login/getlogin_r.c: ... here.
50033         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50034         * login/Makefile (routines): ... here.
50035         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50036         * login/Versions (libc: GLIBC_2.0): ... here.
50038         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50039         (setrlimit): Define as weak alias.
50041         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50042         Call __ names for open, ftruncate, and close.
50043         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50044         (truncate): Define as weak alias.
50046 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50048         * math/gen-libm-test.pl (parse_args): Initialize x before each
50049         test of frexp, modf and remquo.
50051         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50052         test signgam value.
50054 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50056         [BZ #15418]
50057         [BZ #15419]
50058         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50059         internal tests.
50060         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50062 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50064         * elf/dl-writev.h: New file.
50065         * elf/dl-misc.c: Include it.
50066         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50067         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50069 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50071         * math/libm-test.inc (noXFails): Remove variable.
50072         (noXPasses): Likewise.
50073         (BUILD_COMPLEX_INT): Remove macro.
50074         (print_screen): Remove xfail argument.
50075         (print_screen_max_error): Likewise.
50076         (update_stats): Likewise.
50077         (print_max_error): Likewise.  Update calls to other affected
50078         functions.
50079         (print_complex_max_error): Likewise.
50080         (test_single_exception): Update calls to print_screen.
50081         (test_single_errno): Likewise.
50082         (check_float_internal): Remove xfail argument.  Update calls to
50083         other affected functions.
50084         (check_float): Likewise.
50085         (check_complex): Likewise.
50086         (check_int): Likewise.
50087         (check_long): Likewise.
50088         (check_bool): Likewise.
50089         (check_longlong): Likewise.
50090         (main): Don't print noXFails and noXPasses.
50091         * math/gen-libm-test.pl (top level): Don't mention expected
50092         failure handling in comment.
50093         (new_test): Don't handle expected failures.
50094         (parse_args): Don't mention expected failure handling in comment.
50095         (generate_testfile): Don't handle expected failures.
50096         (parse_ulps): Likewise.
50097         (print_ulps_file): Likewise.
50098         (get_failure): Remove function.
50099         (output_test): Don't handle expected failures.
50100         * make/README.libm-test: Don't mention expected failure handling.
50102         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50103         (minus_zero): Likewise.
50104         (plus_infty): Likewise.
50105         (minus_infty): Likewise.
50106         (qnan_value): Likewise.
50107         (max_value): Likewise.
50108         (min_value): Likewise.
50109         (min_subnorm_value): Likewise.
50110         (initialize): Do not initialize those variables dynamically.
50112 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50114         * io/open.c (__open_2): Moved to ...
50115         * io/open_2.c: ... this new file.
50116         * io/open64.c (__open64_2): Moved to ...
50117         * io/open64_2.c: ... this new file.
50118         * io/openat.c (__openat_2): Moved to ...
50119         * io/openat_2.c: ... this new file.
50120         * io/openat64.c (__openat64_2): Moved to ...
50121         * io/openat64_2.c: ... this new file.
50122         * io/Makefile (routines): Add them.
50123         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50124         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50125         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50126         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50127         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50128         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50129         (__openat64): Add hidden_ver.
50130         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50131         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50133         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50134         Separately conditionalize setting of GLRO(dl_sysinfo) so
50135         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50136         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50138 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50140         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50142         definition.
50143         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50144         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50145         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50146         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50147         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50149 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50151         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50152         test signgam value.
50154         * math/libm-test.inc (hypot_test): Do not use
50155         IGNORE_ZERO_INF_SIGN.
50157 2013-05-03  Andreas Jaeger  <aj@suse.de>
50159         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50160         Linux 3.9.
50161         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50162         (PF_MAX): Adjust for VSOCK change.
50164 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50168 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50170         [BZ #15264]
50171         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50172         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50173         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50175 2013-05-02  David S. Miller  <davem@davemloft.net>
50177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50179 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50181         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50183 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50185         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50187 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50189         [BZ #14952]
50190         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50191         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50192         Use __attribute__ ((__gnu_inline__)).
50193         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50194         Don't use __attribute__ ((__gnu_inline__)).
50196 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50198         [BZ #15423]
50199         * math/s_catan.c (__catan): Handle small real or imaginary part of
50200         input specially to avoid spurious underflow.
50201         * math/s_catanf.c (__catanf): Likewise.
50202         * math/s_catanh.c (__catanh): Likewise.
50203         * math/s_catanhf.c (__catanhf): Likewise.
50204         * math/s_catanhl.c (__catanhl): Likewise.
50205         * math/s_catanl.c (__catanl): Likewise.
50206         * math/libm-test.inc (catan_test): Add more tests.
50207         (catanh_test): Likewise.
50208         * sysdeps/i386/fpu/libm-test-ulps: Update.
50209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50211 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50215 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50217         [BZ #15416]
50218         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50219         accurately for denominator in atan2.
50220         * math/s_catanf.c (__catanf): Likewise.
50221         * math/s_catanh.c (__catanh): Likewise.
50222         * math/s_catanhf.c (__catanhf): Likewise.
50223         * math/s_catanhl.c (__catanhl): Likewise.
50224         * math/s_catanl.c (__catanl): Likewise.
50225         * math/libm-test.inc (catan_test): Add more tests.
50226         (catanh_test): Likewise.
50227         * sysdeps/i386/fpu/libm-test-ulps: Update.
50228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50230 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50232         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50234         * benchtests/Makefile (bench): Remove slow benchmarks.
50235         * benchtests/atan-inputs: Add slow benchmark inputs.
50236         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50237         (BENCH_FUNC): Accept variant offset.
50238         (VARIANT): Define.
50239         * benchtests/bench-skeleton.c (main): Run benchmark for each
50240         variant.
50241         * benchtests/cos-inputs: Add slow benchmark inputs.
50242         * benchtests/exp-inputs: Likewise.
50243         * benchtests/pow-inputs: Likewise.
50244         * benchtests/sin-inputs: Likewise.
50245         * benchtests/slowatan-inputs: Remove.
50246         * benchtests/slowatan.c: Remove.
50247         * benchtests/slowcos-inputs: Remove.
50248         * benchtests/slowcos.c: Remove.
50249         * benchtests/slowexp-inputs: Remove.
50250         * benchtests/slowexp.c: Remove.
50251         * benchtests/slowpow-inputs: Remove.
50252         * benchtests/slowpow.c: Remove.
50253         * benchtests/slowsin-inputs: Remove.
50254         * benchtests/slowsin.c: Remove.
50255         * benchtests/slowtan-inputs: Remove.
50256         * benchtests/slowtan.c: Remove.
50257         * benchtests/tan-inputs: Add slow benchmark inputs.
50258         * scripts/bench.pl: Parse comments and directives.
50260         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50261         in CPPFLAGS.
50262         ($(objpfx)bench-%.c): Remove *-ITER.
50263         * benchtests/bench-modf.c: Remove definition of ITER.
50264         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50265         (main): Loop for DURATION seconds instead of fixed number of
50266         iterations.
50267         * scripts/bench.pl: Don't expect iterations in parameters.
50269 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50271         * io/fchdir.c (__fchdir): Renamed from fchdir.
50272         (fchdir): Define as weak alias.
50274 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50276         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50277         (ERRNO_EDOM): Likewise.
50278         (ERRNO_ERANGE): Likewise.
50279         (noErrnoTests): New variable.
50280         (init_max_error): Set errno to 0.
50281         (test_single_errno): New function.
50282         (test_errno): Likewise.
50283         (check_float_internal): Call test_errno.  Set errno to 0.
50284         (check_complex): Refer to errno tests in comment.
50285         (check_int): Call test_errno.  Set errno to 0.
50286         (check_long): Likewise.
50287         (check_bool): Likewise.
50288         (check_longlong): Likewise.
50289         (cos_test): Use ERRNO_* flags for errno tests instead of
50290         check_int.
50291         (expm1_test): Likewise.
50292         (fmod_test): Likewise.
50293         (ilogb_test): Likewise.
50294         (lgamma_test): Likewise.
50295         (pow_test): Likewise.
50296         (remainder_test): Likewise.
50297         (sin_test): Likewise.
50298         (tan_test): Likewise.
50299         (yn_test): Likewise.
50300         (initialize): Set errno to 0.
50301         (main): Print number of errno tests.
50302         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50304 2013-04-29  Andreas Jaeger  <aj@suse.de>
50306         [BZ #15084]
50307         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50308         and RES_USEVC.
50310         [BZ #15085]
50311         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50312         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50313         unimplemented.
50315         [BZ #15380]
50316         * stdlib/random.c (__initstate): Return NULL if
50317         __initstate fails.
50319         [BZ #15086]
50320         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50321         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50322         RES_SNGLKUPREOP.
50324 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50328 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50330         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50331         of individual tests.
50332         (casin_test): Likewise.
50333         (casinh_test): Likewise.
50335 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50337         [BZ #15409]
50338         * math/s_catan.c (__catan): Handle arguments with large real or
50339         imaginary part separately without squaring.
50340         * math/s_catanf.c (__catanf): Likewise.
50341         * math/s_catanh.c (__catanh): Likewise.
50342         * math/s_catanhf.c (__catanhf): Likewise.
50343         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50344         and redefine.
50345         (__catanhl): Handle arguments with large real or imaginary part
50346         separately without squaring.
50347         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50348         and redefine.
50349         (__catanl): Handle arguments with large real or imaginary part
50350         separately without squaring.
50351         * math/libm-test.inc (catan_test): Add more tests.
50352         (catanh_test): Likewise.
50353         * sysdeps/i386/fpu/libm-test-ulps: Update.
50354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50356 2013-04-27  Andreas Jaeger  <aj@suse.de>
50358         [BZ #15007]
50359         * stdlib/stdlib.h: Update guards for qecvt.
50360         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50361         <stdlib.h>.
50363 2013-04-27  Allan McRae  <allan@archlinux.org>
50365         * sysdeps/i386/fpu/libm-test-ulps: Update.
50367 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50369         [BZ #15406]
50370         * math/s_catan.c: Include <float.h>.
50371         (__catan): Ensure underflow exception occurs for underflowed
50372         result.
50373         * math/s_catanf.c: Include <float.h>.
50374         (__catanf): Ensure underflow exception occurs for underflowed
50375         result.
50376         * math/s_catanh.c: Include <float.h>.
50377         (__catanh): Ensure underflow exception occurs for underflowed
50378         result.
50379         * math/s_catanhf.c: Include <float.h>.
50380         (__catanhf): Ensure underflow exception occurs for underflowed
50381         result.
50382         * math/s_catanhl.c: Include <float.h>.
50383         (__catanhl): Ensure underflow exception occurs for underflowed
50384         result.
50385         * math/s_catanl.c: Include <float.h>.
50386         (__catanl): Ensure underflow exception occurs for underflowed
50387         result.
50388         * math/libm-test.inc (catan_test): Add more tests.
50389         (catanh_test): Likewise.
50391         [BZ #15405]
50392         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50393         underflowed result.
50394         * math/s_ccoshf.c (__ccoshf): Likewise.
50395         * math/s_ccoshl.c (__ccoshl): Likewise.
50396         * math/s_csin.c (__csin): Likewise.
50397         * math/s_csinf.c (__csinf): Likewise.
50398         * math/s_csinh.c (__csinh): Likewise.
50399         * math/s_csinhf.c (__csinhf): Likewise.
50400         * math/s_csinhl.c (__csinhl): Likewise.
50401         * math/s_csinl.c (__csinl): Likewise.
50402         * math/libm-test.inc (ccos_test): Add more tests.
50403         (ccosh_test): Likewise.
50404         (csin_test): Likewise.
50405         (csinh_test): Likewise.
50407 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50409         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50410         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50411         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50412         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50413         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50414         powerpc/power5+/fpu folders.
50415         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50418 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50422 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50424         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50425         additions to variable.
50426         [$(config-machine) = x86_64] (modules-names): Likewise.
50427         ($(objpfx)tst-audit3): Remove dependency.
50428         ($(objpfx)tst-audit3.out): Likewise.
50429         ($(objpfx)tst-audit4): Likewise.
50430         ($(objpfx)tst-audit4.out): Likewise.
50431         ($(objpfx)tst-audit5): Likewise.
50432         ($(objpfx)tst-audit5.out): Likewise.
50433         ($(objpfx)tst-audit6): Likewise.
50434         ($(objpfx)tst-audit6.out): Likewise.
50435         ($(objpfx)tst-audit7): Likewise.
50436         ($(objpfx)tst-audit7.out): Likewise.
50437         (tst-audit3-ENV): Remove variable.
50438         (tst-audit4-ENV): Likewise.
50439         (tst-audit5-ENV): Likewise.
50440         (tst-audit6-ENV): Likewise.
50441         (tst-audit7-ENV): Likewise.
50442         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50443         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50444         addition to variable.
50445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50446         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50448         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50449         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50450         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50451         tst-audit3, tst-audit4 and tst-audit5.
50452         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50453         tst-audit6 and tst-audit7.
50454         [$(subdir) = elf] (modules-names): Add audit modules for those
50455         tests.
50456         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50457         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50458         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50459         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50460         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50461         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50462         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50463         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50464         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50465         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50466         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50467         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50468         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50469         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50470         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50471         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50472         Likewise.
50473         [$(subdir) = elf && $(config-cflags-avx) = yes]
50474         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50475         [$(subdir) = elf && $(config-cflags-avx) = yes]
50476         (CFLAGS-tst-auditmod4a.c): Likewise.
50477         [$(subdir) = elf && $(config-cflags-avx) = yes]
50478         (CFLAGS-tst-auditmod4b.c): Likewise.
50479         [$(subdir) = elf && $(config-cflags-avx) = yes]
50480         (CFLAGS-tst-auditmod6b.c): Likewise.
50481         [$(subdir) = elf && $(config-cflags-avx) = yes]
50482         (CFLAGS-tst-auditmod6c.c): Likewise.
50483         [$(subdir) = elf && $(config-cflags-avx) = yes]
50484         (CFLAGS-tst-auditmod7b.c): Likewise.
50485         * elf/tst-audit3.c: Move to ...
50486         * sysdeps/x86_64/tst-audit3.c: ... here.
50487         * elf/tst-audit4.c: Move to ...
50488         * sysdeps/x86_64/tst-audit4.c: ... here.
50489         * elf/tst-audit5.c: Move to ...
50490         * sysdeps/x86_64/tst-audit5.c: ... here.
50491         * elf/tst-audit6.c: Move to ...
50492         * sysdeps/x86_64/tst-audit6.c: ... here.
50493         * elf/tst-audit7.c: Move to ...
50494         * sysdeps/x86_64/tst-audit7.c: ... here.
50495         * elf/tst-auditmod3a.c: Move to ...
50496         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50497         * elf/tst-auditmod3b.c: Move to ...
50498         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50499         * elf/tst-auditmod4a.c: Move to ...
50500         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50501         * elf/tst-auditmod4b.c: Move to ...
50502         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50503         * elf/tst-auditmod5a.c: Move to ...
50504         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50505         * elf/tst-auditmod5b.c: Move to ...
50506         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50507         * elf/tst-auditmod6a.c: Move to ...
50508         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50509         * elf/tst-auditmod6b.c: Move to ...
50510         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50511         * elf/tst-auditmod6c.c: Move to ...
50512         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50513         * elf/tst-auditmod7a.c: Move to ...
50514         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50515         * elf/tst-auditmod7b.c: Move to ...
50516         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50518 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50520         [BZ #15366]
50521         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50522         define unconditionally.
50523         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50524         define unconditionally.
50525         (INT8_C, INT16_C, etc.): Likewise.
50527 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50529         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50530         __ehdr_start with hidden visibility.
50532         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50534 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50536         * math/libm-test.inc (cos_test): Use accurate hex constants.
50537         (sincost_test): Likewise.
50539 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50541         * math/libm-test.inc (catan_test): Add more tests.
50542         (catanh_test): Likewise.
50544         * math/s_catanf.c (__catanf): Use suffixed floating-point
50545         constants.
50546         * math/s_catanhf.c (__catanhf): Likewise.
50547         * math/s_catanhl.c (__catanhl): Likewise.
50548         * math/s_catanl.c (__catanl): Likewise.
50550         [BZ #15394]
50551         * math/s_catan.c (__catan): Calculate imaginary part of result
50552         with log1p not log unless computing log of number close to 0.
50553         * math/s_catanf.c (__catanf): Likewise.
50554         * math/s_catanl.c (__catanl): Likewise.
50555         * math/s_catanh.c (__catanh): Calculate real part of result with
50556         log1p not log unless computing log of number close to 0.
50557         * math/s_catanhf.c (__catanhf): Likewise.
50558         * math/s_catanhl.c (__catanhl): Likewise.
50559         * math/libm-test.inc (catan_test): Add more tests.
50560         (catanh_test): Likewise.
50561         * sysdeps/i386/fpu/libm-test-ulps: Update.
50562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50564 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50566         * benchtests/Makefile: Mention files in which fast and slow
50567         paths of math functions are implemented.
50569 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50571         * sysdeps/posix/timespec_get.c: New file.
50573 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50575         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50576         POWER.
50577         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50578         for POWER.
50579         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50580         powerpc/power5/fpu folders.
50581         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50582         * benchtests/Makefile: Add modf testcase.
50583         * benchtests/bench-modf.c: New file: Benchmark test for mo
50585 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50587         [BZ #14888]
50588         * time/Makefile (tests): Add tst-strptime-whitespace.
50589         * time/strptime_l.c (get_number): Use ISSPACE.
50590         (__strptime_internal): Likewise.
50591         * time/tst-strptime-whitespace.c: New test case.
50593 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50595         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50596         member.
50597         (_nss_files_init): Set it here.
50599 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50601         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50602         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50603         unsigned.
50605 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50607         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50609 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50611         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50612         size just once.
50614 2013-04-21  David S. Miller  <davem@davemloft.net>
50616         * po/ru.po: Update Russion translation from translation project.
50618 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50620         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50621         and setfsgid.
50623 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50625         * configure.in: Remove i386 configure warning. Remove i386 case.
50626         * configure: Regenerate.
50627         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50628         Add example to error message.
50629         * sysdeps/i386/configure: Regenerate.
50631 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50633         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50634         slowtan.
50635         * benchtests/cos-inputs: New file.
50636         * benchtests/slowcos-inputs: New file.
50637         * benchtests/slowcos.c: New file.
50638         * benchtests/slowtan-inputs: New file.
50639         * benchtests/slowtan.c: New file.
50640         * benchtests/tan-inputs: New file.
50642 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50644         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50645         considered kosher.
50647 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50649         * benchtests/Makefile: Include cppflags-iterator.mk to add
50650         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50652         * Makefile.in (bench-clean): New target.
50653         * benchtests/Makefile (bench-clean): Likewise.
50655 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50657         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50659 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50661         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50663 2013-04-15  Andreas Schwab  <schwab@suse.de>
50665         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50666         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50667         * nscd/pwdcache.c (cache_addpw): Likewise.
50668         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50669         more than recsize.
50671 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50673         * benchtests/Makefile (bench): Write all output to
50674         bench-out.tmp together.
50676 2013-04-15  Andreas Schwab  <schwab@suse.de>
50678         * nscd/nscd.c (main): Don't fork again after closing files.
50680 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50682         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50684         * benchtests/Rules (bench-deps): Collect dependencies into a
50685         single variable.  Add Makefile to dependencies.
50686         ($(objpfx)bench-%.c): Depend on bench-deps.
50688 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50689             Xavier Roche  <roche+kml2@exalead.com>
50691         [BZ #15361]
50692         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50693         just that it's a file descriptor.
50694         * manual/llio.texi (Synchronizing AIO Operations): Update description
50695         for EBADF error from aio_fsync.
50697 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50699         * Rules (bench): Move target definition...
50700         * benchtests/Makefile: ... here.
50702 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50704         * math/libm-test.inc (cos_test): Fix PI/2 test.
50705         (sincos_test): Likewise.
50706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50707         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50709 2013-04-11  Andreas Schwab  <schwab@suse.de>
50711         [BZ #13988]
50712         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50713         accept exponent character only when digits were seen.
50714         * stdio-common/Makefile (tests): Add bug26.
50715         * stdio-common/bug26.c: New file.
50717         [BZ #14293]
50718         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50719         non-freeable.
50721 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50723         * Makeconfig (rtld-prefix): Define built linker prefix.
50724         * Rules (run-bench): Use it.
50725         * math/Makefile (run-regen-ulps): Likewise.
50727         * Rules (bench): Remove eval.
50729 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50730             Roland McGrath  <roland@hack.frob.com>
50731             Ondrej Bilka  <neleai@seznam.cz>
50733         [BZ #15346]
50734         * time/getdate.c: Include ctype.h and alloca.h.
50735         (__getdate_r): Trim leading and trailing spaces of input.
50736         * time/tst-getdate.c (tests): Add tests with leading and
50737         trailing spaces.
50739 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50741         [BZ #14280]
50742         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50743         when computing value.
50745 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50747         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50748         Use testrun.sh to run libm tests.
50750         [BZ #15309]
50751         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50753 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50755         [BZ #15264]
50756         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50758 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50760         * Makefile.in (regen-ulps): New target.
50761         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50762         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50763         [ifneq (no,$(PERL)] (regen-ulps): New target.
50764         [ifeq (no,$(PERL)] (regen-ulps): New target.
50765         * math/libm-test.inc (ulps_file_name): Define.
50766         (output_dir): New variable.
50767         (options): Add "output-dir" option.
50768         (parse_opt): Handle 'o' case.
50769         (main): If output_dir is non-NULL use it as a prefix
50770         otherwise use "".
50771         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50773 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50775         [BZ #10060, #10062]
50776         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50777         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50778         fail configure if __sync_val_compare_and_swap is not inlined.
50779         * sysdeps/i386/configure: Regenerate.
50780         * configure.in: Build for i686 when configured for i386.
50781         * configure: Regenerate.
50782         * README: Remove i386 reference.
50784 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50786         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50787         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50789 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50791         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50792         (lmsnanval): New variables.
50793         (F): Add conversion tests.
50794         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50795         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50797         * stdio-common/tstdiomisc.c (F): Properly collect individual
50798         tests' results.
50800         [BZ #14686, #15336]
50801         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50802         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50803         Instead, use input NaN values or generate a qNaN by arithmetic
50804         operation.  Also fix bugs to comply with the standard.
50805         * math/libm-test.inc (remainder_test): Add more tests.
50807         [BZ #15335, #15342]
50808         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50810         input NaN values or generate a qNaN by arithmetic operation.
50812         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50813         unreachable code.
50815         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50816         definitions.
50818 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50820         [BZ #14478]
50821         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50822         underflowed result.
50823         * math/s_cexpf.c (__cexpf): Likewise.
50824         * math/s_cexpl.c (__cexpl): Likewise.
50825         * math/libm-test.inc (cexp_test): Add more tests.
50827 2013-04-03  Andreas Schwab  <schwab@suse.de>
50829         [BZ #15330]
50830         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50831         order arrays from heap if bigger than alloca cutoff.
50833 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50835         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50836         (SNAN_TESTS_double): Refer to GCC PR56831.
50837         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50838         GCC PR56828.
50840 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50842         * Rules (bench): Move bench.out after the run is complete.
50844         * Rules (bench): Echo currently running benchmark.
50846         * benchtests/Makefile (bench): Add atan and slowatan.
50847         * benchtests/atan-inputs: New file.
50848         * benchtests/slowatan-inputs: New file.
50849         * benchtests/slowatan.c: New file.
50851         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50853         its value.
50855         [BZ #15305]
50856         * sysdeps/unix/sysv/linux/kernel-features.h
50857         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50858         __ASSUME_XFS_RESTRICTED_CHOWN.
50859         * sysdeps/unix/sysv/linux/pathconf.c
50860         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50861         Save and restore errno.
50863 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50865         [BZ #15327]
50866         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50867         arguments using __kernel_casinh.
50868         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50869         arguments using __kernel_casinhf.
50870         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50871         arguments using __kernel_casinhl.
50872         * math/libm-test.inc (cacosh_test): Add more tests.
50873         * sysdeps/i386/fpu/libm-test-ulps: Update.
50874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50876 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50878         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50881         * bench/Makefile (bench): Add sin and slowsin.
50882         * benchtests/sin-inputs: New file.
50883         * benchtests/slowsin-inputs: New file.
50884         * benchtests/slowsin.c: New file.
50886         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50887         (bench): Add slowexp and slowpow.
50888         (exp-ITER): Increase iterations.
50889         (pow-ITER): Likewise.
50890         * benchtests/exp-inputs: Change input.
50891         * benchtests/pow-inputs: Likewise.
50892         * benchtests/slowexp-inputs: New file.
50893         * benchtests/slowexp.c: New file.
50894         * benchtests/slowpow-inputs: New file.
50895         * benchtests/slowpow.c: New file.
50897 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50899         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50900         instructions.
50901         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50902         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50903         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50904         * benchtests/Makefile: Add rint benchtest.
50905         * benchtests/rint-inputs: Input for rint benchtest.
50907 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50909         * Versions.def (libm): Add GLIBC_2.18.
50910         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50911         hidden libm prototypes.
50912         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50913         * math/Makefile (libm-calls): Add s_issignaling.
50914         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50915         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50916         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50917         declaration.
50918         * math/math.h [__USE_GNU] (issignaling): New macro.
50919         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50920         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50921         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50922         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50923         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50924         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50925         * manual/arith.texi (issignaling): New section.
50926         * manual/libm-err-tab.pl (@all_functions): Update comment.
50927         * math/gen-libm-test.pl (parse_args): Apply special handling for
50928         issignaling.
50929         * math/libm-test.inc (print_float, issignaling_test): New
50930         functions.
50931         (check_float_internal): Add issignaling checks.
50932         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50933         default definition.
50934         * sysdeps/powerpc/math-tests.h: New file.
50935         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50936         tests.
50937         * math/test-snan.c (TEST_FUNC): Likewise.
50939 2013-03-30  David S. Miller  <davem@davemloft.net>
50941         * po/de.po: Update from translation team.
50943 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50945         [BZ #10357]
50946         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50947         imaginary part less than 1.0 and real part less than 0.5
50948         specially.
50949         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50950         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50951         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50952         (cacos_test): Add more tests.
50953         (casin_test): Likewise.
50954         (casinh_test): Likewise.
50955         * sysdeps/i386/fpu/libm-test-ulps: Update.
50956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50958 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50960         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50961         ONE with its value.
50963         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50964         (__pow_mp): Replace ONE and MONE with their values.
50965         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50967         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50968         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50970         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50972         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50974         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50975         (__pow_mp): Replace ZERO and MZERO with their values.
50976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50977         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50978         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50979         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50980         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50981         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50982         (__sqr): Likewise.
50984         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50986         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50988 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50990         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50991         Declare with __attribute__ ((weak)).
50992         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50993         Call __call_tls_dtors only if it's not NULL.
50995 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50997         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50998         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50999         magic __ehdr_start linker symbol if it's defined.
51000         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51001         them up here if it was already done.
51003         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51004         (_dl_aux_init): Use const in cast when setting it.
51005         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51006         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51007         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51009         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51010         Declare them here.
51011         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51012         * csu/libc-tls.c: Nor here.
51013         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51015         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51016         (__libc_message): Never call vsyslog.
51018 2013-03-28  Alan Modra  <amodra@gmail.com>
51020         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51021         Define as empty.
51022         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51023         Likewise.
51025 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51027         [BZ #15214]
51028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51029         underflow.
51030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51032 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51034         [BZ #15304]
51035         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51036         Don't add gid passed as argument.
51038         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51040 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51042         [BZ #15307]
51043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51044         imaginary part between 1.0 and 1.5 and real part less than 0.5
51045         specially.
51046         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51047         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51048         * math/libm-test.inc (cacos_test): Add more tests.
51049         (casin_test): Likewise.
51050         (casinh_test): Likewise.
51051         * sysdeps/i386/fpu/libm-test-ulps: Update.
51052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51054 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51056         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51057         constants.
51058         (norm): Likewise.
51059         (denorm): Likewise.
51060         (__dbl_mp): Likewise.
51061         (add_magnitudes): Likewise.
51062         (sub_magnitudes): Likewise.
51063         (__add): Likewise.
51064         (__sub): Likewise.
51065         (__mul): Likewise.
51066         (__sqr): Likewise.
51067         (__inv): Likewise.
51068         (__dvd): Likewise.
51070         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51071         commented code.
51072         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51073         (__dubcos): Likewise.
51074         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51075         (__ieee754_acos): Likewise.
51076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51077         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51078         (__exp1): Likewise.
51079         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51080         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51081         (log1): Likewise.
51082         (my_log2): Likewise.
51083         (checkint): Likewise.
51084         * sysdeps/ieee754/dbl-64/e_remainder.c
51085         (__ieee754_remainder): Likewise.
51086         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51088         (bsloww): Likewise.
51089         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51091         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51092         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51093         MANTISSA_STORE_T to store computations on mantissa.  Use
51094         macros for rounding and division.
51095         (denorm): Likewise.
51096         (__dbl_mp): Likewise.
51097         (add_magnitudes): Likewise.
51098         (sub_magnitudes): Likewise.
51099         (__mul): Likewise.
51100         (__sqr): Likewise.
51101         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51102         powers of two in terms of TWOPOW macro.
51103         (mp_no): Make type of mantissa as MANTISSA_T.
51104         [!RADIXI]: Define RADIXI.
51105         [!TWO52]: Define TWO52.
51106         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51108 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51110         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51111         llroundl symbol when building for PPC32.
51113 2013-03-24  Mark H Weaver  <mhw@netris.org>
51115         * manual/arith.texi (Normalization Functions): Fix prototypes for
51116         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51118 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51120         [BZ #13889]
51121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51122         high value to check if expl overflow.
51123         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51124         to check for underflow and overflow.
51125         * math/libm-test.inc: Add exp test.
51127 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51129         [BZ #11120]
51130         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51131         with NOT_IN_libc.
51133 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51135         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51136         symbol.
51138 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51140         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51141         wrap blocks consisting of several statements.
51143         * sysdeps/generic/math-tests.h: New file.
51144         * sysdeps/i386/fpu/math-tests.h: Likewise.
51145         * math/test-snan.c: Include it.
51146         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51148 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51150         [BZ #15285]
51151         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51152         (__ieee754_j0l): Do not improve calculations using cos of twice
51153         input for inputs above LDBL_MAX / 2.0L.
51154         (__ieee754_y0l): Likewise.
51155         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51156         (__ieee754_j1l): Do not improve calculations using cos of twice
51157         input for inputs above LDBL_MAX / 2.0L.
51158         (__ieee754_y1l): Likewise.
51159         * math/libm-test.inc (j0_test): Add another test.
51160         (j1_test): Likewise.
51161         (y0_test): Likewise.
51162         (y1_test): Likewise.
51163         * sysdeps/i386/fpu/libm-test-ulps: Update.
51165 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51167         * Rules ($(objpfx)bench-%.c): Include code from a C source
51168         file.
51170 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51172         [BZ #15287]
51173         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51174         imaginary part 1.0 and real part less than 0.5 specially.
51175         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51176         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51177         * math/libm-test.inc (cacos_test): Add more tests.
51178         (casin_test): Likewise.
51179         (casinh_test): Likewise.
51180         * sysdeps/i386/fpu/libm-test-ulps: Update.
51181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51183 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51186         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51188 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51190         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51191         * config.make.in (config-cflags-sse4): Remove variable.
51192         (config-cflags-avx): Likewise.
51193         (config-cflags-sse2avx): Likewise.
51194         (config-cflags-novzeroupper): Likewise.
51195         (config-asflags-i686): Likewise.
51196         (have-mfma4): Likewise.
51197         (have-as-vis3): Likewise.
51198         (MIG): Likewise.
51199         * configure.in (MIG): Do not AC_SUBST.
51200         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51201         (libc_cv_cc_sse4): Do not AC_SUBST.
51202         (libc_cv_cc_avx): Likewise.
51203         (libc_cv_cc_sse2avx): Likewise.
51204         (libc_cv_cc_novzeroupper): Likewise.
51205         (libc_cv_cc_fma4): Likewise.
51206         (libc_cv_as_i686): Likewise.
51207         (libc_cv_sparc_as_vis3): Likewise.
51208         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51209         LIBC_CONFIG_VAR.
51210         (config-asflags-i686): Likewise.
51211         (config-cflags-avx): Likewise.
51212         (config-cflags-sse2avx): Likewise.
51213         (have-mfma4): Likewise.
51214         (config-cflags-novzeroupper): Likewise.
51215         * sysdeps/mach/configure.in (MIG): Likewise.
51216         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51217         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51218         LIBC_CONFIG_VAR.
51219         (config-cflags-avx): Likewise.
51220         (config-cflags-sse2avx): Likewise.
51221         (have-mfma4): Likewise.
51222         (config-cflags-novzeroupper): Likewise.
51223         * configure: Regenerated.
51224         * sysdeps/i386/configure: Likewise.
51225         * sysdeps/mach/configure: Likewise.
51226         * sysdeps/sparc/configure: Likewise.
51227         * sysdeps/x86_64/configure: Likewise.
51229 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51231         [BZ #14812]
51232         * locale/programs/localedef.c (options): Put N_ translation marker
51233         on argument names, not just descriptions.
51235 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51237         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51239 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51241         [BZ #14176]
51242         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51244 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51246         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51247         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51248         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51249         [!BEFORE_ABORT] (before_abort): New function.
51250         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51251         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51252         (writev_for_fatal): New function.
51253         (WRITEV_FOR_FATAL): New macro; call that.
51254         (backtrace_and_maps): New function.
51255         (BEFORE_ABORT): New macro; call that.
51256         (struct str_list): Type removed.
51257         (__libc_message, __libc_fatal): Functions removed.
51258         Include <sysdeps/posix/libc_fatal.c> instead.
51260 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51262         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51263         constants.
51264         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51265         double constants.
51267 2013-03-19  Andreas Schwab  <schwab@suse.de>
51269         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51270         * sysdeps/gnu/configure: Regenerate.
51272         * configure.in: Substitute libc_cv_rtlddir.
51273         * configure: Regenerate.
51274         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51275         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51276         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51277         * elf/Makefile (install-others, CFLAGS-interp.c)
51278         (ldso_install, common-ldd-rewrite): Likewise.
51279         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51280         $(inst_slibdir)/$(rtld-installed-name).
51281         * scripts/rellns-sh: Add -p option.
51282         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51283         for source.
51285 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51287         * manual/nptl.texi: Renamed to ...
51288         * manual/threads.texi: ... this.
51289         * manual/Makefile (chapters): Update.
51291 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51293         [BZ #14812]
51294         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51295         on argument names, not just descriptions.
51296         * malloc/memusagestat.c (options): Likewise.
51297         * nss/getent.c (options): Likewise.
51299 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51301         [BZ #14812]
51302         * iconv/iconv_prog.c (options): Put N_ translation marker
51303         on argument names, not just descriptions.
51304         * iconv/iconvconfig.c (options): Likewise.
51306 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51308         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51309         implementation which is faster on all x86_64 architectures.
51310         Tested on AMD, Intel Nehalem, SNB, IVB.
51311         * sysdeps/x86_64/strnlen.S: Likewise.
51313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51314         Remove all multiarch strlen and strnlen versions.
51315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51316         Remove strlen and strnlen related parts.
51318         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51319         Inline strlen part.
51320         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51322         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51323         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51324         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51325         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51326         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51327         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51329 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51331         * manual/memory.texi (Malloc Tunable Parameters):
51332         Sort parameters alphabetically. Add comments for missing entries.
51334 2013-03-17  David S. Miller  <davem@davemloft.net>
51336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51338 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51340         [BZ #15283]
51341         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51342         for arguments at most half maximum finite value.
51343         * math/libm-test.inc (j0_test): Add more tests.
51344         (j1_test): Likewise.
51345         (y0_test): Likewise.
51346         (y1_test): Likewise.
51347         * sysdeps/i386/fpu/libm-test-ulps: Update.
51348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51350         [BZ #14155]
51351         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51352         1 / x and functions P and Q for arguments above 0x1p256L.
51353         (__ieee754_y0l): Likewise.
51354         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51355         (__ieee754_y1l): Likewise.
51356         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51357         (j1_test): Likewise.
51358         (y0_test): Likewise.
51359         (y1_test): Likewise.
51361 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51363         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51364         variable.
51366 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51368         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51369         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51370         zero since it's initialized to EXEC_PAGESIZE.
51372         * sysdeps/unix/sysv/linux/ldsodefs.h
51373         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51374         * sysdeps/generic/ldsodefs.h: ... here.
51376 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51378         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51380         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51381         math/test-snan.c.
51382         * math/test-snan.c: Renamed from
51383         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51384         * math/Makefile (tests): Add test-snan.
51385         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51386         test-powerpc-snan.
51388         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51389         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51390         functions.
51391         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51392         __builtin_nan family of functions.
51393         * math/libm-test.inc (initialize): Initialize qnan_value with
51394         __builtin_nan family of functions.
51395         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51396         Remove variables.
51397         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51398         Remove functions.
51399         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51400         storage class.  Initialize qNaN_var and sNaN_var with
51401         __builtin_nan and __builtin_nans families of functions,
51402         respectively.
51404         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51405         (sqrt_test): Remove duplicate test with qNaN input.
51406         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51407         (round_test, signbit_test, significand_test): Note missing +/-Inf
51408         as well as qNaN tests.
51410         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51411         qNaN_var.  Fix a few strings, too.
51412         * math/libm-test.inc (nan_value): Rename to qnan_value.
51413         * math/gen-libm-test.pl (%beautify): Adjust to that.
51414         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51415         * math/test-misc.c (main): Likewise.
51416         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51417         to __qnan_bytes, and __qnan_union, respectively.
51418         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51419         Likewise.
51420         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51421         and lqnanval, respectively.
51422         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51423         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51424         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51425         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51427         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51428         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51429         doubles.
51431         * math/test-misc.c (main): Fix copy'n'pastos.
51432         * misc/tst-efgcvt.c (special): Likewise.
51434         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51435         Remove declarations.
51437 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51439         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51440         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51441         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51442         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51444 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51446         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51447         macro to return vdso values correctly in IFUNC implementations.
51448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51449         Optimization by using IFUNC.
51451 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51452             Richard Henderson  <rth@redhat.com>
51453             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51455         * Makefile.in (bench): New target.
51456         * NEWS: Mention the benchmark framework.
51457         * Rules (bench): Likewise.
51458         (binaries-bench): Generate binaries for functions to
51459         benchmark.
51460         * benchtests/Makefile: New makefile for benchmark tests.
51461         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51462         programs.
51463         * benchtests/exp-inputs: New input file for EXP function.
51464         * benchtests/pow-inputs: New input file for POW function.
51465         * scripts/bench.pl: New script to generate source files for
51466         benchmark programs.
51468 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51470         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51471         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51472         computations on mantissa.  Use macros for rounding and
51473         division.
51474         (denorm): Likewise.
51475         (__dbl_mp): Likewise.
51476         (add_magnitudes): Likewise.
51477         (sub_magnitudes): Likewise.
51478         (__mul): Likewise.
51479         (__sqr): Likewise.
51480         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51481         powers of two in terms of TWOPOW macro.
51482         (mp_no): Make type of mantissa as MANTISSA_T.
51483         [!RADIXI]: Define RADIXI.
51484         [!TWO52]: Define TWO52.
51485         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51487         * manual/nptl.texi (cindex): Modify threads to pthreads.
51489 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51491         * sysdeps/x86_64/preconfigure: Regenerated.
51493 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51495         [BZ #14155]
51496         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51497         0x1p28 and above.
51498         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51499         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51500         0x1p28 and above.
51501         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51502         * math/libm-test.inc (j0_test): Do not allow one spurious
51503         underflow exception.
51504         (y1_test): Likewise.
51506 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51508         * manual/Makefile (chapters): Add nptl.
51509         * manual/debug.texi (Debugging Support): Add link to Threads
51510         chapter.
51511         * manual/nptl.texi: New file.
51513         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51515 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51517         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51518         for non-NULL pointer before the memory validity test. Pointed
51519         out by Holger Brunck <holger.brunck@keymile.com>.
51521 2013-03-13  Andreas Schwab  <schwab@suse.de>
51523         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51524         instead of .os.
51526 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51528         * timezone/zic.c: Update from tzcode 2013b.
51530 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51532         * manual/install.texi (Configuring and compiling):
51533         Mention i686 and i586.
51534         * INSTALL: Regenerate.
51536 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51538         * sysdeps/init_array/elf-init.c: New file.
51539         * csu/elf-init.c
51540         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51541         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51543         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51544         __gmon_start__ as global, but as static with a .preinit_array pointer.
51545         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51546         * sysdeps/init_array/crti.S: New file, empty except for comments.
51547         * sysdeps/init_array/crtn.S: Likewise.
51549 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51551         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51552         definining bcopy.
51553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51554         Remove Prefer_SSE_for_memop.
51555         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51556         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51557         HAS_PREFER_SSE_FOR_MEMOP.
51558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51559         memset-x86-64.
51560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51561         Remove bzero, memset ifunc support.
51562         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51563         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51564         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51567 2013-03-11  Andreas Schwab  <schwab@suse.de>
51569         [BZ #15234]
51570         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51571         by SHLIB_COMPAT.
51572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51573         (GLIBC_2.16): Remove pthread_atfork.
51575 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51577         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51578         (ptestcases.h): Likewise.
51580 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51582         * Makeconfig ($(common-objpfx)config.status): Depend on
51583         sysdeps/*/preconfigure{,.in} too.
51585 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51587         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51588         (__free_hook): Use void * instead of __malloc_ptr_t.
51589         (__malloc_hook): Likewise.
51590         (__realloc_hook): Likewise.
51591         (__memalign_hook): Likewise.
51592         (__after_morecore_hook): Likewise.
51593         * malloc/arena.c (save_malloc_hook): Likewise.
51594         (save_free_hook): Likewise.
51595         * malloc/hooks.c (malloc_hook_ini): Likewise.
51596         (realloc_hook_ini): Likewise.
51597         (memalign_hook_ini): Likewise.
51598         * malloc/malloc.c (malloc_hook_ini): Likewise.
51599         (realloc_hook_ini): Likewise.
51600         (memalign_hook_ini): Likewise.
51601         (__free_hook): Likewise.
51602         (__malloc_hook): Likewise.
51603         (__realloc_hook): Likewise.
51604         (__memalign_hook): Likewise.
51605         (__libc_malloc): Likewise.
51606         (__libc_free): Likewise.
51607         (__libc_realloc): Likewise.
51608         (__libc_memalign): Likewise.
51609         (__libc_valloc): Likewise.
51610         (__libc_pvalloc): Likewise.
51611         (__libc_calloc): Likewise.
51612         (__posix_memalign): Likewise.
51613         * malloc/morecore.c (__sbrk): Likewise.
51614         (__default_morecore): Likewise.
51616         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51618         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51619         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51620         __malloc_ptrdiff_t.
51622         * malloc/malloc.h (__malloc_size_t): Remove macro.
51623         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51624         __malloc_size_t.
51625         (old_memalign_hook): Likewise.
51626         (old_realloc_hook): Likewise.
51627         (struct hdr): Likewise.
51628         (flood): Likewise.
51629         (mallochook): Likewise.
51630         (memalignhook): Likewise.
51631         (reallochook): Likewise.
51632         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51633         (tr_old_realloc_hook): Likewise.
51634         (tr_old_memalign_hook): Likewise.
51635         (tr_mallochook): Likewise.
51636         (tr_reallochook): Likewise.
51637         (tr_memalignhook): Likewise.
51639 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51641         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51642         default_ldbl_pack and using as default implementation.
51643         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51644         implementation.
51645         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51646         redundant definition.
51647         (ldbl_insert_mantissa): Likewise.
51648         (ldbl_canonicalize): Likewise.
51649         (ldbl_nearbyint): Likewise.
51650         (ldbl_pack): Rename to ldbl_pack_ppc.
51651         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51652         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51653         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51655 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51658         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51659         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51660         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51661         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51662         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51663         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51664         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51666 2013-03-07  Andreas Jaeger  <aj@suse.de>
51668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51669         bits/mman-linux.h.
51671 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51673         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51674         Include mpa.h and declare __MPEXP.
51675         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51676         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51677         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51678         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51679         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51680         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51681         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51683         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51684         (__slowpow): Use long double EXPL and LOGL functions to
51685         compute POW.
51686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51687         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51690         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51691         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51694         intermediate variable to calculate exponent.
51695         (__sqr): Likewise.
51696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51697         Likewise.
51698         (__sqr): Likewise.
51700         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51701         [!NO__SQR]: Define __sqr.
51702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51703         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51704         sysdeps/ieee754/dbl-64/mpa.c.
51705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51707         [BZ #12723]
51708         * posix/Makefile (tests): Add tst-pathconf.
51709         * posix/tst-pathconf.c: New test case.
51710         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51711         _PC_PIPE_BUF.
51712         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51714 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51716         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51718 2013-03-06  Andreas Jaeger  <aj@suse.de>
51720         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51721         definition via __MAP_ANONYMOUS.
51723         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51724         it's not part of Linux headers.
51726         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51727         (MAP_HUGE_MASK): Define.
51729         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51730         Define.
51731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51732         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51733         Define.
51734         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51735         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51736         Define.
51737         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51738         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51739         Define.
51740         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51742         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51743         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51744         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51745         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51746         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51747         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51750         Handle f2fs.
51752         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51753         Handle f2fs and efivarfs.
51755         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51756         f2fs.
51758         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51759         (EFIVARFS_MAGIC): Add.
51760         (F2FS_LINK_MAX): Add.
51762 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51764         * stdio-common/vfprintf.c: Replace __builtin_expect with
51765         __glibc_unlikely.
51767 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51769         [BZ #13550]
51770         * sysdeps/generic/bp-sym.h: Remove file.
51771         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51772         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51773         <bp-sym.h> and <bp-asm.h>.
51774         (__longjmp): Don't use BP_SYM.
51775         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51776         and <bp-asm.h>.
51777         (memcpy): Don't use BP_SYM.
51778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51779         <bp-sym.h> and <bp-asm.h>.
51780         (memcpy): Don't use BP_SYM.
51781         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51782         <bp-asm.h>.
51783         (memcpy): Don't use BP_SYM.
51784         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51785         <bp-asm.h>.
51786         (memset): Don't use BP_SYM.
51787         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51788         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51789         (__bzero): Don't use BP_SYM.
51790         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51791         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51792         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51793         <bp-sym.h> and <bp-asm.h>.
51794         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51795         pointers.
51796         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51797         <bp-sym.h> and <bp-asm.h>.
51798         (memcpy): Don't use BP_SYM.
51799         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51800         <bp-sym.h> and <bp-asm.h>.
51801         (memset): Don't use BP_SYM.
51802         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51803         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51804         (__bzero): Don't use BP_SYM.
51805         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51806         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51807         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51808         <bp-sym.h> and <bp-asm.h>.
51809         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51810         pointers.
51811         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51812         <bp-sym.h> and <bp-asm.h>.
51813         (memcpy): Don't use BP_SYM.
51814         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51815         <bp-sym.h> and <bp-asm.h>.
51816         (memset): Don't use BP_SYM.
51817         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51818         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51819         (__bzero): Don't use BP_SYM.
51820         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51821         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51823         <bp-sym.h> and <bp-asm.h>.
51824         (__memchr): Don't use BP_SYM.
51825         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51826         <bp-sym.h> and <bp-asm.h>.
51827         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51828         pointers.
51829         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51830         <bp-sym.h> and <bp-asm.h>.
51831         (memcpy): Don't use BP_SYM.
51832         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51833         <bp-sym.h> and <bp-asm.h>.
51834         (__mempcpy): Don't use BP_SYM.
51835         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51836         <bp-sym.h> and <bp-asm.h>.
51837         (__memrchr): Don't use BP_SYM.
51838         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51839         <bp-sym.h> and <bp-asm.h>.
51840         (memset): Don't use BP_SYM.
51841         (__bzero): Likewise.
51842         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51843         <bp-sym.h> and <bp-asm.h>.
51844         (__rawmemchr): Don't use BP_SYM.
51845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51846         <bp-sym.h> and <bp-asm.h>.
51847         (__STRCMP): Don't use BP_SYM.
51848         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51849         <bp-sym.h> and <bp-asm.h>.
51850         (strchr): Don't use BP_SYM.
51851         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51852         <bp-sym.h> and <bp-asm.h>.
51853         (__strchrnul): Don't use BP_SYM.
51854         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51855         <bp-sym.h> and <bp-asm.h>.
51856         (strlen): Don't use BP_SYM.
51857         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51858         <bp-sym.h> and <bp-asm.h>.
51859         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51860         pointers.
51861         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51862         <bp-sym.h> and <bp-asm.h>.
51863         (__strnlen): Don't use BP_SYM.
51864         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51865         <bp-sym.h> and <bp-asm.h>.
51866         (__GI__setjmp): Don't use BP_SYM.
51867         (_setjmp): Likewise.
51868         (__sigsetjmp): Likewise.
51869         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51870         (L(start_addresses)): Don't use BP_SYM.
51871         (_start): Likewise.
51872         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51873         <bp-asm.h>.
51874         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51875         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51876         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51877         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51878         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51879         <bp-asm.h>.
51880         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51881         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51882         about bounded pointers.
51883         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51884         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51885         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51886         <bp-asm.h>.
51887         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51888         about bounded pointers.  Remove GKM FIXME comments.
51889         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51890         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51891         <bp-asm.h>.
51892         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51893         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51894         Remove GKM FIXME comments.
51895         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51896         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51897         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51898         <bp-asm.h>.
51899         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51900         about bounded pointers.  Remove GKM FIXME comment.
51901         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51902         and <bp-asm.h>.
51903         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51904         pointers.
51905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51906         <bp-sym.h> and <bp-asm.h>.
51907         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51909         <bp-sym.h> and <bp-asm.h>.
51910         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51911         comment.
51913 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51915         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51916         call free(NULL).
51918 2013-03-05  David S. Miller  <davem@davemloft.net>
51920         * po/es.po: Update from translation team.
51922 2013-03-05  Andreas Jaeger  <aj@suse.de>
51924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51925         <bits/mman-linux.h>.
51926         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51927         is fine.
51928         * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
51933         <bits/mman-linux.h> to end of file.
51934         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51935         is fine.
51936         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51937         <bits/mman-linux.h> to end of file.
51939         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51940         (MCL_CURRENT, MCL_FUTURE): Define here.
51942 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51944         [BZ #15232]
51945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51946         attribute_hidden.
51947         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51949 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51951         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51952         fourth parameter needed for rt_sigprocmask syscall.
51953         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51954         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51955         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51956         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51957         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51958         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51960 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51962         [BZ #13550]
51963         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51964         comment about bounded pointers.
51965         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51966         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51968 2013-03-04  Andreas Jaeger  <aj@suse.de>
51970         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51971         common definitions.
51973         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51974         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51975         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51977         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51980 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51982         [BZ #15055]
51983         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51984         __ieee754_sqrl instead of __sqrl.
51986 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51988         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51989         * sysdeps/powerpc/fpu_control.h: ... here.
51990         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51991         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51992         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51993         * sysdeps/powerpc/bits/mathinline.h: ... here.
51995 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51997         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51998         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51999         to just [NEED_DL_SYSINFO_DSO].
52000         * elf/dl-support.c: Likewise.
52001         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52002         * elf/rtld.c (dl_main): Likewise.
52003         * elf/setup-vdso.h (setup_vdso): Likewise.
52004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52005         * sysdeps/unix/sysv/linux/dl-sysdep.c
52006         (_dl_discover_osversion): Likewise.
52008 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52010         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52011         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52013 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52015         * NEWS: Mention libm performance improvements and non-x86 PI
52016         futex support.
52018         * csu/libc-start.c (__pthread_initialize_minimal): Change
52019         function arguments.
52020         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52022 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52024         [BZ #13550]
52025         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52026         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52027         <bp-sym.h> and <bp-asm.h>.
52028         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52029         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52030         and <bp-asm.h>.
52031         (memcpy): Don't use BP_SYM.
52032         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52033         <bp-asm.h>.
52034         (__mpn_add_n): Don't use BP_SYM.
52035         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52036         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52037         and <bp-asm.h>.
52038         (__mpn_addmul_1): Don't use BP_SYM.
52039         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52040         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52041         <bp-sym.h>.
52042         (_setjmp): Don't use BP_SYM.
52043         (__novmx_setjmp): Likewise.
52044         (__GI__setjmp): Likewise.
52045         (__vmx_setjmp): Likewise.
52046         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52047         <bp-sym.h>.
52048         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52049         (__bzero): Don't use BP_SYM.
52050         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52051         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52052         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52053         <bp-sym.h> and <bp-asm.h>.
52054         (memcpy): Don't use BP_SYM.
52055         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52056         <bp-sym.h> and <bp-asm.h>.
52057         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52058         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52059         <bp-sym.h> and <bp-asm.h>.
52060         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52061         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52062         <bp-asm.h>.
52063         (__mpn_lshift): Don't use BP_SYM.
52064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52065         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52066         <bp-asm.h>.
52067         (memset): Don't use BP_SYM.
52068         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52069         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52070         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52071         <bp-asm.h>.
52072         (__mpn_mul_1): Don't use BP_SYM.
52073         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52074         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52075         <bp-sym.h> and <bp-asm.h>.
52076         (memcmp): Don't use BP_SYM.
52077         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52078         <bp-sym.h> and <bp-asm.h>.
52079         (memcpy): Don't use BP_SYM.
52080         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52081         <bp-sym.h> and <bp-asm.h>.
52082         (memset): Don't use BP_SYM.
52083         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52084         <bp-sym.h> and <bp-asm.h>.
52085         (strncmp): Don't use BP_SYM.
52086         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52087         <bp-sym.h> and <bp-asm.h>.
52088         (memcpy): Don't use BP_SYM.
52089         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52090         <bp-sym.h> and <bp-asm.h>.
52091         (memset): Don't use BP_SYM.
52092         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52093         <bp-sym.h> and <bp-asm.h>.
52094         (__memchr): Don't use BP_SYM.
52095         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52096         <bp-sym.h> and <bp-asm.h>.
52097         (memcmp): Don't use BP_SYM.
52098         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52099         <bp-sym.h> and <bp-asm.h>.
52100         (memcpy): Don't use BP_SYM.
52101         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52102         <bp-sym.h> and <bp-asm.h>.
52103         (__mempcpy): Don't use BP_SYM.
52104         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52105         <bp-sym.h> and <bp-asm.h>.
52106         (__memrchr): Don't use BP_SYM.
52107         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52108         <bp-sym.h> and <bp-asm.h>.
52109         (memset): Don't use BP_SYM.
52110         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52111         <bp-sym.h> and <bp-asm.h>.
52112         (__rawmemchr): Don't use BP_SYM.
52113         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52114         <bp-sym.h> and <bp-asm.h>.
52115         (__STRCMP): Don't use BP_SYM.
52116         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52117         <bp-sym.h> and <bp-asm.h>.
52118         (strchr): Don't use BP_SYM.
52119         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52120         <bp-sym.h> and <bp-asm.h>.
52121         (__strchrnul): Don't use BP_SYM.
52122         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52123         <bp-sym.h> and <bp-asm.h>.
52124         (strlen): Don't use BP_SYM.
52125         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52126         <bp-sym.h> and <bp-asm.h>.
52127         (strncmp): Don't use BP_SYM.
52128         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52129         <bp-sym.h> and <bp-asm.h>.
52130         (__strnlen): Don't use BP_SYM.
52131         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52132         <bp-asm.h>.
52133         (__mpn_rshift): Don't use BP_SYM.
52134         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52135         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52136         <bp-sym.h> and <bp-asm.h>.
52137         (__sigsetjmp): Don't use BP_SYM.
52138         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52139         (L(start_addresses)): Don't use BP_SYM.
52140         (_start): Likewise.
52141         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52142         <bp-asm.h>.
52143         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52144         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52145         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52146         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52147         <bp-asm.h>.
52148         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52149         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52150         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52151         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52152         <bp-asm.h>.
52153         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52154         comments.
52155         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52156         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52157         <bp-asm.h>.
52158         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52159         FIXME comments.
52160         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52161         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52162         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52163         <bp-asm.h>.
52164         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52165         comment.
52166         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52167         and <bp-asm.h>.
52168         (strncmp): Don't use BP_SYM,
52169         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52170         <bp-asm.h>.
52171         (__mpn_sub_n): Don't use BP_SYM.
52172         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52173         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52174         and <bp-asm.h>.
52175         (__mpn_submul_1): Don't use BP_SYM.
52176         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52178         <bp-sym.h> and <bp-asm.h>.
52179         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52181         <bp-sym.h> and <bp-asm.h>.
52182         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52183         comment.
52185 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52188         Use ZK to minimize writes to Z.
52189         (sub_magnitudes): Simplify code a bit.
52190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52191         Use ZK to minimize writes to Z.
52192         (sub_magnitudes): Simplify code a bit.
52194 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52196         * csu/gmon-start.c: Add special exception to license text.
52198 2013-02-27  Richard Henderson  <rth@redhat.com>
52200         * scripts/config.guess: Update from config.git.
52201         * scripts/config.sub: Likewise.
52203 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52205         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52207         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52209         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52211         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52213         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52215 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52217         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52218         [$(build-shared = yes].
52220 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52222         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52223         (__mul): Reduce iterations for calculating mantissa.
52225         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52226         MPTWO.
52227         (__mpranred): Likewise.
52229         [BZ #15160]
52230         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52231         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52233 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52235         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52236         Define __attribute__.
52238 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52240         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52241         unused.
52242         * posix/regex_internal.h (__attribute): Remove.
52243         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52244         (re_string_context_at): Likewise.
52245         (bitset_not): Use __attribute__ and mark function as possibly
52246         unused.
52247         (bitset_merge): Likewise.
52248         (bitset_mask): Likewise.
52249         (re_string_char_size_at): Likewise.
52250         (re_string_wchar_at): Likewise.
52251         (re_string_elem_size_at): Likewise.
52253 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52255         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52256         code.
52257         (cc32): Likewise.
52259         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52260         (__acr): Likewise.
52261         (__cpy): Likewise.
52262         (norm): Likewise.
52263         (denorm): Likewise.
52264         (__dbl_mp): Likewise.
52265         (add_magnitudes): Likewise.
52266         (sub_magnitudes): Likewise.
52267         (__mul): Likewise.
52268         (__inv): Likewise.
52270         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52271         style.
52273         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52274         style.
52276         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52277         code.
52279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52280         up changes with default code.
52281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52282         Likewise.
52284 2013-02-24  Allan McRae  <allan@archlinux.org>
52286         * manual/socket.texi (The Internet Namespace): Order menu items
52287         to match that in the file.
52289         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52290         node listing of the info page menu.
52292 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52294         [BZ #13550]
52295         * sysdeps/i386/bp-asm.h: Remove file.
52296         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52297         (PARMS): Do not use macros from bp-asm.h.
52298         (S1): Likewise.
52299         (S2): Likewise.
52300         (SIZE): Likewise.
52301         (__mpn_add_n): Do not use BP_SYM
52302         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52303         "bp-asm.h".
52304         (PARMS): Do not use macros from bp-asm.h.
52305         (S1): Likewise.
52306         (SIZE): Likewise.
52307         (__mpn_addmul_1): Do not use BP_SYM
52308         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52309         "bp-asm.h".
52310         (PARMS): Do not use macros from bp-asm.h.
52311         (SIGMSK): Likewise.
52312         (_setjmp): Likewise.  Do not use BP_SYM.
52313         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52314         "bp-asm.h".
52315         (PARMS): Do not use macros from bp-asm.h.
52316         (SIGMSK): Likewise.
52317         (setjmp): Likewise.  Do not use BP_SYM.
52318         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52319         "bp-asm.h".
52320         (PARMS): Do not use macros from bp-asm.h.
52321         (__frexp): Do not use BP_SYM.
52322         (frexp): Likewise.
52323         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52324         "bp-asm.h".
52325         (PARMS): Do not use macros from bp-asm.h.
52326         (__frexpf): Do not use BP_SYM.
52327         (frexpf): Likewise.
52328         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52329         "bp-asm.h".
52330         (PARMS): Do not use macros from bp-asm.h.
52331         (__frexpl): Do not use BP_SYM.
52332         (frexpl): Likewise.
52333         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52334         "bp-asm.h".
52335         (PARMS): Do not use macros from bp-asm.h.
52336         (__remquo): Do not use BP_SYM.
52337         (remquo): Likewise.
52338         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52339         "bp-asm.h".
52340         (PARMS): Do not use macros from bp-asm.h.
52341         (__remquof): Do not use BP_SYM.
52342         (remquof): Likewise.
52343         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52344         "bp-asm.h".
52345         (PARMS): Do not use macros from bp-asm.h.
52346         (__remquol): Do not use BP_SYM.
52347         (remquol): Likewise.
52348         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52349         "bp-asm.h".
52350         (PARMS): Do not use macros from bp-asm.h.
52351         (DEST): Likewise.
52352         (SRC): Likewise.
52353         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52354         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52355         "bp-asm.h".
52356         (PARMS): Do not use macros from bp-asm.h.
52357         (strlen): Do not use BP_SYM.
52358         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52359         "bp-asm.h".
52360         (PARMS): Do not use macros from bp-asm.h.
52361         (S1): Likewise.
52362         (S2): Likewise.
52363         (SIZE): Likewise.
52364         (__mpn_add_n): Do not use BP_SYM.
52365         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52366         "bp-asm.h".
52367         (PARMS): Do not use macros from bp-asm.h.
52368         (S1): Likewise.
52369         (SIZE): Likewise.
52370         (__mpn_addmul_1): Do not use BP_SYM.
52371         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52372         weak_alias.
52373         (bzero): Likewise.
52374         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52375         "bp-asm.h".
52376         (PARMS): Do not use macros from bp-asm.h.
52377         (S): Likewise.
52378         (SIZE): Likewise.
52379         (__mpn_lshift): Do not use BP_SYM.
52380         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52381         "bp-asm.h".
52382         (PARMS): Do not use macros from bp-asm.h.
52383         (DEST): Likewise.
52384         (SRC): Likewise.
52385         (LEN): Likewise.
52386         (memcpy): Likewise.  Do not use BP_SYM.
52387         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52388         libc_hidden_def and weak_alias.
52389         (mempcpy): Do not use BP_SYM in weak_alias.
52390         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52391         "bp-asm.h".
52392         (PARMS): Do not use macros from bp-asm.h.
52393         (DEST): Likewise.
52394         (LEN): Likewise.
52395         [!BZERO_P] (CHR): Likewise.
52396         (memset): Likewise.  Do not use BP_SYM.
52397         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52398         "bp-asm.h".
52399         (PARMS): Do not use macros from bp-asm.h.
52400         (S1): Likewise.
52401         (SIZE): Likewise.
52402         (__mpn_mul_1): Do not use BP_SYM.
52403         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52404         "bp-asm.h".
52405         (PARMS): Do not use macros from bp-asm.h.
52406         (S): Likewise.
52407         (SIZE): Likewise.
52408         (__mpn_rshift): Do not use BP_SYM.
52409         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52410         "bp-asm.h".
52411         (PARMS): Do not use macros from bp-asm.h.
52412         (STR): Likewise.
52413         (CHR): Likewise.
52414         (strchr): Likewise.  Do not use BP_SYM.
52415         (index): Do not use BP_SYM in weak_alias.
52416         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52417         "bp-asm.h".
52418         (PARMS): Do not use macros from bp-asm.h.
52419         (DEST): Likewise.
52420         (SRC): Likewise.
52421         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52422         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52423         "bp-asm.h".
52424         (PARMS): Do not use macros from bp-asm.h.
52425         (strlen): Do not use BP_SYM.
52426         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52427         "bp-asm.h".
52428         (PARMS): Do not use macros from bp-asm.h.
52429         (S1): Likewise.
52430         (S2): Likewise.
52431         (SIZE): Likewise.
52432         (__mpn_sub_n): Do not use BP_SYM.
52433         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52434         "bp-asm.h".
52435         (PARMS): Do not use macros from bp-asm.h.
52436         (S1): Likewise.
52437         (SIZE): Likewise.
52438         (__mpn_submul_1): Do not use BP_SYM.
52439         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52440         "bp-asm.h".
52441         (PARMS): Do not use macros from bp-asm.h.
52442         (S1): Likewise.
52443         (S2): Likewise.
52444         (SIZE): Likewise.
52445         (__mpn_add_n): Do not use BP_SYM.
52446         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52447         weak_alias.
52448         (bzero): Likewise.
52449         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52450         "bp-asm.h".
52451         (PARMS): Do not use macros from bp-asm.h.
52452         (BLK2): Likewise.
52453         (LEN): Likewise.
52454         (memcmp): Do not use BP_SYM.
52455         (bcmp): Do not use BP_SYM in weak_alias.
52456         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52457         "bp-asm.h".
52458         (PARMS): Do not use macros from bp-asm.h.
52459         (DEST): Likewise.
52460         (SRC): Likewise.
52461         (LEN): Likewise.
52462         (memcpy): Likewise.  Do not use BP_SYM.
52463         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52464         "bp-asm.h".
52465         (PARMS): Do not use macros from bp-asm.h.
52466         (DEST): Likewise.
52467         (SRC): Likewise.
52468         (LEN): Likewise.
52469         (memmove): Likewise.  Do not use BP_SYM.
52470         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52471         "bp-asm.h".
52472         (PARMS): Do not use macros from bp-asm.h.
52473         (DEST): Likewise.
52474         (SRC): Likewise.
52475         (LEN): Likewise.
52476         (__mempcpy): Likewise.  Do not use BP_SYM.
52477         (mempcpy): Do not use BP_SYM in weak_alias.
52478         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52479         "bp-asm.h".
52480         (PARMS): Do not use macros from bp-asm.h.
52481         (DEST): Likewise.
52482         (LEN): Likewise.
52483         [!BZERO_P] (CHR): Likewise.
52484         (memset): Likewise.  Do not use BP_SYM.
52485         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52486         "bp-asm.h".
52487         (PARMS): Do not use macros from bp-asm.h.
52488         (STR2): Likewise.
52489         (strcmp): Do not use BP_SYM.
52490         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52491         "bp-asm.h".
52492         (PARMS): Do not use macros from bp-asm.h.
52493         (STR): Likewise.
52494         (DELIM): Likewise.
52495         [USE_AS_STRTOK_R] (SAVE): Likewise.
52496         (FUNCTION): Likewise.  Do not use BP_SYM.
52497         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52498         aliases.
52499         (strtok_r): Likewise.
52500         (__GI___strtok_r): Likewise.
52501         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52502         (PARMS): Do not use macros from bp-asm.h.
52503         (S): Likewise.
52504         (SIZE): Likewise.
52505         (__mpn_lshift): Do not use BP_SYM.
52506         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52507         (PARMS): Do not use macros from bp-asm.h.
52508         (STR): Likewise.
52509         (CHR): Likewise.
52510         (__memchr): Do not use BP_SYM.
52511         (memchr): Do not use BP_SYM in weak_alias.
52512         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52513         (PARMS): Do not use macros from bp-asm.h.
52514         (BLK2): Likewise.
52515         (LEN): Likewise.
52516         (memcmp): Do not use BP_SYM.
52517         (bcmp): Do not use BP_SYM in weak_alias.
52518         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52519         (PARMS): Do not use macros from bp-asm.h.
52520         (S1): Likewise.
52521         (SIZE): Likewise.
52522         (__mpn_mul_1): Do not use BP_SYM.
52523         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52524         "bp-asm.h".
52525         (PARMS): Do not use macros from bp-asm.h.
52526         (STR): Likewise.
52527         (CHR): Likewise.
52528         (__rawmemchr): Do not use BP_SYM.
52529         (rawmemchr): Do not use BP_SYM in weak_alias.
52530         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52531         (PARMS): Do not use macros from bp-asm.h.
52532         (S): Likewise.
52533         (SIZE): Likewise.
52534         (__mpn_rshift): Do not use BP_SYM.
52535         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52536         (PARMS): Do not use macros from bp-asm.h.
52537         (SIGMSK): Likewise.
52538         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52539         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52540         (_start): Do not use BP_SYM.
52541         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52542         (PARMS): Do not use macros from bp-asm.h.
52543         (DEST): Likewise.
52544         (SRC): Likewise.
52545         (__stpcpy): Likewise.  Do not use BP_SYM.
52546         (stpcpy): Do not use BP_SYM in weak_alias.
52547         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52548         "bp-asm.h".
52549         (PARMS): Do not use macros from bp-asm.h.
52550         (DEST): Likewise.
52551         (SRC): Likewise.
52552         (LEN): Likewise.
52553         (__stpncpy): Likewise.  Do not use BP_SYM.
52554         (stpncpy): Do not use BP_SYM in weak_alias.
52555         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52556         (PARMS): Do not use macros from bp-asm.h.
52557         (STR): Likewise.
52558         (CHR): Likewise.
52559         (strchr): Likewise.  Do not use BP_SYM.
52560         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52561         "bp-asm.h".
52562         (PARMS): Do not use macros from bp-asm.h.
52563         (STR): Likewise.
52564         (CHR): Likewise.
52565         (__strchrnul): Likewise.  Do not use BP_SYM.
52566         (strchrnul): Do not use BP_SYM in weak_alias.
52567         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52568         "bp-asm.h".
52569         (PARMS): Do not use macros from bp-asm.h.
52570         (STOP): Likewise.
52571         (strcspn): Do not use BP_SYM.
52572         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52573         "bp-asm.h".
52574         (PARMS): Do not use macros from bp-asm.h.
52575         (STR): Likewise.
52576         (STOP): Likewise.
52577         (strpbrk): Likewise.  Do not use BP_SYM.
52578         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52579         "bp-asm.h".
52580         (PARMS): Do not use macros from bp-asm.h.
52581         (STR): Likewise.
52582         (CHR): Likewise.
52583         (strrchr): Likewise.  Do not use BP_SYM.
52584         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52585         (PARMS): Do not use macros from bp-asm.h.
52586         (SKIP): Likewise.
52587         (strspn): Do not use BP_SYM.
52588         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52589         (PARMS): Do not use macros from bp-asm.h.
52590         (STR): Likewise.
52591         (DELIM): Likewise.
52592         (SAVE): Likewise.
52593         (FUNCTION): Likewise.  Do not use BP_SYM.
52594         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52595         aliases.
52596         (strtok_r): Likewise.
52597         (__GI___strtok_r): Likewise.
52598         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52599         (PARMS): Do not use macros from bp-asm.h.
52600         (S1): Likewise.
52601         (S2): Likewise.
52602         (SIZE): Likewise.
52603         (__mpn_sub_n): Do not use BP_SYM.
52604         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52605         "bp-asm.h".
52606         (PARMS): Do not use macros from bp-asm.h.
52607         (S1): Likewise.
52608         (SIZE): Likewise.
52609         (__mpn_submul_1): Do not use BP_SYM.
52610         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52611         <bp-sym.h>.
52612         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52613         and <bp-asm.h>.
52614         (PARMS): Do not use macros from bp-asm.h.
52615         (FLAGS): Likewise.
52616         (PTID): Likewise.
52617         (TLS): Likewise.
52618         (CTID): Likewise.
52619         (__clone): Do not use BP_SYM.
52620         (clone): Do not use BP_SYM in weak_alias.
52621         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52622         and <bp-asm.h>.
52623         (PARMS): Do not use macros from bp-asm.h.
52624         (LEN): Likewise.
52625         (__mmap64): Do not use BP_SYM.
52626         (mmap64): Do not use BP_SYM in weak_alias.
52627         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52628         <bp-sym.h> and <bp-asm.h>.
52629         (PARMS): Do not use macros from bp-asm.h.
52630         (__posix_fadvise64_l64): Do not use BP_SYM.
52631         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52632         (PARMS): Do not use macros from bp-asm.h.
52633         (NSOPS): Likewise.
52634         (semtimedop): Do not use BP_SYM.
52635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52636         and <bp-asm.h>.
52638 2013-02-21  Allan McRae  <allan@archlinux.org>
52640         * manual/message.texi (Charset conversion in gettext):
52641         Move @end statement to beginning of line.
52643 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52646         static.
52647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52648         Likewise.
52650         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52651         (denorm): Likewise.
52652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52655 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52657         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52658         tail-call to the resolved function if pltexit isn't needed.
52660 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52663         or Y being zero as being unlikely.
52664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52665         Likewise.
52667 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52669         * manual/nss.texi (System Databases and Name Service Switch):
52670         Remove frobnicate @pxref.
52672 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52674         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52675         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52677 2013-02-20  Petr Machata  <pmachata@redhat.com>
52679         * elf/elf.h (R_ARM_TARGET1): New macro.
52680         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52681         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52682         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52683         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52684         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52685         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52686         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52687         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52688         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52689         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52690         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52691         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52692         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52693         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52694         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52695         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52696         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52697         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52698         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52699         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52700         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52701         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52702         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52703         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52704         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52705         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52706         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52707         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52708         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52709         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52710         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52711         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52712         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52713         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52714         (R_ARM_THM_GOT_BREL12): Likewise.
52715         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52716         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52717         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52718         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52719         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52720         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52721         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52722         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52723         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52725 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52727         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52728         __attribute_used__ to __attribute__ ((unused)).
52730 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52732         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52733         powerpc mpa.c.
52734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52735         comment formatting.
52736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52738 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52740         [BZ #13550]
52741         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52742         Remove macro.
52743         (ENTER): Remove both macro definitions.
52744         (LEAVE): Likewise.
52745         (CHECK_BOUNDS_LOW): Likewise.
52746         (CHECK_BOUNDS_HIGH): Likewise.
52747         (CHECK_BOUNDS_BOTH): Likewise.
52748         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52749         (RETURN_BOUNDED_POINTER): Likewise.
52750         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52751         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52752         (POP_ERRNO_LOCATION_RETURN): Likewise.
52753         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52754         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52755         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52756         macros.
52757         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52758         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52759         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52760         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52761         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52762         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52763         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52764         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52765         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52766         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52767         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52768         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52769         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52770         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52771         removed macros.
52772         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52773         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52774         macros.
52775         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52776         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52777         * sysdeps/i386/i586/memset.S (memset): Likewise.
52778         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52779         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52780         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52781         macros.
52782         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52783         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52784         Change uses of L(2) to L(out).
52785         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52786         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52787         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52788         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52789         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52790         removed macros.
52791         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52792         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52793         macros.
52794         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52795         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52796         (RETURN): Do not use macro LEAVE.
52797         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52798         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52799         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52800         * sysdeps/i386/i686/memset.S (memset): Likewise.
52801         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52802         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52803         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52804         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52805         Likewise.
52806         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52807         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52808         L(1_2) and L(1_3) into L(1).
52809         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52810         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52811         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52812         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52813         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52814         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52815         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52816         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52817         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52818         macros.
52819         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52820         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52821         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52822         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52823         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52824         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52825         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52826         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52827         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52828         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52829         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52830         * sysdeps/i386/strspn.S (strspn): Likewise.
52831         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52832         conditional code.
52833         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52834         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52835         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52836         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52837         L(1_3) into L(1_1).
52838         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52839         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52840         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52841         macros.
52842         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52844 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52846         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52847         macro.
52849 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52851         * math/atest-exp.c (exp_mpn): Remove ROUND.
52852         * math/atest-exp2.c (exp_mpn): Likewise.
52853         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52855         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52856         * stdlib/tst-tls-atexit-lib.c: Likewise.
52857         * stdlib/tst-tls-atexit.c: Likewise.
52859 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52861         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52862         and __attribute_alloc_size__.
52864 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52866         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52867         __attribute_alloc_size__.
52868         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52869         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52871 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52873         * include/programs/xmalloc.h: New file.
52874         * catgets/gencat.c: Include it.
52875         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52876         * elf/pldd.c: Likewise.
52877         * iconv/iconv_charmap.c: Likewise.
52878         * iconv/iconvconfig.c: Likewise.
52879         * iconv/strtab.c: Likewise.
52880         * locale/programs/locale.c: Likewise.
52881         * locale/programs/localedef.h: Likewise.
52882         * locale/programs/simple-hash.c: Likewise.
52883         * nscd/nscd.h: Likewise.
52884         * nss/makedb.c: Likewise.
52885         * sysdeps/generic/ldconfig.h: Likewise.
52887 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52889         * Versions.def: Add GLIBC_2.18.
52890         * include/link.h (struct link_map): New member l_tls_dtor_count.
52891         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52892         (__call_tls_dtors): Likewise.
52893         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52894         __cxa_thread_atexit_impl.
52895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52896         Likewise.
52897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52898         Likewise.
52899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52900         Likewise.
52901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52902         Likewise.
52903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52905         Likewise.
52906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52907         Likewise.
52908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52910         Likewise.
52911         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52912         (tests): Add test case tst-tls-atexit.
52913         (modules-names): Add shared library for tst-tls-atexit.
52914         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52915         (GLIBC_PRIVATE): Add __call_tls_dtors.
52916         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52917         for libstdc++.
52918         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52919         * stdlib/tst-tls-atexit.c: New test case.
52920         * stdlib/tst-tls-atexit-lib.c: New test case.
52922         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52924         * elf/Versions (ld): Add _dl_find_dso_for_object.
52925         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52926         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52927         (dl_open_worker): Use _dl_find_dso_for_object.
52928         * elf/dl-sym.c (do_sym): Likewise.
52929         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52931 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52933         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52934         Syntactic changes only.
52935         (_dl_runtime_profile): Do a tail-call to the resolved function.
52937 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52939         [BZ #13550]
52940         * sysdeps/x86_64/bp-asm.h: Remove file.
52941         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52942         <bp-sym.h> and <bp-asm.h>.
52943         (__clone): Do not use BP_SYM.
52944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52945         <bp-sym.h> and <bp-asm.h>.
52946         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52947         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52948         "bp-asm.h".
52949         (_setjmp): Do not use BP_SYM.
52950         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52951         "bp-asm.h".
52952         (setjmp): Do not use BP_SYM.
52953         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52954         libc_hidden_def.
52955         (mempcpy): Do not use BP_SYM in weak_alias.
52956         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52957         "bp-asm.h".
52958         (strchr): Do not use BP_SYM.
52959         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52960         "bp-asm.h".
52961         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52962         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52963         (_start): Do not use BP_SYM.
52964         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52965         "bp-asm.h".
52966         (strcat): Do not use BP_SYM.
52967         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52968         "bp-asm.h".
52969         (STRCMP): Do not use BP_SYM.
52970         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52971         "bp-asm.h".
52972         (STRCPY): Do not use BP_SYM.
52973         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52974         "bp-asm.h".
52975         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52976         "bp-asm.h".
52977         (FUNCTION): Do not use BP_SYM.
52978         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52979         weak_alias.
52980         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52982 2013-02-17  Andreas Jaeger  <aj@suse.de>
52984         * time/Versions: Sort entries.
52985         * string/Versions: Likewise.
52986         * resolv/Versions: Likewise.
52987         * posix/Versions: Likewise.
52988         * iconv/Versions: Likewise.
52989         * elf/Versions: Likewise.
52990         * wcsmbs/Versions: Likewise.
52992 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52994         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52995         loop termination condition.
52997         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52998         variable to calculate EZ.
52999         (__sqr): Likewise.
53001         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53002         the lower precision input.
53004 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53006         [BZ #13550]
53007         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53008         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53009         (run-via-rtld-prefix): Do not handle %-bp tests.
53010         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53011         (all-object-suffixes): Remove .ob.
53012         (bppfx): Remove variable.
53013         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53014         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53015         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53016         [$(build-bounded) = yes] (libtype.ob): Likewise.
53017         * Makerules (elide-routines.ob): Remove variable.
53018         (do-tests-clean): Do not handle *-bp.out.
53019         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53020         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53021         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53022         (tests): Do not include $(tests-bp.out).
53023         (xtests): Do not include $(xtests-bp.out).
53024         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53025         [$(build-bounded) = yes] ($(addprefix
53026         $(objpfx),$(binaries-bounded))): Remove rule.
53027         ($(objpfx)%-bp.out): Remove rule.
53028         * config.make.in (build-bounded): Remove variable.
53029         * crypt/Makefile [$(build-bounded) = yes]
53030         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53031         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53032         append to variable.
53033         [$(build-bounded) = yes] (install-lib): Likewise.
53034         [$(build-bounded) = yes] (generated): Likewise.
53035         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53036         Remove rule.
53037         * intl/Makefile [$(build-bounded) = yes]
53038         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53039         * math/Makefile [$(build-bounded) = yes]
53040         ($(tests:%=$(objpfx)%-bp): Likewise.
53041         * misc/Makefile [$(build-bounded) = yes]
53042         ($(objpfx)tst-tsearch-bp): Likewise.
53043         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53044         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53045         Remove dependency.
53046         * string/Makefile (o-objects.ob): Remove variable.
53047         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53048         (CFLAGS-.ob): Remove variable.
53049         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53050         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53051         both definitions of variable.
53052         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53053         (ASFLAGS-.ob): Remove variable.
53055 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53057         [BZ #13550]
53058         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53059         Remove __BOUNDED_POINTERS__ from condition.
53060         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53061         * string/bits/string2.h [!__NO_STRING_INLINES &&
53062         !__BOUNDED_POINTERS__]: Likewise.
53063         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53064         Likewise.
53065         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53066         Remove conditional code.
53067         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53068         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53069         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53070         condition.
53072         [BZ #13550]
53073         * csu/libc-start.c: Do not include <bp-sym.h>.
53074         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53075         * elf/dl-open.c: Do not include <bp-sym.h>.
53076         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53077         * math/fegetenv.c: Do not include <bp-sym.h>.
53078         (fegetenv): Do not use BP_SYM in versioned symbols.
53079         * nptl/sysdeps/pthread/bits/libc-lockP.h
53080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53081         <bp-sym.h>.
53082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53083         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53085         (__pthread_mutex_destroy): Likewise.
53086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53087         (__pthread_mutex_lock): Likewise.
53088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53089         (__pthread_mutex_trylock): Likewise.
53090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53091         (__pthread_mutex_unlock): Likewise.
53092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53093         (__pthread_mutexattr_init): Likewise.
53094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53095         (__pthread_mutexattr_destroy): Likewise.
53096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53097         (__pthread_mutexattr_settype): Likewise.
53098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53099         (__pthread_rwlock_init): Likewise.
53100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53101         (__pthread_rwlock_destroy): Likewise.
53102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53103         (__pthread_rwlock_rdlock): Likewise.
53104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53105         (__pthread_rwlock_tryrdlock): Likewise.
53106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53107         (__pthread_rwlock_wrlock): Likewise.
53108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53109         (__pthread_rwlock_trywrlock): Likewise.
53110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53111         (__pthread_rwlock_unlock): Likewise.
53112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53113         (__pthread_key_create): Likewise.
53114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53115         (__pthread_setspecific): Likewise.
53116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53117         (__pthread_getspecific): Likewise.
53118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53119         Likewise.
53120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53121         (_pthread_cleanup_push_defer): Likewise.
53122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53123         (_pthread_cleanup_pop_restore): Likewise.
53124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53125         (pthread_setcancelstate): Likewise.
53126         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53127         <bp-sym.h>.
53128         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53129         (memchr): Do not use BP_SYM in weak_alias.
53130         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53131         (fegetenv): Do not use BP_SYM in versioned symbols.
53132         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53133         (fesetenv): Do not use BP_SYM in versioned symbols.
53134         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53135         (feupdateenv): Do not use BP_SYM in versioned symbols.
53136         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53137         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53138         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53139         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53140         (open64): Do not use BP_SYM in weak_alias.
53141         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53142         (fegetenv): Do not use BP_SYM in versioned symbols.
53143         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53144         (fesetenv): Do not use BP_SYM in versioned symbols.
53145         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53146         (feupdateenv): Do not use BP_SYM in versioned symbols.
53147         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53148         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53149         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53150         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53151         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53152         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53153         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53154         <bp-sym.h>.
53155         (__libc_start_main): Do not use BP_SYM.
53157 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53160         redundant return line.
53161         (norm): Likewise.
53162         (denorm): Likewise.
53163         (dbl_mp): Likewise.
53164         (sub_magnitudes): Likewise.
53165         (__add): Likewise.
53166         (__sub): Likewise.
53167         (__mul): Likewise.
53168         (__inv): Likewise.
53169         (__dvd): Likewise.
53170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53171         (norm): Likewise.
53172         (denorm): Likewise.
53173         (dbl_mp): Likewise.
53174         (sub_magnitudes): Likewise.
53175         (__add): Likewise.
53176         (__sub): Likewise.
53177         (__mul): Likewise.
53178         (__inv): Likewise.
53179         (__dvd): Likewise.
53181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53182         instead of __mul.
53183         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53184         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53185         (cc32): Likewise.
53187         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53188         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53190         of __mul for squares.
53191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53192         function
53193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53194         Likewise.
53195         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53196         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53198 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53200         [BZ #13550]
53201         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53202         code.
53203         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53204         prototype or function definition.  Rename ubp_* variables and
53205         parameters.  Remove argv definitions conditional on
53206         [__BOUNDED_POINTERS__].
53207         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53208         * elf/dl-runtime.c (_dl_fixup): Likewise.
53209         * include/set-hooks.h (RUN_HOOK): Likewise.
53210         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53211         definition.
53212         * string/strcpy.c (strcpy): Do not use __unbounded.
53213         * sysdeps/generic/frame.h (struct layout): Likewise.
53214         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53215         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53216         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53217         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53218         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53219         (__backtrace): Likewise.
53220         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53221         use __ptrvalue.
53222         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53223         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53224         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53225         Likewise.
53226         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53227         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53228         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53229         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53230         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53231         Do not use __unbounded.
53232         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53233         Rename __unboundedrlimits parameter to rlimits in prototype.
53234         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53235         Do not use __unbounded.
53236         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53237         not use __ptrvalue.
53238         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53239         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53240         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53241         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53242         __ptrvalue or __unbounded.
53243         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53244         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53245         use __unbounded.
53246         (__new_msgctl): Do not use __ptrvalue.
53247         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53248         __unbounded.
53249         (__libc_msgrcv): Do not use __ptrvalue.
53250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53251         startup_info): Do not use __unbounded.
53252         (__libc_start_main): Likewise.  Rename ubp_* variables and
53253         parameters.  Remove argv definitions conditional on
53254         [__BOUNDED_POINTERS__].
53255         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53256         __ptrvalue.
53257         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53258         use __unbounded.
53259         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53260         or __ptrvalue.
53261         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53262         use __unbounded.
53263         (__new_shmctl): Do not use __ptrvalue.
53264         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53265         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53266         Likewise.
53267         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53268         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53269         (__libc_sigaction): Likewise.
53270         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53271         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53272         Likewise.
53273         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53275 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53277         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53279         * string/mempcpy.c: Implement by calling memcpy.
53281 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53286         evaluation.
53288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53289         values in the mantissa.
53291         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53292         minimize writes to Z.
53293         (sub_magnitudes): Simplify code a bit.
53295 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53297         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53298         from the message.  The linker prefixes all warnings with that already.
53300 2013-02-12  Andreas Schwab  <schwab@suse.de>
53302         [BZ #15078]
53303         * posix/regexec.c (extend_buffers): Add parameter min_len.
53304         (check_matching): Pass minimum needed length.
53305         (clean_state_log_if_needed): Likewise.
53306         (get_subexp): Likewise.
53307         * posix/Makefile (tests): Add bug-regex34.
53308         (bug-regex34-ENV): Define.
53309         * posix/bug-regex34.c: New file.
53311         [BZ #11561]
53312         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53313         elements compare against the byte sequence of it, not its name.
53314         * posix/Makefile (tests): Add bug-regex35.
53315         (bug-regex35-ENV): Define.
53316         * posix/bug-regex35.c: New file.
53318 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53320         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53321         comment.
53322         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53323         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53324         (CHECK_EOL): Add undef.
53326 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53328         * bits/stdlib-bsearch.h: New file.
53329         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53330         * stdlib/stdlib.h: Likewise.
53332 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53334         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53335         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53336         declaration.
53337         * manual/search.texi (Array Search Function): Add missing const in
53338         lfind prototype.
53339         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53340         declaration to use rlim_t.
53341         (Basic Scheduling Functions): Remove erroneous const from
53342         sched_getparam prototype.  Remove erroneous * from
53343         sched_get_priority_max and sched_get_priority_min prototypes.
53344         (Resource Usage): Fix summary @comment on vtimes to refer to
53345         sys/vtimes.h rather than vtimes.h.
53346         Add missing *s in vtimes prototype.
53347         (Limits on Resources): Fix ulimit prototype to return long int.
53348         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53349         prototypes to use long int rather than double.
53350         (BSD Random): Fix initstate and setstate to use char *, not void *.
53351         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53352         prototype to make second argument 'struct aiocb64 *const[]'.
53353         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53354         (Status of AIO Operations): Remove erroneous const in aio_return and
53355         aio_return64 prototypes.
53356         (Synchronizing I/O): Fix sync prototype to return void.
53357         * manual/startup.texi (Suboptions): Remove an erroneous const in
53358         getsubopt prototype.
53359         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53360         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53361         use size_t rather than int.
53362         (Scanning All Users): Likewise for getpwent_r.
53363         (Setting Groups): Add missing const to setgroups prototype.
53364         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53365         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53366         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53367         'const void *' rather than 'const char *'.
53368         (Host Address Functions): Likewise for inet_ntop.
53369         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53370         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53371         ssize_t for return value.
53372         (Sending Data): Likewise for send, sendto, sendmsg.
53373         (Socket Option Functions): Add a missing const in setsockopt prototype.
53374         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53375         use wchar_t for the argument.
53376         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53377         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53378         take no arguments.
53379         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53380         double/float/long double for second argument.
53381         Fix return types of significand, significandf, significandl.
53382         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53383         argument in fchmod prototype.
53384         (File Owner): Use uid_t and gid_t in fchown prototype.
53385         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53386         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53387         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53388         use 'const struct dirent **' as argument types to CMP function pointer
53389         argument.
53390         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53391         (File Times): Fix summary magic @comment for struct utimbuf and utime
53392         to refer to utime.h, not time.h.
53393         * manual/string.texi (Argz Functions): Add missing const in
53394         argz_extract and argz_next prototypes.
53395         (Finding Tokens in a String): Likewise for basename.
53396         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53397         (Copying and Concatenation): Fix typo in wmemmove prototype.
53398         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53399         (Signal Stack): Remove erroneous const in sigstack prototype.
53400         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53401         prototype.
53402         (Simple Calendar Time): Likewise for stime.
53403         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53404         prototype.
53405         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53406         say sys/sysctl.h instead.
53407         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53408         and vsyslog prototypes.
53410 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53412         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53413         Remove.
53415 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53417         * misc/sys/mman.h: Fix typo in mremap comment.
53419 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53421         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53422         the '\0' terminator.
53424 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53426         [BZ #13550]
53427         * debug/segfault.c: Don't include <bp-checks.h>.
53428         * sysdeps/generic/bp-checks.h: Remove file.
53429         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53430         (__GETDENTS): Don't use CHECK_N.
53431         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53432         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53433         (__getgroups): Don't use CHECK_N.
53434         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53435         (setgroups): Don't use CHECK_N.
53436         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53437         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53438         (__libc_msgrcv): Don't use CHECK_N.
53439         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53440         (__libc_msgsnd): Don't use CHECK_N.
53441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53442         <bp-checks.h>.
53443         (__libc_pread): Don't use CHECK_N.
53444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53445         include <bp-checks.h>.
53446         (__libc_pread64): Don't use CHECK_N.
53447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53448         include <bp-checks.h>.
53449         (__libc_pwrite): Don't use CHECK_N.
53450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53451         include <bp-checks.h>.
53452         (__libc_pwrite64): Don't use CHECK_N.
53453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53454         <bp-checks.h>.
53455         (__libc_pread): Don't use CHECK_N.
53456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53457         include <bp-checks.h>.
53458         (__libc_pread64): Don't use CHECK_N.
53459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53460         include <bp-checks.h>.
53461         (__libc_pwrite): Don't use CHECK_N.
53462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53463         include <bp-checks.h>.
53464         (__libc_pwrite64): Don't use CHECK_N.
53465         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53466         (do_pread): Don't use CHECK_N.
53467         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53468         (do_pread64): Don't use CHECK_N.
53469         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53470         (do_pwrite): Don't use CHECK_N.
53471         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53472         (do_pwrite64): Don't use CHECK_N.
53473         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53474         (__libc_readv): Don't use CHECK_N.
53475         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53476         (semop): Don't use CHECK_N.
53477         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53478         <bp-checks.h>.
53479         (semtimedop): Don't use CHECK_N.
53480         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53481         (__libc_pread): Don't use CHECK_N.
53482         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53483         <bp-checks.h>.
53484         (__libc_pread64): Don't use CHECK_N.
53485         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53486         <bp-checks.h>.
53487         (__libc_pwrite): Don't use CHECK_N.
53488         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53489         <bp-checks.h>.
53490         (__libc_pwrite64): Don't use CHECK_N.
53491         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53492         <bp-checks.h>.
53493         (__libc_msgrcv): Don't use CHECK_N.
53494         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53495         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53496         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53497         (__libc_writev): Don't use CHECK_N.
53499 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53501         * string/strcpy.c: Removed unused variable.
53503         * Makeconfig (+sysdep-includes): Define with := rather than =.
53504         Use an existing include/ subdir of each sysdeps dir before it.
53506 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53508         * nscd/connection.c (register_traced_file): Comment function.
53509         [HAVE_INOTIFY] (union __inev): Define.
53510         [HAVE_INOTIFY] (inotify_check_files): New function.
53511         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53512         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53513         clear_db_cache.
53514         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53516 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53518         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53519         loaded if not already and that a failure is permanent.
53521 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53523         [BZ #15006]
53524         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53525         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53527 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53529         [BZ #13550]
53530         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53531         (CHECK_1_NULL_OK): Likewise.
53532         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53533         (__fxstat): Do not use CHECK_1.
53534         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53535         <bp-checks.h>.
53536         (___fxstat64): Do not use CHECK_1.
53537         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53538         <bp-checks.h>.
53539         (__fxstatat): Do not use CHECK_1.
53540         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53541         <bp-checks.h>.
53542         (__fxstatat64): Do not use CHECK_1.
53543         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53544         <bp-checks.h>.
53545         (__fxstat): Do not use CHECK_1.
53546         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53547         <bp-checks.h>.
53548         (__fxstatat): Do not use CHECK_1.
53549         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53550         <bp-checks.h>.
53551         (__getresgid): Do not use CHECK_1.
53552         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53553         <bp-checks.h>.
53554         (__getresuid): Do not use CHECK_1.
53555         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53556         <bp-checks.h>.
53557         (__lxstat): Do not use CHECK_1.
53558         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53559         <bp-checks.h>.
53560         (__old_msgctl): Do not use CHECK_1.
53561         (__new_msgctl): Likewise.
53562         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53563         <bp-checks.h>.
53564         (__new_setrlimit): Do not use CHECK_1.
53565         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53566         <bp-checks.h>.
53567         (__old_shmctl): Do not use CHECK_1.
53568         (__new_shmctl): Likewise.
53569         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53570         <bp-checks.h>.
53571         (__xstat): Do not use CHECK_1.
53572         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53573         (__lxstat): Do not use CHECK_1.
53574         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53575         <bp-checks.h>.
53576         (___lxstat64): Do not use CHECK_1.
53577         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53578         (__old_msgctl): Do not use CHECK_1.
53579         (__new_msgctl): Likewise.
53580         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53581         <bp-checks.h>.
53582         (__gettimeofday): Do not use CHECK_1.
53583         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53584         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53585         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53586         <bp-checks.h>.
53587         (__gettimeofday): Do not use CHECK_1.
53588         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53589         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53590         (__new_shmctl): Do not use CHECK_1.
53591         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53592         <bp-checks.h>.
53593         (do_sigtimedwait): Do not use CHECK_1.
53594         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53595         <bp-checks.h>.
53596         (do_sigwaitinfo): Do not use CHECK_1.
53597         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53598         <bp-checks.h>.
53599         (msgctl): Do not use CHECK_1.
53600         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53601         <bp-checks.h>.
53602         (shmctl): Do not use CHECK_1.
53603         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53604         (ustat): Do not use CHECK_1.
53605         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53606         <bp-checks.h>.
53607         (__fxstat): Do not use CHECK_1.
53608         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53609         <bp-checks.h>.
53610         (__fxstatat): Do not use CHECK_1.
53611         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53612         <bp-checks.h>.
53613         (__lxstat): Do not use CHECK_1.
53614         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53615         <bp-checks.h>.
53616         (__xstat): Do not use CHECK_1.
53617         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53618         (__xstat): Do not use CHECK_1.
53619         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53620         (___xstat64): Do not use CHECK_1.
53622         [BZ #13550]
53623         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53624         definitions.
53625         (CHECK_BOUNDS_HIGH): Likewise.
53626         * string/strcpy.c: Do not include <bp-checks.h>.
53627         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53629 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53631         * nscd/nscd-client.h (__nscd_drop_map_ref):
53632         Add __attribute__ ((unused)).
53633         * nis/nss-nisplus.h (niserr2nss): Likewise.
53635         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53636         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53638         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53639         Remove inline keyword.
53640         * include/rounding-mode.h (round_away): Likewise.
53641         * libio/wfileops.c (adjust_wide_data): Likewise.
53642         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53643         (__m128i_strloadu_tolower): Likewise.
53644         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53645         (__m128i_strloadu_tolower): Likewise.
53646         * time/mktime.c (ydhms_diff): Likewise.
53647         * locale/elem-hash.h (elem_hash): Likewise.
53648         * locale/setlocale.c (setdata): Likewise.
53649         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53650         (re_string_wchar_at): Likewise.
53651         (bitset_not, bitset_merge, bitset_mask): Likewise.
53652         [!(__GNUC__ > 3)] (inline): Remove macro.
53653         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53654         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53655         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53656         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53657         * string/memcmp.c (memcmp_bytes): Likewise.
53658         * locale/programs/locarchive.c (compute_hashval): Likewise.
53659         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53660         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53661         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53662         * nss/getent.c (print_rpc, print_protocols): Likewise.
53663         (print_passwd, print_group, print_aliases): Likewise.
53664         * nis/nss-nisplus.h (niserr2nss): Likewise.
53665         * nscd/connections.c (restart_p): Likewise.
53666         Change return type to bool.
53668 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53670         * Makeconfig (all-Depend-files): Add existing
53671         $(sorted-subdirs:=/Depend) files.
53672         (all-subdirs): Remove nss.
53673         * sysdeps/unix/inet/Subdirs: Add it here instead.
53674         * hesiod/Depend: New file.
53676         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53677         instead of calling alloca.
53679         * io/lseek.c (__lseek): Rename to __libc_lseek.
53680         Define __lseek as an alias.
53682         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53684 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53686         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53687         else clause and remove check for non-standard endianness.
53689 2013-02-04  David S. Miller  <davem@davemloft.net>
53691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53693 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53695         [BZ #13550]
53696         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53697         (__ubp_memchr): Remove prototype.
53698         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53699         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53700         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53701         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53702         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53703         Remove alias.
53704         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53705         (__ubp_memchr): Likewise.
53706         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53707         (__ubp_memchr): Likewise.
53708         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53709         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53710         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53711         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53712         CHECK_STRING.
53713         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53714         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53715         (__getcwd): Do not use CHECK_STRING.
53716         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53717         <bp-checks.h>.
53718         (__real_chown): Do not use CHECK_STRING.
53719         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53720         <bp-checks.h>.
53721         (fchownat): Do not use CHECK_STRING.
53722         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53723         CHECK_STRING.
53724         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53725         <bp-checks.h>.
53726         (__lchown): Do not use CHECK_STRING.
53727         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53728         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53729         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53730         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53732         include <bp-checks.h>.
53733         (truncate64): Do not use CHECK_STRING.
53734         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53735         <bp-checks.h>.
53736         (__real_chown): Do not use CHECK_STRING.
53737         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53738         <bp-checks.h>.
53739         (__lchown): Do not use CHECK_STRING.
53740         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53741         <bp-checks.h>.
53742         (__chown): Do not use CHECK_STRING.
53743         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53744         <bp-checks.h>.
53745         (truncate64): Do not use CHECK_STRING.
53746         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53747         Likewise.
53748         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53749         (__xmknod): Do not use CHECK_STRING.
53750         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53751         <bp-checks.h>.
53752         (__xmknodat): Do not use CHECK_STRING.
53753         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53754         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53756 2013-02-04  Andreas Schwab  <schwab@suse.de>
53758         [BZ #14142]
53759         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53760         * include/netdb.h: Likewise for h_errno.
53761         * elf/tst-stackguard1.c: Include <tls.h>.
53763 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53765         * elf/link.h (struct link_map): Extend the l_addr comment.
53766         * include/link.h (struct link_map): Likewise.
53768 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53770         [BZ #13550]
53771         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53772         (BOUNDED_1): Remove macro.
53773         * debug/backtrace.c: Don't include <bp-checks.h>.
53774         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53775         (__backtrace): Likewise.
53776         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53777         <bp-checks.h>.
53778         (__backtrace): Don't use BOUNDED_1.
53779         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53780         <bp-checks.h>.
53781         (__backtrace): Don't use BOUNDED_1.
53782         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53783         (__backtrace): Don't use BOUNDED_1.
53784         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53785         (shmat): Don't use BOUNDED_N.
53787 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53789         [BZ #13550]
53790         * sysdeps/generic/bp-start.h: Remove file.
53791         * csu/libc-start.c: Don't include <bp-start.h>.
53792         (LIBC_START_MAIN): Set up __environ directly instead of using
53793         INIT_ARGV_and_ENVIRON.
53794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53795         <bp-start.h>.
53797         [BZ #13550]
53798         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53799         definitions.
53800         (CHECK_FCNTL): Likewise.
53801         (CHECK_N_PAGES): Likewise.
53803         [BZ #13550]
53804         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53805         definitions.
53806         (CHECK_SIGSET_NULL_OK): Likewise.
53807         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53808         <bp-checks.h>.
53809         (sigpending): Don't use CHECK_SIGSET.
53810         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53811         <bp-checks.h>.
53812         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53813         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53814         <bp-checks.h>.
53815         (do_sigsuspend): Don't use CHECK_SIGSET.
53816         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53817         use CHECK_SIGSET.
53818         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53819         (do_sigwait): Don't use CHECK_SIGSET.
53820         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53821         use CHECK_SIGSET.
53822         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53823         include <bp-checks.h>.
53824         (sigpending): Don't use CHECK_SIGSET.
53825         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53826         include <bp-checks.h>.
53827         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53828         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53829         <bp-checks.h>.
53830         (sigpending): Don't use CHECK_SIGSET.
53831         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53832         <bp-checks.h>.
53833         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53835         [BZ #13550]
53836         * sysdeps/generic/bp-semctl.h: Remove file.
53837         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53838         <bp-checks.h> and <bp-semctl.h>.
53839         (__old_semctl): Don't use CHECK_SEMCTL.
53840         (__new_semctl): Likewise.
53841         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53842         and <bp-semctl.h>.
53843         (__old_semctl): Don't use CHECK_SEMCTL.
53844         (__new_semctl): Likewise.
53845         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53846         <bp-checks.h> and <bp-semctl.h>.
53847         (__old_semctl): Don't use CHECK_SEMCTL.
53848         (__new_semctl): Likewise.
53849         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53850         <bp-checks.h> and <bp-semctl.h>.
53851         (semctl): Don't use CHECK_SEMCTL.
53853         [BZ #13550]
53854         * Makerules (elide-bp-thunks): Remove variable.
53855         (elide-routines.oS): Don't use $(elide-bp-thunks).
53856         (elide-routines.os): Likewise.
53857         (elide-routines.o): Likewise.
53858         (elide-routines.op): Likewise.
53859         (elide-routines.og): Likewise.
53860         (objects): Don't use $(bp-thunks).
53861         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53862         include.
53863         (common-generated): Do not add s-proto-bp.d.
53864         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53865         (int): Likewise.
53866         (typ): Likewise.
53867         Do not generate makefile rules for bounded-pointer thunks.
53868         * sysdeps/generic/bp-thunks.h: Remove file.
53869         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53870         * sysdeps/unix/s-proto-bp.S: Likewise.
53872         [BZ #15062]
53873         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53874         parts of result separately when argument is not close to line from
53875         -i to i and one part of argument is small.
53876         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53877         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53878         * math/libm-test.inc (cacos_test): Add more tests.
53879         (casin_test): Likewise.
53880         (casinh_test): Likewise.
53881         * sysdeps/i386/fpu/libm-test-ulps: Update.
53882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53884 2013-01-31  David S. Miller  <davem@davemloft.net>
53886         * po/de.po: Update from translation team.
53888 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53890         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53892 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53894         * configure.in (_AC_PROG_CC_C89): New definition.
53895         * configure: Regenerate.
53897         * configure.in (AC_PROG_CPP): New definition.
53898         * configure: Regenerate.
53900 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53902         * debug/tst-backtrace.h: New file.
53903         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53904         (ret): Remove variable.
53905         (x): Likewise.
53906         (FAIL): Remove macro.
53907         (NO_INLINE): Likewise.
53908         (fn1): Use match function instead of strstr.
53909         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53910         (ret): Remove variable.
53911         (x): Likewise.
53912         (FAIL): Remove macro.
53913         (NO_INLINE): Likewise.
53914         (fn): Use match function instead of strstr.
53915         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53916         (ret): Remove variable.
53917         (x): Likewise.
53918         (FAIL): Remove macro.
53919         (NO_INLINE): Likewise.
53920         (handle_signal): Use match function instead of strstr.
53921         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53922         (ret): Remove variable.
53923         (x): Likewise.
53924         (FAIL): Remove macro.
53925         (NO_INLINE): Likewise.
53926         (handle_signal): Use match function instead of strstr.
53928 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53930         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53932 2013-01-23  David S. Miller  <davem@davemloft.net>
53934         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53935         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53936         argument of CAS if possible.
53937         * sysdeps/sparc/sparc64/bits/atomic.h
53938         (__arch_compare_and_exchange_val_32_acq): Likewise.
53939         (__arch_compare_and_exchange_val_64_acq): Likewise.
53941 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53943         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53944         * sysdeps/posix/ulimit.c: ... this.
53945         Include <limits.h>.
53946         * sysdeps/unix/bsd/ulimit.c: Remove file.
53948 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53950         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53951         (LDFLAGS-tst-array5): Likewise.
53953 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53955         [BZ #15036]
53956         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53957         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53958         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53959         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53961 2013-01-21  David S. Miller  <davem@davemloft.net>
53963         * sysdeps/sparc/backtrace.c: New file.
53964         * sysdeps/sparc/sparc32/backtrace.h: New file.
53965         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53966         * sysdeps/sparc/sparc64/backtrace.h: New file.
53967         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53968         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53969         -funwind-tables.
53971 2013-01-21  Andreas Schwab  <schwab@suse.de>
53973         [BZ #15020]
53974         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53975         closed its stdout.
53977 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53980         "mpa2.h".
53981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53983 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53984             Mark Mitchell  <mark@codesourcery.com>
53985             Tom de Vries  <tom@codesourcery.com>
53986             Paul Pluzhnikov  <ppluzhnikov@google.com>
53988         * debug/tst-backtrace2.c: New file.
53989         * debug/tst-backtrace3.c: Likewise.
53990         * debug/tst-backtrace4.c: Likewise.
53991         * debug/tst-backtrace5.c: Likewise.
53992         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53993         (CFLAGS-tst-backtrace3.c): Likewise.
53994         (CFLAGS-tst-backtrace4.c): Likewise.
53995         (CFLAGS-tst-backtrace5.c): Likewise.
53996         (LDFLAGS-tst-backtrace2): Likewise.
53997         (LDFLAGS-tst-backtrace3): Likewise.
53998         (LDFLAGS-tst-backtrace4): Likewise.
53999         (LDFLAGS-tst-backtrace5): Likewise.
54000         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54001         tst-backtrace4 and tst-backtrace5.
54003 2013-01-18  Anton Blanchard  <anton@samba.org>
54004             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54006         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54007         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54008         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54009         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54011         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54012         "+r" and remove output regs list as redundant.  Add explicit inline
54013         asm to specify register of return val to work around compiler codegen
54014         bug.  Remove (int) cast on return value.  Add return type parameter to
54015         use in macro so that this macro does not truncate return value for
54016         64-bit values.
54017         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54018         pass to INTERNAL_VSYSCALL_NCS.
54019         (INLINE_VSYSCALL): Add 'long int' as return type to
54020         INTERNAL_VSYSCALL_NCS macro invocation.
54021         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54022         INTERNAL_VSYSCALL_NCS macro invocation.
54023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54025 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54027         [BZ #14496]
54028         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54029         Fix application of SIMD FP exception mask.
54031         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54032         mp_no from a power of two.
54033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54034         __mpexp_twomm1.  Use __pow_mp.
54036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54037         multiplication.
54039 2013-01-17  David S. Miller  <davem@davemloft.net>
54041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54043 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54045         [BZ #15023]
54046         * include/complex.h: Condition contents on [!_COMPLEX_H].
54047         (__kernel_casinhf): New prototype.
54048         (__kernel_casinh): Likewise.
54049         (__kernel_casinhl): Likewise.
54050         * math/Makefile (libm_calls): Add k_casinh.
54051         * math/k_casinh.c: New file.
54052         * math/k_casinhf.c: Likewise.
54053         * math/k_casinhl.c: Likewise.
54054         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54055         finite nonzero arguments.
54056         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54057         finite nonzero arguments.
54058         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54059         finite nonzero arguments.
54060         * math/s_casinh.c: Do not include <float.h>.
54061         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54062         * math/s_casinhf.c: Do not include <float.h>.
54063         (__casinhf): Move code for finite nonzero arguments to
54064         k_casinhf.c.
54065         * math/s_casinhl.c: Do not include <float.h>.
54066         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54067         redefine.
54068         (__casinhl): Move code for finite nonzero arguments to
54069         k_casinhl.c.
54070         * math/libm-test.inc (cacos_test): Add more tests.
54071         * sysdeps/i386/fpu/libm-test-ulps: Update.
54072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54074 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54076         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54077         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54078         [!HAVE_MREMAP]: Remove [defined linux] case.
54079         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54081 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54083         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54085 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54087         * elf/elf.h (R_386_SIZE32): New relocation.
54088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54089         R_386_SIZE32.
54090         (elf_machine_rela): Likewise.
54091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54092         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54094 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54096         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54097         (FP_FAST_FMA): Do not define.
54098         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54099         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54100         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54101         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54102         !_SOFT_FLOAT]: Likewise.
54103         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54105         value.
54106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54107         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54108         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54109         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54110         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54111         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54112         file.
54114 2013-01-16  Andreas Schwab  <schwab@suse.de>
54116         [BZ #14327]
54117         * include/stdlib.h (__mktemp): Add declaration.
54118         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54119         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54121 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54123         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54124         definitions.
54125         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54126         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54127         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54128         definitions here.
54129         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54130         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54131         definitions.
54132         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54133         and ONE.
54134         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54135         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54136         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54137         definitions.
54138         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54139         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54140         definitions.
54141         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54143         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54145 2013-01-15  David S. Miller  <davem@davemloft.net>
54147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54148         trunc{,f} to libm-sysdep_routes.
54149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54151         file.
54152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54154         file.
54155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54156         file.
54157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54159         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54160         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54161         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54162         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54163         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54164         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54167         nearbyint{,f} to libm-sysdep_routes.
54168         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54170         New file.
54171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54172         file.
54173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54174         New file.
54175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54176         file.
54177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54180         file.
54181         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54182         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54183         file.
54184         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54185         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54186         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54188         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54189         libc_feholdexcept and libc_fesetenv.
54191 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54193         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54195 2013-01-14  David S. Miller  <davem@davemloft.net>
54197         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54198         (SPARC_ASM_VIS2_IFUNC): Likewise.
54199         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54201         use of 'siam' instruction.
54202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54203         Likewise.
54204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54205         Likewise.
54206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54207         Likewise.
54208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54213         file.
54214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54215         file.
54216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54217         file.
54218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54219         file.
54220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54225         new VIS2 routines.
54226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54229         Likewise.
54230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54235         routines to libm-sysdep_routines.
54236         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54239         fdim/fdimf to libm-sysdep_routines.
54240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54241         file.
54242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54244         file.
54245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54248         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54249         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54250         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54251         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54253 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54255         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54256         to optimize copies.
54258         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54263         local variable MPTWO.
54264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54265         Likewise.
54267 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54269         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54270         GLOB_NOESCAPE.
54272 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54274         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54276 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54278         * manual/pattern.texi (glob_t): Document gl_flags.
54279         (glob64_t): Likewise.
54281 2013-01-11  David S. Miller  <davem@davemloft.net>
54283         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54284         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54285         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54286         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54287         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54288         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54289         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54290         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54291         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54292         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54293         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54294         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54295         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54297         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54298         sparc V9 rather than using V8 code.
54299         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54300         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54302         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54303         Move to...
54304         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54305         Here.
54307 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54309         [BZ #14941]
54310         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54311         not in the main loop.
54312         * configure: Regenerated.
54314 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54316         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54317         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54318         to just #else.
54319         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54320         [!__GLIBC_HAVE_LONG_LONG] case.
54321         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54322         condition to just #else.
54323         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54324         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54325         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54326         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54327         unconditional.
54328         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54329         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54330         #elif condition to just #else.
54331         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54332         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54333         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54334         #elif condition to just #else.
54336 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54338         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54339         (EF_MIPS_ARCH_64): Fix value.
54340         (EF_MIPS_ARCH_32R2): New.
54341         (EF_MIPS_ARCH_64R2): New.
54343 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54345         * Makeconfig (+link-pie-before-libc): New.
54346         (+link-pie-after-libc): Likewise.
54347         (+link-pie-tests): Likewise.
54348         (+link-pie): Rewritten.
54349         (link-before-libc): Remove $(config-LDFLAGS).
54350         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54351         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54352         (config-LDFLAGS): Renamed to ...
54353         (rtld-LDFLAGS): This.
54354         (rtld-tests-LDFLAGS): New macro.
54355         (link-libc-rpath-link): Likewise.
54356         (link-libc-tests-rpath-link): Likewise.
54357         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54358         (link-libc): Prepand $(link-libc-rpath-link).
54359         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54360         (test-program-prefix): New macro.
54361         (test-via-rtld-prefix): Likewise.
54362         (test-program-cmd): Likewise.
54363         (host-test-program-cmd): Likewise.
54364         * Makefile ($(common-objpfx)testrun.sh): Replace
54365         $(run-program-prefix) with $(test-program-prefix).
54366         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54367         $(rtld-LDFLAGS).
54368         ($(common-objpfx)shlib.lds): Likewise.
54369         (build-module-helper): Likewise.
54370         ($(common-objpfx)format.lds): Likewise.
54371         * Rules (binaries-pie-tests): New.
54372         (binaries-pie-notests): Likewise.
54373         (binaries-pie): Rewritten.
54374         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54375         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54376         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54377         (make-test-out): Replace $(host-built-program-cmd) with
54378         $(host-test-program-cmd).
54379         * config.make.in (build-hardcoded-path-in-tests): New variable.
54380         * configure.in (--enable-hardcoded-path-in-tests): New configure
54381         option.
54382         (hardcoded_path_in_tests): New AC_SUBST.
54383         * configure: Regenerated.
54384         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54385         $(built-program-cmd) with $(test-program-cmd).
54386         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54387         (test_program_cmd): This.
54388         * elf/Makefile ($(objpfx)order.out): Run test with
54389         $(test-program-prefix).
54390         ($(objpfx)order2.out): Likewise.
54391         ($(objpfx)tst-initorder.out): Likewise.
54392         ($(objpfx)tst-initorder2.out): Likewise.
54393         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54394         $(test-program-cmd).
54395         ($(objpfx)tst-array1-static.out): Likewise.
54396         ($(objpfx)tst-array2.out): Likewise.
54397         ($(objpfx)tst-array3.out): Likewise.
54398         ($(objpfx)tst-array4.out): Likewise.
54399         ($(objpfx)tst-array5.out): Likewise.
54400         ($(objpfx)tst-array5-static.out): Likewise.
54401         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54402         $(test-program-cmd).
54403         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54404         $(run-program-prefix) with $(test-program-prefix).
54405         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54406         (test_program_prefix): This.
54407         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54408         $(run-program-prefix) with $(test-program-prefix).
54409         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54410         (test_program_prefix): This.
54411         * iconvdata/tst-tables.sh: Likewise.
54412         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54413         $(run-program-prefix) with $(test-program-prefix).
54414         ($(objpfx)tst-translit.out): Likewise.
54415         ($(objpfx)tst-gettext2.out): Likewise.
54416         ($(objpfx)tst-gettext4.out): Likewise.
54417         ($(objpfx)tst-gettext6.out): Likewise.
54418         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54419         (test_program_prefix): This.
54420         * intl/tst-gettext2.sh: Likewise.
54421         * intl/tst-gettext4.sh  Likewise.
54422         * intl/tst-gettext6.sh: Likewise.
54423         * intl/tst-translit.sh: Likewise.
54424         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54425         with $(test-program-cmd).
54426         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54427         $(run-program-prefix) with $(test-program-prefix).
54428         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54429         (test_program_prefix): This.
54430         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54431         $(run-program-prefix) with $(test-program-prefix).
54432         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54433         (test_program_prefix): This.
54434         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54435         * posix/Makefile ($(objpfx)globtest.out): Replace
54436         $(run-via-rtld-prefix) and $(test-wrapper) with
54437         $(test-program-prefix) and $(test-via-rtld-prefix).
54438         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54439         $(test-program-prefix).
54440         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54441         $(host-test-program-cmd).
54442         (tst-spawn-ARGS): Likewise.
54443         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54444         $(test-program-prefix).
54445         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54446         (test_via_rtld_prefix): This.
54447         (test_wrapper): Renamed to ...
54448         (test_program_prefix): This.
54449         (run_program_prefix): Replaced by test_program_prefix.
54450         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54451         (test_program_prefix): This.
54452         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54453         with $(host-test-program-cmd).
54454         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54455         $(run-program-prefix) with $(test-program-prefix).
54456         ($(objpfx)tst-printf.out): Likewise.
54457         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54458         $(test-program-cmd).
54459         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54460         (test_program_prefix): This.
54461         * stdio-common/tst-unbputc.sh: Likewise.
54462         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54463         $(run-program-prefix) with $(test-program-prefix).
54464         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54465         (test_program_prefix): This.
54466         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54467         $(built-program-cmd) with $(test-program-cmd).
54469 2013-01-11  Andreas Jaeger  <aj@suse.de>
54471         [BZ #15003]
54472         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54473         value. Sync with Linux 3.7.
54475 2013-01-10  David S. Miller  <davem@davemloft.net>
54477         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54478         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54479         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54481 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54483         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54484         never set.
54485         * configure: Regenerated.
54487 2013-01-10  David S. Miller  <davem@davemloft.net>
54489         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54490         sparc V9 rather than using V8 code.
54491         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54492         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54494 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54496         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54497         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54498         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54499         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54500         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54501         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54502         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54503         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54504         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54505         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54506         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54507         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54508         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54509         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54510         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54511         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54512         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54513         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54514         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54515         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54516         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54517         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54518         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54519         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54520         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54521         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54522         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54524 2013-01-10  David S. Miller  <davem@davemloft.net>
54526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54528 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54530         * posix/Makefile (tests-static): New variable.
54531         (tests): Add $(tests-static).
54532         (tst-exec-static-ARGS): New variable.
54533         (tst-spawn-static-ARGS): Likewise.
54534         * posix/tst-exec-static.c: New file.
54535         * posix/tst-spawn-static.c: Likewise.
54536         * posix/tst-exec.c: Support run directly.
54537         * posix/tst-spawn.c: Likewise.
54539 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54541         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54542         long.
54543         * math/bits/mathcalls.h (llrint): Likewise.
54544         (llround): Likewise.
54545         * stdlib/stdlib.h (struct drand48_data): Likewise.
54546         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54547         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54548         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54549         Likewise.
54550         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54551         Likewise.
54552         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54553         (elf_greg_t): Likewise.
54554         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54555         (__jmp_buf): Likewise.
54556         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54557         definitions.
54558         (llrint): Likewise, for all definitions.
54559         (llrintl): Likewise.
54561         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54562         Remove [__GNUC__] condition.
54563         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54564         condition to just [__USE_ISOC99].
54565         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54567 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54569         [BZ #14200]
54570         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54571         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54572         defined.
54573         (_POSIX_V6_ILP32_OFF32): Likewise.
54574         (_XBS5_ILP32_OFF32): Likewise.
54575         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54576         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54578 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54580         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54583         doubles __mpexp_twomm1.  Adjust usage.
54584         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54585         Remove.
54587 2013-01-10  Andreas Schwab  <schwab@suse.de>
54589         [BZ #14964]
54590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54591         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54593 2013-01-09  David S. Miller  <davem@davemloft.net>
54595         [BZ #15003]
54596         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54597         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54598         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54599         (TCP_FASTOPEN): Define.
54600         (tcp_repair_opt): New structure.
54601         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54602         enum values.
54603         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54604         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54605         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54606         (tcp_cookie_transactions): New structure.
54608 2013-01-09  Anton Blanchard  <anton@samba.org>
54610         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54611         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54613         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54615 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54617         * include/features.h (__USE_ANSI): Remove.
54619 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54621         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54623         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54625 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54627         * sysdeps/s390/fpu/libm-test-ulps: Update.
54629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54631         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54632         (__acr): Likewise.
54633         (__cpy): Likewise.
54634         (norm): Likewise.
54635         (denorm): Likewise.
54636         (__mp_dbl): Likewise.
54637         (__dbl_mp): Likewise.
54638         (add_magnitudes): Likewise.
54639         (sub_magnitudes): Likewise.
54640         (__add): Likewise.
54641         (__sub): Likewise.
54642         (__mul): Likewise.
54643         (__inv): Likewise.
54644         (__dvd): Likewise.
54645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54646         (__acr): Likewise.
54647         (__cpy): Likewise.
54648         (norm): Likewise.
54649         (denorm): Likewise.
54650         (__mp_dbl): Likewise.
54651         (__dbl_mp): Likewise.
54652         (add_magnitudes): Likewise.
54653         (sub_magnitudes): Likewise.
54654         (__add): Likewise.
54655         (__sub): Likewise.
54656         (__mul): Likewise.
54657         (__inv): Likewise.
54658         (__dvd): Likewise.
54659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54660         (__acr): Likewise.
54661         (__cpy): Likewise.
54662         (norm): Likewise.
54663         (denorm): Likewise.
54664         (__mp_dbl): Likewise.
54665         (__dbl_mp): Likewise.
54666         (add_magnitudes): Likewise.
54667         (sub_magnitudes): Likewise.
54668         (__add): Likewise.
54669         (__sub): Likewise.
54670         (__mul): Likewise.
54671         (__inv): Likewise.
54672         (__dvd): Likewise.
54674 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54676         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54677         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54678         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54679         2 && __USE_EXTERN_INLINES]: Likewise.
54681 2013-01-08  Andreas Jaeger  <aj@suse.de>
54683         [BZ# 14985]
54684         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54685         Remove.
54686         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54687         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54689 2013-01-07  Anton Blanchard  <anton@samba.org>
54691         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54692         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54693         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54694         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54695         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54696         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54697         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54698         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54700         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54701         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54702         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54703         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54704         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54705         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54707         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54709         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54710         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54711         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54712         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54713         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54714         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54715         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54716         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54717         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54718         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54720         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54721         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54723         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54724         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54725         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54726         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54727         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54728         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54729         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54730         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54731         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54732         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54733         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54735 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54737         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54738         (__MALLOC_PMT): Likewise.
54739         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54740         [__GNUC__], only on [_LIBC].
54741         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54742         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54743         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54744         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54745         forward declaration.
54746         (realloc_hook_ini): Likewise.
54747         (memalign_hook_ini): Likewise.
54748         (__libc_memalign): Do not use __MALLOC_PMT in variable
54749         declaration.
54750         (__libc_valloc): Likewise.
54751         (__libc_pvalloc): Likewise.
54752         (__libc_calloc): Likewise.
54753         (__posix_memalign): Likewise.
54755         [BZ #14996]
54756         * math/s_casinh.c: Include <float.h>.
54757         (__casinh): Do not do computation with squaring and square root
54758         for large arguments.
54759         * math/s_casinhf.c: Include <float.h>.
54760         (__casinhf): Do not do computation with squaring and square root
54761         for large arguments.
54762         * math/s_casinhl.c: Include <float.h>.
54763         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54764         (__casinhl): Do not do computation with squaring and square root
54765         for large arguments.
54766         * math/libm-test.inc (casin_test): Add more tests.
54767         (casinh_test): Likewise.
54768         * sysdeps/i386/fpu/libm-test-ulps: Update.
54769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54771 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54773         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54774         (__x86_64_raw_data_cache_size): Likewise.
54775         (__x86_64_data_cache_size_half): Likewise.
54776         (__x86_64_raw_data_cache_size_half): Likewise.
54777         (__x86_64_shared_cache_size): Likewise.
54778         (__x86_64_raw_shared_cache_size): Likewise.
54779         (__x86_64_shared_cache_size_half): Likewise.
54780         (__x86_64_raw_shared_cache_size_half): Likewise.
54781         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54782         to ...
54783         (__x86_data_cache_size): This.
54784         (__x86_64_raw_data_cache_size): Renamed to ...
54785         (__x86_raw_data_cache_size): This.
54786         (__x86_64_data_cache_size_half): Renamed to ...
54787         (__x86_data_cache_size_half): This.
54788         (__x86_64_raw_data_cache_size_half): Renamed to ...
54789         (__x86_raw_data_cache_size_half): This.
54790         (__x86_64_shared_cache_size): Renamed to ...
54791         (__x86_shared_cache_size): This.
54792         (__x86_64_raw_shared_cache_size): Renamed to ...
54793         (__x86_raw_shared_cache_size): This.
54794         (__x86_64_shared_cache_size_half): Renamed to ...
54795         (__x86_shared_cache_size_half): This.
54796         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54797         (__x86_raw_shared_cache_size_half): This.
54798         * sysdeps/x86_64/memcpy.S: Updated.
54799         * sysdeps/x86_64/memset.S: Likewise.
54800         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54802         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54804 2013-01-04  David S. Miller  <davem@davemloft.net>
54806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54808 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54810         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54811         1 to avoid redefinition warning.
54812         (__USE_GNU): Don't define.
54813         (init_signaling_nan): Protoize.
54815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54817 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54819         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54821         (__cpymn): Likewise.
54822         (norm): Remove commented code.
54823         (denorm): Likewise.
54824         (__mp_dbl): Likewise.
54825         (__inv): Likewise.
54826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54827         (__cpymn): Likewise.
54828         (norm): Remove commented code.
54829         (denorm): Likewise.
54830         (__mp_dbl): Likewise.
54831         (__inv): Likewise.
54833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54834         mp_no value for 1.0 and 2.0.
54835         (norm): Use RADIXI instead of radixi.d.
54836         (denorm): Likewise.
54837         (__mul): Use 0.0 instead of zero.d.
54838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54839         mp_no value for 1.0 and 2.0.
54840         (norm): Use RADIXI instead of radixi.d.
54841         (denorm): Likewise.
54842         (__mul): Use 0.0 instead of zero.d.
54844 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54846         [BZ #14994]
54847         * math/s_casinh.c (__casinh): Reduce finite argument to first
54848         quadrant then set signs of results at the end.
54849         * math/s_casinhf.c (__casinhf): Likewise.
54850         * math/s_casinhl.c (__casinhl): Likewise.
54851         * math/libm-test.inc (casin_test): Add more tests.
54852         (casinh_test): Likewise.
54853         * sysdeps/i386/fpu/libm-test-ulps: Update.
54854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54856 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54858         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54860         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54862         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54863         declarations.
54864         (denorm): Likewise.
54865         (__mp_dbl): Likewise.
54866         (__inv): Likewise.
54868         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54869         and adjust the header comment.
54871         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54872         variable name from declaration.
54874 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54877         Initialize COMMON_CPUID_INDEX_7 element.
54878         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54879         (CPUID_RTM): Likewise.
54880         (HAS_RTM): Likewise.
54881         (COMMON_CPUID_INDEX_7): New enum.
54883 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54885         [BZ #14981]
54886         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54887         size is zero, record memory as freed.
54889 2013-01-03  Andreas Jaeger  <aj@suse.de>
54891         * po/ia.po: Add new Interlingua translation.
54893 2012-01-03  Allan McRae  <allan@archlinux.org>
54895         * locale/programs/localedef.c: Fix description of '--posix' flag.
54897 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54899         * NEWS: Update dates in second copyright notice.
54900         * README: Update copyright dates in example.
54901         * manual/libc.texinfo: Update copyright dates.
54902         * scripts/test-installation.pl: Update copyright date in --version
54903         output.
54905         * hurd/ctty-input.c: Fix copyright notice formatting.
54906         * hurd/ctty-output.c: Likewise.
54907         * hurd/dtable.c: Likewise.
54908         * hurd/hurd-raise.c: Likewise.
54909         * hurd/hurdprio.c: Likewise.
54910         * hurd/msgportdemux.c: Likewise.
54911         * misc/sys/file.h: Likewise.
54912         * misc/sys/ioctl.h: Likewise.
54913         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54914         * sysdeps/mach/hurd/chdir.c: Likewise.
54915         * sysdeps/mach/hurd/fchdir.c: Likewise.
54916         * sysdeps/mach/hurd/rename.c: Likewise.
54917         * sysdeps/mach/hurd/rmdir.c: Likewise.
54918         * sysdeps/mach/hurd/seekdir.c: Likewise.
54919         * sysdeps/mach/hurd/setsid.c: Likewise.
54920         * sysdeps/posix/wait3.c: Likewise.
54922         * All files with FSF copyright notices: Update copyright dates
54923         using scripts/update-copyrights.
54924         * intl/plural.c: Regenerated.
54925         * locale/programs/charmap-kw.h: Likewise.
54926         * locale/programs/locfile-kw.h: Likewise.
54928 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54930         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54931         four values.
54933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54934         calculation loop and add branch prediction.
54936         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54937         check access beyond bounds of m1np.
54939         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54940         MPTWO.
54941         (__inv): Remove local variable MPTWO to use the global
54942         constant.
54943         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54945         variable MPTWO.
54946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54947         MP3HALFS static const.
54949 2013-01-01  David S. Miller  <davem@davemloft.net>
54951         * po/ca.po: Update from translation team.
54953 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54955         * scripts/update-copyrights: New file.
54956         * Makeconfig: Reformat copyright notice.
54957         * ctype/ctype.h: Likewise.
54958         * debug/swprintf_chk.c: Likewise.
54959         * elf/dl-cache.c: Likewise.
54960         * elf/dl-debug.c: Likewise.
54961         * elf/dl-object.c: Likewise.
54962         * grp/initgroups.c: Likewise.
54963         * hurd/Makefile: Likewise.
54964         * hurd/hurd/signal.h: Likewise.
54965         * hurd/hurdfault.c: Likewise.
54966         * hurd/hurdioctl.c: Likewise.
54967         * hurd/hurdlookup.c: Likewise.
54968         * hurd/intr-msg.c: Likewise.
54969         * iconv/gconv_open.c: Likewise.
54970         * libio/swprintf.c: Likewise.
54971         * locale/lc-ctype.c: Likewise.
54972         * locale/nl_langinfo.c: Likewise.
54973         * mach/Machrules: Likewise.
54974         * mach/Makefile: Likewise.
54975         * malloc/obstack.h: Likewise.
54976         * manual/Makefile: Likewise.
54977         * manual/tsort.awk: Likewise.
54978         * misc/bits/stab.def: Likewise.
54979         * nis/nis_print_group_entry.c: Likewise.
54980         * nis/nis_table.c: Likewise.
54981         * nis/nss_compat/compat-pwd.c: Likewise.
54982         * nis/nss_compat/compat-spwd.c: Likewise.
54983         * po/Makefile: Likewise.
54984         * posix/fnmatch.c: Likewise.
54985         * posix/regex.h: Likewise.
54986         * resolv/Makefile: Likewise.
54987         * resolv/nss_dns/dns-network.c: Likewise.
54988         * resolv/res_hconf.c: Likewise.
54989         * scripts/gen-sorted.awk: Likewise.
54990         * soft-fp/soft-fp.h: Likewise.
54991         * stdio-common/printf.h: Likewise.
54992         * stdlib/monetary.h: Likewise.
54993         * stdlib/random.c: Likewise.
54994         * stdlib/random_r.c: Likewise.
54995         * sysdeps/generic/Makefile: Likewise.
54996         * sysdeps/gnu/Makefile: Likewise.
54997         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54999         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55001         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55005         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55006         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55007         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55008         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55009         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55010         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55011         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55012         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55013         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55014         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55015         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55016         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55017         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55018         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55019         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55020         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55025         * sysdeps/mach/hurd/errnos.awk: Likewise.
55026         * sysdeps/mach/hurd/fork.c: Likewise.
55027         * sysdeps/mach/hurd/getcwd.c: Likewise.
55028         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55029         * sysdeps/mach/hurd/mmap.c: Likewise.
55030         * sysdeps/mach/hurd/utimes.c: Likewise.
55031         * sysdeps/mach/hurd/xmknod.c: Likewise.
55032         * sysdeps/posix/profil.c: Likewise.
55033         * sysdeps/posix/readdir_r.c: Likewise.
55034         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55035         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55036         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55037         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55039         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55040         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55041         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55043         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55044         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55045         * sysdeps/pthread/lio_listio.c: Likewise.
55046         * sysdeps/sparc/dl-procinfo.h: Likewise.
55047         * sysdeps/unix/i386/sysdep.S: Likewise.
55048         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55049         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55050         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55051         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55053         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55054         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55055         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55056         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55057         * sysdeps/wordsize-32/divdi3.c: Likewise.
55058         * time/sys/time.h: Likewise.
55059         * wcsmbs/Makefile: Likewise.
55061 2013-01-01  David S. Miller  <davem@davemloft.net>
55063         * po/fr.po: Update from translation team.
55065         * catgets/gencat.c: Update copyright year.
55066         * csu/version.c: Likewise.
55067         * debug/catchsegv.sh: Likewise.
55068         * debug/pcprofiledump.c: Likewise.
55069         * debug/xtrace.sh: Likewise.
55070         * elf/ldconfig.c: Likewise.
55071         * elf/ldd.bash.in: Likewise.
55072         * elf/pldd.c: Likewise.
55073         * elf/sotruss.ksh: Likewise.
55074         * elf/sprof.c: Likewise.
55075         * iconv/iconv_prog.c: Likewise.
55076         * iconv/iconvconfig.c: Likewise.
55077         * locale/programs/locale.c: Likewise.
55078         * locale/programs/localedef.c: Likewise.
55079         * login/programs/pt_chown.c: Likewise.
55080         * malloc/memusage.sh: Likewise.
55081         * malloc/memusagestat.c: Likewise.
55082         * malloc/mtrace.pl: Likewise.
55083         * nscd/nscd.c: Likewise.
55084         * nss/getent.c: Likewise.
55085         * nss/makedb.c: Likewise.
55086         * posix/getconf.c: Likewise.
55088 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55090         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55091         numbers.
55093 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55095         * math/bits/mathcalls.h (modf): Use __nonnull.
55097 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55099         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55100         (split): Use macro CN instead of the bare value.
55101         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55102         could be used.
55103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55104         instead of the bare value.
55105         (power1): Likewise.
55107 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55110         __ATAN_TWOM.
55111         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55113         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55114         their values.
55115         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55117         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55118         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55120 2012-12-28  Andreas Jaeger  <aj@suse.de>
55122         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55123         values are from Linux 3.7.
55125         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55126         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55128 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55130         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55131         TRUE case.
55133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55134         (norm): Likewise.
55135         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55136         variables with preprocessor constants.
55137         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55138         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55139         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55141 2012-12-27  Bruno Haible  <bruno@clisp.org>
55143         [BZ #14317]
55144         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55145         only if needed.
55147 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55149         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55150         and use variable directly.
55151         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55153         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55154         MPONE.
55155         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55156         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55157         variable MPONE.
55158         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55160         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55161         include directive.  Remove local variable MPONE.
55162         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55163         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55164         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55166 2012-12-25  David S. Miller  <davem@davemloft.net>
55168         * version.h (RELEASE): Set to "development".
55169         (VERSION): Set to "2.17.90".
55170         * NEWS: Add 2.18 section.
55172 2012-12-21  David S. Miller  <davem@davemloft.net>
55174         * po/hr.po: Update from translation team.
55176 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55178         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55180 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55182         * NEWS:  Mention new memcpy for MIPS.
55184 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55186         * manual/contrib.texi (Contributors): Spelling correction.
55188 2012-12-15  David S. Miller  <davem@davemloft.net>
55190         * po/ru.po: Update from translation team.
55192 2012-12-13  David S. Miller  <davem@davemloft.net>
55194         * NEWS: Mention IFUNC testsuite enhancements.
55196         * po/pl.po: Update from translation team.
55197         * po/bg.po: Likewise.
55199         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55200         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55202 2012-12-11  David S. Miller  <davem@davemloft.net>
55204         * po/sv.po: Update from translation team.
55206         * po/vi.po: Update from translation team.
55208         * po/cs.po: Update from translation team.
55210         * po/de.po: Update from translation team.
55211         * po/eo.po: Likewise.
55212         * po/nl.po: Likewise.
55214 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55216         [BZ #14246]
55217         * manual/argp.texi (Argp Helper Functions): Move node to follow
55218         Argp Parsing State.
55220         [BZ #14872]
55221         * manual/conf.texi (Limits on File System Capacity): Mention if
55222         terminating null is included in the max size.
55224 2012-12-10  Andreas Jaeger  <aj@suse.de>
55226         * po/cs.po: Update from translation team.
55228 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55230         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55231         void pointer and cast to uintptr_t.
55232         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55233         path.
55234         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55235         * sysdeps/s390/s390-64/memset.S: Likewise.
55237 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55239         [BZ #14833]
55240         * menual/message.texi (Message Translation): Fix typos.
55241         (Helper programs for gettext): Likewise.
55243 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55245         [BZ #14898]
55246         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55247         Change to -1.
55249 2012-12-07  David S. Miller  <davem@davemloft.net>
55251         * po/libc.pot: Update.
55253 2012-12-07  Richard Henderson  <rth@redhat.com>
55255         [BZ #10114]
55256         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55257         normal/normal case to before the switch.
55258         (_FP_DIV): Likewise.
55260 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55261             Mike Frysinger  <vapier@gentoo.org>
55263         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55264         check for __NR_fadvise64_64.
55266 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55268         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55269         0, not just to plain "0" as a statement.
55270         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55271         with cw.
55273 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55275         * NEWS: Use sourceware.org in Bugzilla URL.
55277 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55280         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55282         * stdio-common/tst-put-error.c (do_test): Add newline to the
55283         padded test to ensure flush.
55285 2012-12-05  Jeff Law  <law@redhat.com>
55287         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55289 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55291         * README: Don't refer to ports add-on as distributed separately.
55292         Mention AArch64 in list of systems supported in the ports add-on.
55294         * LICENSES: Add more non-FSF copyright and license notices.
55296         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55297         ((unused)).
55299         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55301         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55302         10000 as width of padded output.
55304 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55306         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55308         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55309         variable LX with __attribute__ ((unused)).
55310         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55311         Likewise.
55312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55315         with __attribute__ ((unused)).
55317 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55319         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55321 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55323         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55324         (CFLAGS-nldbl-acos.c): New variable.
55325         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55326         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55327         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55328         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55329         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55330         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55331         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55332         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55333         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55334         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55335         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55336         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55337         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55338         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55339         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55340         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55341         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55342         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55343         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55344         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55345         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55346         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55347         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55348         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55349         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55350         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55351         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55352         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55353         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55354         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55355         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55356         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55357         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55358         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55359         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55360         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55361         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55362         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55363         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55364         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55365         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55366         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55367         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55368         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55369         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55370         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55371         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55372         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55373         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55374         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55375         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55376         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55377         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55378         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55379         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55380         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55381         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55382         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55383         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55384         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55385         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55386         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55387         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55388         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55389         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55390         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55391         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55392         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55393         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55394         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55395         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55396         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55397         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55398         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55399         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55400         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55401         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55402         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55403         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55404         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55405         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55406         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55407         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55408         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55409         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55410         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55411         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55412         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55413         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55414         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55415         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55416         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55417         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55418         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55419         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55420         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55421         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55424         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55426         [BZ #14914]
55427         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55428         whole low double instead of just low 47 bits when splitting values
55429         into two parts.
55431 2012-12-03  Allan McRae  <allan@archlinux.org>
55433         * manual/stdio.texi (Predefined Printf Handlers): Remove
55434         @hsep and @vsep usage.
55436 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55438         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55439         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55441 2012-12-03  Jeff Law  <law@redhat.com>
55443         * time/sys/time.h (settimeofday): Do not mark TV argument
55444         as __nonnull.
55446 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55448         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55449         when currently writing and seek to current position when not.
55450         * libio/Makefile (tests): Remove bug-fclose1.
55451         * libio/bug-fclose1.c: Delete.
55453 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55455         * manual/arith.texi (feenableexcept): Fix typo.
55456         (fedisableexcept): Likewise.
55458 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55460         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55461         second, differently-typed declaration, rather than a cast.
55463 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55465         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55466         * include/rpc/svc.h: ... here.
55468 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55470         [BZ #13013]
55471         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55472         depending n and resplen2 to catch cases where answer
55473         equals answerp2.
55475 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55477         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55478         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55480 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55482         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55484 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55486         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55488 2012-11-28  Jeff Law  <law@redhat.com>
55490         [BZ #13761]
55491         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55492         dataset_temporary.  Track alloca usage into alloca_used.
55493         If dataset is large allocate and release it via malloc/free.
55495 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55497         [BZ #14197]
55498         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55500 2012-11-28  David S. Miller  <davem@davemloft.net>
55502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55504 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55506         [BZ #14803]
55507         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55508         of pi/2 rounded to nearest to 64 bits.
55509         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55510         nearest to 64 bits.
55511         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55512         bits.
55514 2012-11-28  Jeff Law <law@redhat.com>
55515             Martin Osvald <mosvald@redhat.com>
55517         [BZ #14889]
55518         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55519         * sunrpc/svc.c: Include time.h.
55520         (__svc_accept_failed): New function.
55521         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55522         any reason other than EINTR, call __svc_accept_failed.
55523         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55524         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55526 2012-11-28  Andreas Schwab  <schwab@suse.de>
55528         * scripts/abilist.awk: Also handle indirect functions in .opd
55529         section.
55531 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #13881]
55534         * sysdeps/x86/fpu/powl_helper.c: New file.
55535         * sysdeps/x86/fpu/Makefile: Likewise.
55536         * sysdeps/i386/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         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55541         (p3): New object.
55542         (__ieee754_powl): Use __powl_helper for finite arguments except
55543         integer exponents below 8.
55544         * math/libm-test.inc (pow_test): Add more tests and enable some
55545         previously disabled tests.
55546         * sysdeps/i386/fpu/libm-test-ulps: Update.
55547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55549 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55550             Carlos O'Donell  <carlos_odonell@mentor.com>
55552         * nss/makedb.c (is_prime): Assert that input is odd and greater
55553         than 4.  Note that fact in a comment too.
55554         (next_prime): Add 4 to input.
55556 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55558         [BZ #11741]
55559         * libio/Makefile (tests): Add test case tst-fwrite-error.
55560         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55561         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55562         * libio/tst-fwrite-error.c: New test case.
55564 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55566         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55567         before casting to void *.
55568         * include/libc-internal.h (__pointer_type): New macro.
55569         (__integer_if_pointer_type_sub): Likewise.
55570         (__integer_if_pointer_type): Likewise.
55571         (cast_to_integer): Likewise.
55572         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55573         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55574         before casting to atomic64_t.
55575         (atomic_exchange_acq): Likewise.
55576         (__arch_exchange_and_add_body): Likewise.
55577         (__arch_add_body): Likewise.
55578         (atomic_add_negative): Likewise.
55579         (atomic_add_zero): Likewise.
55581 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55583         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55584         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55585         (add_fdes): Likewise.
55586         (linear_search_fdes): Likewise.
55587         (binary_search_unencoded_fdes): Likewise.
55589 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55591         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55593 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55595         * configure.in: Autodetect C++ header directories.
55596         * configure: Regenerated.
55598 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55600         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55602 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55606 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55608         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55609         LDBL_MANT_DIG == 106]: Disable some tests.
55610         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55611         Likewise.
55612         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55613         Likewise.
55615         [BZ #14871]
55616         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55617         input for small inputs.  Return +/- pi/2 for large inputs.
55618         * math/libm-test.inc (atan_test): Add more tests.
55620         * sysdeps/generic/unwind-dw2-fde-glibc.c
55621         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55622         __attribute__ ((unused)).
55624         [BZ #14645]
55625         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55626         x * y if x and y are nonzero and z is zero.
55628         [BZ #14811]
55629         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55630         nonzero exponents with absolute value below 0x1p-117 to +/-
55631         0x1p-117.
55633         [BZ #14869]
55634         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55635         up arguments below 2**-450, not just those below 2**-500.
55636         * math/libm-test.inc (hypot_test): Add another test.
55638         [BZ #14868]
55639         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55640         Return a+b for ratio over 2**120, not 2**60.
55641         * math/libm-test.inc (hypot_test): Add another test.
55643         * math/libm-test.inc (clog_test): Use
55644         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55645         (clog10_test): Likewise.
55647         [BZ #6778]
55648         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55650 2012-11-22  Andreas Schwab  <schwab@suse.de>
55652         * sysdeps/i386/fpu/libm-test-ulps: Update.
55654 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55656         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55657         printf output with newline.
55659 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55661         [BZ #14865]
55662         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55663         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55664         -z nodlopen, -z initfirst and -z execstack support.
55665         * configure: Regenerated.
55667         * elf/elf.h (DF_1_NODIRECT): New macro.
55668         (DF_1_IGNMULDEF): Likewise.
55669         (DF_1_NOKSYMS): Likewise.
55670         (DF_1_NOHDR): Likewise.
55671         (DF_1_EDITED): Likewise.
55672         (DF_1_NORELOC): Likewise.
55673         (DF_1_SYMINTPOSE): Likewise.
55674         (DF_1_GLOBAUDIT): Likewise.
55675         (DF_1_SINGLETON): Likewise.
55676         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55677         DT_1_SUPPORTED_MASK bits.
55678         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55680 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55682         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55684 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55686         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55687         macro.
55689         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55690         (sendmmsg): Move declarations...
55691         * socket/sys/socket.h: ... here.
55692         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55693         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55694         include it from...
55695         * socket/recvmmsg.c: ... this new file.
55696         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55697         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55698         definition of __sendmmsg hidden.
55699         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55700         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55701         Move ENOSYS stub into and include it from...
55702         * socket/sendmmsg.c: ... this new file.
55703         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55704         (sysdep_routines): Move recvmmsg and sendmmsg...
55705         * socket/Makefile (routines): ... here.
55706         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55707         (GLIBC_PRIVATE): Add __sendmmsg.
55708         * include/sys/socket.h (__sendmmsg): Add declarations.
55709         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55710         sendmmsg.
55712 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55715         variable I1 with __attribute__ ((unused)).
55716         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55718 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55720         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55721         DUMMY variables with __attribute__ ((unused)).
55723         * bits/byteswap.h: Include <bits/types.h>.
55724         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55726 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55728         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55729         string_t.  Do not manually set errno.
55730         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55731         length with __strnlen.  Make sure to both set errno and return it on
55732         failure.
55734 2012-11-19  David S. Miller  <davem@davemloft.net>
55736         With help from Joseph Myers.
55737         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55738         very large arguments properly.
55739         * math/libm-test.inc (atan_test): New tests.
55740         (atan2_test): New tests.
55741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55744 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55746         [BZ #14856]
55747         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55748         Define to 3.
55750         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55751         [POSIX] (EADDRNOTAVAIL): Likewise.
55752         [POSIX] (EAFNOSUPPORT): Likewise.
55753         [POSIX] (EALREADY): Likewise.
55754         [POSIX] (ECONNABORTED): Likewise.
55755         [POSIX] (ECONNREFUSED): Likewise.
55756         [POSIX] (ECONNRESET): Likewise.
55757         [POSIX] (EDESTADDRREQ): Likewise.
55758         [POSIX] (EDQUOT): Likewise.
55759         [POSIX] (EHOSTUNREACH): Likewise.
55760         [POSIX] (EIDRM): Likewise.
55761         [POSIX] (EISCONN): Likewise.
55762         [POSIX] (ELOOP): Likewise.
55763         [POSIX] (EMULTIHOP): Likewise.
55764         [POSIX] (ENETDOWN): Likewise.
55765         [POSIX] (ENETUNREACH): Likewise.
55766         [POSIX] (ENOBUFS): Likewise.
55767         [POSIX] (ENODATA): Likewise.
55768         [POSIX] (ENOLINK): Likewise.
55769         [POSIX] (ENOMSG): Likewise.
55770         [POSIX] (ENOPROTOOPT): Likewise.
55771         [POSIX] (ENOSR): Likewise.
55772         [POSIX] (ENOSTR): Likewise.
55773         [POSIX] (ENOTCONN): Likewise.
55774         [POSIX] (ENOTSOCK): Likewise.
55775         [POSIX] (EOPNOTSUPP): Likewise.
55776         [POSIX] (EOVERFLOW): Likewise.
55777         [POSIX] (EPROTO): Likewise.
55778         [POSIX] (EPROTONOSUPPORT): Likewise.
55779         [POSIX] (EPROTOTYPE): Likewise.
55780         [POSIX] (ESTALE): Likewise.
55781         [POSIX] (ETIME): Likewise.
55782         [POSIX] (ETXTBSY): Likewise.
55783         [POSIX] (EWOULDBLOCK): Likewise.
55784         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55785         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55786         [POSIX] (SEEK_CUR): Likewise.
55787         [POSIX] (SEEK_END): Likewise.
55788         [POSIX || UNIX98] (mode_t): Do not require.
55789         [POSIX] (off_t): Likewise.
55790         [POSIX] (pid_t): Likewise.
55791         [POSIX] (sys/stat.h): Do not allow header.
55792         [POSIX] (unistd.h): Likewise.
55793         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55794         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55795         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55796         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55797         require.
55798         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55799         sigevent): Specify elements.
55800         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55801         entry.
55802         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55803         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55805         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55806         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55807         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55808         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55809         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55810         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55811         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55812         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55813         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55814         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55815         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55816         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55817         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55819         Likewise.
55820         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55821         Likewise.
55822         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55823         Likewise.
55824         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55825         Likewise.
55826         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55827         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55828         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55829         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55830         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55831         Specify lower bound on value.
55832         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55833         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55834         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55835         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55836         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55837         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55838         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55839         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55840         value.
55841         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55842         as optional.
55843         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55844         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55845         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55846         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55847         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55848         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55849         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55850         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55851         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55852         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55853         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55854         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55855         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55856         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55857         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55858         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55859         entry.
55860         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55861         optional.
55862         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55863         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55864         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55865         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55866         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55867         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55868         Likewise.
55869         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55870         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55871         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55872         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55873         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55874         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55875         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55876         as optional.
55877         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55878         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55879         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55880         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55881         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55882         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55883         specify as optional.
55884         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55885         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55886         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55887         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55888         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55889         [XPG3] (NL_LANGMAX): Likewise.
55890         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55891         [POSIX || XPG3] (NL_NMAX): Likewise.
55892         [POSIX || XPG3] (NL_SETMAX): Likewise.
55893         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55894         [XPG3] (NZERO): Likewise.
55895         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55896         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55897         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55898         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55899         (REG_ERANGE): Expect.
55900         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55901         optional-constant.
55902         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55903         Use (void) in prototype.
55904         [POSIX] (*_t): Allow.
55905         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55906         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55907         (WRDE_BADVAL): Expect.
55909         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55910         expect.
55911         [XPG3 || XPG4] (O_RSYNC): Likewise.
55912         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55913         Likewise.
55914         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55915         [XPG3 || XPG4] (sigqueue): Likewise.
55916         [XPG3 || XPG4] (sigtimedwait): Likewise.
55917         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55918         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55919         [XPG3 || XPG4] (vsnprintf): Likewise.
55920         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55921         Likewise.
55922         [XPG3 || XPG4] (blksize_t): Likewise.
55923         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55924         Likewise.
55925         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55926         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55927         [XPG3 || XPG4] (struct itimerspec): Likewise.
55928         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55929         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55930         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55931         [XPG3 || XPG4] (clockid_t): Likewise.
55932         [XPG3 || XPG4] (timer_t): Likewise.
55933         [XPG3 || XPG4] (clock_getres): Likewise.
55934         [XPG3 || XPG4] (clock_gettime): Likewise.
55935         [XPG3 || XPG4] (clock_settime): Likewise.
55936         [XPG3 || XPG4] (nanosleep): Likewise.
55937         [XPG3 || XPG4] (timer_create): Likewise.
55938         [XPG3 || XPG4] (timer_delete): Likewise.
55939         [XPG3 || XPG4] (timer_gettime): Likewise.
55940         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55941         [XPG3 || XPG4] (timer_settime): Likewise.
55942         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55943         [XPG3 || XPG4] (getlogin_r): Likewise.
55944         [XPG3 || XPG4] (pread): Likewise.
55945         [XPG3 || XPG4] (pthread_atfork): Likewise.
55946         [XPG3 || XPG4] (pwrite): Likewise.
55948         [BZ #14835]
55949         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55950         <bits/siginfo.h>.
55952 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55954         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55955         finalizing MALLSTREAM.
55957         * sysdeps/mach/hurd/syncfs.c: New file.
55959 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55961         [BZ #14719]
55962         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55963         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55964         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55965         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55966         (_nss_dns_gethostbyname4_r): Likewise.
55967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55968         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55970 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55972         [BZ #13763]
55973         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55975 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55977         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55978         * elf/cache.c (print_entry): Print ",AArch64" for
55979         FLAG_AARCH64_LIB64
55981         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55982         * elf/cache.c (print_entry): Print ",hard-float" for
55983         FLAG_ARM_LIBHF.
55985 2012-11-18  David S. Miller  <davem@davemloft.net>
55987         With help from Joseph Myers.
55988         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55989         cutoff to 2**-13.
55990         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55991         cutoff to 2**-25.
55992         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55993         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55994         small.
55995         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55996         * math/libm-test.inc (y0_test): New tests.
55997         (y1_test): New tests.
55998         * sysdeps/i386/fpu/libm-test-ulps: Update.
55999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56002 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56004         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56005         64-bit targets.
56006         * configure: Regenerated.
56008 2012-11-17  David S. Miller  <davem@davemloft.net>
56010         [BZ #14811]
56011         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56012         nonzero exponents with absolute value below 0x1p-128 to +/-
56013         0x1p-128.
56015 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56017         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56019         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56021         * posix/getconf-speclist.c: New file.
56022         * posix/posix-envs.def: Likewise.
56023         * posix/confstr.c (START_ENV_GROUP): New macro.
56024         (END_ENV_GROUP): Likewise.
56025         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56026         (KNOWN_PRESENT_ENV_STRING): Likewise.
56027         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56028         (UNKNOWN_ENVIRONMENT): Likewise.
56029         (confstr): Include posix-envs.def instead of handling
56030         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56031         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56032         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56033         (END_ENV_GROUP): Likewise.
56034         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56035         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56036         (UNKNOWN_ENVIRONMENT): Likewise.
56037         (__sysconf): Include posix-envs.def instead of handling associated
56038         cases directly here.
56039         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56040         preprocessing getconf-speclist.c rather than running getconf or
56041         generating empty file.
56043 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56045         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56047 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56049         [BZ #14672]
56050         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56052 2012-11-16  David S. Miller  <davem@davemloft.net>
56054         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56055         smaller than LDBL_EPSILON/2.0L, just return xm1.
56057 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56059         * elf/tst-array1.c (init): Set constructor priority to 1000.
56060         (fini): Set destructor priority to 1000.
56061         * elf/tst-array2dep.c: Likewise.
56063 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56065         [BZ #11741]
56066         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56067         (_IO_new_file_xsputn): Also return EOF if none of the input
56068         data was written when overflow failed.
56069         * libio/iopadn.c (_IO_padn): Likewise.
56070         * libio/iowpadn.c (_IO_wpadn): Likewise.
56071         * stdio-common/tst-put-error.c: Add copyright notice.
56072         (do_test): Add case for printing padded string.
56073         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56074         _IO_padn returned error.
56075         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56076         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56077         return EOF.
56079 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56081         * libio/libioP.h: Add comment note that the references to C++
56082         bits are now obsolete.
56084 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56086         * math/libm-test.inc (check_complex): Use asprintf.
56088 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56090         * debug/pcprofiledump.c (print_version): Update copyright year.
56091         * malloc/memusagestat.c (print_version): Likewise.
56093 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56095         [BZ #14831]
56096         * elf/Makefile (tests): Add tst-audit8.
56097         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56098         ($(objpfx)tst-audit8.out): New target.
56099         (tst-audit8-ENV): New variable.
56100         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56101         audit if l_reloc_result is NULL.
56102         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56103         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56104         * elf/tst-audit8.c: New file.
56106 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56108         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56109         * misc/Makefile (CFLAGS-select.c): Define.
56110         * posix/Makefile (CFLAGS-pause.c): Define.
56112 2012-11-13  David S. Miller  <davem@davemloft.net>
56114         * crypt/Makefile: Move test targets after toplevel Rules
56115         inclusion.  Grab any necessary sysdep routines when linking.
56116         * crypt/md5.c (md5_process_block): Remove define, we will always
56117         name it __md5_process_block.
56118         (md5_finish_ctx): Update md5_process_block call.
56119         (md5_stream): Likewise.
56120         (md5_process_bytes): Likewise.
56121         (md5_process_block): Rename to __md5_process_block and move to ...
56122         * crypt/md5-block.c: ... here.
56123         * crypt/sha256.c (sha256_process_block): Move to ...
56124         * crypt/sha256-block.c: ... here.
56125         * crypt/sha512.c (sha512_process_block): Move to ...
56126         * crypt/sha512-block.c: ... here.
56127         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56128         path.
56129         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56130         * sysdeps/sparc/sparc64/multiarch/Makefile
56131         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56132         crypt subdir.
56133         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56134         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56135         multiarch changes.
56136         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56137         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56138         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56139         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56140         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56141         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56142         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56143         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56144         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56145         file.
56146         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56147         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56148         file.
56149         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56151 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56153         * timezone/tzselect.ksh: Update from tzcode git revision
56154         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56155         * timezone/zdump.c: Likewise.
56156         * timezone/zic.c: Likewise.
56157         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56158         in TZVERSION setting, not $(PKGVERSION).
56159         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56160         REPORT_BUGS_TO settings.
56162         [BZ #14838]
56163         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56164         macro.
56166 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56168         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56169         detection to immediately after _FP_ROUND().
56170         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56171         bits are 0.
56173 2012-11-11  David S. Miller  <davem@davemloft.net>
56175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56176         inttypes.h
56177         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56178         __close rather than their public counterparts.
56180 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56182         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56183         file.
56184         [UNIX98] (sem_timedwait): Do not expect.
56185         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56186         [XPG4 || UNIX98] (sockatmark): Do not expect.
56187         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56188         (clock_getcpuclockid): Do not expect.
56189         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56190         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56191         Do not expect.
56192         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56193         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56194         [UNIX98] (vwscanf): Likewise.
56195         [UNIX98] (vswscanf): Likewise.
56197 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56199         * timezone/version.h: Remove file.
56200         * timezone/README: Do not refer to version.h.
56201         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56202         $(objpfx)version.h.
56203         ($(objpfx)zdump.o): Likewise.
56204         ($(objpfx)version.h): New target.
56206         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56207         2012i.
56208         * timezone/README: Don't mention modification to tzselect.ksh.
56209         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56210         work on unmodified tzselect.ksh.  Substitute version numbers in
56211         tzselect.ksh.
56213         * Makefile (format-me): Remove.
56214         (INSTALL): Adjust indentation.  Use commands directly instead of
56215         using $(format-me).
56217         * aclocal.m4 (ACX_PKGVERSION): New macro.
56218         (ACX_BUGURL): Likewise.
56219         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56220         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56221         (REPORT_BUGS_TO): Likewise.
56222         * configure: Regenerated.
56223         * config.h.in (PKGVERSION): New macro.
56224         (REPORT_BUGS_TO): Likewise.
56225         * config.make.in (PKGVERSION): New variable.
56226         (PKGVERSION_TEXI): Likewise.
56227         (REPORT_BUGS_TO): Likewise.
56228         (REPORT_BUGS_TEXI): Likewise.
56229         * Makefile (format-me): Use -I$(common-objpfx)manual.
56230         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56231         ($(common-objpfx)manual/%): New target.
56232         (manual/%): Remove target.
56233         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56234         (print_version): Use PKGVERSION.
56235         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56236         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56237         and REPORT_BUGS_TO.
56238         ($(objpfx)xtrace): Likewise.
56239         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56240         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56241         (print_version): Use PKGVERSION.
56242         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56243         (do_version): Use PKGVERSION.
56244         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56245         REPORT_BUGS_TO.
56246         (common-ldd-rewrite): Likewise.
56247         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56248         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56249         (print_version): Use PKGVERSION.
56250         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56251         * elf/pldd.c (argp_program_bug_address): Remove variable.
56252         (more_help): New function.
56253         (argp): Use more_help.
56254         (print_version): Use PKGVERSION.
56255         * elf/sln.c (main): Use PKGVERSION.
56256         (usage): Use REPORT_BUGS_TO.
56257         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56258         (top level): Use PKGVERSION.
56259         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56260         (print_version): Use PKGVERSION.
56261         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56262         (print_version): Use PKGVERSION.
56263         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56264         (print_version): Use PKGVERSION.
56265         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56266         (print_version): Use PKGVERSION.
56267         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56268         (print_version): Use PKGVERSION.
56269         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56270         (print_version): Use PKGVERSION.
56271         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56272         and BUGURL.
56273         ($(objpfx)memusage): Likewise.
56274         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56275         (do_version): Use PKGVERSION.
56276         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56277         (print_version): Use PKGVERSION.
56278         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56279         ($PKGVERSION): New variable.
56280         ($REPORT_BUGS_TO): Likewise.
56281         (usage): Use $REPORT_BUGS_TO.
56282         (top level): Use $PKGVERSION.
56283         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56284         ($(objpfx)pkgvers.texi): New rule.
56285         ($(objpfx)stamp-pkgvers): Likewise.
56286         * manual/install.texi: Include pkgvers.texi.
56287         (--with-pkgversion): Document new configure option.
56288         (--with-bugurl): Likewise.
56289         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56290         than necessarily for this particular distribution.  Use
56291         REPORT_BUGS_TO for where to report bugs.
56292         * INSTALL: Regenerated.
56293         * manual/libc.texinfo: Include pkgvers.texi.
56294         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56295         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56296         (print_version): Use PKGVERSION.
56297         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56298         (print_version): Use PKGVERSION.
56299         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56300         (print_version): Use PKGVERSION.
56301         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56302         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56303         macro.
56304         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56305         (print_version): Use PKGVERSION.
56306         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56307         (print_version): Use PKGVERSION.
56308         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56309         and PKGVERSION.
56311         * timezone/checktab.awk: Update from tzcode 2012i.
56312         * timezone/ialloc.c: Likewise.
56313         * timezone/private.h: Likewise.
56314         * timezone/scheck.c: Likewise.
56315         * timezone/tzfile.h: Likewise.
56316         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56317         (TZVERSION): Hardcode tzcode version number.
56318         * timezone/zdump.c: Update from tzcode 2012i.
56319         * timezone/zic.c: Likewise.
56320         * timezone/version.h: New file.
56321         * timezone/README: Describe version.h.  Update upstream location.
56323         [BZ #14824]
56324         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56325         (mktemp): Enable declaration.
56326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56330         Likewise.
56331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56332         Likewise.
56333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56334         Likewise.
56335         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56336         Likewise.
56337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56338         Likewise.
56339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56340         Likewise.
56342         [BZ #14821]
56343         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56344         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56345         for copies of such integer values.
56346         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56347         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56349 2012-11-09  Andreas Jaeger  <aj@suse.de>
56351         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56352         definitions and declarations that are provided by
56353         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56355 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56357         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56358         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56359         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56360         definition.
56362 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56364         * elf/elf.h: Update comment before AArch64 relocations.
56366 2012-11-07  David S. Miller  <davem@davemloft.net>
56368         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56369         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56370         (__start_context): Declare.
56371         (__makecontext_ret): Delete.
56372         (__makecontext): Hook up __start_context instead of
56373         __makecontext_ret.
56374         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56375         (sysdep_routines): Add __start_context when in stdlib.
56377 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56379         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56380         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56381         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56382         hardcoded "nm".
56383         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56384         (READELF): New variable.  Use it instead of hardcoded "readelf".
56386 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56388         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56389         * sysdeps/x86/Makefile: Here.
56390         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56391         * sysdeps/x86/tst-xmmymm.sh: This.
56393 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56395         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56396         expectations.
56397         [UNIX98] (pthread_barrier_t): Do not expect.
56398         [UNIX98] (pthread_barrierattr_t): Likewise.
56399         [UNIX98] (pthread_spinlock_t): Likewise.
56400         [UNIX98] (pthread_barrier_destroy): Likewise.
56401         [UNIX98] (pthread_barrier_init): Likewise.
56402         [UNIX98] (pthread_barrier_wait): Likewise.
56403         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56404         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56405         [UNIX98] (pthread_barrierattr_init): Likewise.
56406         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56407         [UNIX98] (pthread_getcpuclockid): Likewise.
56408         [UNIX98] (pthread_mutex_timedlock): Likewise.
56409         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56410         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56411         [UNIX98] (pthread_sigmask): Likewise.
56412         [UNIX98] (pthread_spin_destroy): Likewise.
56413         [UNIX98] (pthread_spin_init): Likewise.
56414         [UNIX98] (pthread_spin_lock): Likewise.
56415         [UNIX98] (pthread_spin_trylock): Likewise.
56416         [UNIX98] (pthread_spin_unlock): Likewise.
56417         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56418         Do not expect.
56419         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56420         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56421         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56422         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56423         [XPG3 || XPG4] (pthread_key_t): Likewise.
56424         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56425         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56426         [XPG3 || XPG4] (pthread_once_t): Likewise.
56427         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56428         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56429         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56430         [XPG3 || XPG4] (pthread_t): Likewise.
56432         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56433         not expect.
56434         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56436         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56437         Change function return type to int.
56439         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56440         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56441         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56442         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56443         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56444         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56445         [!POSIX] (posix_madvise): Likewise.
56446         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56447         && !UNIX98].
56448         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56449         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56450         (mode_t): Likewise.
56451         (posix_mem_offset): Likewise.
56452         (posix_typed_mem_get_info): Likewise.
56453         (posix_typed_mem_open): Likewise.
56455         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56456         Change condition to [XOPEN2K8].
56458         * conform/conformtest.pl: Preprocess allow-header data with -x c
56459         instead of from stdin.
56460         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56461         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56462         [C99-based standards] (cerfc): Likewise.
56463         [C99-based standards] (cexp2): Likewise.
56464         [C99-based standards] (cexpm1): Likewise.
56465         [C99-based standards] (clog10): Likewise.
56466         [C99-based standards] (clog1p): Likewise.
56467         [C99-based standards] (clog2): Likewise.
56468         [C99-based standards] (clgamma): Likewise.
56469         [C99-based standards] (ctgamma): Likewise.
56470         [C99-based standards] (cerff): Likewise.
56471         [C99-based standards] (cerfcf): Likewise.
56472         [C99-based standards] (cexp2f): Likewise.
56473         [C99-based standards] (cexpm1f): Likewise.
56474         [C99-based standards] (clog10f): Likewise.
56475         [C99-based standards] (clog1pf): Likewise.
56476         [C99-based standards] (clog2f): Likewise.
56477         [C99-based standards] (clgammaf): Likewise.
56478         [C99-based standards] (ctgammaf): Likewise.
56479         [C99-based standards] (cerfl): Likewise.
56480         [C99-based standards] (cerfcl): Likewise.
56481         [C99-based standards] (cexp2l): Likewise.
56482         [C99-based standards] (cexpm1l): Likewise.
56483         [C99-based standards] (clog10l): Likewise.
56484         [C99-based standards] (clog1pl): Likewise.
56485         [C99-based standards] (clog2l): Likewise.
56486         [C99-based standards] (clgammal): Likewise.
56487         [C99-based standards] (ctgammal): Likewise.
56488         * conform/data/inttypes.h-data [C99-based standards]: Include
56489         stdint.h-data.  Remove all expectations for stdint.h contents.
56490         [C99-based standards] (PRI*): Do not allow.
56491         [C99-based standards] (SCN*): Likewise.
56492         [C99-based standards] (*_t): Likewise.
56493         [C99-based-standards] (PRId8): Expect macro.
56494         [C99-based-standards] (PRIi8): Likewise.
56495         [C99-based-standards] (PRIo8): Likewise.
56496         [C99-based-standards] (PRIu8): Likewise.
56497         [C99-based-standards] (PRIx8): Likewise.
56498         [C99-based-standards] (PRIX8): Likewise.
56499         [C99-based-standards] (SCNd8): Likewise.
56500         [C99-based-standards] (SCNi8): Likewise.
56501         [C99-based-standards] (SCNo8): Likewise.
56502         [C99-based-standards] (SCNu8): Likewise.
56503         [C99-based-standards] (SCNx8): Likewise.
56504         [C99-based-standards] (PRIdLEAST8): Likewise.
56505         [C99-based-standards] (PRIiLEAST8): Likewise.
56506         [C99-based-standards] (PRIoLEAST8): Likewise.
56507         [C99-based-standards] (PRIuLEAST8): Likewise.
56508         [C99-based-standards] (PRIxLEAST8): Likewise.
56509         [C99-based-standards] (PRIXLEAST8): Likewise.
56510         [C99-based-standards] (SCNdLEAST8): Likewise.
56511         [C99-based-standards] (SCNiLEAST8): Likewise.
56512         [C99-based-standards] (SCNoLEAST8): Likewise.
56513         [C99-based-standards] (SCNuLEAST8): Likewise.
56514         [C99-based-standards] (SCNxLEAST8): Likewise.
56515         [C99-based-standards] (PRIdFAST8): Likewise.
56516         [C99-based-standards] (PRIiFAST8): Likewise.
56517         [C99-based-standards] (PRIoFAST8): Likewise.
56518         [C99-based-standards] (PRIuFAST8): Likewise.
56519         [C99-based-standards] (PRIxFAST8): Likewise.
56520         [C99-based-standards] (PRIXFAST8): Likewise.
56521         [C99-based-standards] (SCNdFAST8): Likewise.
56522         [C99-based-standards] (SCNiFAST8): Likewise.
56523         [C99-based-standards] (SCNoFAST8): Likewise.
56524         [C99-based-standards] (SCNuFAST8): Likewise.
56525         [C99-based-standards] (SCNxFAST8): Likewise.
56526         [C99-based-standards] (PRId16): Likewise.
56527         [C99-based-standards] (PRIi16): Likewise.
56528         [C99-based-standards] (PRIo16): Likewise.
56529         [C99-based-standards] (PRIu16): Likewise.
56530         [C99-based-standards] (PRIx16): Likewise.
56531         [C99-based-standards] (PRIX16): Likewise.
56532         [C99-based-standards] (SCNd16): Likewise.
56533         [C99-based-standards] (SCNi16): Likewise.
56534         [C99-based-standards] (SCNo16): Likewise.
56535         [C99-based-standards] (SCNu16): Likewise.
56536         [C99-based-standards] (SCNx16): Likewise.
56537         [C99-based-standards] (PRIdLEAST16): Likewise.
56538         [C99-based-standards] (PRIiLEAST16): Likewise.
56539         [C99-based-standards] (PRIoLEAST16): Likewise.
56540         [C99-based-standards] (PRIuLEAST16): Likewise.
56541         [C99-based-standards] (PRIxLEAST16): Likewise.
56542         [C99-based-standards] (PRIXLEAST16): Likewise.
56543         [C99-based-standards] (SCNdLEAST16): Likewise.
56544         [C99-based-standards] (SCNiLEAST16): Likewise.
56545         [C99-based-standards] (SCNoLEAST16): Likewise.
56546         [C99-based-standards] (SCNuLEAST16): Likewise.
56547         [C99-based-standards] (SCNxLEAST16): Likewise.
56548         [C99-based-standards] (PRIdFAST16): Likewise.
56549         [C99-based-standards] (PRIiFAST16): Likewise.
56550         [C99-based-standards] (PRIoFAST16): Likewise.
56551         [C99-based-standards] (PRIuFAST16): Likewise.
56552         [C99-based-standards] (PRIxFAST16): Likewise.
56553         [C99-based-standards] (PRIXFAST16): Likewise.
56554         [C99-based-standards] (SCNdFAST16): Likewise.
56555         [C99-based-standards] (SCNiFAST16): Likewise.
56556         [C99-based-standards] (SCNoFAST16): Likewise.
56557         [C99-based-standards] (SCNuFAST16): Likewise.
56558         [C99-based-standards] (SCNxFAST16): Likewise.
56559         [C99-based-standards] (PRId32): Likewise.
56560         [C99-based-standards] (PRIi32): Likewise.
56561         [C99-based-standards] (PRIo32): Likewise.
56562         [C99-based-standards] (PRIu32): Likewise.
56563         [C99-based-standards] (PRIx32): Likewise.
56564         [C99-based-standards] (PRIX32): Likewise.
56565         [C99-based-standards] (SCNd32): Likewise.
56566         [C99-based-standards] (SCNi32): Likewise.
56567         [C99-based-standards] (SCNo32): Likewise.
56568         [C99-based-standards] (SCNu32): Likewise.
56569         [C99-based-standards] (SCNx32): Likewise.
56570         [C99-based-standards] (PRIdLEAST32): Likewise.
56571         [C99-based-standards] (PRIiLEAST32): Likewise.
56572         [C99-based-standards] (PRIoLEAST32): Likewise.
56573         [C99-based-standards] (PRIuLEAST32): Likewise.
56574         [C99-based-standards] (PRIxLEAST32): Likewise.
56575         [C99-based-standards] (PRIXLEAST32): Likewise.
56576         [C99-based-standards] (SCNdLEAST32): Likewise.
56577         [C99-based-standards] (SCNiLEAST32): Likewise.
56578         [C99-based-standards] (SCNoLEAST32): Likewise.
56579         [C99-based-standards] (SCNuLEAST32): Likewise.
56580         [C99-based-standards] (SCNxLEAST32): Likewise.
56581         [C99-based-standards] (PRIdFAST32): Likewise.
56582         [C99-based-standards] (PRIiFAST32): Likewise.
56583         [C99-based-standards] (PRIoFAST32): Likewise.
56584         [C99-based-standards] (PRIuFAST32): Likewise.
56585         [C99-based-standards] (PRIxFAST32): Likewise.
56586         [C99-based-standards] (PRIXFAST32): Likewise.
56587         [C99-based-standards] (SCNdFAST32): Likewise.
56588         [C99-based-standards] (SCNiFAST32): Likewise.
56589         [C99-based-standards] (SCNoFAST32): Likewise.
56590         [C99-based-standards] (SCNuFAST32): Likewise.
56591         [C99-based-standards] (SCNxFAST32): Likewise.
56592         [C99-based-standards] (PRId64): Likewise.
56593         [C99-based-standards] (PRIi64): Likewise.
56594         [C99-based-standards] (PRIo64): Likewise.
56595         [C99-based-standards] (PRIu64): Likewise.
56596         [C99-based-standards] (PRIx64): Likewise.
56597         [C99-based-standards] (PRIX64): Likewise.
56598         [C99-based-standards] (SCNd64): Likewise.
56599         [C99-based-standards] (SCNi64): Likewise.
56600         [C99-based-standards] (SCNo64): Likewise.
56601         [C99-based-standards] (SCNu64): Likewise.
56602         [C99-based-standards] (SCNx64): Likewise.
56603         [C99-based-standards] (PRIdLEAST64): Likewise.
56604         [C99-based-standards] (PRIiLEAST64): Likewise.
56605         [C99-based-standards] (PRIoLEAST64): Likewise.
56606         [C99-based-standards] (PRIuLEAST64): Likewise.
56607         [C99-based-standards] (PRIxLEAST64): Likewise.
56608         [C99-based-standards] (PRIXLEAST64): Likewise.
56609         [C99-based-standards] (SCNdLEAST64): Likewise.
56610         [C99-based-standards] (SCNiLEAST64): Likewise.
56611         [C99-based-standards] (SCNoLEAST64): Likewise.
56612         [C99-based-standards] (SCNuLEAST64): Likewise.
56613         [C99-based-standards] (SCNxLEAST64): Likewise.
56614         [C99-based-standards] (PRIdFAST64): Likewise.
56615         [C99-based-standards] (PRIiFAST64): Likewise.
56616         [C99-based-standards] (PRIoFAST64): Likewise.
56617         [C99-based-standards] (PRIuFAST64): Likewise.
56618         [C99-based-standards] (PRIxFAST64): Likewise.
56619         [C99-based-standards] (PRIXFAST64): Likewise.
56620         [C99-based-standards] (SCNdFAST64): Likewise.
56621         [C99-based-standards] (SCNiFAST64): Likewise.
56622         [C99-based-standards] (SCNoFAST64): Likewise.
56623         [C99-based-standards] (SCNuFAST64): Likewise.
56624         [C99-based-standards] (SCNxFAST64): Likewise.
56625         [C99-based-standards] (PRIdMAX): Likewise.
56626         [C99-based-standards] (PRIiMAX): Likewise.
56627         [C99-based-standards] (PRIoMAX): Likewise.
56628         [C99-based-standards] (PRIuMAX): Likewise.
56629         [C99-based-standards] (PRIxMAX): Likewise.
56630         [C99-based-standards] (PRIXMAX): Likewise.
56631         [C99-based-standards] (SCNdMAX): Likewise.
56632         [C99-based-standards] (SCNiMAX): Likewise.
56633         [C99-based-standards] (SCNoMAX): Likewise.
56634         [C99-based-standards] (SCNuMAX): Likewise.
56635         [C99-based-standards] (SCNxMAX): Likewise.
56636         [C99-based-standards] (PRIdPTR): Likewise.
56637         [C99-based-standards] (PRIiPTR): Likewise.
56638         [C99-based-standards] (PRIoPTR): Likewise.
56639         [C99-based-standards] (PRIuPTR): Likewise.
56640         [C99-based-standards] (PRIxPTR): Likewise.
56641         [C99-based-standards] (PRIXPTR): Likewise.
56642         [C99-based-standards] (SCNdPTR): Likewise.
56643         [C99-based-standards] (SCNiPTR): Likewise.
56644         [C99-based-standards] (SCNoPTR): Likewise.
56645         [C99-based-standards] (SCNuPTR): Likewise.
56646         [C99-based-standards] (SCNxPTR): Likewise.
56647         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56648         allow.
56649         * conform/data/stdint.h-data: Update comments to clarify
56650         requirements.
56651         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56652         type.
56653         [C99-based standards] (INT8_MAX): Likewise.
56654         [C99-based standards] (INT16_MIN): Likewise.
56655         [C99-based standards] (INT16_MAX): Likewise.
56656         [C99-based standards] (INT32_MIN): Likewise.
56657         [C99-based standards] (INT32_MAX): Likewise.
56658         [C99-based standards] (INT64_MIN): Likewise.
56659         [C99-based standards] (INT64_MAX): Likewise.
56660         [C99-based standards] (UINT8_MAX): Likewise.
56661         [C99-based standards] (UINT16_MAX): Likewise.
56662         [C99-based standards] (UINT32_MAX): Likewise.
56663         [C99-based standards] (UINT64_MAX): Likewise.
56664         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56665         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56666         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56667         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56668         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56669         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56670         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56671         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56672         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56673         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56674         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56675         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56676         [C99-based standards] (INT_FAST8_MIN): Likewise.
56677         [C99-based standards] (INT_FAST8_MAX): Likewise.
56678         [C99-based standards] (INT_FAST16_MIN): Likewise.
56679         [C99-based standards] (INT_FAST16_MAX): Likewise.
56680         [C99-based standards] (INT_FAST32_MIN): Likewise.
56681         [C99-based standards] (INT_FAST32_MAX): Likewise.
56682         [C99-based standards] (INT_FAST64_MIN): Likewise.
56683         [C99-based standards] (INT_FAST64_MAX): Likewise.
56684         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56685         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56686         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56687         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56688         [C99-based standards] (INTPTR_MIN): Likewise.
56689         [C99-based standards] (INTPTR_MAX): Likewise.
56690         [C99-based standards] (UINTPTR_MAX): Likewise.
56691         [C99-based standards] (INTMAX_MIN): Likewise.
56692         [C99-based standards] (INTMAX_MAX): Likewise.
56693         [C99-based standards] (UINTMAX_MAX): Likewise.
56694         [C99-based standards] (PTRDIFF_MIN): Likewise.
56695         [C99-based standards] (PTRDIFF_MAX): Likewise.
56696         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56697         [C99-based standards] (SIZE_MAX): Likewise.
56698         [C99-based standards] (WCHAR_MAX): Likewise.
56699         [C99-based standards] (WINT_MAX): Likewise.
56700         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56701         constraint on value.
56702         [C99-based standards] (WCHAR_MIN): Likewise.
56703         [C99-based standards] (WINT_MIN): Likewise.
56704         [C99-based standards] (*_t): Allow.
56705         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56706         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56707         Include math.h-data and complex.h-data.  Remove all expectations
56708         of math.h and complex.h contents.
56709         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56710         at end of line.
56711         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56712         (struct tm): Expect tag.
56713         [C99-based-standards] (wcstof): Expect function.
56714         [C99-based-standards] (wcstold): Likewise.
56715         [C99-based-standards] (wcstoll): Likewise.
56716         [C99-based-standards] (wcstoull): Likewise.
56717         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56718         macro-int-constant.  Specify type.
56719         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56720         constraint on value.
56721         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56722         Specify type.
56723         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56724         Specify value.
56725         [ISO C standards]: Do not allow headers.
56726         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56727         wcs[abcdefghijklmnopqrstuvwxyz]*.
56728         [ISO C standards] (*_t): Do not allow.
56729         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56730         Expect function.
56731         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56732         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56733         Specify type.
56734         [ISO C standards]: Do not allow headers.
56735         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56736         is[abcdefghijklmnopqrstuvwxyz]*.
56737         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56738         to[abcdefghijklmnopqrstuvwxyz]*.
56739         [ISO C standards] (*_t): Do not allow.
56740         * conform/data/stdalign.h-data: New file.
56741         * conform/data/stdbool.h-data: Likewise.
56742         * conform/data/stdnoreturn.h-data: Likewise.
56744 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56746         [BZ #14815]
56747         * manual/filesys.texi (Directory Entries): Typo fix.
56748         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56750 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56752         * elf/elf.h (EM_AARCH64): New macro.
56753         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56754         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56755         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56756         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56757         (R_AARCH64_TLSDESC): Likewise.
56758         (NT_ARM_TLS): Likewise.
56759         (NT_ARM_HW_BREAK): Likewise.
56760         (NT_ARM_HW_WATCH): Likewise.
56762 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56764         [BZ #14811]
56765         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56766         (__ieee754_powl): Saturate nonzero exponents with absolute value
56767         below 0x1p-79 to +/- 0x1p-79.
56768         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56769         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56770         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56771         nonzero exponents with absolute value below 0x1p-32 to +/-
56772         0x1p-32.
56773         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56774         (__ieee754_powl): Saturate nonzero exponents with absolute value
56775         below 0x1p-79 to +/- 0x1p-79.
56776         * math/libm-test.inc (pow_test): Add more tests.
56778 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56780         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56781         _dl_s390_cap_flags with kernel. Increase string length.
56782         (_dl_s390_platforms): Add z196 and zEC12.
56784 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56786         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56787         Change XOPEN21K to XOPEN2K.
56789 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56791         * string/memmove.c: Use memcpy when possible.
56793 2012-11-06  Andreas Jaeger  <aj@suse.de>
56795         * po/eo.po: Update from translation team.
56797 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56799         [BZ #14793]
56800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56801         exponent and small x and y exponents, scale x or y up.  Increase
56802         by 2 the exponent used in scaling up.
56803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56805         * math/libm-test.inc (fma_test): Add more tests.
56806         (fma_test_towardzero): Likewise.
56807         (fma_test_downward): Likewise.
56808         (fma_test_upward): Likewise.
56810 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56812         [BZ #14805]
56813         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56814         fenv_t *.
56816         [BZ #14801]
56817         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56818         namespace for names of struct fields.
56819         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56820         fenv_t fields.
56821         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56822         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56824 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56826         [BZ #3665]
56827         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56829 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56831         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56832         PTR_DEMANGLE.
56834         [BZ #5246]
56835         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56836         PTR_DEMANGLE.
56838 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56840         [BZ #14797]
56841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56842         definitely overflow as x * y not x * y + z.
56843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56845         * math/libm-test.inc (fma_test): Add more tests.
56846         (fma_test_towardzero): Likewise.
56847         (fma_test_downward): Likewise.
56848         (fma_test_upward): Likewise.
56850 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56852         [BZ #157]
56854         * include/stub-tag.h: Remove file.
56855         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56856         '#include' of it.
56857         * manual/maint.texi (Porting): Don't reference it.
56858         * Makerules ($(objpfx)stubs): Likewise.
56859         * dirent/closedir.c: Don't include <stub-tag.h>.
56860         * dirent/dirfd.c: Likewise.
56861         * dirent/fdopendir.c: Likewise.
56862         * dirent/getdents.c: Likewise.
56863         * dirent/getdents64.c: Likewise.
56864         * dirent/opendir.c: Likewise.
56865         * dirent/readdir.c: Likewise.
56866         * dirent/readdir64.c: Likewise.
56867         * dirent/readdir64_r.c: Likewise.
56868         * dirent/readdir_r.c: Likewise.
56869         * dirent/rewinddir.c: Likewise.
56870         * dirent/seekdir.c: Likewise.
56871         * dirent/telldir.c: Likewise.
56872         * gmon/profil.c: Likewise.
56873         * grp/setgroups.c: Likewise.
56874         * inet/if_index.c: Likewise.
56875         * io/access.c: Likewise.
56876         * io/chdir.c: Likewise.
56877         * io/chmod.c: Likewise.
56878         * io/chown.c: Likewise.
56879         * io/close.c: Likewise.
56880         * io/dup.c: Likewise.
56881         * io/dup2.c: Likewise.
56882         * io/dup3.c: Likewise.
56883         * io/euidaccess.c: Likewise.
56884         * io/faccessat.c: Likewise.
56885         * io/fchdir.c: Likewise.
56886         * io/fchmod.c: Likewise.
56887         * io/fchmodat.c: Likewise.
56888         * io/fchown.c: Likewise.
56889         * io/fchownat.c: Likewise.
56890         * io/fcntl.c: Likewise.
56891         * io/flock.c: Likewise.
56892         * io/fstatfs.c: Likewise.
56893         * io/fstatfs64.c: Likewise.
56894         * io/fstatvfs.c: Likewise.
56895         * io/fstatvfs64.c: Likewise.
56896         * io/futimens.c: Likewise.
56897         * io/fxstat.c: Likewise.
56898         * io/fxstat64.c: Likewise.
56899         * io/fxstatat.c: Likewise.
56900         * io/fxstatat64.c: Likewise.
56901         * io/getcwd.c: Likewise.
56902         * io/isatty.c: Likewise.
56903         * io/lchmod.c: Likewise.
56904         * io/lchown.c: Likewise.
56905         * io/link.c: Likewise.
56906         * io/linkat.c: Likewise.
56907         * io/lseek.c: Likewise.
56908         * io/lseek64.c: Likewise.
56909         * io/lxstat64.c: Likewise.
56910         * io/mkdir.c: Likewise.
56911         * io/mkdirat.c: Likewise.
56912         * io/mkfifo.c: Likewise.
56913         * io/mkfifoat.c: Likewise.
56914         * io/open.c: Likewise.
56915         * io/open64.c: Likewise.
56916         * io/openat.c: Likewise.
56917         * io/openat64.c: Likewise.
56918         * io/pipe.c: Likewise.
56919         * io/pipe2.c: Likewise.
56920         * io/poll.c: Likewise.
56921         * io/posix_fadvise.c: Likewise.
56922         * io/posix_fadvise64.c: Likewise.
56923         * io/posix_fallocate.c: Likewise.
56924         * io/posix_fallocate64.c: Likewise.
56925         * io/read.c: Likewise.
56926         * io/readlink.c: Likewise.
56927         * io/readlinkat.c: Likewise.
56928         * io/rmdir.c: Likewise.
56929         * io/sendfile.c: Likewise.
56930         * io/sendfile64.c: Likewise.
56931         * io/statfs.c: Likewise.
56932         * io/statfs64.c: Likewise.
56933         * io/statvfs.c: Likewise.
56934         * io/statvfs64.c: Likewise.
56935         * io/symlink.c: Likewise.
56936         * io/symlinkat.c: Likewise.
56937         * io/ttyname.c: Likewise.
56938         * io/ttyname_r.c: Likewise.
56939         * io/umask.c: Likewise.
56940         * io/unlink.c: Likewise.
56941         * io/unlinkat.c: Likewise.
56942         * io/utime.c: Likewise.
56943         * io/utimensat.c: Likewise.
56944         * io/write.c: Likewise.
56945         * io/xmknod.c: Likewise.
56946         * io/xmknodat.c: Likewise.
56947         * io/xstat.c: Likewise.
56948         * io/xstat64.c: Likewise.
56949         * login/getpt.c: Likewise.
56950         * login/grantpt.c: Likewise.
56951         * login/unlockpt.c: Likewise.
56952         * math/e_acoshl.c: Likewise.
56953         * math/e_acosl.c: Likewise.
56954         * math/e_asinl.c: Likewise.
56955         * math/e_atan2l.c: Likewise.
56956         * math/e_atanhl.c: Likewise.
56957         * math/e_coshl.c: Likewise.
56958         * math/e_expl.c: Likewise.
56959         * math/e_fmodl.c: Likewise.
56960         * math/e_gammal_r.c: Likewise.
56961         * math/e_hypotl.c: Likewise.
56962         * math/e_j0l.c: Likewise.
56963         * math/e_j1l.c: Likewise.
56964         * math/e_jnl.c: Likewise.
56965         * math/e_lgammal_r.c: Likewise.
56966         * math/e_log10l.c: Likewise.
56967         * math/e_log2l.c: Likewise.
56968         * math/e_logl.c: Likewise.
56969         * math/e_powl.c: Likewise.
56970         * math/e_rem_pio2l.c: Likewise.
56971         * math/e_sinhl.c: Likewise.
56972         * math/e_sqrtl.c: Likewise.
56973         * math/fclrexcpt.c: Likewise.
56974         * math/fedisblxcpt.c: Likewise.
56975         * math/feenablxcpt.c: Likewise.
56976         * math/fegetenv.c: Likewise.
56977         * math/fegetexcept.c: Likewise.
56978         * math/fegetround.c: Likewise.
56979         * math/feholdexcpt.c: Likewise.
56980         * math/fesetenv.c: Likewise.
56981         * math/fesetround.c: Likewise.
56982         * math/feupdateenv.c: Likewise.
56983         * math/fgetexcptflg.c: Likewise.
56984         * math/fraiseexcpt.c: Likewise.
56985         * math/fsetexcptflg.c: Likewise.
56986         * math/ftestexcept.c: Likewise.
56987         * math/k_cosl.c: Likewise.
56988         * math/k_rem_pio2l.c: Likewise.
56989         * math/k_sinl.c: Likewise.
56990         * math/k_tanl.c: Likewise.
56991         * math/s_asinhl.c: Likewise.
56992         * math/s_atanl.c: Likewise.
56993         * math/s_cbrtl.c: Likewise.
56994         * math/s_erfl.c: Likewise.
56995         * math/s_expm1l.c: Likewise.
56996         * math/s_log1pl.c: Likewise.
56997         * math/s_tanhl.c: Likewise.
56998         * misc/acct.c: Likewise.
56999         * misc/brk.c: Likewise.
57000         * misc/chflags.c: Likewise.
57001         * misc/chroot.c: Likewise.
57002         * misc/fchflags.c: Likewise.
57003         * misc/fgetxattr.c: Likewise.
57004         * misc/flistxattr.c: Likewise.
57005         * misc/fremovexattr.c: Likewise.
57006         * misc/fsetxattr.c: Likewise.
57007         * misc/fsync.c: Likewise.
57008         * misc/ftruncate.c: Likewise.
57009         * misc/futimes.c: Likewise.
57010         * misc/futimesat.c: Likewise.
57011         * misc/getdomain.c: Likewise.
57012         * misc/getdtsz.c: Likewise.
57013         * misc/gethostid.c: Likewise.
57014         * misc/gethostname.c: Likewise.
57015         * misc/getloadavg.c: Likewise.
57016         * misc/getpagesize.c: Likewise.
57017         * misc/getsysstats.c: Likewise.
57018         * misc/getxattr.c: Likewise.
57019         * misc/gtty.c: Likewise.
57020         * misc/ioctl.c: Likewise.
57021         * misc/lgetxattr.c: Likewise.
57022         * misc/listxattr.c: Likewise.
57023         * misc/llistxattr.c: Likewise.
57024         * misc/lremovexattr.c: Likewise.
57025         * misc/lsetxattr.c: Likewise.
57026         * misc/lutimes.c: Likewise.
57027         * misc/madvise.c: Likewise.
57028         * misc/mincore.c: Likewise.
57029         * misc/mlock.c: Likewise.
57030         * misc/mlockall.c: Likewise.
57031         * misc/mmap.c: Likewise.
57032         * misc/mprotect.c: Likewise.
57033         * misc/msync.c: Likewise.
57034         * misc/munlock.c: Likewise.
57035         * misc/munlockall.c: Likewise.
57036         * misc/munmap.c: Likewise.
57037         * misc/preadv.c: Likewise.
57038         * misc/preadv64.c: Likewise.
57039         * misc/ptrace.c: Likewise.
57040         * misc/pwritev.c: Likewise.
57041         * misc/pwritev64.c: Likewise.
57042         * misc/readv.c: Likewise.
57043         * misc/reboot.c: Likewise.
57044         * misc/remap_file_pages.c: Likewise.
57045         * misc/removexattr.c: Likewise.
57046         * misc/revoke.c: Likewise.
57047         * misc/select.c: Likewise.
57048         * misc/setdomain.c: Likewise.
57049         * misc/setegid.c: Likewise.
57050         * misc/seteuid.c: Likewise.
57051         * misc/sethostid.c: Likewise.
57052         * misc/sethostname.c: Likewise.
57053         * misc/setregid.c: Likewise.
57054         * misc/setreuid.c: Likewise.
57055         * misc/setxattr.c: Likewise.
57056         * misc/sstk.c: Likewise.
57057         * misc/stty.c: Likewise.
57058         * misc/swapoff.c: Likewise.
57059         * misc/swapon.c: Likewise.
57060         * misc/sync.c: Likewise.
57061         * misc/syncfs.c: Likewise.
57062         * misc/syscall.c: Likewise.
57063         * misc/truncate.c: Likewise.
57064         * misc/ualarm.c: Likewise.
57065         * misc/usleep.c: Likewise.
57066         * misc/ustat.c: Likewise.
57067         * misc/utimes.c: Likewise.
57068         * misc/vhangup.c: Likewise.
57069         * misc/writev.c: Likewise.
57070         * posix/_exit.c: Likewise.
57071         * posix/alarm.c: Likewise.
57072         * posix/execve.c: Likewise.
57073         * posix/fexecve.c: Likewise.
57074         * posix/fork.c: Likewise.
57075         * posix/fpathconf.c: Likewise.
57076         * posix/getaddrinfo.c: Likewise.
57077         * posix/getegid.c: Likewise.
57078         * posix/geteuid.c: Likewise.
57079         * posix/getgid.c: Likewise.
57080         * posix/getgroups.c: Likewise.
57081         * posix/getlogin.c: Likewise.
57082         * posix/getlogin_r.c: Likewise.
57083         * posix/getpgid.c: Likewise.
57084         * posix/getpid.c: Likewise.
57085         * posix/getppid.c: Likewise.
57086         * posix/getresgid.c: Likewise.
57087         * posix/getresuid.c: Likewise.
57088         * posix/getsid.c: Likewise.
57089         * posix/getuid.c: Likewise.
57090         * posix/glob64.c: Likewise.
57091         * posix/nanosleep.c: Likewise.
57092         * posix/pathconf.c: Likewise.
57093         * posix/pause.c: Likewise.
57094         * posix/posix_madvise.c: Likewise.
57095         * posix/pread.c: Likewise.
57096         * posix/pread64.c: Likewise.
57097         * posix/pwrite.c: Likewise.
57098         * posix/pwrite64.c: Likewise.
57099         * posix/sched_getaffinity.c: Likewise.
57100         * posix/sched_getp.c: Likewise.
57101         * posix/sched_gets.c: Likewise.
57102         * posix/sched_primax.c: Likewise.
57103         * posix/sched_primin.c: Likewise.
57104         * posix/sched_rr_gi.c: Likewise.
57105         * posix/sched_setaffinity.c: Likewise.
57106         * posix/sched_setp.c: Likewise.
57107         * posix/sched_sets.c: Likewise.
57108         * posix/sched_yield.c: Likewise.
57109         * posix/setgid.c: Likewise.
57110         * posix/setlogin.c: Likewise.
57111         * posix/setpgid.c: Likewise.
57112         * posix/setresgid.c: Likewise.
57113         * posix/setresuid.c: Likewise.
57114         * posix/setsid.c: Likewise.
57115         * posix/setuid.c: Likewise.
57116         * posix/sleep.c: Likewise.
57117         * posix/spawni.c: Likewise.
57118         * posix/sysconf.c: Likewise.
57119         * posix/times.c: Likewise.
57120         * posix/wait.c: Likewise.
57121         * posix/wait3.c: Likewise.
57122         * posix/wait4.c: Likewise.
57123         * posix/waitpid.c: Likewise.
57124         * resolv/gai_sigqueue.c: Likewise.
57125         * resource/getpriority.c: Likewise.
57126         * resource/getrlimit.c: Likewise.
57127         * resource/getrusage.c: Likewise.
57128         * resource/nice.c: Likewise.
57129         * resource/setpriority.c: Likewise.
57130         * resource/setrlimit.c: Likewise.
57131         * resource/ulimit.c: Likewise.
57132         * rt/aio_cancel.c: Likewise.
57133         * rt/aio_fsync.c: Likewise.
57134         * rt/aio_read.c: Likewise.
57135         * rt/aio_sigqueue.c: Likewise.
57136         * rt/aio_suspend.c: Likewise.
57137         * rt/aio_write.c: Likewise.
57138         * rt/clock_getres.c: Likewise.
57139         * rt/clock_gettime.c: Likewise.
57140         * rt/clock_nanosleep.c: Likewise.
57141         * rt/clock_settime.c: Likewise.
57142         * rt/lio_listio.c: Likewise.
57143         * rt/mq_close.c: Likewise.
57144         * rt/mq_getattr.c: Likewise.
57145         * rt/mq_notify.c: Likewise.
57146         * rt/mq_open.c: Likewise.
57147         * rt/mq_receive.c: Likewise.
57148         * rt/mq_send.c: Likewise.
57149         * rt/mq_setattr.c: Likewise.
57150         * rt/mq_timedreceive.c: Likewise.
57151         * rt/mq_timedsend.c: Likewise.
57152         * rt/mq_unlink.c: Likewise.
57153         * rt/shm_open.c: Likewise.
57154         * rt/shm_unlink.c: Likewise.
57155         * rt/timer_create.c: Likewise.
57156         * rt/timer_delete.c: Likewise.
57157         * rt/timer_getoverr.c: Likewise.
57158         * rt/timer_gettime.c: Likewise.
57159         * rt/timer_settime.c: Likewise.
57160         * setjmp/__longjmp.c: Likewise.
57161         * setjmp/setjmp.c: Likewise.
57162         * signal/kill.c: Likewise.
57163         * signal/killpg.c: Likewise.
57164         * signal/raise.c: Likewise.
57165         * signal/sigaction.c: Likewise.
57166         * signal/sigaltstack.c: Likewise.
57167         * signal/sigblock.c: Likewise.
57168         * signal/sigignore.c: Likewise.
57169         * signal/sigintr.c: Likewise.
57170         * signal/signal.c: Likewise.
57171         * signal/sigpause.c: Likewise.
57172         * signal/sigpending.c: Likewise.
57173         * signal/sigqueue.c: Likewise.
57174         * signal/sigreturn.c: Likewise.
57175         * signal/sigset.c: Likewise.
57176         * signal/sigsetmask.c: Likewise.
57177         * signal/sigstack.c: Likewise.
57178         * signal/sigsuspend.c: Likewise.
57179         * signal/sigtimedwait.c: Likewise.
57180         * signal/sigvec.c: Likewise.
57181         * signal/sigwait.c: Likewise.
57182         * signal/sigwaitinfo.c: Likewise.
57183         * signal/sysv_signal.c: Likewise.
57184         * socket/accept.c: Likewise.
57185         * socket/accept4.c: Likewise.
57186         * socket/bind.c: Likewise.
57187         * socket/connect.c: Likewise.
57188         * socket/getpeername.c: Likewise.
57189         * socket/getsockname.c: Likewise.
57190         * socket/getsockopt.c: Likewise.
57191         * socket/isfdtype.c: Likewise.
57192         * socket/listen.c: Likewise.
57193         * socket/recv.c: Likewise.
57194         * socket/recvfrom.c: Likewise.
57195         * socket/recvmsg.c: Likewise.
57196         * socket/send.c: Likewise.
57197         * socket/sendmsg.c: Likewise.
57198         * socket/sendto.c: Likewise.
57199         * socket/setsockopt.c: Likewise.
57200         * socket/shutdown.c: Likewise.
57201         * socket/sockatmark.c: Likewise.
57202         * socket/socket.c: Likewise.
57203         * socket/socketpair.c: Likewise.
57204         * stdio-common/ctermid.c: Likewise.
57205         * stdio-common/cuserid.c: Likewise.
57206         * stdio-common/remove.c: Likewise.
57207         * stdio-common/rename.c: Likewise.
57208         * stdio-common/renameat.c: Likewise.
57209         * stdio-common/tempname.c: Likewise.
57210         * stdlib/getcontext.c: Likewise.
57211         * stdlib/makecontext.c: Likewise.
57212         * stdlib/setcontext.c: Likewise.
57213         * stdlib/swapcontext.c: Likewise.
57214         * stdlib/system.c: Likewise.
57215         * streams/fattach.c: Likewise.
57216         * streams/fdetach.c: Likewise.
57217         * streams/getmsg.c: Likewise.
57218         * streams/getpmsg.c: Likewise.
57219         * streams/putmsg.c: Likewise.
57220         * streams/putpmsg.c: Likewise.
57221         * sysdeps/unix/bsd/getpt.c: Likewise.
57222         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57223         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57224         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57226         Likewise.
57227         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57228         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57229         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57230         * sysvipc/msgctl.c: Likewise.
57231         * sysvipc/msgget.c: Likewise.
57232         * sysvipc/msgrcv.c: Likewise.
57233         * sysvipc/msgsnd.c: Likewise.
57234         * sysvipc/semctl.c: Likewise.
57235         * sysvipc/semget.c: Likewise.
57236         * sysvipc/semop.c: Likewise.
57237         * sysvipc/semtimedop.c: Likewise.
57238         * sysvipc/shmat.c: Likewise.
57239         * sysvipc/shmctl.c: Likewise.
57240         * sysvipc/shmdt.c: Likewise.
57241         * sysvipc/shmget.c: Likewise.
57242         * termios/tcdrain.c: Likewise.
57243         * termios/tcflow.c: Likewise.
57244         * termios/tcflush.c: Likewise.
57245         * termios/tcgetattr.c: Likewise.
57246         * termios/tcgetpgrp.c: Likewise.
57247         * termios/tcsendbrk.c: Likewise.
57248         * termios/tcsetattr.c: Likewise.
57249         * termios/tcsetpgrp.c: Likewise.
57250         * time/adjtime.c: Likewise.
57251         * time/clock.c: Likewise.
57252         * time/getitimer.c: Likewise.
57253         * time/gettimeofday.c: Likewise.
57254         * time/setitimer.c: Likewise.
57255         * time/settimeofday.c: Likewise.
57256         * time/stime.c: Likewise.
57257         * time/time.c: Likewise.
57259 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57261         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57262         /usr/old/bin.
57264         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57265         instead of spaces.
57266         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57268 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57270         [BZ #14796]
57271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57272         FE_TONEAREST before applying Dekker multiplication and Knuth
57273         addition.  Clear inexact exceptions and check for exact zero
57274         results afterwards.
57275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57276         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57277         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57278         * math/libm-test.inc (fma_test): Add more tests.
57279         (fma_test_towardzero): Likewise.
57280         (fma_test_downward): Likewise.
57281         (fma_test_upward): Likewise.
57282         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57283         function.
57284         (libc_fesetround): New macro.
57285         (libc_fesetroundf): Likewise.
57286         (libc_fesetroundl): Likewise.
57287         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57288         function.
57289         (libc_fesetround_387): Likewise.
57290         (libc_fesetroundf): New macro.
57291         (libc_fesetround): Likewise.
57292         (libc_fesetroundl): Likewise.
57293         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57294         function.
57295         (libc_fesetroundf): New macro.
57296         (libc_fesetround): Likewise.
57297         (libc_fesetroundl): Likewise.
57298         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57299         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57300         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57301         libm_hidden_ver.
57302         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57303         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57304         libm_hidden_def.
57305         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57306         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57307         libm_hidden_ver.
57308         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57309         libm_hidden_def.
57311         [BZ #3439]
57312         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57313         integer constant usable in #if and use that to give value to enum
57314         constant.
57315         (FE_DIVBYZERO): Likewise.
57316         (FE_UNDERFLOW): Likewise.
57317         (FE_OVERFLOW): Likewise.
57318         (FE_INVALID): Likewise.
57319         (FE_INVALID_SNAN): Likewise.
57320         (FE_INVALID_ISI): Likewise.
57321         (FE_INVALID_IDI): Likewise.
57322         (FE_INVALID_ZDZ): Likewise.
57323         (FE_INVALID_IMZ): Likewise.
57324         (FE_INVALID_COMPARE): Likewise.
57325         (FE_INVALID_SOFTWARE): Likewise.
57326         (FE_INVALID_SQRT): Likewise.
57327         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57328         (FE_TONEAREST): Likewise.
57329         (FE_TOWARDZERO): Likewise.
57330         (FE_UPWARD): Likewise.
57331         (FE_DOWNWARD): Likewise.
57332         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57333         (FE_DIVBYZERO): Likewise.
57334         (FE_OVERFLOW): Likewise.
57335         (FE_UNDERFLOW): Likewise.
57336         (FE_INEXACT): Likewise.
57337         (FE_TONEAREST): Likewise.
57338         (FE_DOWNWARD): Likewise.
57339         (FE_UPWARD): Likewise.
57340         (FE_TOWARDZERO): Likewise.
57341         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57342         (FE_UNDERFLOW): Likewise.
57343         (FE_OVERFLOW): Likewise.
57344         (FE_DIVBYZERO): Likewise.
57345         (FE_INVALID): Likewise.
57346         (FE_TONEAREST): Likewise.
57347         (FE_TOWARDZERO): Likewise.
57348         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57349         (FE_OVERFLOW): Likewise.
57350         (FE_UNDERFLOW): Likewise.
57351         (FE_DIVBYZERO): Likewise.
57352         (FE_INEXACT): Likewise.
57353         (FE_TONEAREST): Likewise.
57354         (FE_TOWARDZERO): Likewise.
57355         (FE_UPWARD): Likewise.
57356         (FE_DOWNWARD): Likewise.
57357         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57358         (FE_DIVBYZERO): Likewise.
57359         (FE_OVERFLOW): Likewise.
57360         (FE_UNDERFLOW): Likewise.
57361         (FE_INEXACT): Likewise.
57362         (FE_TONEAREST): Likewise.
57363         (FE_DOWNWARD): Likewise.
57364         (FE_UPWARD): Likewise.
57365         (FE_TOWARDZERO): Likewise.
57367 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57369         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57371 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57373         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57374         commands.  Quote $PWD.
57375         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57376         -x" by "export".
57377         (remove_newlines): Remove.
57379 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57381         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57382         * stdlib/stdlib.h (atof): Moved to ...
57383         * include/bits/stdlib-float.h: Here.  New file.
57384         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57385         * stdlib/bits/stdlib-float.h: New file.
57386         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57387         -mno-sse -mno-mmx.
57388         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57389         <xmmintrin.h>.
57391 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57393         * conform/conformtest.pl (@headers): Add fenv.h.
57394         * conform/data/fenv.h-data: New file.
57395         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57396         include of <math/fenv.h>.
57398         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57399         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57400         && !UNIX98].  Enables tests for XOPEN2K8.
57401         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57402         POSIX2008]: Likewise.
57404         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57405         (struct rusage): Do not expect type or its members.
57407         [BZ #3439]
57408         * math/math.h (FP_NAN): Define macro to integer constant usable in
57409         #if and use that to give value to enum constant.
57410         (FP_INFINITE): Likewise.
57411         (FP_ZERO): Likewise.
57412         (FP_SUBNORMAL): Likewise.
57413         (FP_NORMAL): Likewise.
57415 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57417         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57418         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57419         arguments.
57421 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57423         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57424         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57425         autoconf-time if not.
57426         * configure.in: Remove AC_PREREQ.
57428 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57430         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57431         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57432         of the internal implementation.
57434 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57436         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57437         except include of <misc/sys/syslog.h>.
57439 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57442         function returns with a NULL context exit with zero.
57444 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57446         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57448 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57450         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57451         (run_program_cmd): This.
57452         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57453         (tst_langinfo): New variable.  Use it.
57455 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57457         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57458         floating point opcodes.
57460 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57462         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57463         variable.
57465         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57467         * sysdeps/mach/hurd/powerpc: Remove directory.
57468         * sysdeps/mach/powerpc: Likewise.
57470 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57472         * scripts/check-local-headers.sh: Ignore c++ headers.
57474 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57476         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57477         __libc_cleanup_region_start argument.
57479 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57481         [BZ #14784]
57482         [BZ #14785]
57483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57484         x * y using scaling, not as x * y + z.
57485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57487         * math/libm-test.inc (fma_test): Add more tests.
57488         (fma_test_towardzero): Likewise.
57489         (fma_test_downward): Likewise.
57490         (fma_test_upward): Likewise.
57492 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57494         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57496 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57498         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57499         New variable.
57501 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57503         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57505 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57508         Fix sort order.
57509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57510         Likewise.
57512 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57515         Fix the order of the list for glibc 2.17.
57516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57517         Likewise.
57519 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57523 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57525         [BZ #14610]
57526         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57527         for low part of x being zero before using __atanl (y).
57528         * math/libm-test.inc (atan2_test): Add another test.
57530         * manual/install.texi (Configuring and compiling): Document
57531         general use of test-wrapper and test-wrapper-env.
57532         * INSTALL: Regenerated.
57534         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57535         (__fma): 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-128/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         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57543         (__fmal): Do not extract and scale down low bits on after-rounding
57544         systems when result rounded to normal precision would have normal
57545         exponent.
57546         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57547         macro.
57548         (fma_test): Add more tests.
57549         (fma_test_towardzero): Likewise.
57550         (fma_test_downward): Likewise.
57551         (fma_test_upward): Likewise.
57553 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57555         * sysdeps/i386/tininess.h: Renamed to ...
57556         * sysdeps/x86/tininess.h: This.
57557         * sysdeps/x86_64/tininess.h: Removed.
57559 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57561         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57562         input.  Use $(build-program-cmd).
57563         ($(objpfx)tst-array1-static.out): Likewise.
57564         ($(objpfx)tst-array2.out): Likewise.
57565         ($(objpfx)tst-array3.out): Likewise.
57566         ($(objpfx)tst-array4.out): Likewise.
57567         ($(objpfx)tst-array5.out): Likewise.
57568         ($(objpfx)tst-array5-static.out): Likewise.
57570 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57572         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57573         if defined.
57575         * nss/nsswitch.h (nss_interface_function): Provide new
57576         macro for use with NSS functions.
57577         * grp/initgroups.c: Use new macro.
57578         * nss/getXXbyYY.c: Likewise.
57579         * nss/getXXbyYY_r.c: Likewise.
57580         * nss/getXXent.c: Likewise.
57581         * nss/getXXent_r.c: Likewise.
57582         * sysdeps/posix/getaddrinfo.c: Likewise.
57584 2012-10-30  Andreas Jaeger  <aj@suse.de>
57586         * po/ru.po: Update Russion translation from translation project.
57588 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57590         [BZ #14152]
57591         [BZ #14783]
57592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57593         result and shift together with sticky bit instead of replicating
57594         round-to-nearest rounding.
57595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57596         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57597         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57598         missing underflow exceptions.
57599         (fma_test_towardzero): Add more tests.
57600         (fma_test_downward): Likewise.
57601         (fma_test_upward): Likewise.
57603         [BZ #14047]
57604         * sysdeps/generic/tininess.h: New file.
57605         * sysdeps/i386/tininess.h: Likewise.
57606         * sysdeps/sh/tininess.h: Likewise.
57607         * sysdeps/x86_64/tininess.h: Likewise.
57608         * stdlib/tst-strtod-underflow.c: Likewise.
57609         * stdlib/tst-tininess.c: Likewise.
57610         * stdlib/strtod_l.c: Include <tininess.h>.
57611         (round_and_return): Do not set errno for exact underflow cases.
57612         Force an underflow exception when setting errno for underflow.
57613         Determine underflow based on rounding to normal precision if
57614         TININESS_AFTER_ROUNDING.
57615         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57616         ERANGE for exact underflow cases.
57617         * stdlib/Makefile (tests): Add tst-tininess and
57618         tst-strtod-underflow.
57619         ($(objpfx)tst-tininess): Use $(link-libm).
57620         ($(objpfx)tst-strtod-underflow): Likewise.
57622 2012-10-30  Andreas Jaeger  <aj@suse.de>
57624         [BZ#14767]
57625         * elf/Makefile (tests): Remove conditional for have-initfini-array
57626         since this is now always required and the variable does not exist
57627         anymore.
57628         (tests-static): Likewise.
57629         (modules-names): Likewise.
57631         * po/eo.po: Add Esperanto translation from translation project.
57633         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57634         merged with constructor/destructor.
57635         (init_array): Likewise.
57636         * elf/tst-array2dep.c (fini_array): Likewise.
57637         (init_array): Likewise.
57639 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57641         * manual/message.texi: Delete @cartouche tags.
57643 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57645         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57646         EOPNOTSUPP.
57647         * sysdeps/mach/hurd/fsync.c: Likewise.
57649         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57650         [_POSIX_REALTIME_SIGNALS]: Change condition to
57651         [_POSIX_REALTIME_SIGNALS > 0].
57653 2012-10-27  Andreas Jaeger  <aj@suse.de>
57655         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57656         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57658         [__WORDSIZE != 64]: Likewise.
57660 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57662         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57663         *  iconvdata/tst-tables.sh: Likewise.
57665 2012-10-25  David S. Miller  <davem@davemloft.net>
57667         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57668         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57669         of strtoull.
57671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57672         ifunc-impl-list.c
57673         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57674         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57675         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57676         file.
57678 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57680         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57681         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57682         __getdirentries.
57684 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57685             Jim Blandy  <jimb@codesourcery.com>
57687         * scripts/cross-test-ssh.sh: New file.
57688         * manual/install.texi (Configuring and compiling): Document use of
57689         cross-test-ssh.sh.
57690         * INSTALL: Regenerated.
57692 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57694         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57695         EOPNOTSUPP.
57697 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57699         * Makeconfig (run-program-prefix): Fix comment.
57701 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57702             Jim Blandy  <jimb@codesourcery.com>
57704         * Makeconfig (test-wrapper): New variable,
57705         (test-wrapper-env): Likewise.
57706         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57707         (run-built-tests): Define to yes.
57708         (run-program-prefix): Use $(test-wrapper).
57709         (built-program-cmd): Likewise.
57710         * Rules (make-test-out): Use $(test-wrapper-env) and
57711         $(host-built-program-cmd).
57712         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57713         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57714         tst-pathopt.sh.
57715         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57716         $(test-wrapper-env) to tst-rtld-load-self.sh.
57717         ($(objpfx)order2.out): Use $(test-wrapper).
57718         ($(objpfx)tst-initorder.out): Likewise.
57719         ($(objpfx)tst-initorder2.out): Likewise.
57720         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57721         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57722         (test_wrapper_env): New variable.  Use it to run ld.so.
57723         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57724         Use it to run ld.so.
57725         (test_wrapper_env): Likewise.
57726         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57727         $(test-wrapper) to run-iconv-test.sh.
57728         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57729         (ICONV): Use $test_wrapper.
57730         * posix/Makefile ($(objpfx)globtest.out): Pass
57731         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57732         globtest.sh, not $(run-program-prefix).
57733         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57734         (test_wrapper): Likewise.
57735         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57736         set together with run_via_rtld_prefix.
57737         (run_program_prefix): Define in terms of test_wrapper and
57738         run_via_rtld_prefix.
57740 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57742         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57743         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57744         Targets removed.
57746         [BZ #14743]
57747         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57748         Declare __clock_getres, __clock_gettime, __clock_settime,
57749         __clock_nanosleep, and __clock_getcpuclockid.
57750         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57751         Remove librt_hidden_def (clock_gettime).
57752         * sysdeps/unix/clock_gettime.c: Likewise.
57753         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57755         * rt/clock_getres.c: Define __clock_getres as an alias.
57756         * sysdeps/posix/clock_getres.c: Likewise.
57757         * rt/clock_settime.c: Define __clock_settime as an alias.
57758         * sysdeps/unix/clock_settime.c: Likewise.
57759         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57760         * sysdeps/unix/clock_nanosleep.c: Likewise.
57761         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57762         * rt/clock-compat.c: New file.
57763         * rt/Makefile (librt-routines): Add clock-compat and move
57764         $(clock-routines) to ...
57765         (routines): ... here, new variable.
57766         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57767         Don't add get_clockfreq here.
57768         * rt/Versions (libc: GLIBC_2.17): New version set.
57769         Add clock_* symbols here.
57770         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57772         (GLIBC_2.17): Add clock_* symbols.
57773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57775         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57777         Likewise.
57778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57779         Likewise.
57780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57784         * NEWS: Mention the move.
57786         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57787         Use __open, __read, __close rather than their public counterparts.
57788         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57789         (__get_clockfreq_via_cpuinfo): Likewise.
57790         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57791         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57793         * config.h.in (HAVE_IFUNC): New #undef.
57794         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57795         was successful.
57796         * configure: Regenerated.
57798 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57800         * configure.in: Move READELF check to start of file.
57801         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57802         libc_cv_asm_gnu_indirect_function in the process.
57803         * configure: Regenerated.
57805 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57807         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57808         send the output to /dev/null.
57809         (libc_cv_cc_with_libunwind): Likewise.
57810         (libc_cv_as_noexecstack): Likewise.
57811         * configure: Regenerate.
57813 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57815         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57817         * posix/globtest.sh (TMPDIR): Do not set.
57818         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57819         (testout): Likewise.
57821 2012-10-24  Andreas Jaeger  <aj@suse.de>
57823         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57824         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57825         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57826         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57827         posix_fadvise64, posix_fallocate64.
57829         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57830         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57831         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57832         Likewise.
57833         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57834         Likewise.
57835         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57838         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57839         <bits/fcntl-linux.h>.
57840         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57843         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57844         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57845         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57846         [__WORDSIZE != 64]: Likewise.
57848 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57850         * Makeconfig (run-built-tests): New variable.
57851         * Rules [$(cross-compiling) = yes]: Change condition to
57852         [$(run-built-tests) = no].
57853         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57854         to [$(run-built-tests) = yes].
57855         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57856         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57857         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57858         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57859         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57860         * io/Makefile [$(cross-compiling) = no]: Likewise.
57861         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57862         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57863         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57864         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57865         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57866         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57867         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57868         * string/Makefile [$(cross-compiling) = no]: Likewise.
57870         * posix/Makefile ($(objpfx)globtest.out): Pass
57871         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57872         $(rtld-installed-name).
57873         * posix/globtest.sh (elf_objpfx): Remove variable.
57874         (rtld_installed_name): Likewise.
57875         (library_path): Likewise.
57876         (run_program_prefix): New variable.  Use for running globtest
57877         binary.
57879 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57880             Joseph Myers  <joseph@codesourcery.com>
57882         * Makeconfig (host-built-program-cmd): New variable.
57883         * elf/Makefile (tst-stackguard1-ARGS): Use
57884         $(host-built-program-cmd).
57885         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57886         (tst-spawn-ARGS): Likewise.
57887         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57889 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57890             Jim Blandy  <jimb@codesourcery.com>
57892         * Makeconfig (run-via-rtld-prefix): New variable.
57893         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57894         (built-program-cmd): Likewise.
57896 2012-10-22  Andreas Jaeger  <aj@suse.de>
57898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57899         __O_RSYNC if it exists, otherwise to O_SYNC.
57901 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57902             Joseph Myers  <joseph@codesourcery.com>
57904         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57905         /dev/null.
57906         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57907         from /dev/null
57908         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57909         /dev/null.
57911 2012-10-22  Andreas Jaeger  <aj@suse.de>
57913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57914         Define always.
57915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57918         bits/fcntl-linux.h.
57920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57921         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57923         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57924         to __O_LARGEFILE.
57925         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57926         to __O_LARGEFILE.
57928 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57929             Joseph Myers  <joseph@codesourcery.com>
57931         * config.make.in (NM): New variable.
57933 2012-10-21  Andreas Jaeger  <aj@suse.de>
57935         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57936         definitions and declarations that are provided by
57937         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57939 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57941         [BZ #14683]
57942         * elf/Makefile (tests-static): Add tst-leaks1-static.
57943         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57944         ($(objpfx)tst-leaks1-static): New rule.
57945         ($(objpfx)tst-leaks1-static-mem): Likewise.
57946         (tst-leaks1-static-ENV): New macro.
57947         * elf/dl-open.c (dl_open_worker): Check the main application
57948         only if SHARED is defined.
57949         * elf/tst-leaks1-static.c: New file.
57951 2012-10-20  Andreas Jaeger  <aj@suse.de>
57953         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57954         generic values for Linux.
57955         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57956         and declarations that are provided by <bits/fcntl-linux.h> and
57957         include <bits/fcntl-linux.h>.
57958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57959         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57961 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57963         * io/fcntl.h: Move include of <bits/types.h> to the top and
57964         include it unconditionally.
57966 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57968         * wcsmbs/Makefile (tests-ifunc): New variable.
57969         (tests): Add $(tests-ifunc).
57970         * wcsmbs/test-wcschr-ifunc.c: New file.
57971         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57972         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57973         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57974         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57975         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57977         * string/Makefile (tests-ifunc): New variable.
57978         (tests): Add $(tests-ifunc).
57979         * string/test-memccpy.c (TEST_NAME): New macro.
57980         * string/test-memchr.c (TEST_NAME): Likewise.
57981         * string/test-memcmp.c (TEST_NAME): Likewise.
57982         * string/test-memcpy.c (TEST_NAME): Likewise.
57983         * string/test-memmem.c (TEST_NAME): Likewise.
57984         * string/test-memmove.c (TEST_NAME): Likewise.
57985         * string/test-memset.c (TEST_NAME): Likewise.
57986         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57987         * string/test-stpcpy.c (TEST_NAME): Likewise.
57988         * string/test-stpncpy.c (TEST_NAME): Likewise.
57989         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57990         * string/test-strcasestr.c (TEST_NAME): Likewise.
57991         * string/test-strcat.c (TEST_NAME): Likewise.
57992         * string/test-strchr.c (TEST_NAME): Likewise.
57993         * string/test-strcmp.c(TEST_NAME): Likewise.
57994         * string/test-strcpy.c (TEST_NAME): Likewise.
57995         * string/test-strcspn.c (TEST_NAME): Likewise.
57996         * string/test-strlen.c (TEST_NAME): Likewise.
57997         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57998         * string/test-strncmp.c (TEST_NAME): Likewise.
57999         * string/test-strncpy.c (TEST_NAME): Likewise.
58000         * string/test-strnlen.c (TEST_NAME): Likewise.
58001         * string/test-strpbrk.c (TEST_NAME): Likewise.
58002         * string/test-strrchr.c (TEST_NAME): Likewise.
58003         * string/test-strspn.c (TEST_NAME): Likewise.
58004         * string/test-strstr.c (TEST_NAME): Likewise.
58005         * string/test-bcopy-ifunc.c: New file.
58006         * string/test-bzero-ifunc.c: Likewise.
58007         * string/test-memccpy-ifunc.c: Likewise.
58008         * string/test-memchr-ifunc.c: Likewise.
58009         * string/test-memcmp-ifunc.c: Likewise.
58010         * string/test-memcpy-ifunc.c: Likewise.
58011         * string/test-memmem-ifunc.c: Likewise.
58012         * string/test-memmove-ifunc.c: Likewise.
58013         * string/test-mempcpy-ifunc.c: Likewise.
58014         * string/test-memset-ifunc.c: Likewise.
58015         * string/test-rawmemchr-ifunc.c: Likewise.
58016         * string/test-stpcpy-ifunc.c: Likewise.
58017         * string/test-stpncpy-ifunc.c: Likewise.
58018         * string/test-strcasecmp-ifunc.c: Likewise.
58019         * string/test-strcasestr-ifunc.c: Likewise.
58020         * string/test-strcat-ifunc.c: Likewise.
58021         * string/test-strchr-ifunc.c: Likewise.
58022         * string/test-strchrnul-ifunc.c: Likewise.
58023         * string/test-strcmp-ifunc.c: Likewise.
58024         * string/test-strcpy-ifunc.c: Likewise.
58025         * string/test-strcspn-ifunc.c: Likewise.
58026         * string/test-strlen-ifunc.c: Likewise.
58027         * string/test-strncasecmp-ifunc.c: Likewise.
58028         * string/test-strncat-ifunc.c: Likewise.
58029         * string/test-strncmp-ifunc.c: Likewise.
58030         * string/test-strncpy-ifunc.c: Likewise.
58031         * string/test-strnlen-ifunc.c: Likewise.
58032         * string/test-strpbrk-ifunc.c: Likewise.
58033         * string/test-strrchr-ifunc.c: Likewise.
58034         * string/test-strspn-ifunc.c: Likewise.
58035         * string/test-strstr-ifunc.c: Likewise.
58037         * debug/Makefile (tests-ifunc): New variable.
58038         (tests): Add $(tests-ifunc).
58039         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58040         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58041         * debug/test-stpcpy_chk-ifunc.c: New file.
58042         * debug/test-strcpy_chk-ifunc.c: Likewise.
58044 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58046         [BZ #13601]
58047         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58048         header is not read in.
58050 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58052         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58053         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58054         directly.  Pass built executable to script as
58055         $(built-program-cmd).
58056         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58057         $testprogram without using LD_LIBRARY_PATH and $ldso.
58059         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58060         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58061         $(rtld-installed-name).
58062         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58063         (rtld_installed_name): Likewise.
58064         (library_path): Likewise.
58065         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58066         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58067         $(run-program-prefix) to tst-tables.sh.
58068         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58069         it to run tst-table-from and tst-table-to.
58070         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58071         Pass it to tst-table.sh.
58072         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58073         $(run-program-prefix) to tst-gettext.sh.
58074         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58075         tst-translit.sh.
58076         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58077         tst-gettext2.sh.
58078         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58079         to run tst-gettext.
58080         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58081         to run tst-gettext2.
58082         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58083         to run tst-translit.
58084         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58085         $(run-program-prefix) to tst-mtrace.sh.
58086         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58087         to run tst-mtrace.
58088         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58089         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58090         $(rtld-installed-name).
58091         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58092         (rtld_installed_name): Likewise.
58093         (run_program_prefix): New variable.  Use it to run wordexp-test.
58095         * Makeconfig (ARCH): Remove all definitions.
58096         (machine): Likewise.
58097         [ARCH]: Remove conditional code.
58098         [!objdir]: Give error.
58099         [!objdir] (objpfx): Remove.
58100         [!objdir] (common-objpfx): Likewise.
58101         [!objdir] (common-objdir): Likewise.
58102         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58103         AC_CONFIG_FILES call.
58104         * configure: Regenerated.
58106         [BZ #13888]
58107         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58108         or TMPDIR.
58109         (testout): Likewise.
58111         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58112         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58113         $(rtld-installed-name).
58114         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58115         (rtld_installed_name): Likwise.
58116         (runit): Remove function.
58117         (run_getconf): New variable,  Use it for running getconf binary.
58119 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58121         [BZ #14716]
58122         * string/test-memmem.c (check_result): New function.
58123         (do_one_test): Use it.
58124         (check1): New function.
58125         (test_main): Use it.
58127 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58129         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58131 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58133         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58134         (_G_LSEEK64): Likewise.
58135         (_G_MMAP64): Likewise.
58136         (_G_FSTAT64): Likewise.
58137         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58138         (_G_LSEEK64): Likewise.
58139         (_G_MMAP64): Likewise.
58140         (_G_FSTAT64): Likewise.
58141         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58142         unconditional.  Call __mmap64 directly.
58143         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58144         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58145         __lseek64 directly.
58146         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58147         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58148         __mmap64 directly.
58149         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58150         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58151         __lseek64 directly.
58152         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58153         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58154         __lseek64 directly.
58155         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58156         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58157         __lseek64 directly.
58158         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58159         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58160         __fxstat64 directly.
58161         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58162         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58163         unconditional.
58164         (freopen64) [!_G_OPEN64]: Remove conditional code.
58165         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58166         unconditional.
58167         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58168         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58169         unconditional.
58170         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58171         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58172         unconditional.
58173         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58174         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58175         unconditional.
58176         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58177         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58178         unconditional.
58179         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58180         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58181         unconditional.
58182         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58183         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58184         unconditional.
58185         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58187 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58189         [BZ #12140]
58190         * manual/memory.texi (Malloc Tunable Parameters): Add note
58191         about free list pointers overwriting some perturb bytes.
58192         Wording suggested by Roland McGrath.
58194 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58196         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58197         (lgamma_test): Likewise.
58198         (tgamma_test): Likewise.
58200 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58202         [BZ #14700]
58203         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58204         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58206 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58208         * NEWS: Mention BZ #14716.
58209         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58210         when removing AVAILABLE1_USES_J macro.
58212 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58214         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58215         (__bswap_64): __uint64_t for unsigned 64-bit int.
58217 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58219         * include/string.h (memmem): Declare libc hidden alias.
58220         * string/memmem.c (memmem): Define libc hidden alias.
58221         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58222         __read, __close instead of open, read, close.
58224 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58226         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58227         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58228         global and hidden.
58229         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58230         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58231         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58232         Likewise.
58233         (__rawmemchr_sse2): Likewise.
58234         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58235         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58236         (__strchr_sse2): Likewise.
58237         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58238         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58239         (__strcasecmp_sse2): Likewise.
58240         (__strncasecmp_sse2): Likewise.
58241         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58242         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58243         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58244         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58245         (__strrchr_sse2): Likewise.
58246         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58247         ifunc-impl-list.c.
58248         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58249         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58250         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58251         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58252         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58253         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58254         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58255         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58256         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58257         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58258         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58259         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58260         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58261         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58262         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58263         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58264         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58265         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58266         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58267         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58268         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58269         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58270         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58271         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58272         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58273         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58274         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58275         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58276         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58277         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58279         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58280         global and hidden.
58281         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58282         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58283         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58284         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58285         Likewise.
58286         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58287         Likewise.
58288         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58289         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58290         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58291         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58292         ifunc-impl-list.c.
58293         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58294         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58295         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58296         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58297         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58298         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58299         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58300         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58301         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58302         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58303         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58304         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58305         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58306         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58307         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58308         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58309         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58310         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58311         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58312         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58313         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58314         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58315         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58316         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58317         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58318         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58319         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58320         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58321         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58322         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58323         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58324         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58325         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58326         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58327         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58328         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58329         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58330         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58331         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58332         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58333         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58335         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58336         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58337         * include/ifunc-impl-list.h: New file.
58338         * misc/ifunc-impl-list.c: Likewise.
58339         * misc/Makefile (routines): Add ifunc-impl-list.
58340         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58341         * string/test-string.h: Include <ifunc-impl-list.h>.
58342         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58343         TEST_NAME]: New variables.
58344         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58345         are defined.
58346         (test_init): Call __libc_ifunc_impl_list to initialize
58347         func_list if TEST_IFUNC and TEST_NAME are defined.
58349         * string/Makefile (strop-tests): Add bcopy and bzero.
58350         * string/test-bcopy.c: New file.
58351         * string/test-bzero.c: Likewise.
58352         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58353         defined.
58354         * string/test-memset.c: Support bzero test if TEST_BZERO is
58355         defined.
58356         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58357         __libc_memmove.
58358         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58359         __libc_memset.
58360         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58361         of memset.
58363 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58365         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58366         * configure: Regenerated.
58368         * Makeconfig (+link-static-before-libc): Don't include
58369         $(link-static-libc).
58371         * libio/libio.h (_IO_pos_t): Remove.
58373 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58375         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58376         McGrath.
58378 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58380         * crypt/crypt-entry.c: Include fips-private.h.
58381         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58382         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58383         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58384         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58386 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58388         * crypt/crypt-private.h: Include stdbool.h.
58389         (_ufc_setup_salt_r): Return bool.
58390         * crypt/crypt-entry.c: Include errno.h.
58391         (__crypt_r): Return NULL with EINVAL for bad salt.
58392         * crypt/crypt_util.c (bad_for_salt): New.
58393         (_ufc_setup_salt_r): Check that salt is long enough and within
58394         the specified alphabet.
58395         * crypt/badsalttest.c: New file.
58396         * crypt/Makefile (tests): Add it.
58397         ($(objpfx)badsalttest): New.
58399 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58401         * NEWS: Add entry for BZ #14602.
58403 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58405         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58406         type-generic.
58407         * math/libm-test.inc: Update comment listing what functions and
58408         macros are tested.
58409         (isgreater_test): New function.
58410         (isgreaterequal_test): Likewise.
58411         (isless_test): Likewise.
58412         (islessequal_test): Likewise.
58413         (islessgreater_test): Likewise.
58414         (isunordered_test): Likewise.
58415         (main): Call the new functions.
58417 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58419         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58420         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58421         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58422         * sysdeps/i386/configure: Regenerated.
58423         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58424         * sysdeps/mach/configure: Regenerated.
58425         * sysdeps/mach/hurd/configure: Regenerated.
58426         * sysdeps/powerpc/configure: Regenerated.
58427         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58428         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58429         * sysdeps/s390/s390-32/configure: Regenerated.
58430         * sysdeps/s390/s390-64/configure: Regenerated.
58431         * sysdeps/sh/configure: Regenerated.
58432         * sysdeps/sparc/configure: Regenerated.
58433         * sysdeps/unix/sysv/linux/configure: Regenerated.
58434         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58435         * sysdeps/x86_64/configure: Regenerated.
58437         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58438         defined.  Don't check if MAP is NULL.
58440 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58442         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58443         (_G_stat64): Likewise.
58444         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58445         (_G_stat64): Likewise.
58446         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58447         instead of struct _G_stat64.
58448         * libio/fileops.c (mmap_remap_check): Likewise.
58449         (decide_maybe_mmap): Likewise.
58450         (_IO_new_file_seekoff): Likewise.
58451         (_IO_file_stat): Likewise.
58452         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58453         _G_off64_t.
58454         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58455         instead of struct _G_stat64.
58456         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58458 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58460         [BZ #14602]
58461         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58462         Replace with ...
58463         (CHECK_EOL): New macro.
58464         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58465         CHECK_EOL.
58466         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58467         Replace with CHECK_EOL.
58468         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58469         Replace with CHECK_EOL.
58471 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58473         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58474         type-generic.
58475         * math/libm-test.inc: Update comment listing what functions and
58476         macros are tested.
58477         (finite_test): New function.
58478         (isinf_test): Likewise.
58479         (isnan_test): Likewise.
58480         (fpclassify_test): Test subnormal input.
58481         (isfinite_test): Likewise.
58482         (isnormal_test): Likewise.
58483         (main): Call the new functions.
58485 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58487         [BZ #14660]
58488         * Makerules (%.dynsym): Force C locale when running
58489         $(OBJDUMP) --dynamic-syms.
58491 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58493         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58494         <stdint.h>.
58496 2012-10-06  David S. Miller  <davem@davemloft.net>
58498         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58499         upper 32-bits of the length value in %o2 since we use branch-on-register
58500         tests which consider the entire 64-bit register.
58502 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58504         * string/test-strstr.c (check2): Add a test for page boundary.
58506 2012-10-05  David S. Miller  <davem@davemloft.net>
58508         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58509         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58510         file.
58511         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58512         sysdep_routines.
58513         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58514         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58515         and bzero when HWCAP_SPARC_CRYPTO is present.
58517 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58519         [BZ #14602]
58520         * string/test-strstr.c (check2): New function.
58521         (test_main): Call check2.
58523         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58524         and bug-strchr1.
58525         * string/bug-strcasestr1.c (do_test): Moved to ...
58526         * string/test-strcasestr.c (check1): Here.  New function.
58527         (do_one_test): Break out result checking code into ...
58528         (check_result): This.  New function.
58529         (do_one_test): Call check_result.
58530         (test_main): Call check1.
58531         * string/bug-strchr1.c (do_test): Moved to ...
58532         * string/test-strchr.c (check1): Here.  New function.
58533         (do_one_test): Break out result checking code into ...
58534         (check_result): This.  New function.
58535         (do_one_test): Call check_result.
58536         (test_main): Call check1.
58537         * string/bug-strstr1.c (main): Moved to ...
58538         * string/test-strstr.c (check1): Here.  New function.
58539         (do_one_test): Break out result checking code into ...
58540         (check_result): This.  New function.
58541         (do_one_test): Call check_result.
58542         (test_main): Call check1.
58543         * string/bug-strcasestr1.c: Removed.
58544         * string/bug-strchr1.c: Likewise.
58545         * string/bug-strstr1.c: Likewise.
58547         * elf/Makefile (dl-routines): Add hwcaps.
58548         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58549         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58550         (_dl_important_hwcaps): Moved to ...
58551         * elf/dl-hwcaps.c: Here.  New file.
58552         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58554         [BZ #14557]
58555         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58556         if IS_IN_rtld isn't defined.
58558         * elf/dl-support.c (_dl_sysinfo_map): New.
58559         Include "get-dynamic-info.h" and "setup-vdso.h".
58560         (_dl_non_dynamic_init): Call setup_vdso.
58561         * elf/dynamic-link.h: Don't include <assert.h>.
58562         (elf_get_dynamic_info): Moved to ...
58563         * elf/get-dynamic-info.h: Here.  New file.
58564         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58565         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58566         * elf/setup-vdso.h: Here.  New file.
58567         * elf/rtld.c: Include "setup-vdso.h".
58568         (dl_main): Call setup_vdso.
58570 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58572         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58573         creal in comment listing functions tested.  List finite, isinf,
58574         isnan, isless, islessequal, isgreater, isgreaterequal,
58575         islessgreater, isunordered, lgamma_r and pow10 as functions and
58576         macros not tested.  Mention which functions not tested are aliases
58577         for other functions.  Fix typo.  Note that signs of NaNs are not
58578         tested.
58580         * scripts/config.guess: Update from config.git.
58581         * scripts/config.sub: Likewise.
58583 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58585         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58586         * misc/madvise.c (madvise): Renamed to __madvise.
58587         Make madvise a weak alias.
58588         * include/sys/mman.h: Declare __madvise.
58589         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58590         * sysdeps/unix/syscalls.list
58591         (madvise): Make __madvise the strong name, and madvise a weak alias.
58592         * sysdeps/unix/sysv/linux/syscalls.list
58593         (madvise, mmap): Remove redundant entries.
58594         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58595         * malloc/malloc.c (mtrim): Likewise.
58596         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58598 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58600         * sysdeps/mach/hurd/dl-cache.c: File removed.
58601         * config.h.in (USE_LDCONFIG): New #undef.
58602         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58603         * configure: Regenerated.
58604         * elf/Makefile (dl-routines): Add dl-cache only under
58605         [$(use-ldconfig) = yes].
58606         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58607         cache on [USE_LDCONFIG].
58608         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58609         [USE_LDCONFIG].
58610         * elf/rtld.c (dl_main): Likewise.
58612 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58614         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58615         _SC_LEVEL4_CACHE_LINESIZE.
58617 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58619         * sysdeps/unix/bsd/confstr.h: File removed.
58621 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58623         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58624         sys/sdt-config.h.
58626 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58628         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58629         Make 'mapoff' field ElfW(Off) rather than off_t.
58631 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58633         * nscd/Makefile: Remove nscd-cflags and all its users.
58634         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58635         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58637         [BZ #10631]
58638         * malloc.c (malloc_printerr): Clarify error message.
58640 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58642         [BZ #14648]
58643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58644         Set bit_FMA_Usable if FMA is supported.
58645         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58646         macro.
58647         (bit_FMA4_Usable): Updated.
58648         (index_FMA_Usable): New macro.
58649         (CPUID_FMA): Likewise.
58650         (HAS_FMA): Defined with bit_FMA_Usable.
58652 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58654         * bits/types.h (__swblk_t): Type removed.
58655         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58656         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58657         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58658         (__SWBLK_T_TYPE): Likewise.
58659         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58660         (__SWBLK_T_TYPE): Likewise.
58661         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58662         (__SWBLK_T_TYPE): Likewise.
58663         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58664         (__SWBLK_T_TYPE): Likewise.
58666 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58667             Honza Horak <hhorak@redhat.com>
58669         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58670         (xdr_mapname): Use YPMAXMAP as maxsize.
58671         (xdr_peername): Use YPMAXPEER as maxsize.
58672         (xdr_keydat): Use YPAXRECORD as maxsize.
58673         (xdr_valdat): Use YPMAXRECORD as maxsize.
58675 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58677         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58679         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58680         * csu/init-first.c: ... here.
58681         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58682         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58683         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58684         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58685         * sysdeps/i386/init-first.c: File removed.
58686         * sysdeps/sh/init-first.c: File removed.
58688 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58690         [BZ #14645]
58691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58692         if x * y might underflow to zero and z is zero.
58693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58695         * math/libm-test.inc (min_subnorm_value): New variable.
58696         (fma_test): Add more tests.
58697         (fma_test_towardzero): Likewise.
58698         (fma_test_downward): Likewise.
58699         (fma_test_upward): Likewise.
58700         (initialize): Set min_subnorm_value.
58702 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58704         [BZ #14638]
58705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58706         0 + 0.
58707         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58708         mode for addition resulting in exact zero.
58709         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58711         exact 0 + 0.
58712         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58714         * math/libm-test.inc (fma_test): Add more tests.
58715         (fma_test_towardzero): New function.
58716         (fma_test_downward): Likewise.
58717         (fma_test_upward): Likewise.
58718         (main): Call the new functions.
58720 2012-09-28  David S. Miller  <davem@davemloft.net>
58722         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58724 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58726         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58727         instead of SIGALRM.
58729         * sysdeps/gnu/_G_config.h: Moved to ...
58730         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58731         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58732         * sysdeps/generic/_G_config.h: ... here.
58734         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58736         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58738         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58739         Conditionalize target on [libnss_test1.so-version].
58741         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58743         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58744         (elfobjdir): Move out of conditionals.
58746         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58747         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58748         (__nss_lookup_function): Conditionalize label remove_from_tree on
58749         [!DO_STATIC_NSS || SHARED], matching its only use.
58751 2012-09-28  David S. Miller  <davem@davemloft.net>
58753         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58754         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58755         file.
58756         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58757         sysdep_routines.
58758         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58760         when HWCAP_SPARC_CRYPTO is present.
58762 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58764         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58766 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58768         [BZ #6530]
58769         * stdio-common/vfprintf.c (process_string_arg): Revert
58770         2000-07-22 change.
58772 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58774         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58775         for testcase.
58776         * stdio-common/tst-sprintf.c: Include <locale.h>
58777         (main): Test sprintf's handling of incomplete multibyte
58778         characters.
58780 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58782         * elf/dl-runtime.c (VERSYMIDX): Removed.
58783         * elf/dl-version.c (VERSYMIDX): Likewise.
58784         * elf/do-rel.h (VERSYMIDX): Likewise.
58785         (VALIDX): Likewise.
58786         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58787         * elf/rtld.c (VALIDX): Likewise.
58788         (ADDRIDX): Likewise.
58789         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58790         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58791         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58792         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58793         (VALIDX): Likewise.
58794         (ADDRIDX): Likewise.
58796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58798         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58800 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58802         [BZ #11438]
58803         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58804         to global scope.
58805         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58806         addresses are in the same scope as 192.0.2/24.
58807         * posix/gai.conf: Document new scope table defaults.
58809 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58811         [BZ #5298]
58812         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58813         for ftell.  Compute offsets from write pointers instead.
58814         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58816 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58818         [BZ #14543]
58819         * libio/Makefile (tests): New test case tst-fseek.
58820         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58821         combination works in wide mode.
58822         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58823         state when the external buffer state changes.
58825 2012-09-27  David S. Miller  <davem@davemloft.net>
58827         [BZ #14376]
58828         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58829         pass reloc->r_addend in as the 'high' argument to
58830         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58834 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58836         * rt/tst-aio2.c: Include <pthread.h>.
58837         * rt/tst-aio3.c: Likewise.
58839 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58841         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58843 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58845         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58846         contents on [SHARED].
58848 2012-09-26  Marek Polacek  <polacek@redhat.com>
58850         [BZ #14530]
58851         [BZ #13741]
58852         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58853         for C++ and GCC <4.3 as well as for non GCC compilers.
58855 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58859 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58861         * Makefile.in (all, install): Declare with .PHONY.
58862         Reported by Michael Hope <michael.hope@linaro.org>.
58864 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58866         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58867         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58868         system header.
58869         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58870         Likewise.
58871         (sydep_routines): Add the new and the internal functions.
58872         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58873         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58875         (GLIBC_2.17): Add the new function.
58876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58877         (GLIBC_2.17): Likewise.
58878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58879         (GLIBC_2.17): Likewise.
58880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58881         (GLIBC_2.17): Likewise.
58882         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58884 2012-09-25  Alan Modra  <amodra@gmail.com>
58886         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58887         Add release barrier before setting once_control to say
58888         initialisation is done.  Add hints on lwarx.  Use macro in
58889         place of isync.
58890         (clear_once_control): Add release barrier.
58892 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58894         [BZ #13629]
58895         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58896         specially.
58897         * math/s_clog10.c (__clog10): Likewise.
58898         * math/s_clog10f.c (__clog10f): Likewise.
58899         * math/s_clog10l.c (__clog10l): Likewise.
58900         * math/s_clogf.c (__clogf): Likewise.
58901         * math/s_clogl.c (__clogl): Likewise.
58902         * math/Makefile (libm-calls): Add x2y2m1.
58903         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58904         (__x2y2m1): Likewise.
58905         (__x2y2m1l): Likewise.
58906         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58907         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58908         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58909         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58910         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58911         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58912         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58913         * sysdeps/i386/fpu/libm-test-ulps: Update.
58914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58916         [BZ #14621]
58917         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58918         int as type of variable DEPTH.
58919         (glob): Use size_t instead of int as type of variables NEWCOUNT
58920         and OLD_PATHC.
58922 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58924         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58925         Add s_sincosf-sse2.
58926         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58927         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58928         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58929         macros for using routine as __sincosf_ia32.
58930         Use macro for function declaration and weak_alias.
58931         * sysdeps/i386/fpu/libm-test-ulps: Update.
58933         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58936         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58937         subnormal argument.
58938         * math/s_cexpf.c (__cexpf): Likewise.
58939         * math/s_csinf.c (__csinf): Likewise.
58940         * math/s_csinhf.c (__csinhf): Likewise.
58941         * math/s_ctanf.c (__ctanf): Likewise.
58942         * math/s_ctanhf.c (__ctanhf): Likewise.
58943         * math/s_ccosh.c (__ccoshf): Likewise.
58944         * math/s_cexp.c (__cexpl): Likewise.
58945         * math/s_csin.c (__csin): Likewise.
58946         * math/s_csinh.c (__csinh): Likewise.
58947         * math/s_ctan.c (__ctan): Likewise.
58948         * math/s_ctanh.c (ctanh): Likewise.
58949         * math/s_ccoshl.c (__ccoshl): Likewise.
58950         * math/s_cexpl.c (__cexpl): Likewise.
58951         * math/s_csinl.c (__csinl): Likewise.
58952         * math/s_csinhl.c (__csinhl): Likewise.
58953         * math/s_ctanl.c (__ctanl): Likewise.
58954         * math/s_ctanhl.c (__ctanhl): Likewise.
58956 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58958         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58959         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58960         (_IO_off_t): Define to __off_t, not _G_off_t.
58961         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58962         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58963         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58964         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58965         type of __dummy and __dummy2 fields.
58966         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58967         (_G_ssize_t): Likewise.
58968         (_G_off_t): Likewise.
58969         (_G_pid_t): Likewise.
58970         (_G_uid_t): Likewise.
58971         (_G_wchar_t): Likewise.
58972         (_G_wint_t): Likewise.
58973         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58974         (_G_ssize_t): Likewise.
58975         (_G_off_t): Likewise.
58976         (_G_pid_t): Likewise.
58977         (_G_uid_t): Likewise.
58978         (_G_wchar_t): Likewise.
58979         (_G_wint_t): Likewise.
58980         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58981         (_G_ssize_t): Likewise.
58982         (_G_off_t): Likewise.
58983         (_G_pid_t): Likewise.
58984         (_G_uid_t): Likewise.
58985         (_G_wchar_t): Likewise.
58986         (_G_wint_t): Likewise.
58988 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58990         * malloc/arena.c: Include malloc-sysdep.h.
58991         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58992         is sufficient to shrink the heap or an unmap is needed.
58993         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58994         new function check_may_shrink_heap.
58995         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58996         new function check_may_shrink_heap.
58998 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59000         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59001         comments.
59003 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59005         * catgets/test-gencat.sh: Add "set -e".
59006         * elf/tst-pathopt.sh: Likewise.
59007         * grp/tst_fgetgrent.sh: Likewise.
59008         * iconvdata/run-iconv-test.sh: Likewise.
59009         * intl/tst-gettext.sh: Likewise.
59010         * intl/tst-gettext2.sh: Likewise.
59011         * intl/tst-gettext4.sh: Likewise.
59012         * intl/tst-gettext6.sh: Likewise.
59013         * intl/tst-translit.sh: Likewise.
59014         * io/ftwtest-sh: Likewise.
59015         * libio/test-freopen.sh: Likewise.
59016         * malloc/tst-mtrace.sh: Likewise.
59017         * posix/globtest.sh: Likewise.
59018         * posix/tst-getconf.sh: Likewise.
59019         * posix/wordexp-tst.sh: Likewise.
59020         * stdio-common/tst-printf.sh: Likewise.
59021         * stdio-common/tst-unbputc.sh: Likewise.
59022         * stdlib/tst-fmtmsg.sh: Likewise.
59023         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59024         * catgets/Makefile: Do not specify -e option when running
59025         testsuite shell scripts.
59026         * elf/Makefile: Likewise.
59027         * grp/Makefile: Likewise.
59028         * iconvdata/Makefile: Likewise.
59029         * intl/Makefile: Likewise.
59030         * io/Makefile: Likewise.
59031         * libio/Makefile: Likewise.
59032         * malloc/Makefile: Likewise.
59033         * posix/Makefile: Likewise.
59034         * stdio-common/Makefile: Likewise.
59035         * stdlib/Makefile: Likewise.
59036         * sysdeps/x86_64/Makefile: Likewise.
59038         * io/ftwtest-sh: Add copyright header.
59039         * posix/globtest.sh: Likewise.
59040         * posix/tst-getconf.sh: Likewise.
59041         * posix/wordexp-tst.sh: Likewise.
59042         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59044 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59046         [BZ #13679]
59047         * Makeconfig (+link): Defined as $(+link-static) if
59048         $(build-shared) isn't yes.
59049         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59050         isn't yes.
59051         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59053         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59055         [BZ #14562]
59056         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59057         new chunk size with MALLOC_ALIGN_MASK.
59059 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59061         [BZ #5044]
59062         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59063         <rounding-mode.h>.
59064         (__printf_fphex): Determine rounding using get_rounding_mode and
59065         round_away.
59066         * stdio-common/tst-printf-round.c (struct hex_test): New
59067         structure.
59068         (hex_tests): New variable.
59069         (test_hex_in_one_mode): New function.
59070         (do_test): Also run tests for hex float output.
59072 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59074         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59075         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59076         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59077         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59078         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59079         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59080         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59081         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59083 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59085         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59086         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59087         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59088         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59090 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59092         [BZ #14579]
59093         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59094         mode only.
59095         * elf/tst-rtld-load-self.sh: New test.
59096         * elf/Makefile: Run it.
59098 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59100         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59101         (tst-writev-ENV): Remove.
59102         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59104 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59106         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59108 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59110         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59111         unconditional.
59112         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59113         Likewise.
59114         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59115         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59116         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59117         Likewise.
59119 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59121         [BZ #14587]
59122         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59123         * config.make.in (have-cpp-asm-debuginfo): Removed.
59124         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59125         * configure: Regenerated.
59127 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59129         [BZ #5044]
59130         * stdio-common/printf_fp.c: Include <stdbool.h> and
59131         <rounding-mode.h>.
59132         (___printf_fp): Determine rounding using get_rounding_mode and
59133         round_away.
59134         * stdio-common/tst-printf-round.c: New file.
59135         * stdio-common/Makefile (tests): Add tst-printf-round.
59136         (link-libm): New variable.
59137         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59139 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59141         [BZ #14576]
59142         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59143         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59144         Likewise.
59145         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59146         Likewise.
59148 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59150         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59151         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59152         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59153         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59155 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59157         [BZ #14518]
59158         * include/rounding-mode.h: New file.
59159         * sysdeps/generic/get-rounding-mode.h: Likewise.
59160         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59161         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59162         (MAX_VALUE): New macro.
59163         (MIN_VALUE): Likewise.
59164         (overflow_value): New function.
59165         (underflow_value): Likewise.
59166         (round_and_return): Use overflow_value and underflow_value to
59167         determine return values in overflow and underflow cases.  Use
59168         round_away to determine rounding depending on rounding mode.
59169         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59170         determine return values in overflow and underflow cases.
59171         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59172         (struct test_results): New structure.
59173         (struct test): Use struct test_results to store expected results
59174         for all rounding modes.
59175         (TEST): Include expected results for all rounding modes.
59176         (test_in_one_mode): New function.
59177         (do_test): Use test_in_one_mode to compute and check results.
59178         Check results for all rounding modes.
59179         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59180         $(link-libm).
59182 2012-12-09  Allan McRae  <allan@archlinux.org>
59184         * sysdeps/i386/fpu/libm-test-ulps: Update
59186 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59188         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59189         (_G_int32_t): Likewise.
59190         (_G_uint16_t): Likewise.
59191         (_G_uint32_t): Likewise.
59192         (_G_HAVE_BOOL): Likewise.
59193         (_G_HAVE_ATEXIT): Likewise.
59194         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59195         (_G_HAVE_IO_FILE_OPEN): Likewise.
59196         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59197         (_G_int32_t): Likewise.
59198         (_G_uint16_t): Likewise.
59199         (_G_uint32_t): Likewise.
59200         (_G_HAVE_BOOL): Likewise.
59201         (_G_HAVE_ATEXIT): Likewise.
59202         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59203         (_G_HAVE_IO_FILE_OPEN): Likewise.
59204         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59205         (_G_int32_t): Likewise.
59206         (_G_uint16_t): Likewise.
59207         (_G_uint32_t): Likewise.
59208         (_G_HAVE_BOOL): Likewise.
59209         (_G_HAVE_ATEXIT): Likewise.
59210         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59211         (_G_HAVE_IO_FILE_OPEN): Likewise.
59213 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59215         * csu/libc-tls.c: Update copyright years.
59217 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59219         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59220         [!_G_USING_THUNKS]: Remove conditional code.
59221         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59222         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59224         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59225         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59226         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59227         (_G_VTABLE_LABEL_PREFIX): Likewise.
59228         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59229         * sysdeps/gnu/_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.
59233         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59234         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59235         (_G_VTABLE_LABEL_PREFIX): Likewise.
59236         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59238 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59240         * libio/Makefile: Include ../Makeconfig before tests.
59241         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59242         only if $(build-shared) is yes.
59244         * iconv/gconv_db.c: Update copyright years.
59246 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59248         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59249         unwind info if defined PIC. Fix special cases description.
59250         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59252         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59253         DP_HI_MASK entry.
59254         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59256 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59258         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59260         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59261         is NULL.
59263         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59264         (LDLIBS-tst-chk4): This.
59265         (LDFLAGS-tst-chk5): Renamed to ...
59266         (LDLIBS-tst-chk5): This.
59267         (LDFLAGS-tst-chk6): Renamed to ...
59268         (LDLIBS-tst-chk6): This.
59269         (LDFLAGS-tst-lfschk4): Renamed to ...
59270         (LDLIBS-tst-lfschk4): This.
59271         (LDFLAGS-tst-lfschk5): Renamed to ...
59272         (LDLIBS-tst-lfschk5): This.
59273         (LDFLAGS-tst-lfschk6): Renamed to ...
59274         (LDLIBS-tst-lfschk6): This.
59276         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59277         on $(common-objpfx)soversions.mk.
59279 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59281         [BZ #10014]
59282         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59283         example host name.
59285 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59287         * malloc/arena.c (arena_get_retry): New function that gets
59288         another arena for the caller to try its request on.
59289         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59290         current arena cannot fulfill the request.
59291         (__libc_memalign): Likewise.
59292         (__libc_memalign): Likewise.
59293         (__libc_pvalloc): Likewise.
59294         (__libc_calloc): Likewise.
59296 2012-09-05  John Tobey  <john.tobey@gmail.com>
59298         [BZ #13542]
59299         * manual/arith.texi (Operations on Complex): Fix description
59300         of carg branch cut.
59302 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59304         [BZ #10014]
59305         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59306         host name.
59308         [BZ #10038]
59309         * manual/memory.texi (Memory): Make order of menu items match
59310         order of sections.
59312 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59314         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59315         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59316         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59318 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59320         * csu/libc-tls.c (static_dtv): Renamed to ...
59321         (_dl_static_dtv): This.  Make it global.
59322         (_dl_initial_dtv): Removed.
59323         (__libc_setup_tls): Updated.
59324         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59325         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59326         DL_INITIAL_DTV.
59328 2012-09-06  Petr Machata  <pmachata@redhat.com>
59330         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59331         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59332         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59333         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59335 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59337         [BZ #14545]
59338         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59339         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59340         freeing dtv[-1].
59342 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59344         [BZ #14544]
59345         * Makeconfig (link-static-before-libc): Replace $(+prector)
59346         with $(+prectorT).
59347         (link-static-after-libc): Replace $(+postctor) with
59348         $(+postctorT).
59349         (link-bounded): Replace $(+prector)/$(+postctor) with
59350         $(+prectorT)/$(+postctorT).
59351         (+prectorT): New macro.
59352         (+postctorT): Likewise.
59354 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59356         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59357         (round_str): Handle values above the maximum for IBM long double
59358         as inexact.
59359         * stdlib/tst-strtod-round.c (tests): Regenerated.
59361 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59363         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59364         assembler flag.
59365         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59366         zarch_nohighgprs around the zarch optimized routines.
59367         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59368         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59369         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59370         for zarch.
59372 2012-09-05  David S. Miller  <davem@davemloft.net>
59374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59376         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59377         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59378         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59379         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59380         entries.
59382 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59384         * malloc/arena.c: Fold copyright years.
59385         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59389         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59391 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59393         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59395 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59397         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59398         change internal state upon failure.
59400 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59402         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59403         * malloc/memusage.c (mmap): Likewise.
59404         (mmap64, mremap): Likewise.  Adjust name in comment.
59406 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59408         * libio/fileops.c: Fix typos in comments.
59409         * libio/oldfileops.c: Likewise.
59410         * libio/wfileops.c: Likewise.
59412 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59414         [BZ #1349]
59415         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59416         (tst-malloc-usable-ENV): Set environment for test case.
59417         * malloc/hooks.c (malloc_check_get_size): New function to get
59418         requested size.
59419         * malloc/malloc.c (musable): Use malloc_check_get_size.
59420         * malloc/tst-malloc-usable.c: New test case.
59422 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59424         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59426 2012-09-05  Allan McRae  <allan@archlinux.org>
59428         [BZ #13966]
59429         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59430         determine header location.
59431         * configure: Regenerated.
59433 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59435         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59436         float format.
59437         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59438         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59439         format.
59440         (test): Regenerate.
59442 2012-09-04  David S. Miller  <davem@davemloft.net>
59444         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59445         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59446         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59448 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59450         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59451         failures.
59453         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59455 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59457         [BZ #9914]
59458         * libio/iogetdelim.c: Include <limits.h>.
59459         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59460         + len + 1 would overflow.
59462 2012-09-03  Andreas Jaeger  <aj@suse.de>
59464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59465         * sysdeps/i386/fpu/libm-test-ulps: Update.
59467 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59469         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59470         Add s_sinf-sse2, s_conf-sse2.
59472         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59473         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59474         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59475         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59477         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59478         for using routine as __sinf_ia32.
59479         Use macro for function declaration and weak_alias.
59480         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59481         for using routine as __cosf_ia32.
59482         Use macro for function declaration and weak_alias.
59484         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59485         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59487         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59488         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59489         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59491         * math/libm-test.inc (cos_test): Add more test cases.
59492         (sin_test): Likewise.
59493         (sincos_test): Likewise.
59495 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59497         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59498         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59499         hidden.
59500         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59502 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59504         [BZ #14538]
59505         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59506         first element of the GOT.
59507         (elf_machine_load_address): Return the difference between
59508         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59510 2012-09-01  Allan McRae  <allan@archlinux.org>
59512         [BZ #13412]
59513         * configure.in (AWK): Require gawk version 3.0 or later.
59514         * configure: Regenerated.
59516 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59518         * sysdeps/unix/sysv/linux/kernel-features.h
59519         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59520         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59521         [__NR_clock_getres]: Make code unconditional.
59522         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59523         (clock_getcpuclockid): Remove code left unreachable by removal of
59524         conditionals.
59525         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59526         code unconditional.
59527         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59528         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59529         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59530         Make code unconditional.
59531         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59532         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59533         * sysdeps/unix/sysv/linux/clock_settime.c
59534         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59535         conditional code.
59536         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59537         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59539 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59541         [BZ #14476]
59542         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59543         scripts/test-installation.pl.
59545         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59546         and $ld_so_version if it is set.
59548 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59550         [BZ #14516]
59551         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59552         failure if reading from procfs failed.
59553         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59555 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59557         * sysdeps/unix/sysv/linux/kernel-features.h
59558         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59559         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59560         Remove conditional code.
59561         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59562         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59563         Remove conditional code.
59564         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59565         * sysdeps/unix/sysv/linux/i386/fxstat.c
59566         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59567         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59568         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59569         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59570         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59571         * sysdeps/unix/sysv/linux/i386/lxstat.c
59572         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59573         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59574         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59575         Remove conditional code.
59576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59577         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59578         Remove conditional code.
59579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59580         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59581         <kernel-features.h>.
59582         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59583         Remove.
59584         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59585         Remove conditional code.
59586         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59587         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59588         Remove conditional.
59590 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59592         [BZ #5400]
59593         * NEWS: Add fixed bug number.
59595 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59597         [BZ #14519]
59598         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59599         underflowing exponent in case of negative sign.
59600         * stdlib/tst-strtod-round-data: Add more tests.
59601         * stdlib/tst-strtod-round.c (tests): Regenerated.
59603         [BZ #3479]
59604         * stdlib/strtod_l.c (NDIG): Remove.
59605         (HEXNDIG): Likewise.
59606         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59607         smallest representable value.
59608         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59609         lie within an exact representation of 1/2 ulp of the result.
59610         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59611         unconditionally.
59612         (TENS_P9_IDX): Define unconditionally.
59613         (TENS_P9_SIZE): Likewise.
59614         (TENS_P10_IDX): Likewise.
59615         (TENS_P10_SIZE): Likewise.
59616         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59617         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59618         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59619         entries for 10^2^13 and 10^2^14.
59620         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59621         (TENS_P13_IDX): Define.
59622         (TENS_P13_SIZE): Likewise.
59623         (TENS_P14_IDX): Likewise.
59624         (TENS_P14_SIZE): Likewise.
59625         (_fpioconst_pow10): Change array size to
59626         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59627         unconditional.
59628         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59629         1024]: Add entries for 10^2^13 and 10^2^14.
59630         [LAST_POW10 > _LAST_POW10]: Remove #error.
59631         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59632         (_fpioconst_pow10): Change array size to
59633         FPIOCONST_POW10_ARRAY_SIZE.
59634         * stdlib/gen-fpioconst.c: New file.
59635         * stdlib/gen-tst-strtod-round.c: Likewise.
59636         * stdlib/tst-strtod-round-data: Likewise.
59637         * stdlib/tst-strtod-round.c: Likewise.
59638         * stdlib/Makefile (tests): Add tst-strtod-round.
59640         [BZ #14459]
59641         * stdlib/strtod_l.c: Include <stdint.h>.
59642         (NDEBUG): Do not define.
59643         (round_and_return): Change EXPONENT parameter to type intmax_t.
59644         Rearrange calculations to avoid internal overflow possibilities.
59645         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59646         Rearrange calculations to avoid internal overflow possibilities.
59647         Assert that number fits inside MPNSIZE limbs.
59648         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59649         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59650         calculations and add assertions to avoid internal overflow
59651         possibilities.  Add casts to avoid signed/unsigned operations.
59652         * stdlib/tst-strtod-overflow.c: New file.
59653         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59655 2012-08-25  Marek Polacek  <polacek@redhat.com>
59657         * time/time.h: Fix some typos in comments.
59659 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59661         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59662         * posix/tst-rfc3484-2.c: Likewise.
59663         * posix/tst-rfc3484-3.c: Likewise.
59665 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59667         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59668         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59670 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59672         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59673         #include of fxstatat64.c.
59675 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59677         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59678         * shadow/getspent_r.c: Likewise.
59679         * shadow/getspnam.c: Likewise.
59680         * shadow/getspnam_r.c: Likewise.
59681         * gshadow/getsgent.c: Likewise.
59682         * gshadow/getsgent_r.c: Likewise.
59683         * gshadow/getsgnam.c: Likewise.
59684         * gshadow/getsgnam_r.c: Likewise.
59685         * inet/getnetbyad.c: Likewise.
59686         * inet/getnetbyad_r.c: Likewise.
59687         * inet/getnetbynm.c: Likewise.
59688         * inet/getnetbynm_r.c: Likewise.
59689         * inet/getnetent.c: Likewise.
59690         * inet/getnetent_r.c: Likewise.
59691         * inet/getproto.c: Likewise.
59692         * inet/getproto_r.c: Likewise.
59693         * inet/getprtent.c: Likewise.
59694         * inet/getprtent_r.c: Likewise.
59695         * inet/getprtname.c: Likewise.
59696         * inet/getprtname_r.c: Likewise.
59697         * inet/getrpcbyname.c: Likewise.
59698         * inet/getrpcbyname_r.c: Likewise.
59699         * inet/getrpcbynumber.c: Likewise.
59700         * inet/getrpcbynumber_r.c: Likewise.
59701         * inet/getrpcent.c: Likewise.
59702         * inet/getrpcent_r.c: Likewise.
59703         * inet/getaliasent.c: Likewise.
59704         * inet/getaliasent_r.c: Likewise.
59705         * inet/getaliasname.c: Likewise.
59706         * inet/getaliasname_r.c: Likewise.
59707         * nscd/getgrgid_r.c: Likewise.
59708         * nscd/getgrnam_r.c: Likewise.
59709         * nscd/gethstbyad_r.c: Likewise.
59710         * nscd/gethstbynm3_r.c: Likewise.
59711         * nscd/getpwnam_r.c: Likewise.
59712         * nscd/getpwuid_r.c: Likewise.
59713         * nscd/getsrvbynm_r.c: Likewise.
59714         * nscd/getsrvbypt_r.c: Likewise.
59715         * nscd/gai.c: Likewise.
59717         * configure.in (build_nscd): New substituted variable, set
59718         by --disable-build-nscd and defaults to $use_nscd.
59719         * configure: Regenerated.
59720         * config.make.in (build-nscd): New substituted variable.
59721         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59722         Change conditional to require [$(build-nscd) = yes] as well.
59723         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59725         [BZ# 13696]
59726         * configure.in (use_nscd): New substituted variable, set by
59727         --disable-nscd.  If enabled, define USE_NSCD.
59728         * configure: Regenerated.
59729         * config.h.in: Add USE_NSCD.
59730         * config.make.in (use-nscd): New substituted variable.
59731         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59732         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59733         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59734         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59735         (CFLAGS-getgrnam_r.c): Likewise.
59736         (CFLAGS-initgroups.c): Likewise.
59737         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59738         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59739         Variables removed.
59740         * inet/getnetgrent_r.c
59741         (nscd_setnetgrent): New function, broken out of ...
59742         (setnetgrent): ... here.  Call it.
59743         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59744         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59745         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59746         * nscd/Makefile (routines, aux): Move definitions after include of
59747         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59748         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59749         Conditionalize on [USE_NSCD].
59750         (is_nscd, nscd_init_cb): Likewise.
59751         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59752         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59753         * nss/nss_db/db-init.c: Likewise.
59754         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59755         [USE_NSCD].
59756         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59757         (make_request): Use it.
59758         (cache_valid_p): New function.
59759         (__check_pf): Use it.
59760         * NEWS: Add item for --disable-nscd.
59762 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59764         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59765         to support sed >= 4.2.1-20-ga9bf076.
59766         * configure: Regenerated.
59768 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59770         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59771         Conditionalize whole body on [IREL].
59773 2012-08-22  Jeff Law <law@redhat.com>
59775         [BZ #14505]
59776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59777         if the family is PF_UNSPEC.
59779 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59781         * Makerules (lib-version): Rename from V.
59782         (install-lib-nosubdir): Change V to lib-version.
59784 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59786         [BZ #14252]
59787         * powerpc32/power6/wcschr.c: New file.
59788         * powerpc32/power6/wcscpy.c: New file.
59789         * powerpc32/power6/wcsrchr.c: New file.
59790         * powerpc64/power6/wcschr.c: New file.
59791         * powerpc64/power6/wcscpy.c: New file.
59792         * powerpc64/power6/wcsrchr.c: New file.
59794 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59796         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59797         (two_way_short_needle): Use it.
59798         * string/strstr.c (AVAILABLE1_USES_J): Define.
59799         * string/strcasestr.c: Likewise.
59801         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59802         array references.
59803         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59805         [BZ #11607]
59806         * NEWS: Add an entry.
59807         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59808         define their defaults.
59809         (two_way_short_needle): Detect end-of-string on-the-fly.
59810         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59811         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59812         * string/bug-strcasestr1.c: New test.
59813         * string/Makefile: Run it.
59815 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59817         [BZ #11607]
59818         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59819         the first character.
59821 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59823         * csu/elf-init.c (__libc_csu_irel): Function removed.
59824         * csu/libc-start.c (apply_irel): New function.
59825         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59827 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59829         * sysdeps/unix/sysv/linux/kernel-features.h
59830         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59831         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59832         <kernel-features.h>.
59833         [__NR_fadvise64_64]: Make code unconditional.
59834         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59835         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59836         !__NR_fadvise64_64)]: Likewise.
59837         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59838         !__NR_fadvise64_64))]: Likewise.
59839         [__NR_fadvise64]: Make code unconditional.
59840         [!__NR_fadvise64]: Remove conditional code.
59841         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59842         <kernel-features.h>.
59843         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59844         unconditional.
59845         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59846         conditional code.
59847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59848         not include <kernel-features.h>.
59849         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59850         unconditional.
59851         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59852         conditional code.
59853         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59854         include <kernel-features.h>.
59855         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59856         unconditional.
59857         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59858         conditional code.
59860 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59862         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59863         slight instruction rearrangements per scrollpipe analysis.
59864         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59866 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59868         * manual/syslog.texi (syslog; vsyslog, closelog):
59869         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59870         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59872         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59873         DSOCAPS to match condition on defining it.
59875 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59877         * sysdeps/unix/sysv/linux/kernel-features.h
59878         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59880         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59881         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59883         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59884         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59886         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59887         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59889         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59890         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59892         * sysdeps/unix/sysv/linux/kernel-features.h
59893         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59894         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59895         unconditional.
59896         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59897         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59898         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59899         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59900         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59901         Make code unconditional.
59902         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59903         (__mmap64) [!__NR_mmap2]: Likewise.
59904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59905         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59906         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59907         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59908         [__NR_mmap2]: Make code unconditional.
59909         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59910         (__mmap64) [!__NR_mmap2]: Likewise.
59912 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59914         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59916 2012-08-18  Andreas Jaeger  <aj@suse.de>
59918         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59920 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59922         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59923         * include/unistd.h (__have_sock_cloexec): Likewise.
59924         (__have_pipe2): Likewise.
59925         (__have_dup3): Likewise.
59927 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59929         [BZ #9685]
59930         * include/unistd.h (__have_pipe2): Change define into an extern int.
59931         (__have_dup3): Likewise.
59932         * socket/have_sock_cloexec.c: Include fcntl.h.
59933         (__have_pipe2): New variable.
59934         (__have_dup3): Likewise.
59936 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59938         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59940 2012-08-17  Marek Polacek  <polacek@redhat.com>
59942         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59943         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59945 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59947         * configure.in: Add AC_SUBST for sysheaders.
59948         * configure: Regenerated.
59949         * config.make.in (sysheaders): New substituted variable.
59951         * sysdeps/unix/mkfifo.c: Moved ...
59952         * sysdeps/posix/mkfifo.c: ... here.
59953         * sysdeps/unix/mkfifoat.c: Moved ...
59954         * sysdeps/posix/mkfifoat.c: ... here.
59956         * sysdeps/unix/utime.c: Moved ...
59957         * sysdeps/posix/utime.c: ... here.
59959         * sysdeps/unix/time.c: Moved ...
59960         * sysdeps/posix/time.c: ... here.
59961         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59962         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59964         * sysdeps/unix/nice.c: Moved ...
59965         * sysdeps/posix/nice.c: ... here.
59967         * sysdeps/unix/alarm.c: Moved ...
59968         * sysdeps/posix/alarm.c: ... here.
59970         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59972 2012-08-17  Jeff Law <law@redhat.com>
59974         * intl/Makefile (codeset_mo): New variable.
59975         ($(codeset_mo)): New target.
59976         (tst-codeset.out): Depend on that.  Remove explicit rule.
59977         (tst-gettext3.out, tst-gettext5.out): Likewise.
59978         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59979         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59980         * intl/tst-codeset.sh: Remove.
59981         * intl/tst-gettext3.sh: Likewise.
59982         * intl/tst-gettext5.sh: Likewise.
59984 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59986         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59987         * sysdeps/unix/syscalls.list: ... here.
59989         * sysdeps/posix/getaddrinfo.c
59990         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59991         (gaiconf_init, gaiconf_reload): Use them.
59992         [!_STATBUF_ST_NSEC]
59993         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59994         Define using time_t rather than struct timespec.
59996         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59997         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59998         Macros removed.
59999         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60000         [!NO_THREADS].
60001         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60002         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60003         Likewise.
60005         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60006         __libc_cleanup_push argument.
60008         * bits/param.h: New file.
60009         * misc/sys/param.h: New file.
60010         * include/sys/param.h: New file.
60011         * misc/Makefile (headers): Add bits/param.h.
60012         * sysdeps/generic/sys/param.h: File removed.
60013         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60014         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60015         * sysdeps/mach/hurd/bits/param.h: New file.
60016         * sysdeps/mach/hurd/sys/param.h: File removed.
60018         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60019         last change.
60021         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60022         [_IO_MTSAFE_IO].
60023         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60024         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60025         New macros.
60027         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60028         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60029         rather than -D_IO_MTSAFE_IO conditionally.
60030         * stdio-common/Makefile (CPPFLAGS): Likewise.
60031         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60032         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60033         Use $(libio-mtsafe).
60034         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60035         of -D_IO_MTSAFE_IO.
60036         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60037         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60038         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60039         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60040         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60041         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60042         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60043         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60044         (CFLAGS-fread_u_chk.c): Likewise.
60045         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60046         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60047         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60048         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60049         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60050         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60051         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60052         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60053         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60055         * libio/Makefile: Test [$(libc-reentrant) = yes]
60056         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60058         * Makeconfig
60059         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60060         * sysdeps/pthread/configure: File removed.
60061         * sysdeps/pthread/Makeconfig: New file.
60062         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60063         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60065 2012-08-16  Gary Benson  <gbenson@redhat.com>
60067         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60068         unmapping the first object in a namespace.
60070 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60072         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60073         (__internal_setnetgrent): ... this.  Add internal_function to
60074         definition.  Add libc_hidden_def.
60075         (setnetgrent): Update caller.
60076         (internal_endnetgrent): Renamed to ...
60077         (__internal_endnetgrent): ... this.  Add internal_function to
60078         definition.  Add libc_hidden_def.
60079         (endnetgrent): Update caller.
60080         (internal_getnetgrent_r): Renamed to ...
60081         (__internal_getnetgrent_r): ... this.  Add internal_function to
60082         definition.  Add libc_hidden_def.
60083         (__getnetgrent_r): Update caller.
60084         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60086 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60088         * stdlib/longlong.h: Update from GCC.
60090 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60092         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60093         on _QL, which is set by umul_ppmm but never used.
60094         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60095         variables, which are set by GMP macros but never used.
60096         * stdio-common/_itowa.c (_itowa): Likewise.
60097         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60098         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60100 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60102         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60103         struct La_sh_regs is not constant.
60104         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60105         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60106         and struct La_sparc64_regs are not constant.
60108 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60110         * sysdeps/unix/sysv/linux/kernel-features.h
60111         (__ASSUME_POSIX_TIMERS): Remove.
60112         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60113         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60114         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60115         Make code unconditional.
60116         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60117         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60118         Make code unconditional.
60119         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60120         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60121         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60122         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60123         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60124         Make code unconditional.
60125         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60126         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60127         (__libc_missing_posix_timers): Remove.
60129 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60131         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60132         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60134         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60136         * elf/dl-sym.c: Include <stdlib.h>.
60138         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60139         constants, which avoids warnings in 32-bit builds.
60141         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60142         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60144         * misc/lseek.c: File moved to ...
60145         * io/lseek.c: ... here.
60147         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60149         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60150         shifting LEN more than 31 bits at once.
60152 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60154         [BZ #14195]
60155         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60156         segmentation fault for a case of two empty input strings.
60157         * string/test-strncasecmp.c (check1): Renamed to...
60158         (bz12205): ...this.
60159         (bz14195): Add new testcase for two empty input strings and N > 0.
60160         (test_main): Call new testcase, adapt for renamed function.
60162 2012-08-15  Andreas Jaeger  <aj@suse.de>
60164         [BZ #14090]
60165         * crypt/md5test2.c: New test, based on test supplied by Serge
60166         Belyshev <belyshev@depni.sinp.msu.ru>.
60167         * crypt/Makefile (xtests): Add md5test-giant..
60168         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60170 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60172         [BZ #14090]
60173         * crypt/md5.c (md5_process_block): Don't assume the buffer
60174         length is less than 2**32.
60175         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60176         length is less than 2**64.
60178 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60180         * string/str-two-way.h: Include <sys/param.h>.
60181         (MAX): Macro removed.
60183         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60184         Move #define and #undef of memmove to just before and after
60185         including <string.h>.
60187         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60188         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60189         and after including <string.h>.  Move declarations of
60190         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60191         to before #include "string/memmove.c".
60193         * include/dirent.h: Declare __getdirentries.
60195         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60196         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60198 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60200         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60201         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60202         * sysdeps/i386/configure: Regenerated.
60203         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60204         STABS_CURRENT_FILE, and STABS_FUN.
60205         (END): Remove call to STABS_FUN_END.
60206         (STABS_CURRENT_FILE1): Delete.
60207         (STABS_CURRENT_FILE): Likewise.
60208         (STABS_FUN): Likewise.
60209         (STABS_FUN_END): Likewise.
60210         (STABS_FUN2): Likewise.
60211         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60212         * sysdeps/x86_64/configure: Regenerated.
60214 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60216         * elf/dl-open.c: Include <atomic.h>.
60217         * elf/dl-lookup.c: Likewise.
60219 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60221         * sysdeps/unix/sysv/linux/kernel-features.h
60222         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60223         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60224         unconditionally.
60225         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60226         unconditionally.
60227         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60228         condition on __ASSUME_CLONE_THREAD_FLAGS.
60230 2012-08-14  Andreas Jaeger  <aj@suse.de>
60232         * sysdeps/i386/fpu/libm-test-ulps: Update.
60234 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60236         * include/atomic.h (atomic_exchange_and_add): Split into ...
60237         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60238         New atomic macros.
60240 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60244 2012-08-13  Jeff Law <law@redhat.com>
60246         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60247         null byte in the output string.
60249 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60251         * sysdeps/unix/sysv/linux/kernel-features.h
60252         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60253         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60254         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60255         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60256         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60257         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60258         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60260 2012-08-09  Jeff Law <law@redhat.com>
60262         [BZ #13939]
60263         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60264         When avoid_arena is set, don't retry in the that arena.  Pick the
60265         next one, whatever it might be.
60266         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60267         (arena_lock): Pass in new parameter to arena_get2.
60268         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60269         arena_get2.
60270         (__libc_malloc): Unify retrying after main arena failure with
60271         __libc_memalign version.
60272         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60274 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60276         [BZ #14166]
60277         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60278         to __redirect_strstr.
60279         (__strstr_sse42): Use typeof __redirect_strstr.
60280         (__strstr_ia32): Likewise.
60281         (__libc_strstr): New prototype.
60282         (strstr): Renamed to ...
60283         (__libc_strstr): This.
60284         (strstr): New strong alias of __libc_strstr.
60285         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60286         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60287         __redirect_time.
60288         Include <time.h>.
60289         (__libc_time): New prototype.
60290         (time_ifunc): Replace time with __libc_time.
60291         (time): New strong alias and hidden definition of __libc_time.
60292         (__GI_time): Remove strong alias.
60293         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60294         Include <stddef.h>.
60295         (memmove): Redefined to __redirect_memmove.
60296         (__memmove_sse2): Use typeof __redirect_memmove.
60297         (__memmove_ssse3): Likewise.
60298         (__memmove_ssse3_back): Likewise.
60299         (__libc_memmove): New prototype.
60300         (memmove): Renamed to ...
60301         (__libc_memmove): This.
60302         (memmove): New strong alias of __libc_memmove.
60304 2012-08-08  Mark Salter  <msalter@redhat.com>
60306         * elf/elf.h
60307         (R_MN10300_TLS_GD): Define.
60308         (R_MN10300_TLS_LD): Likewise.
60309         (R_MN10300_TLS_LDO): Likewise.
60310         (R_MN10300_TLS_GOTIE): Likewise.
60311         (R_MN10300_TLS_IE): Likewise.
60312         (R_MN10300_TLS_LE): Likewise.
60313         (R_MN10300_TLS_DTPMOD): Likewise.
60314         (R_MN10300_TLS_DTPOFF): Likewise.
60315         (R_MN10300_TLS_TPOFF): Likewise.
60316         (R_MN10300_SYM_DIFF): Likewise.
60317         (R_MN10300_ALIGN): Likewise.
60318         (R_MN10300_NUM): Update.
60320 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60322         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60323         Remove.
60325 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60327         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60329         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60330         sysdeps/unix -> sysdeps/posix move.
60331         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60333 2012-08-07      Allan McRae     <allan@archlinux.org>
60335         [BZ #14303]
60336         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60337         (SUNOS_CPP): Likewise.
60338         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60339         not found.
60340         (open_input): Call CPP using execvp.
60342 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60344         * sysdeps/unix/sysv/linux/kernel-features.h
60345         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60346         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60347         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60348         (__ASSUME_WAITID_SYSCALL): Likewise.
60349         * sysdeps/unix/sysv/linux/dl-execstack.c
60350         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60351         code unconditional.
60352         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60353         conditional code.
60354         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60355         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60356         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60357         code.
60358         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60359         unconditional.
60360         [__ASSUME_WAITID_SYSCALL]: Likewise.
60361         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60363 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60365         * sysdeps/unix/closedir.c: Renamed to ...
60366         * sysdeps/posix/closedir.c: ... here.
60367         * sysdeps/unix/dirfd.c: Renamed to ...
60368         * sysdeps/posix/dirfd.c: ... here.
60369         * sysdeps/unix/dirstream.h: Renamed to ...
60370         * sysdeps/posix/dirstream.h: ... here.
60371         * sysdeps/unix/fdopendir.c: Renamed to ...
60372         * sysdeps/posix/fdopendir.c: ... here.
60373         * sysdeps/unix/opendir.c: Renamed to ...
60374         * sysdeps/posix/opendir.c: ... here.
60375         * sysdeps/unix/readdir.c: Renamed to ...
60376         * sysdeps/posix/readdir.c: ... here.
60377         * sysdeps/unix/readdir_r.c: Renamed to ...
60378         * sysdeps/posix/readdir_r.c: ... here.
60379         * sysdeps/unix/rewinddir.c: Renamed to ...
60380         * sysdeps/posix/rewinddir.c: ... here.
60381         * sysdeps/unix/seekdir.c: Renamed to ...
60382         * sysdeps/posix/seekdir.c: ... here.
60383         * sysdeps/unix/telldir.c: Renamed to ...
60384         * sysdeps/posix/telldir.c: ... here.
60385         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60386         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60387         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60388         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60390         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60391         * bits/fcntl.h: ... here.
60393         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60394         not 0.
60395         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60396         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60397         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60398         (struct flock): Move l_start, l_len to the beginning.
60399         Use __pid_t for l_pid.
60400         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60401         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60402         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60403         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60404         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60405         [__USE_LARGEFILE64] (struct flock64): New type.
60406         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60408         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60409         * bits/dirent.h: ... here.
60411         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60412         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60414 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60416         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60417         Change from 2.6.0 to 2.6.16.
60418         * sysdeps/unix/sysv/linux/configure: Regenerated.
60419         * sysdeps/unix/sysv/linux/kernel-features.h
60420         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60421         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60422         version.
60423         (__ASSUME_UTIMES): Likewise.
60424         (__ASSUME_CLONE_STOPPED): Remove.
60425         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60426         architectures, not kernel version.
60427         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60428         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60429         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60430         (__ASSUME_WAITID_SYSCALL): Likewise.
60431         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60432         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60433         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60434         refer to older versions.
60436 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60438         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60439         Define alphasort64 as an alias.
60440         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60441         Define versionsort64 as an alias.
60442         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60443         Define scandir64 as an alias.
60444         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60445         Define scandirat64 as an alias.
60446         * dirent/alphasort64.c (alphasort64):
60447         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60448         * dirent/versionsort64.c: Likewise.
60449         * dirent/scandir64.c: Likewise.
60450         * dirent/scandirat64.c: Likewise.
60451         * sysdeps/wordsize-64/alphasort.c: File removed.
60452         * sysdeps/wordsize-64/alphasort64.c: File removed.
60453         * sysdeps/wordsize-64/scandir.c: File removed.
60454         * sysdeps/wordsize-64/scandir64.c: File removed.
60455         * sysdeps/wordsize-64/scandirat.c: File removed.
60456         * sysdeps/wordsize-64/scandirat64.c: File removed.
60457         * sysdeps/wordsize-64/versionsort.c: File removed.
60458         * sysdeps/wordsize-64/versionsort64.c: File removed.
60459         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60460         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60461         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60462         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60463         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60464         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60465         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60466         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60468         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60469         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60470         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60472         [defined __arch64__ || defined __sparcv9]
60473         (__INO_T_MATCHES_INO64_T): New macro.
60474         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60475         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60476         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60477         * sysdeps/unix/sysv/linux/bits/dirent.h
60478         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60479         (_DIRENT_MATCHES_DIRENT64): New macro.
60481         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60482         Define lockf64 as an alias.
60483         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60484         Define fseeko64 as an alias.
60485         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60486         Define ftello64 as an alias.
60487         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60488         Define _IO_fgetpos64 and fgetpos64 as aliases.
60489         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60490         Define _IO_fsetpos64 and fsetpos64 as aliases.
60491         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60492         Conditionalize body on this.
60493         * libio/fseeko64.c: Likewise.
60494         * libio/ftello64.c: Likewise.
60495         * libio/iofgetpos64.c: Likewise.
60496         * libio/iofsetpos64.c: Likewise.
60497         * sysdeps/wordsize-64/lockf.c: File removed.
60498         * sysdeps/wordsize-64/lockf64.c: File removed.
60499         * sysdeps/wordsize-64/fseeko.c: File removed.
60500         * sysdeps/wordsize-64/fseeko64.c: File removed.
60501         * sysdeps/wordsize-64/ftello.c: File removed.
60502         * sysdeps/wordsize-64/ftello64.c: File removed.
60503         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60504         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60505         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60506         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60507         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60509         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60510         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60511         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60512         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60513         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60514         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60515         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60516         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60518         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60520         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60521         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60522         [defined __arch64__ || defined __sparcv9]
60523         (__OFF_T_MATCHES_OFF64_T): New macro.
60524         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60525         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60527         (__OFF_T_MATCHES_OFF64_T): New macro.
60529 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60531         * stdlib/secure-getenv.c (__secure_getenv): Replace
60532         GLIBC_2_16 with GLIBC_2_17.
60534 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60536         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60537         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60539 2012-08-03  David S. Miller  <davem@davemloft.net>
60541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60543 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60546         Remove.
60547         (__ASSUME_CORRECT_SI_PID): Likewise.
60548         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60549         (__ASSUME_TMPFS_NAME): Likewise.
60550         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60551         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60552         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60553         (HAVE_AUX_SECURE): Make definition unconditional.
60554         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60555         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60557 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60559         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60560         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60561         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60562         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60563         __eloop_threshold instead of SYMLOOP_MAX.
60565         * sysdeps/generic/eloop-threshold.h: New file.
60566         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60567         of MAXSYMLINKS.
60568         * elf/chroot_canon.c (chroot_canon): Likewise.
60570 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60572         [BZ #13717]
60573         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60574         Change to 2.6.0 everywhere.
60575         * sysdeps/unix/sysv/linux/configure: Regenerated.
60576         * sysdeps/unix/sysv/linux/kernel-features.h
60577         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60578         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60579         kernel versions.
60580         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60581         (__ASSUME_FUTEX_REQUEUE): Remove.
60582         (__ASSUME_STATFS64): Define unconditionally.
60583         (__ASSUME_AT_SECURE): Likewise.
60584         (__ASSUME_CORRECT_SI_PID): Likewise.
60585         (__ASSUME_TGKILL): Define without depending on kernel version for
60586         i386.
60587         (__ASSUME_UTIMES): Likewise.
60588         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60589         kernel version.
60590         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60591         (__ASSUME_TMPFS_NAME): Likewise.
60592         * README: Update reference to Linux kernel versions.
60594 2012-08-02  Marek Polacek  <polacek@redhat.com>
60596         [BZ# 14150]
60597         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60598         libc_cv_asm_type_prefix with %.
60599         * configure: Regenerated.
60600         * include/libc-symbols.h: Remove comment about
60601         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60602         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60603         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60604         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60605         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60606         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60607         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60608         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60609         * elf/tst-unique2mod1.c: Likewise.
60610         * elf/tst-unique1mod2.c: Likewise.
60611         * elf/tst-unique1mod1.c: Likewise.
60612         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60613         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60614         Replace ASM_TYPE_DIRECTIVE with .type.
60615         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60616         * sysdeps/i386/sysdep.h: Likewise.
60617         * sysdeps/x86_64/sysdep.h: Likewise.
60618         * sysdeps/sh/sysdep.h: Likewise.
60619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60620         Do not define ASM_TYPE_DIRECTIVE.
60621         * sysdeps/powerpc/sysdep.h: Likewise.
60622         * sysdeps/powerpc/powerpc32/sysdep.h:
60623         Replace ASM_TYPE_DIRECTIVE with .type.
60624         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60625         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60626         * sysdeps/i386/fpu/e_powf.S: Likewise.
60627         * sysdeps/i386/fpu/e_expl.S: Likewise.
60628         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60629         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60630         * sysdeps/i386/fpu/e_pow.S: Likewise.
60631         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60632         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60633         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60634         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60635         * sysdeps/i386/fpu/e_log2.S: Likewise.
60636         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60637         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60638         * sysdeps/i386/fpu/e_powl.S: Likewise.
60639         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60640         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60641         * sysdeps/i386/fpu/e_logl.S: Likewise.
60642         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60643         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60644         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60645         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60646         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60647         * sysdeps/i386/fpu/e_log.S: Likewise.
60648         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60649         * sysdeps/i386/fpu/e_logf.S: Likewise.
60650         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60651         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60652         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60653         * sysdeps/i386/fpu/e_log10.S: Likewise.
60654         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60655         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60656         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60657         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60658         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60659         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60660         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60661         * sysdeps/i386/i686/strtok.S: Likewise.
60662         * sysdeps/i386/i386-mcount.S: Likewise.
60663         * sysdeps/i386/strtok.S: Likewise.
60664         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60665         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60666         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60667         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60668         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60669         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60670         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60671         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60672         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60673         * sysdeps/x86_64/_mcount.S: Likewise.
60674         * sysdeps/x86_64/strtok.S: Likewise.
60675         * sysdeps/sh/_mcount.S: Likewise.
60677 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60679         * libio/iofopen.c: Include <fcntl.h>.
60680         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60681         (_IO_fopen64, fopen64): Define as aliases.
60682         * libio/iofopen64.c: Include <fcntl.h>.
60683         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60684         Conditionalize body on this.
60685         * sysdeps/wordsize-64/iofopen.c: File removed.
60686         * sysdeps/wordsize-64/iofopen64.c: File removed.
60688 2012-08-01  Marek Polacek  <polacek@redhat.com>
60690         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60691         Use dlfcn directly instead of a variable.
60692         (binfmt-subdir): Do not define.
60693         (dlfcn): Likewise.
60695 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60697         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60698         Remove all definitions.
60699         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60700         <kernel-features.h>.
60701         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60702         (miss_F_GETOWN_EX): Remove all definitions.
60703         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60704         macro definition.
60705         [!__ASSUME_FCNTL64]: Remove conditional code.
60706         [__ASSUME_FCNTL64]: Make code unconditional.
60707         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60708         <kernel-features.h>.
60709         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60710         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60711         (lockf64) [__NR_fcntl64]: Make code unconditional.
60712         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60714         * sysdeps/unix/sysv/linux/kernel-features.h
60715         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60716         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60717         Make code unconditional.
60718         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60719         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60721         [__NR_vfork]: Make code unconditional.
60722         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60723         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60725         [__NR_vfork]: Make code unconditional.
60726         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60727         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60729 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60731         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60732         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60734         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60735         Define mkstemp64 as an alias.
60736         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60737         Define mkstemps64 as an alias.
60738         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60739         Define mkostemp64 as an alias.
60740         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60741         Define mkostemps64 as an alias.
60742         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60743         Conditionalize body on this.
60744         * misc/mkostemp64.c: Likewise.
60745         * misc/mkostemps64.c: Likewise.
60746         * misc/mkstemps64.c: Likewise.
60747         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60748         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60749         * sysdeps/wordsize-64/mkostemp.c: File removed.
60750         * sysdeps/wordsize-64/mkstemp.c: File removed.
60751         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60752         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60753         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60754         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60756         [BZ #14138]
60757         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60758         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60759         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60760         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60762         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60763         compat_symbol macros from <shlib-compat.h> rather than the underlying
60764         default_symbol_version and symbol_version macros, so that DEFAULT
60765         lines in shlib-versions are respected.
60766         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60768 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60770         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60771         Declare with warn_unused_result.
60772         (setgid, setregid, setegid, setresgid): Likewise.
60773         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60774         Likewise.
60775         * WUR-REPORT: Remove set*id functions.
60777 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60779         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60781 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60783         [BZ #10191]
60784         * include/sys/socket.h (__libc_accept, __libc_accept4):
60785         Add attribute_hidden.
60786         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60788         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60789         use of PTR_MANGLE.
60790         * inet/getnetgrent_r.c (setup): Likewise.
60792         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60794 2012-07-31  David S. Miller  <davem@davemloft.net>
60796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60798 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60800         [BZ #13629]
60801         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60802         value between 1.0 and 2.0 and smaller part has absolute value less
60803         than 1.0.
60804         * math/s_clog10.c (__clog10): Likewise.
60805         * math/s_clog10f.c (__clog10f): Likewise.
60806         * math/s_clog10l.c (__clog10l): Likewise.
60807         * math/s_clogf.c (__clogf): Likewise.
60808         * math/s_clogl.c (__clogl): Likewise.
60809         * math/libm-test.inc (clog_test): Add more tests.
60810         (clog10_test): Likewise.
60811         * sysdeps/i386/fpu/libm-test-ulps: Update.
60812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60814 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60816         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60817         Exit with zero in case no suitable GID is found, and write a
60818         message to standard error.
60820 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60822         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60823         rather than to 1.
60824         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60825         (MAXPATHLEN): Removed.
60826         (NOGROUP, NODEV): New macros.
60827         (setbit, clrbit, isset, isclr): New macros.
60828         (howmany, roundup, powerof2): New macros.
60829         (DEV_BSIZE): New macro.
60831         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60832         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60834         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60835         definition on [!__NO_LONG_DOUBLE_MATH].
60837         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60838         PTR_MANGLE and PTR_DEMANGLE.
60840         * socket/accept4.c (accept4): Rename to __libc_accept4.
60841         Define accept4 as a weak alias.
60843         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60844         on [_DIRENT_HAVE_D_TYPE].
60845         * io/ftw.c (ftw_dir): Likewise.
60847         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60849         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60851         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60852         Use the BSD numbers rather than the arbitrary ones we had.
60853         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60854         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60855         (SIGXCPU, SIGXFSZ): New macros.
60856         (_NSIG): Now 32.
60858         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60859         initializer on [_LIBC_REENTRANT].
60861         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60862         definitions inside [_POSIX_MAPPED_FILES].
60864         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60866         * dirent/opendir.c: Include <fcntl.h>.
60868         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60869         (__libc_getspecific): Likewise.
60870         (__libc_key_create): Likewise.
60872         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60873         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60874         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60875         (tmpfile64): Define as alias.
60876         * sysdeps/wordsize-64/tmpfile.c: File removed.
60877         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60878         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60879         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60881         * stdio-common/vfscanf.c: Include <stdbool.h>.
60882         * nss/makedb.c: Likewise.
60883         * stdio-common/_i18n_number.h: Likewise.
60884         * argp/argp-help.c: Likewise.
60885         * posix/wordexp.c: Likewise.
60886         * sysdeps/posix/spawni.c: Likewise.
60887         * nss/nss_files/files-initgroups.c: Likewise.
60888         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60889         * nss/nss_files/files-initgroups.c: Likewise.
60890         * nss/nss_db/db-netgrp.c: Likewise.
60891         * nss/nss_db/db-initgroups.c: Likewise.
60892         * io/fchmodat.c: Include <sys/stat.h>.
60894         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60895         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60897         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60898         [HAVE_MMAP].
60900         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60901         Add multiple inclusion protection.
60903 2012-07-27  David S. Miller  <davem@davemloft.net>
60905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60907 2012-07-27  Gary Benson  <gbenson@redhat.com>
60909         [BZ #14298]
60910         * elf/rtld.c: Include <stap-probe.h>.
60911         (dl_main): Added static probes "init_start" and "init_complete".
60912         * elf/dl-load.c: Include <stap-probe.h>.
60913         (lose): Take new parameter "nsid".
60914         Added static probe "map_failed".
60915         (_dl_map_object_from_fd): Pass namespace id to lose.
60916         Added static probe "map_start".
60917         (open_verify): Pass namespace id to lose.
60918         * elf/dl-open.c: Include <stap-probe.h>.
60919         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60920         and "reloc_complete".
60921         * elf/dl-close.c: Include <stap-probe.h>.
60922         (_dl_close_worker): Added static probes "unmap_start" and
60923         "unmap_complete".
60924         * elf/rtld-debugger-interface.txt: New file documenting the above.
60926 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60928         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60929         rather than a string variable.
60930         * sunrpc/rpc_main.c (h_output): Likewise.
60931         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60933 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60935         * inet/check_native.c: New file.
60937 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60939         [BZ #13629]
60940         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60941         if larger part has absolute value 1.0.
60942         * math/s_clog10.c (__clog10): Likewise.
60943         * math/s_clog10f.c (__clog10f): Likewise.
60944         * math/s_clog10l.c (__clog10l): Likewise.
60945         * math/s_clogf.c (__clogf): Likewise.
60946         * math/s_clogl.c (__clogl): Likewise.
60947         * math/libm-test.inc (clog_test): Add more tests.
60948         (clog10_test): Likewise.
60949         * sysdeps/i386/fpu/libm-test-ulps: Update.
60950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60952         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60953         (pltexit): Likewise.
60954         (La_regs): Likewise.
60955         (La_retval): Likewise.
60956         (int_retval): Likewise.
60957         Update #error for removed macros to refer only to definitions in
60958         tst-audit.h.
60959         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60960         macro.
60961         (pltexit): Likewise.
60962         (La_regs): Likewise.
60963         (La_retval): Likewise.
60964         (int_retval): Likewise.
60965         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60966         macro.
60967         (pltexit): Likewise.
60968         (La_regs): Likewise.
60969         (La_retval): Likewise.
60970         (int_retval): Likewise.
60971         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60972         macro.
60973         (pltexit): Likewise.
60974         (La_regs): Likewise.
60975         (La_retval): Likewise.
60976         (int_retval): Likewise.
60977         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60978         macro.
60979         (pltexit): Likewise.
60980         (La_regs): Likewise.
60981         (La_retval): Likewise.
60982         (int_retval): Likewise.
60983         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60984         macro.
60985         (pltexit): Likewise.
60986         (La_regs): Likewise.
60987         (La_retval): Likewise.
60988         (int_retval): Likewise.
60989         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60990         macro.
60991         (pltexit): Likewise.
60992         (La_regs): Likewise.
60993         (La_retval): Likewise.
60994         (int_retval): Likewise.
60995         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60996         macro definitions in tst-audit.h.
60997         * sysdeps/i386/tst-audit.h: New file.
60998         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60999         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61000         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61001         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61002         * sysdeps/sh/tst-audit.h: Likewise.
61003         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61004         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61005         * sysdeps/x86_64/tst-audit.h: Likewise.
61007 2012-07-26  Andreas Jaeger  <aj@suse.de>
61009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61010         ptrace.
61012         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61013         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61014         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61015         PTRACE_O_MASK.
61016         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61017         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61018         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61020         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61021         value.
61023         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61024         _sigsys.
61025         (si_call_addr, si_syscall, si_arch): Define new macro.
61026         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61027         _sigsys.
61028         (si_call_addr, si_syscall, si_arch): Define new marcro.
61029         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61030         _sigsys.
61031         (si_call_addr, si_syscall, si_arch): Define new macro.
61032         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61033         _sigsys.
61034         (si_call_addr, si_syscall, si_arch): Define new macro.
61036 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61038         [BZ #13717]
61039         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61040         Change to 2.4.21 where previously 2.4.1.
61041         * sysdeps/unix/sysv/linux/configure: Regenerated.
61042         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61043         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61044         Linux kernel version.
61045         (__ASSUME_STD_AUXV): Remove.
61046         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61047         kernel version.
61048         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61049         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61050         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61051         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61052         (__ASSUME_NETLINK_SUPPORT): Likewise.
61053         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61054         (__no_netlink_support): Remove conditional definition.
61055         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61056         Remove.
61057         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61058         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61059         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61060         (if_nameindex_ioctl): Remove.
61061         (if_nameindex_netlink): Do not handle __no_netlink_support.
61062         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61063         code.
61064         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61065         Remove conditional code.
61066         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61067         code.
61068         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61069         unconditional.
61070         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61071         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61072         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61073         Remove.
61074         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61075         [!__ASSUME_STD_AUXV]: Remove conditional code.
61076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61077         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61078         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61080         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61081         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61082         code.
61083         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61085         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61086         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61087         conditional code.
61088         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61090         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61091         code.
61092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61093         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61094         conditional code.
61095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61096         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61097         code unconditional.
61098         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61099         conditional code.
61100         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61101         unconditional.
61102         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61103         conditional code.
61104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61105         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61106         unconditional.
61107         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61108         conditional code.
61109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61110         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61111         code unconditional.
61112         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61113         conditional code.
61114         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61115         unconditional.
61116         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61117         conditional code.
61118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61119         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61120         code unconditional.
61121         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61122         conditional code.
61123         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61124         unconditional.
61125         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61126         conditional code.
61128 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61130         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61131         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61132         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61133         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61134         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61135         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61136         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61137         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61138         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61139         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61140         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61141         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61142         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61143         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61144         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61145         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61146         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61148         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61150         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61151         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61152         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61154 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61156         * Versions.def: Add GLIBC_2.17.
61157         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61158         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61159         Introduce __libc_secure_getenv.
61160         * stdlib/Versions (2.17): Add secure_getenv
61161         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61162         * stdlib/secure-getenv.c: Rename __secure_getenv to
61163         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61164         symbol __secure_getenv for GLIBC_2.0.
61165         * stdlib/tst-secure-getenv.c: New.
61166         * stdlib/Makefile (tests): Add testcase.
61167         * manual/startup.texi (Environment Access): Document
61168         secure_getenv.
61169         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61170         __libc_secure_getenv.
61171         * inet/ruserpass.c (ruserpass): Likewise.
61172         * malloc/mtrace.c (mtrace): Likewise.
61173         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61174         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61175         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61176         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61177         HAVE_SECURE_GETENV.
61178         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61179         __secure_getenv to __libc_secure_getenv.
61180         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61182         Likewise.
61183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61184         Likewise.
61185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61187         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61193 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61195         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61196         (struct La_i86_retval): Likewise.
61197         (struct La_x86_64_regs): Likewise.
61198         (struct La_x86_64_retval): Likewise.
61199         (struct La_x32_regs): Likewise.
61200         (struct La_x32_retval): Likewise.
61201         (struct La_ppc32_regs): Likewise.
61202         (struct La_ppc32_retval): Likewise.
61203         (struct La_ppc64_regs): Likewise.
61204         (struct La_ppc64_retval): Likewise.
61205         (struct La_sh_regs): Likewise.
61206         (struct La_sh_retval): Likewise.
61207         (struct La_s390_32_regs): Likewise.
61208         (struct La_s390_32_retval): Likewise.
61209         (struct La_s390_64_regs): Likewise.
61210         (struct La_s390_64_retval): Likewise.
61211         (struct La_sparc32_regs): Likewise.
61212         (struct La_sparc32_retval): Likewise.
61213         (struct La_sparc64_regs): Likewise.
61214         (struct La_sparc64_retval): Likewise.
61215         (struct audit_ifaces): Remove architecture-specific pltenter and
61216         pltexit members.
61217         * sysdeps/i386/ldsodefs.h: New file.
61218         * sysdeps/powerpc/ldsodefs.h: Likewise.
61219         * sysdeps/s390/ldsodefs.h: Likewise.
61220         * sysdeps/sh/ldsodefs.h: Likewise.
61221         * sysdeps/sparc/ldsodefs.h: Likewise.
61222         * sysdeps/x86_64/ldsodefs.h: Likewise.
61224 2012-07-25  Marek Polacek  <polacek@redhat.com>
61226         [BZ #6808]
61227         * math/libm-test.inc (yn_test): Add another test.
61228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61229         to ERANGE when the result is +-Inf.
61230         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61231         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61232         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61233         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61235 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61237         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61238         equal to 0.
61239         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61240         clock_t.
61241         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61243 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61245         * configure.in <sysdeps resolving>: Correct printing
61246         Implies_before.
61247         * configure: Regenerate.
61249 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61251         * math/w_ilogb.c: Include <limits.h>.
61252         * math/w_ilogbl.c: Likewise.
61254 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61256         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61257         va_copy.  Document allowing for unavailable va_copy only as
61258         pre-C99 compatibility.
61259         * manual/string.texi (Copying and Concatenation): Use va_copy
61260         instead of __va_copy in concat example.
61262 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61264         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61265         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61266         it if not null.
61268         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61269         with O_NOLINK passed to __file_name_lookup.
61271         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61272         with O_NOLINK passed to __file_name_lookup.
61274         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61275         negative N or less than NGIDS.
61277         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61278         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61279         enough.  Use memcpy instead of strncpy.
61281 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61283         * elf/Makefile (check-data): Remove.
61284         (localplt.data): New vpath directive.
61285         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61286         instead of $(check-data).
61287         * scripts/data/localplt-generic.data: Move to ...
61288         * sysdeps/generic/localplt.data: ... here.
61289         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61290         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61291         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61293         ... here.
61294         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61296         ... here.
61297         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61299         ... here.
61300         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61302         ... here.
61303         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61305         ... here.
61306         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61308         ... here.
61310 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61312         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61313         PPC32 and PPC64 files.
61314         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61315         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61317 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61319         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61320         __makecontext_ret to ...
61321         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61322         ... here and call exit if uc_link is NULL.  New file.
61323         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61324         __makecontext_ret.S.
61325         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61326         __makecontext_ret to ...
61327         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61328         ... here and call exit if uc_link is NULL.  New file.
61329         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61330         __makecontext_ret.S.
61332 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61334         * elf/elf.h (R_390_IRELATIVE): New definition.
61335         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61336         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61337         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61338         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61339         (elf_machine_lazy_rel): Likewise.
61340         * sysdeps/s390/dl-irel.h: New file.
61341         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61342         * sysdeps/s390/s390-64/memset.S: New asm code.
61343         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61344         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61345         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61346         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61347         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61348         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61349         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61350         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61351         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61352         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61353         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61354         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61355         * sysdeps/s390/s390-32/memset.S: New asm code.
61356         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61358 2012-07-17  Marek Polacek  <polacek@redhat.com>
61360         [BZ #14349]
61361         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61362         * sysdeps/s390/s390-64/configure.in: Likewise.
61363         * sysdeps/sparc/configure.in: Likewise.
61364         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61365         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61366         * sysdeps/i386/configure.in: Likewise.
61367         * sysdeps/x86_64/configure.in: Likewise.
61368         * sysdeps/sh/configure.in: Likewise.
61369         * sysdeps/s390/s390-32/configure: Regenerated.
61370         * sysdeps/s390/s390-64/configure: Likewise.
61371         * sysdeps/x86_64/configure: Likewise.
61372         * sysdeps/sh/configure: Likewise.
61373         * sysdeps/powerpc/powerpc64/configure: Likewise.
61374         * sysdeps/powerpc/powerpc32/configure: Likewise.
61375         * sysdeps/sparc/configure: Likwise.
61376         * sysdeps/i386/configure: Likewise.
61378         * elf/dl-open.c: Comment fixes.
61380 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61382         * Makefile [CXX] (check-data): Remove.
61383         [CXX] (c++-types.data): New vpath directive.
61384         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61385         vpath.  Do not allow for C++ type data being missing.
61386         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61387         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61388         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61389         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61390         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61391         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61392         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61394         ... here.
61395         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61397         ... here.
61398         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61400         ... here.
61401         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61403         ... here.
61404         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61406         ... here.
61407         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61409         ... here.
61410         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61412         ... here.
61413         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61416         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61417         definitions to architecture-specific files.
61418         (TLS_IE): Likewise.
61419         (TLS_LD): Likewise.
61420         (TLS_GD): Likewise.
61421         * sysdeps/i386/tls-macros.h: New file.
61422         * sysdeps/powerpc/tls-macros.h: Likewise.
61423         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61424         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61425         * sysdeps/sh/tls-macros.h: Likewise.
61426         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61427         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61428         * sysdeps/x86_64/tls-macros.h: Likewise.
61430 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61432         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61433         zero value for regular exit case.
61435         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61436         (__start_context): Preserve zero value for regular exit case.
61438 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61439             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61441         * manual/setjmp.texi (setcontext): Clarify normal process
61442         termination when uc_link is the null pointer.
61443         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61444         exit call.
61446 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61448         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61449         preprocessor.  Test for each exception mask separately.
61451 2012-07-16  Andreas Jaeger  <aj@suse.de>
61453         * po/ru.po: Update from translation team.
61455 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61457         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61458         equal to 0.
61459         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61460         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61461         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61462         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61463         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61465 2012-07-13  Andreas Jaeger  <aj@suse.de>
61467         * po/fr.po: Update from translation team.
61469 2012-07-12  Marek Polacek  <polacek@redhat.com>
61471         [BZ #14173]
61472         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61474         loop condition.
61476 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61478         [BZ #13717]
61479         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61480         Change to 2.4.1 where previously 2.4.0.
61481         * sysdeps/unix/sysv/linux/configure: Regenerated.
61482         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61483         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61484         version.
61485         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61486         (__ASSUME_AT_CLKTCK): Remove.
61487         (__ASSUME_AT_PAGESIZE): Likewise.
61488         (__ASSUME_AT_XID): Likewise.
61489         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61490         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61491         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61492         unconditionally.
61493         (HAVE_AUX_PAGESIZE): Likewise.
61494         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61495         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61496         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61498 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61500         [BZ #14307]
61501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61502         the temporary buffer used to invoke __gethostbyname2_r,
61503         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61504         host_data / struct gaih_addrtuple.
61505         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61506         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61507         header file nss/nsswitch.h.
61508         * nss/nsswitch.h (global scope): Add definition of implementation
61509         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61510         resolv/nss_dns/dns-host.c).
61512 2012-07-11  Andreas Jaeger  <aj@suse.de>
61514         * po/fr.po: Update from translation team.
61516         * po/sv.po: Update from translation team
61517         * po/fr.po: Another update from translation team.
61519 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61521         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61522         for subnormals or multiply small sinh result by itself.
61523         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61526 2012-07-11  David S. Miller  <davem@davemloft.net>
61528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61530 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61532         [BZ #14347]
61533         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61534         (INTERNAL_MARK): Shift it here.
61536 2012-07-10  Marek Polacek  <polacek@redhat.com>
61538         [BZ #14151]
61539         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61540         libc_cv_asm_global_directive with .globl.
61541         * configure: Regenerated.
61542         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61543         with .globl.
61544         * sysdeps/i386/configure: Regenerated.
61545         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61546         with .globl.
61547         * sysdeps/x86_64/configure: Regenerated.
61548         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61549         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61550         * elf/tst-unique2mod2.c: Likewise.
61551         * elf/tst-unique2mod1.c: Likewise.
61552         * elf/tst-unique1mod2.c: Likewise.
61553         * elf/tst-unique1mod1.c: Likewise.
61554         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61555         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61556         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61557         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61558         * sysdeps/mach/sysdep.h: Likewise.
61559         * sysdeps/i386/sysdep.h: Likewise.
61560         * sysdeps/i386/i386-mcount.S: Likewise.
61561         * sysdeps/x86_64/_mcount.S: Likewise.
61562         * sysdeps/x86_64/sysdep.h: Likewise.
61563         * sysdeps/sh/_mcount.S: Likewise.
61564         * sysdeps/sh/sysdep.h: Likewise.
61565         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61566         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61567         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61568         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61569         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61570         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61571         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61572         * locale/localeinfo.h: Likewise.
61573         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61574         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61576 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61578         [BZ #14336]
61579         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61580         system".
61581         * manual/message.texi (The Uniforum approach): Likewise.
61582         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61583         (glibc iconv Implementation): Likewise.
61585 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61587         [BZ #14337]
61588         * math/s_clog.c (__clog): Avoid scaling a value down where that
61589         could result in underflow.
61590         * math/s_clog10.c (__clog10): Likewise.
61591         * math/s_clog10f.c (__clog10f): Likewise.
61592         * math/s_clog10l.c (__clog10l): Likewise.
61593         * math/s_clogf.c (__clogf): Likewise.
61594         * math/s_clogl.c (__clogl): Likewise.
61595         * math/libm-test.inc (clog_test): Add more tests.
61596         (clog10_test): Likewise.
61597         * sysdeps/i386/fpu/libm-test-ulps: Update.
61598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61600 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61602         [BZ #14283]
61603         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61604         by 7 not 8 to examine high bit of fractional part.
61606         [BZ #14042]
61607         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61608         for call to __mcount_internal.
61609         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61610         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61611         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61613 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61615         [BZ #14154]
61616         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61617         approximation for values within 0x1p-13f of an odd multiple of
61618         pi/4.
61619         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61620         exception.  Add more tests.
61621         * sysdeps/i386/fpu/libm-test-ulps: Update.
61623         [BZ #6778]
61624         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61625         inputs and return -1 for them.  Do not check for +Inf in case not
61626         reachable for +Inf.
61627         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61628         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61629         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61630         and return -1 for them.  Do not check for +Inf in case not
61631         reachable for +Inf.
61632         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61633         define.
61634         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61635         and return -1 for them.  Do not check for +Inf in case not
61636         reachable for +Inf.
61637         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61638         spurious underflow.
61639         * sysdeps/i386/fpu/libm-test-ulps: Update.
61640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61642 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61644         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61646 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61648         [BZ #14157]
61649         [BZ #14331]
61650         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61651         could result in spurious underflow.  Scale down values above
61652         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61653         * math/s_csqrtf.c (__csqrtf): Likewise.
61654         * math/s_csqrtl.c (__csqrtl): Likewise.
61655         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61656         spurious underflow.
61657         * sysdeps/i386/fpu/libm-test-ulps: Update.
61658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61660 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61662         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61663         xopen-msg.sed.
61664         * catgets/xopen-msg.awk: New file.
61665         * catgets/xopen-msg.sed: Removed.
61667         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61668         po2text.sed.
61669         * intl/po2test.awk: New file.
61670         * intl/po2test.sed: Removed.
61672 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61674         [BZ #14328]
61675         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61676         or multiply small sinh result by itself.
61677         * math/s_ctanf.c (__ctanf): Likewise.
61678         * math/s_ctanh.c (__ctanh): Likewise.
61679         * math/s_ctanhf.c (__ctanhf): Likewise.
61680         * math/s_ctanhl.c (__ctanhl): Likewise.
61681         * math/s_ctanl.c (__ctanl): Likewise.
61682         * math/libm-test.inc (ctan_test_tonearest): New function.
61683         (ctan_test_towardzero): Likewise.
61684         (ctan_test_downward): Likewise.
61685         (ctan_test_upward): Likewise.
61686         (ctanh_test_tonearest): Likewise.
61687         (ctanh_test_towardzero): Likewise.
61688         (ctanh_test_downward): Likewise.
61689         (ctanh_test_upward): Likewise.
61690         (main): Call these new functions.
61691         * sysdeps/i386/fpu/libm-test-ulps: Update.
61692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61694 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61696         * .gitignore: Delete /ports entry.
61698 2012-07-03  Andreas Jaeger  <aj@suse.de>
61700         * po/bg.po: Update from translation team.
61701         * po/cs.po: Likewise.
61702         * po/de.po: Likewise.
61703         * po/hr.po: Likewise.
61704         * po/nl.pl: Likewise.
61705         * po/pl.po: Likewise.
61706         * po/vi.po: Likewise.
61708 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61710         * Makeconfig [!+link] (+link-before-libc): New variable.
61711         [!+link] (+link-after-libc): Likewise.
61712         [!+link] (+link-tests): Likewise.
61713         [!+link] (+link): Define in terms of $(+link-before-libc) and
61714         $(+link-after-libc).
61715         [!+link-static] (+link-static-before-libc): New variable.
61716         [!+link-static] (+link-static-after-libc): Likewise.
61717         [!+link-static] (+link-static-tests): Likewise.
61718         [!+link-static] (+link-static): Define in terms of
61719         $(+link-static-before-libc) and $(+link-static-after-libc).
61720         [build-shared] (link-libc-before-gnulib): New variable.
61721         [build-shared] (link-libc-tests): Likewise.
61722         [build-shared] (link-libc): Define in terms of
61723         $(link-libc-before-gnulib).
61724         [!build-shared] (link-libc-tests): New variable.
61725         (link-libc-static-tests): New variable.
61726         [!gnulib] (gnulib-arch): New variable.
61727         [!gnulib] (gnulib-tests): Likewise.
61728         [!gnulib] (static-gnulib-arch): Likewise.
61729         [!gnulib] (static-gnulib-tests): Likewise.
61730         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61731         Define with "=" instead of ":=".
61732         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61733         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61734         * Rules (binaries-all-notests): New variable.
61735         (binaries-all-tests): Likewise.
61736         (binaries-static-notests): Likewise.
61737         (binaries-static-tests): Likewise.
61738         (binaries-all): Define using $(binaries-all-notests) and
61739         $(binaries-all-tests).
61740         (binaries-static): Define using $(binaries-static-notests) and
61741         $(binaries-static-tests).
61742         (binaries-shared-tests): New variable.
61743         (binaries-shared-notests): Likewise.
61744         (binaries-shared): Remove variable.
61745         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61746         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61747         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61748         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61749         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61750         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61751         * elf/Makefile (sln-modules): New variable.
61752         (extra-objs): Add $(sln-modules:=.o).
61753         (ldconfig-modules): Add static-stubs.
61754         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61755         * elf/static-stubs.c: New file.
61757         [BZ #14283]
61758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61759         by 7 not 8 to examine high bit of fractional part.  Use volatile
61760         variables when splitting into final array of floats if
61761         __FLT_EVAL_METHOD__ != 0.
61762         * math/libm-test.inc (cos_test): Add another test.
61763         (sin_test): Likewise.
61764         * sysdeps/i386/fpu/libm-test-ulps: Update.
61766         [BZ #14273]
61767         * math/libm-test.inc (cosh_test): Add more tests.
61769         * version.h (RELEASE): Set to "development".
61770         (VERSION): Set to "2.16.90".
61772 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61774         * NEWS: Update copyright. Remove last-updated date.
61775         Mention math library bug fixes and timezone data changes.
61776         * README: Mention GNU/Hurd, x32, and HPPA support status.
61778 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61780         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61782 2012-06-27  Andreas Jaeger  <aj@suse.de>
61784         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61786 2012-06-25  Andreas Jaeger  <aj@suse.de>
61788         * sysdeps/s390/fpu/libm-test-ulps: Update.
61790 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61791             Thomas Schwinge  <thomas@codesourcery.com>
61793         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61794         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61795         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61796         fanotify_mark.
61798 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61800         * sysdeps/mach/start.c: Remove file.
61801         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61802         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61803         * sysdeps/sh/init-first.c: Likewise.
61805         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61806         registers for frame unwinding purposes, add CFI directives.
61807         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61808         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61809         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61810         Likewise.
61812         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61813         __fortify_fail returning.
61814         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61816         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61817         sysdeps/sh/____longjmp_chk.S.
61818         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61819         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61820         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61821         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61823         * sysdeps/sh/abort-instr.h: New file.
61824         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61825         process in case exit returns.
61827         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61828         initialize the GOT register before use.
61830         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61831         calculation of ARGC > 4.
61833         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61834         meaningful names to some local labels.
61836 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61837             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61839         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61840         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61841         (__arch_compare_and_exchange_val_16_acq): Likewise.
61842         (__arch_compare_and_exchange_val_32_acq): Likewise.
61843         (atomic_exchange_and_add): Fix gUSA sequence.
61844         (atomic_add): Likewise.
61845         (atomic_add_negative): Likewise.
61846         (atomic_add_zero): Likewise.
61847         (atomic_bit_test_set): Likewise.
61849 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61851         [BZ #13579]
61852         * include/link.h (struct link_map): Add l_free_initfini.
61853         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61854         l_initfini.
61855         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61856         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61857         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61858         set.
61860 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61862         * configure.in: Use AC_LANG_SOURCE.
61863         * configure: Regenerate.
61865 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61867         * configure.in (libc_cv_localstatedir): New substituted variable.
61868         * configure: Regenerated.
61869         * config.make.in (localstatedir): New variable, substituted from
61870         libc_cv_localstatedir.
61871         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61872         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61873         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61874         * sysdeps/gnu/configure: Regenerated.
61876 2012-06-21  Jeff Law  <law@redhat.com>
61878         [BZ #14277]
61879         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61880         free.  Simplify list management for _LIBC case.
61882 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61884         [BZ #14273]
61885         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61886         Clear sign bit of 64-bit integer value before comparing against
61887         overflow value.
61889         * sysdeps/mach/configure: Regenerated.
61891 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61893         [BZ #14278]
61894         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61896 2012-06-21  Jeff Law  <law@redhat.com>
61898         [BZ #13882]
61899         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61900         uint16_t for elements in the "seen" array to avoid char overflows.
61901         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61902         * elf/dl-open.c (dl_open_worker): Likewise.
61904 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61906         * scripts/list-sources.sh: Scan PORTS for translations.
61907         * po/libc.pot: Regenerated.
61909 2012-06-21  Andreas Jaeger  <aj@suse.de>
61911         [BZ #12194]
61912         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61913         warning.
61914         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61915         * bits/byteswap-16.h (__bswap_16): Likewise.
61916         * bits/byteswap.h (__bswap_constant_16): Likewise.
61918 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61920         [BZ #14117]
61921         * sysdeps/i386/fpu_control.h: Removed.
61922         * sysdeps/x86_64/fpu_control.h: Moved to ...
61923         * sysdeps/x86/fpu_control.h: Here.
61925         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61926         (_FPU_SETCW): Likewise.
61928 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61930         [BZ #14117]
61931         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61932         * sysdeps/x86/fpu/bits/mathinline.h: This.
61933         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61935         [BZ #14050]
61936         [BZ #14117]
61937         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61938         functions if __x86_64__ is defined.
61940 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61942         * string/endian.h: Add !__ASSEMBLER__ condition for including
61943         conversion interfaces.
61945 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61947         [BZ #14241]
61948         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61949         of ABS(x) in calculating zero to negative powers other than odd
61950         integers.
61951         * math/libm-test.inc (pow_test): Add more tests.
61953 2012-06-15  Andreas Jaeger  <aj@suse.de>
61955         * manual/contrib.texi (Contributors): Update entry of Liubov
61956         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61957         Machado Filho.
61959 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61961         * string/string.h: Add __wur to GNU version of strerror_r.
61963 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61965         [BZ #14229]
61966         * string/Makefile (tests): Add tst-strtok_r.
61967         * string/tst-strtok_r.c: New file.
61968         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61969         RAX_LP/RDX_LP on SAVE_PTR.
61971 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61973         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61975 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61977         * libm_test.inc (csqrt_test): Allow more spurious underflow
61978         exceptions.
61979         (j0_test): Likewise.
61980         (j1_test): Likewise.
61981         (y0_test): Likewise.
61982         (y1_test): Likewise.
61984 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61986         * po/Makefile (libc.pot): Use UTF-8 charset.
61988 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61990         [BZ #14210]
61991         Suppress sign-conversion warning from FD_SET.
61992         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61993         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61994         not unsigned long int.
61995         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61997 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61999         [BZ #14050]
62000         [BZ #14117]
62001         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62002         __extern_always_inline instead of __extern_inline.
62003         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62004         (__signbit): Likewise.
62005         (__signbitl): Support C++ namespace.
62006         (lrintf): New inline function.
62007         (lrint): Likewise.
62008         (llrintf): Likewise.
62009         (llrint): Likewise.
62010         (fmaxf): Likewise.
62011         (fmax): Likewise.
62012         (fminf): Likewise.
62013         (fmin): Likewise.
62014         (rint): Likewise.
62015         (rintf): Likewise.
62016         (ceil): Likewise.
62017         (ceilf): Likewise.
62018         (floor): Likewise.
62019         (floorf): Likewise.
62020         (nearbyint): Likewise.
62021         (nearbyintf): Likewise.
62023 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62025         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62026         non-default versions.
62028 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62030         [BZ #14218]
62031         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62033 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62035         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62036         (FE_UPWARD, FE_DOWNWARD): Don't define.
62037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62038         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62040         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62041         reading it.
62042         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62043         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62045 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62047         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62048         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62049         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62050         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62052 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62054         [BZ #14117]
62055         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62056         * sysdeps/i386/fpu/Implies: New file.
62057         * sysdeps/x86_64/fpu/Implies: Likewise.
62058         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62059         * sysdeps/x86/fpu/bits/fenv.h: This.
62061         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62062         __SSE_MATH__.
62064 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62066         [BZ #14134]
62067         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62068         character 0xffff that matches the last element of the
62069         conversion table.
62071 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62074         fmodl commit.
62076 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62079         values higher than 25.6283.
62081 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62083         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62084         subnormal exponent extraction and add some __builtin_expect.
62085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62086         Fix for subnormal mantissa calculation.
62088 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62090         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62091         cpu2 is -1 and errno is not ENOSYS.
62093 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62095         [BZ #14117]
62096         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62097         * sysdeps/x86/bits/string.h: This.
62098         * sysdeps/x86_64/bits/string.h: Removed.
62100         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62101         if not compiling for x86-64, but compiling for >= i486.
62103         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62104         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62106         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62107         New macro from Linux kernel 3.4.0.
62108         (FP_XSTATE_MAGIC2): Likewise.
62109         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62110         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62111         (struct _fpx_sw_bytes): New struct.
62112         (struct _xsave_hdr): Likewise.
62113         (struct _ymmh_state): Likewise.
62114         (struct _xstate): Likewise.
62116         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62117         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62118         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62119         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62120         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62121         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62123         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62124         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62125         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62126         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62127         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62128         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62130 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62132         [BZ #13743]
62133         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62134         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62135         (sysdep_headers): Include sys/platform/ppc.h.
62136         * sysdeps/powerpc/test-gettimebase.c: Test for
62137         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62138         * manual/Makefile (appendices): Include platform.texi.
62139         * manual/contrib.texi (Contributors): Update @node pointers.
62140         * manual/maint.texi (Maintenance): Likewise.
62141         (Platform): New node.
62142         * manual/platform.texi: New file.  Document the new features.
62144 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62145             Jakub Jelinek  <jakub@redhat.com>
62147         [BZ #14188]
62148         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62149         where __builtin_expect is unavailable.
62151 2012-06-03  David S. Miller  <davem@davemloft.net>
62153         * stdlib/longlong.h: Updated from GCC.
62155 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62157         [BZ #14042]
62158         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62159         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62160         __mcount_internal.
62161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62162         (GLIBC_2.16): Likewise.
62164 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62166         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62168 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62171         (default-abi): New variable.
62172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62173         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62174         variable.
62175         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62176         Likewise.
62177         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62178         Likewise.
62179         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62180         Likewise.
62182         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62183         definition.  Document in comment.
62185 2012-06-01  David S. Miller  <davem@davemloft.net>
62187         * stdlib/longlong.h: Updated from GCC.
62189 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62191         [BZ #14117]
62192         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62193         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62194         sys/debugreg.h sys/io.h here.
62195         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62196         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62197         sys/io.h.
62198         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62199         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62200         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62201         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62202         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62203         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62206         Define only if __x86_64__ is defined.
62208 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62210         [BZ #14048]
62211         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62212         Use int64_t for variable i.
62213         * math/libm-test.inc (fmod_test): Add more tests.
62215         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62216         z computation is not scheduled after fetestexcept.
62217         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62218         Use math_force_eval instead of asm to ensure calculation scheduled
62219         before exception test.
62220         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62221         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62223 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62226         computation is not scheduled after fetestexcept.
62228 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62230         [BZ #14117]
62231         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62232         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62234 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62236         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62237         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62239 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62241         [BZ #14117]
62242         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62243         <bits/wordsize.h>.
62244         (__WCHAR_MIN): Support __WORDSIZE == 64.
62245         (__WCHAR_MAX): Likewise.
62247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62248         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62250         [BZ #14183]
62251         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62252         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62254         [BZ #14117]
62255         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62256         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62258         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62259         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62261         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62262         Defined to 1 if __x86_64__ isn't defined.
62263         (_STAT_VER_LINUX_OLD): New.
62264         (st_atime): Remove duplicate.
62265         (st_mtime): Likewise.
62266         (st_ctime): Likewise.
62268 2012-05-31  David S. Miller  <davem@davemloft.net>
62270         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62271         entries.
62273 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62275         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62276         gen-libm-test.pl.
62278         [BZ #14132]
62279         * elf/dl-reloc.c: Include <_itoa.h>.
62280         (_dl_reloc_bad_type): Remove use of INTUSE.
62281         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62282         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62283         * stdio-common/psiginfo.c (psiginfo): Likewise.
62284         * stdio-common/psignal.c (psignal): Likewise.
62285         * string/strsignal.c (strsignal): Likewise.
62286         * include/signal.h (_sys_siglist): Declare hidden proto.
62287         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62288         INTVARDEF with libc_hidden_data_def.
62289         * stdio-common/itoa-udigits.c: Likewise.
62290         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62291         (_itoa_lower_digits_internal): Remove declaration.
62292         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62293         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62294         (_sys_sigabbrev_internal): Remove aliases.
62295         (_sys_siglist): Define hidden alias.
62297 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62299         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62300         bits/sysctl.h.
62302 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62304         [BZ #14117]
62305         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62306         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62308         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62309         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62310         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62311         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62312         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62313         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62315         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62316         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62317         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62319         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62320         with __addr.
62321         (insw): Likewise.
62322         (insl): Likewise.
62323         (outsb): Likewise.
62324         (outsw): Likewise.
62325         (outsl): Likewise.
62327         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62328         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62329         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62331         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62332         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62333         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62334         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62335         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62336         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62338         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62339         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62341         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62342         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62344         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62345         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62346         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62348         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62349         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62350         to ...
62351         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62353         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62354         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62355         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62357         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62358         for x86-64.
62359         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62361 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62363         * math/math.h (M_El): Use two more decimal places.
62364         (M_LOG2El): Likewise.
62365         (M_LOG10El): Likewise.
62366         (M_LN2l): Likewise.
62367         (M_LN10l): Likewise.
62368         (M_PIl): Likewise.
62369         (M_PI_2l): Likewise.
62370         (M_PI_4l): Likewise.
62371         (M_1_PIl): Likewise.
62372         (M_2_PIl): Likewise.
62373         (M_2_SQRTPIl): Likewise.
62374         (M_SQRT2l): Likewise.
62375         (M_SQRT1_2l): Likewise.
62377 2012-05-31  David S. Miller  <davem@davemloft.net>
62379         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62380         values between float registers.
62381         * sysdeps/sparc/sparc64/memset.S: Likewise.
62382         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62384 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62386         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62387         -D_FORTIFY_SOURCE=1.
62388         (CPPFLAGS-tst-longjmp_chk.c): Define.
62389         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62390         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62391         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62392         CFLAGS-tst-wchar-h.c.
62394 2012-05-31  Marek Polacek  <polacek@redhat.com>
62396         [BZ #14132]
62397         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62398         __endmntent_internal): Remove declaration.
62399         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62400         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62401         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62403 2012-05-30  David S. Miller  <davem@davemloft.net>
62405         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62406         (___Q_simulate_exceptions): Use real FP ops rather than writing
62407         into the %fsr.
62408         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62409         Likewise.
62411 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62413         [BZ #14117]
62414         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62415         * sysdeps/x86/bits/xtitypes.h: This.
62417         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62418         * sysdeps/x86/bits/wordsize.h: This.
62420         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62421         * sysdeps/x86/bits/huge_vall.h: This.
62423         * sysdeps/i386/bits/select.h: Removed.
62424         * sysdeps/x86_64/bits/select.h: Renamed to ...
62425         * sysdeps/x86/bits/select.h: This.
62427         * sysdeps/i386/bits/setjmp.h: Removed.
62428         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62429         * sysdeps/x86/bits/setjmp.h: This.
62431         * sysdeps/i386/bits/mathdef.h: Removed.
62432         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62433         * sysdeps/x86/bits/mathdef.h: This.
62435 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62437         [BZ #14132]
62438         * include/sys/socket.h (__connect_internal)
62439         (__libc_sa_len_internal): Remove declaration.
62440         (__connect, __libc_sa_len): Declare hidden_proto.
62441         (SA_LEN): Remove use of INTUSE.
62442         * socket/connect.c: Add libc_hidden_def.
62443         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62444         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62445         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62446         alias.
62447         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62448         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62449         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62450         of adding _internal alias.
62452 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62454         [BZ #14117]
62455         * sysdeps/i386/bits/link.h: Removed.
62456         * sysdeps/i386/bits/linkmap.h: Likewise.
62457         * sysdeps/x86_64/bits/link.h: Renamed to ...
62458         * sysdeps/x86/bits/link.h: This.
62459         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62460         * sysdeps/x86/bits/linkmap.h: This.
62462         * sysdeps/i386/bits/endian.h: Removed.
62463         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62464         * sysdeps/x86/bits/endian.h: This.
62466         * sysdeps/i386/bits/byteswap.h: Removed.
62467         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62468         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62469         * sysdeps/x86/bits/byteswap.h: This.
62470         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62471         * sysdeps/x86/bits/byteswap-16.h: This.
62472         * sysdeps/i386/Implies: Add x86.
62473         * sysdeps/x86_64/Implies: Likewise.
62475 2012-05-30  David S. Miller  <davem@davemloft.net>
62477         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62478         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62479         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62480         (FP_TRAPPING_EXCEPTIONS): Define.
62481         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62482         (FP_TRAPPING_EXCEPTIONS): Define.
62483         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62484         subnormals only when inexact has been signalled or underflow
62485         exceptions are enabled.
62486         (_FP_PACK_CANONICAL): Likewise.
62488 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62490         [BZ #14183]
62491         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62492         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62494 2012-05-30  Richard Henderson  <rth@twiddle.net>
62496         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62497         with #ifndef NOT_IN_libc.
62499         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62500         marked to avoid plt entry.
62502 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62504         [BZ #14112]
62505         * Makeconfig (default-abi): New macro.
62506         (abi-includes): Likewise.
62507         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62508         $(abi-$(default-abi)-lib-soname) for soname if defined.
62509         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62510         abi-variants.
62511         * Makefile (installed-stubs): Likewise.
62512         * include/stubs-biarch.h: Removed.
62513         * scripts/lib-names.awk: Only handle one library at a time.
62514         * scripts/soversions.awk: Remove WORDSIZE support.
62515         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62516         entries.
62517         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62518         Removed.
62519         (syscall-list-default-condition): Likewise.
62520         (syscall-list-default-condition): Likewise.
62521         (syscall-list-includes): Likewise.
62522         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62523         syscall-list-* with abi-*.  Handle undefined abi-variants.
62524         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62525         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62526         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62527         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62528         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62529         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62530         Removed.
62531         (syscall-list-32-options): Likewise.
62532         (syscall-list-32-condition): Likewise.
62533         (syscall-list-64-options): Likewise.
62534         (syscall-list-64-condition): Likewise.
62535         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62536         macro.
62537         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62538         Renamed to ...
62539         (abi-*): This.
62540         (abi-64-ld-soname): New macro.
62541         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62542         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62543         Renamed to ...
62544         (abi-*): This.
62545         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62546         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62548 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62550         * sysdeps/unix/sysv/linux/kernel-features.h
62551         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62552         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62553         include <kernel-features.h>.
62554         [!__NR_ftruncate64]: Remove conditional code.
62555         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62556         [__NR_ftruncate64]: Make code unconditional.
62557         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62558         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62559         include <kernel-features.h>.
62560         [!__NR_ftruncate64]: Remove conditional code.
62561         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62562         [__NR_ftruncate64]: Make code unconditional.
62563         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62565         include <kernel-features.h>.
62566         [!__NR_ftruncate64]: Remove conditional code.
62567         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62568         [__NR_ftruncate64]: Make code unconditional.
62569         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62571         include <kernel-features.h>.
62572         [!__NR_ftruncate64]: Remove conditional code.
62573         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62574         [__NR_ftruncate64]: Make code unconditional.
62575         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62577         * configure.in (libc_cv_fpie): Weaken to a compile test using
62578         LIBC_TRY_CC_OPTION.
62579         * configure: Regenerated.
62581 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62587         Refreshed.
62588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62594         Refreshed.
62596 2012-05-27  David S. Miller  <davem@davemloft.net>
62598         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62599         (___Q_zero): New.
62600         (__Q_simulate_exceptions): Return void.  Change to simulate
62601         exceptions by writing into the %fsr.
62602         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62603         (__Qp_handle_exceptions): Likewise.
62604         (numbers): Delete.
62605         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62606         __Qp_handle_exceptions.
62607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62608         __Qp_handle_exceptions.
62609         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62610         as unused and give dummy FP_RND_NEAREST initializer.
62611         (FP_INHIBIT_RESULTS): Define.
62612         (___Q_simulate_exceptions): Update declaration.
62613         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62614         formatting.
62615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62616         as unused and give dummy FP_RND_NEAREST initializer.
62617         (__Qp_handle_exceptions): Update declaration.
62618         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62619         formatting.
62621 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62623         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62624         the temporary FPU control word.
62625         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62626         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62627         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62628         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62629         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62630         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62631         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62632         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62633         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62634         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62635         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62637 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62639         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62640         fields.
62642 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62644         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62645         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62646         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62647         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62648         Likewise.
62649         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62650         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62651         Likewise.
62653 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62655         * po/h.po: Update from translation team.
62657 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62659         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62662         handling of denormals.
62663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62664         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62665         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62666         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62670         Likewise.
62672 2012-05-26  Marek Polacek  <polacek@redhat.com>
62674         [BZ #14152]
62675         * math/libm-test.inc (fma_test): Don't always expect underflow
62676         exception.
62678 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62680         [BZ #12416]
62681         * elf/tst-execstack.c: Include stackinfo.h.
62682         (do_test): Adjust test case to ensure that pthread_getattr_np
62683         behaviour remains the same after marking stack executable.
62685 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62687         * sysdeps/unix/sysv/linux/kernel-features.h
62688         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62689         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62690         kernel-features.h.
62691         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62692         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62693         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62694         kernel-features.h.
62695         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62696         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62698 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62700         * configure.in: Define the default includes to being none.
62701         * configure: Regenerated.
62703 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62705         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62706         * sysdeps/x86_64/setjmp.S: Likewise.
62707         * sysdeps/i386/bsd-setjmp.S: Likewise.
62708         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62709         * sysdeps/i386/setjmp.S: Likewise.
62710         * sysdeps/i386/__longjmp.S: Likewise.
62711         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62712         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62714         * include/stap-probe.h: New file.
62715         * configure.in: Handle --enable-systemtap.
62716         * configure: Regenerated.
62717         * config.h.in (USE_STAP_PROBE): New #undef.
62718         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62719         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62720         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62722 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62724         [BZ #13717]
62725         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62726         to 2.4.0 where earlier.
62727         * sysdeps/unix/sysv/linux/configure: Regenerated.
62728         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
62733         <kernel-features.h>.
62734         [__ASSUME_32BITUIDS]: Make code unconditional.
62735         [!__ASSUME_32BITUIDS]: Remove conditional code.
62736         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62737         [__ASSUME_32BITUIDS]: Make code unconditional.
62738         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62739         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
62776         <kernel-features.h>.
62777         [__ASSUME_32BITUIDS]: Make code unconditional.
62778         [!__ASSUME_32BITUIDS]: Remove conditional code.
62779         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62780         <kernel-features.h>.
62781         [__NR_setresgid] (__setresgid): Do not declare.
62782         [__ASSUME_32BITUIDS]: Make code unconditional.
62783         [!__ASSUME_32BITUIDS]: Remove conditional code.
62784         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62785         <kernel-features.h>.
62786         [__NR_setresuid] (__setresuid): Do not declare.
62787         [__ASSUME_32BITUIDS]: Make code unconditional.
62788         [!__ASSUME_32BITUIDS]: Remove conditional code.
62789         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
62826         <kernel-features.h>.
62827         [__ASSUME_32BITUIDS]: Make code unconditional.
62828         [!__ASSUME_32BITUIDS]: Remove conditional code.
62829         * sysdeps/unix/sysv/linux/kernel-features.h
62830         (__ASSUME_SETRESUID_SYSCALL): Remove.
62831         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62832         (__ASSUME_32BITUIDS): Likewise.
62833         (__ASSUME_LDT_WORKS): Likewise.
62834         (__ASSUME_O_DIRECTORY): Likewise.
62835         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62836         architecture but not kernel version.
62837         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62838         (__ASSUME_MMAP2_SYSCALL): Likewise.
62839         (__ASSUME_STAT64_SYSCALL): Likewise.
62840         (__ASSUME_IPC64): Likewise.
62841         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62842         <kernel-features.h>.
62843         [__ASSUME_32BITUIDS]: Make code unconditional.
62844         [!__ASSUME_32BITUIDS]: Remove conditional code.
62845         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62846         <kernel-features.h>.
62847         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62848         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62849         132096]: Remove conditional code.
62850         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62851         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
62856         <kernel-features.h>.
62857         [__ASSUME_32BITUIDS]: Make code unconditional.
62858         [!__ASSUME_32BITUIDS]: Remove conditional code.
62859         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62860         <kernel-features.h>.
62861         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62862         unconditional.
62863         (__setresgid): Do not declare.
62864         [__ASSUME_32BITUIDS]: Make code unconditional.
62865         [!__ASSUME_32BITUIDS]: Remove conditional code.
62866         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62867         <kernel-features.h>.
62868         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62869         unconditional.
62870         (__setresuid): Do not declare.
62871         [__ASSUME_32BITUIDS]: Make code unconditional.
62872         [!__ASSUME_32BITUIDS]: Remove conditional code.
62873         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62874         <kernel-features.h>.
62875         [__ASSUME_32BITUIDS]: Make code unconditional.
62876         [!__ASSUME_32BITUIDS]: Remove conditional code.
62877         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62878         <kernel-features.h>.
62879         [__ASSUME_32BITUIDS]: Make code unconditional.
62880         [!__ASSUME_32BITUIDS]: Remove conditional code.
62882 2012-05-25  Richard Henderson  <rth@twiddle.net>
62884         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62885         dl_hwcap to ifunc resolver.
62886         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62887         elf_ifunc_invoke.
62888         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62889         dl_hwcap to ifunc resolver.
62890         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62892 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62894         [BZ #14153]
62895         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62896         for |x| <= 2**-26, not 2**-57.
62897         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62898         exception.
62900 2012-05-24  Jeff Law  <law@redhat.com>
62902         * stdio-common/Makefile (tests): Add bug25.
62903         * stdio-common/bug25.c: New test.
62905 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62907         [BZ #13576]
62908         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62909         multiple of MALLOC_ALIGNMENT in size.
62910         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62912 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62914         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62915         Require >= 256.
62916         (FILENAME_MAX): Use macro-int-constant.
62917         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62918         (_IOFBF): Use macro-int-constant.
62919         (_IOLBF): Likewise.
62920         (_IONBF): Likewise.
62921         (SEEK_CUR): Likewise.
62922         (SEEK_END): Likewise.
62923         (SEEK_SET): Likewise.
62924         (TMP_MAX): Likewise.
62925         (EOF): Use macro-int-constant.  Require < 0.
62926         (NULL): Use macro-constant.  Require == 0.
62927         (stdin): Require type to be FILE *.
62928         (stdout): Likewise.
62929         (stderr): Likewise.
62930         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62931         macro-int-constant.
62932         (EXIT_SUCCESS): Likewise.
62933         (NULL): Use macro-constant.  Require == 0.
62934         (RAND_MAX): Use macro-int-constant.
62935         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62936         [C99-based standards] (strtof): Require function.
62937         [C99-based standards] (strtold): Likewise.
62938         [C99-based standards] (strtoll): Likewise.
62939         [C99-based standards] (strtoull): Likewise.
62940         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62941         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62942         [ISO || ISO99 || ISO11] (math.h): Likewise.
62943         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62944         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62947 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62949         [BZ #14132]
62950         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62951         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62952         * intl/dgettext.c (DCGETTEXT): Likewise.
62953         * intl/gettext.c (DCGETTEXT): Likewise.
62954         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62955         * posix/regex_internal.h (gettext): Likewise.
62956         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62957         Remove declaration.
62958         * include/argz.h (__argz_count_internal)
62959         (__argz_stringify_internal): Remove declaration.
62960         (__argz_count, __argz_stringify): Declare hidden proto.
62961         * intl/dcgettext.c: Remove use of INTDEF.
62962         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62963         * string/argz-stringify.c: Likewise.
62964         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62965         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62966         Declare hidden proto.
62967         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62968         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62969         Declare hidden proto.
62970         * include/stdio.h (__asprintf_internal): Don't declare.
62971         (__asprintf): Don't define as macro.  Declare hidden proto.
62972         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62973         (__fsetlocking): Declare hidden proto.
62974         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62975         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62976         hidden proto.
62977         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62978         (_IO_setlinebuf): Remove use of INTUSE.
62979         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62980         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62981         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62982         Remove declaration.
62983         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62984         (_IO_do_flush): Remove use of INTUSE.
62985         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62986         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62987         (_IO_adjust_column, _IO_least_wmarker)
62988         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62989         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62990         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62991         (_IO_default_doallocate, _IO_wdefault_doallocate)
62992         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62993         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62994         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62995         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62996         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62997         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62998         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62999         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63000         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63001         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63002         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63003         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63004         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63005         proto.
63006         (_IO_flush_all_internal, _IO_adjust_column_internal)
63007         (_IO_default_uflow_internal, _IO_default_finish_internal)
63008         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63009         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63010         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63011         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63012         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63013         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63014         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63015         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63016         (_IO_file_close_internal, _IO_file_close_it_internal)
63017         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63018         (_IO_file_init_internal, _IO_file_attach_internal)
63019         (_IO_file_fopen_internal, _IO_file_read_internal)
63020         (_IO_file_sync_internal, _IO_file_seek_internal)
63021         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63022         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63023         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63024         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63025         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63026         (_IO_list_all_internal, _IO_link_in_internal)
63027         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63028         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63029         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63030         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63031         (_IO_do_write_internal, _IO_padn_internal)
63032         (_IO_getline_info_internal, _IO_getline_internal)
63033         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63034         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63035         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63036         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63037         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63038         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63039         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63040         with libc_hidden_ver, remove use of INTUSE.
63041         * libio/genops.c: Likewise.
63042         * libio/freopen.c: Likewise.
63043         * libio/freopen64.c: Likewise.
63044         * libio/iofclose.c: Likewise.
63045         * libio/iofdopen.c: Likewise.
63046         * libio/iofflush.c: Likewise.
63047         * libio/iofflush_u.c: Likewise.
63048         * libio/iofgets.c: Likewise.
63049         * libio/iofgets_u.c: Likewise.
63050         * libio/iofopen.c: Likewise.
63051         * libio/iofopncook.c: Likewise.
63052         * libio/iofread.c: Likewise.
63053         * libio/iofread_u.c: Likewise.
63054         * libio/ioftell.c: Likewise.
63055         * libio/iofwrite.c: Likewise.
63056         * libio/iogetline.c: Likewise.
63057         * libio/iogets.c: Likewise.
63058         * libio/iogetwline.c: Likewise.
63059         * libio/iopadn.c: Likewise.
63060         * libio/iopopen.c: Likewise.
63061         * libio/ioseekoff.c: Likewise.
63062         * libio/ioseekpos.c: Likewise.
63063         * libio/iosetbuffer.c: Likewise.
63064         * libio/iosetvbuf.c: Likewise.
63065         * libio/ioungetc.c: Likewise.
63066         * libio/ioungetwc.c: Likewise.
63067         * libio/iovdprintf.c: Likewise.
63068         * libio/iovsprintf.c: Likewise.
63069         * libio/iovsscanf.c: Likewise.
63070         * libio/memstream.c: Likewise.
63071         * libio/obprintf.c: Likewise.
63072         * libio/oldfileops.c: Likewise.
63073         * libio/oldiofclose.c: Likewise.
63074         * libio/oldiofdopen.c: Likewise.
63075         * libio/oldiofopen.c: Likewise.
63076         * libio/oldiopopen.c: Likewise.
63077         * libio/oldstdfiles.c: Likewise.
63078         * libio/putc.c: Likewise.
63079         * libio/setbuf.c: Likewise.
63080         * libio/setlinebuf.c: Likewise.
63081         * libio/stdfiles.c: Likewise.
63082         * libio/strops.c: Likewise.
63083         * libio/vasprintf.c: Likewise.
63084         * libio/vscanf.c: Likewise.
63085         * libio/vsnprintf.c: Likewise.
63086         * libio/vswprintf.c: Likewise.
63087         * libio/wfiledoalloc.c: Likewise.
63088         * libio/wfileops.c: Likewise.
63089         * libio/wgenops.c: Likewise.
63090         * libio/wmemstream.c: Likewise.
63091         * libio/wstrops.c: Likewise.
63092         * libio/__fpurge.c: Likewise.
63093         * libio/__fsetlocking.c: Likewise.
63094         * assert/assert.c: Likewise.
63095         * debug/fgets_chk.c: Likewise.
63096         * debug/fgets_u_chk.c: Likewise.
63097         * debug/fread_chk.c: Likewise.
63098         * debug/fread_u_chk.c: Likewise.
63099         * debug/gets_chk.c: Likewise.
63100         * debug/obprintf_chk.c: Likewise.
63101         * debug/vasprintf_chk.c: Likewise.
63102         * debug/vdprintf_chk.c: Likewise.
63103         * debug/vsnprintf_chk.c: Likewise.
63104         * debug/vsprintf_chk.c: Likewise.
63105         * malloc/mtrace.c: Likewise.
63106         * misc/error.c: Likewise.
63107         * misc/syslog.c: Likewise.
63108         * stdio-common/asprintf.c: Likewise.
63109         * stdio-common/fxprintf.c: Likewise.
63110         * stdio-common/getw.c: Likewise.
63111         * stdio-common/isoc99_fscanf.c: Likewise.
63112         * stdio-common/isoc99_scanf.c: Likewise.
63113         * stdio-common/isoc99_vfscanf.c: Likewise.
63114         * stdio-common/isoc99_vscanf.c: Likewise.
63115         * stdio-common/isoc99_vsscanf.c: Likewise.
63116         * stdio-common/printf-prs.c: Likewise.
63117         * stdio-common/printf_fp.c: Likewise.
63118         * stdio-common/printf_fphex.c: Likewise.
63119         * stdio-common/printf_size.c: Likewise.
63120         * stdio-common/putw.c: Likewise.
63121         * stdio-common/scanf.c: Likewise.
63122         * stdio-common/sprintf.c: Likewise.
63123         * stdio-common/tmpfile.c: Likewise.
63124         * stdio-common/vfprintf.c: Likewise.
63125         * stdio-common/vfscanf.c: Likewise.
63126         * stdlib/strfmon_l.c: Likewise.
63127         * sunrpc/openchild.c: Likewise.
63128         * sunrpc/xdr_stdio.c: Likewise.
63129         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63130         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63132 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63134         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63136         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63137         in the third column, to generate for the shared library an IFUNC
63138         that uses _dl_vdso_vsym.
63139         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63140         * Makeconfig (object-suffixes-noshared): New variable.
63142         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63143         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63144         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63145         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63147         [BZ #14132]
63148         * include/sys/time.h (__gettimeofday): Remove macro.
63149         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63150         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63151         Remove INTDEF.
63152         (__gettimeofday): Add libc_hidden_def.
63153         (gettimeofday): Add libc_hidden_weak.
63154         * sysdeps/mach/gettimeofday.c: Likewise.
63155         * sysdeps/posix/gettimeofday.c: Likewise.
63156         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63157         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63158         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63159         (__gettimeofday_internal): Remove strong_alias.
63160         (__gettimeofday): Add libc_hidden_def.
63161         (gettimeofday): Add libc_hidden_weak.
63162         * sysdeps/unix/syscalls.list (gettimeofday):
63163         Remove __gettimeofday_internal alias.
63165 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63166             H.J. Lu  <hongjiu.lu@intel.com>
63168         [BZ #12495]
63169         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63170         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63171         (largebin_index_32_big): New.
63172         (largebin_index): Use it for 16-byte alignment.
63173         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63174         correction with front_misalign.
63176 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63180         Likewise.
63181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63182         Likewise.
63183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63184         Likewise.
63185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63186         Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63188         Likewise.
63189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63190         Likewise.
63191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63192         Likewise.
63193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63194         Likewise.
63195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63196         Likewise.
63197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63198         Likewise.
63199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63200         Likewise.
63201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63202         Likewise.
63204         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63205         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63207 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63209         [BZ #10846]
63210         [BZ #14036]
63211         * math/libm-test.inc (exp_test): Add test from bug 14036.
63212         (pow_test): Add test from bug 10846.
63214         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63215         and other flags.
63216         (special_function): Do not include flags in test name.
63217         (parse_args): Likewise.
63218         * sysdeps/i386/fpu/libm-test-ulps: Update.
63219         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63220         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63221         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63224         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63225         exceptions.
63226         * math/libm-test.inc ("Philosophy"): Update comment about
63227         exception testing.
63228         (UNDERFLOW_EXCEPTION): New macro.
63229         (UNDERFLOW_EXCEPTION_OK): Likewise.
63230         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63231         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63232         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63233         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63234         (INVALID_EXCEPTION_OK): Update value.
63235         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63236         (OVERFLOW_EXCEPTION_OK): Likewise.
63237         (IGNORE_ZERO_INF_SIGN): Likewise.
63238         (test_exceptions): Handle underflow exceptions.
63239         (acos_test): Update for underflow exception expectations.
63240         (cexp_test): Likewise.
63241         (clog_test): Likewise.
63242         (clog10_test): Likewise.
63243         (csqrt_test): Likewise.
63244         (ctan_test): Likewise.
63245         (ctanh_test): Likewise.
63246         (exp_test): Likewise.
63247         (exp10_test): Likewise.
63248         (exp2_test): Likewise.
63249         (expm1_test): Likewise.
63250         (fma_test): Likewise.
63251         (j0_test): Likewise.
63252         (jn_test): Likewise.
63253         (nexttoward_test): Likewise.
63254         (pow_test): Likewise.
63255         (scalbn_test): Likewise.
63256         (scalbln_test): Likewise.
63257         (tan_test): Likewise.
63258         (y1_test): Likewise.
63259         * sysdeps/i386/fpu/libm-test-ulps: Update.
63260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63262 2012-05-23  David S. Miller  <davem@davemloft.net>
63264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63265         (__libc_sigaction): Remove unused local variables.
63267 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63269         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63271 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63273         mktime: avoid signed integer overflow
63274         * time/mktime.c (__mktime_internal): Do not mishandle the case
63275         where diff == INT_MIN.
63277         mktime: simplify computation of average
63278         * time/mktime.c (ranged_convert): Use new time_t_avg function
63279         instead of rolling our own (probably-slower) code.
63281         mktime: do not assume signed right shift propagates sign bit
63282         * time/mktime.c (isdst_differ): New static function.
63283         (__mktime_internal): No need to normalize tm_isdst now.
63284         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63285         tm_isdst values.
63287         mktime: merge another wrapv change from gnulib
63288         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63289         from some compilers.
63291         mktime: remove incorrect attempt at unusual arithmetics
63292         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63293         The code didn't really work on such machines anyway.
63294         (TYPE_MINIMUM): Assume two's complement.
63295         (twos_complement_arithmetic): Verify that long_int and time_t
63296         are two's complement (or unsigned, in the latter case).
63298         mktime: check signed shifts on long_int and time_t, too
63299         * time/mktime.c (SHR): Check that shifts work as desired
63300         on the types long_int and time_t too, as SHR is used on
63301         such types.
63303         mktime: do not assume 'long' is wide enough
63304         * time/mktime.c (verify): Move decl up.
63305         (long_int): New type.
63306         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63307         to remove assumption in the code that 'long' is wide enough to
63308         store year values.  This assumption is not true on x32 and on
63309         some non-glibc platforms.
63311         mktime: merge wrapv change from gnulib
63312         * time/mktime.c (WRAPV): New macro.
63313         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63314         (guess_time_tm, __mktime_internal): Do not assume that signed
63315         integer overflow wraps around; modern compilers generate code
63316         where this assumption is no longer valid.
63318 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63320         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63321         Replace "jmp L(pseudo_end)" with "ret".
63322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63323         Likewise.
63325 2012-05-23  Andreas Jaeger  <aj@suse.de>
63327         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63328         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63330 2012-05-23  Andreas Jaeger  <aj@suse.de>
63331             Maximilian Attems  <max@stro.at>
63333         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63334         New macros.
63336 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63339         code so that pseudo_end is just ret and the stack pointer is
63340         correct also for static library in error case.
63342 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63344         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63345         move to syscalls.list.
63346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63351         * manual/install.texi (Running make install): Do not mention Linux
63352         kernel version for which pt_chown is not needed.
63353         (Linux): Do not mention problems with nscd with 2.0 kernels.
63354         * INSTALL: Regenerated.
63356 2012-05-23  Andreas Jaeger  <aj@suse.de>
63358         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63359         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63360         macro.
63361         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63363         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63365         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63366         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63367         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63368         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63369         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63370         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63371         * sysdeps/unix/sysv/linux/bits/in.h
63372         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63374 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63376         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63377         (PREPARE_VERSION): Just use assert instead, it will be elided
63378         under [NDEBUG] anyway.
63380 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63382         * sysdeps/unix/sysv/linux/Makefile: Include
63383         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63384         (sysdep_routines): Remove sysctl.
63385         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63386         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63387         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63388         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63389         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63391 2012-05-22  Andreas Jaeger  <aj@suse.de>
63393         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63394         that pseudo_end is just ret and the stack pointer is correct also
63395         for static library in error case.
63397 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63399         [BZ #14122]
63400         * nss/nsswitch.c (defconfig_entries): New variable.
63401         (__nss_database_lookup): Don't leak defconfig entries.
63402         (nss_parse_service_list): Don't leak on error paths.
63403         (free_database_entries): New function.
63404         (free_defconfig): New function.
63405         (free_mem): Move common code to free_database_entries.
63407 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63409         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63410         Add arch_prctl.
63411         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63414         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63416         New macro.
63417         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63418         (INTERNAL_SYSCALL_TYPES): Likewise.
63419         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63420         (LOAD_REGS_TYPES_[1-6]): Likewise.
63421         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63422         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63424 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63427         copysignl for GLIBC_2_0.
63428         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63429         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63431         logbl for GLIBC_2_0.
63432         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63433         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63435 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63437         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63438         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63440         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63441         Use "neg %eax".
63443         * time/mktime.c: Update copyright years.
63445 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63447         mktime: merge comment-quoting-style change from gnulib
63448         * time/mktime.c: Quote 'like this' in comments.
63449         The GNU coding standards suggest that we no longer quote `like this',
63450         as "`" and "'" are typically rendered asymmetrically nowadays.
63451         The typical gnulib style is to quote 'like this' when quoting
63452         code, and "like this" when quoting English.
63454         * time/mktime.c (compile-command): Add "-I.".
63456         mktime: merge mktime-internal.h change from gnulib
63457         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63459         mktime: merge time_r change from gnulib
63460         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63462         mktime: merge DEBUG change from gnulib
63463         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63464         case system <time.h> has a #define.
63466         mktime: merge <sys/types.h> change from gnulib
63467         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63468         since <time.t> is now guaranteed to define time_t.
63470         mktime: merge HAVE_CONFIG_H change from gnulib
63471         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63473 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63476         Use "neg %eax".
63478         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63479         __rlim_t cast.
63480         (struct rusage): Use anonymous union to pad each field to
63481         __syscall_slong_t.
63483 2012-05-21  David S. Miller  <davem@davemloft.net>
63485         * Makefules (o-iterator): Remove .s cases.
63486         (compile-command.s): Delete.
63487         (COMPILE.s): Delete.
63488         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63490 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63492         * configure.in (libc_cv_predef_stack_protector): Only consider
63493         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63494         * configure: Regenerated.
63496 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63498         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63499         New macro.  Use R*LP on int and pointer.
63500         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63501         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63502         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63503         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63505         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63506         [__WORDSIZE_TIME64_COMPAT32] instead of
63507         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63508         (struct utmp): Likewise.
63509         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63510         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63511         Renamed to ...
63512         (__WORDSIZE_TIME64_COMPAT32): This.
63513         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63514         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63515         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63516         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63517         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63518         (__WORDSIZE_TIME64_COMPAT32): New macro.
63520 2012-05-21  Andreas Jaeger  <aj@suse.de>
63522         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63523         only if [SHARED]. Add prototype for __wcschr_ia32.
63525 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63527         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63528         of %rbp unmolested in the jmp_buf while mangling the low bits.
63529         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63530         unmolested high bits of %rbp while demangling the low bits.
63531         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63533 2012-05-21  Andreas Jaeger  <aj@suse.de>
63535         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63536         * sunrpc/svc_simple.c: Use it for registerrpc.
63537         * sunrpc/xcrypt.c: Use it for passwd2des.
63539         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63541 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63543         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63544         Don't define if [__SYSCALL_WORDSIZE != 32].
63545         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63546         New macro.
63548 2012-05-21  Bruno Haible  <bruno@clisp.org>
63549             Andreas Jaeger  <aj@suse.de>
63551         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63552         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63553         inptr and inend for must_buffer_ch.
63554         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63555         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63556         * stdio-common/Makefile (tests): Remove bug15.
63557         (bug15-ENV): Remove macro.
63558         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63559         anymore.
63561 2012-05-19  Andreas Jaeger  <aj@suse.de>
63562             Roland McGrath  <roland@hack.frob.com>
63564         * manual/contrib.texi: Completely rewritten. It contains now an
63565         alphabetical list of contributors and their contributions.
63567 2012-05-21  Richard Henderson  <rth@twiddle.net>
63569         * misc/getauxval.c (__getauxval): Use unsigned long int.
63570         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63571         (getauxval): Use unsigned long int.
63573 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63575         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63577 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63579         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63580         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63581         __alignof__ (long double).
63583 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63587 2012-05-20  Richard Henderson  <rth@twiddle.net>
63589         * misc/getauxval.c: New file.
63590         * misc/sys/auxv.h: New file.
63591         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63592         (routines): Add getauxval.
63593         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63594         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63595         * elf/dl-sysdep.c (_dl_auxv): Remove.
63596         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63597         * elf/dl-support.c (_dl_auxv): New variable.
63598         (_dl_aux_init): Initialize it.
63599         * manual/startup.texi (Auxiliary Vector): New node.
63600         * sysdeps/generic/bits/hwcap.h: New file.
63601         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63602         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63603         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63604         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63605         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63606         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63608         Update.
63609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63612         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63618 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63622 2012-05-19  David S. Miller  <davem@davemloft.net>
63624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63626 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63628         [BZ #14123]
63629         * math/s_ccosh.c: Include <float.h>
63630         (__ccosh): Avoid internal overflow calculating sinh and cosh
63631         values before multiplying by sin and cos values.
63632         * math/s_ccoshf.c: Likewise.
63633         * math/s_ccoshl.c: Likewise.
63634         * math/s_csin.c: Likewise.
63635         * math/s_csinf.c: Likewise.
63636         * math/s_csinl.c: Likewise.
63637         * math/s_csinh.c: Likewise.
63638         * math/s_csinhf.c: Likewise.
63639         * math/s_csinhl.c: Likewise.
63640         * math/libm-test.inc (ccos_test): Add more tests.
63641         (ccosh_test): Likewise.
63642         (csin_test): Likewise.
63643         (csinh_test): Likewise.
63644         * sysdeps/i386/fpu/libm-test-ulps: Update.
63645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63647 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63650         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63652         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63654 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63656         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63657         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63658         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63659         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63660         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63661         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63662         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63663         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63664         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63665         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63666         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63667         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63668         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63669         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63670         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63671         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63672         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63673         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63674         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63675         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63676         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63677         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63678         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63679         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63680         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63681         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63682         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63683         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63684         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63685         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63686         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63688 2012-05-18  Andreas Jaeger  <aj@suse.de>
63690         * csu/.gitignore: Delete.
63692 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63694         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63695         (timex): Use __syscall_slong_t.
63697 2012-05-18  Andreas Jaeger  <aj@suse.de>
63698             Carlos O'Donell  <carlos_odonell@mentor.com>
63700         * manual/install.texi (Configuring and compiling): Update
63701         description about files modified in the source directory.
63702         * INSTALL: Regenerated.
63704 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63706         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63707         value.  Use "or" to set return value to -1.
63708         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63709         negate return value.
63711 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63713         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63714         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63715         failure if the compiler has Graphite support disabled.
63716         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63717         Likewise.
63718         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63719         (CFLAGS-memmove.c): Likewise.
63720         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63721         Likewise.
63723 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63725         * sysdeps/x86_64/x32/_itoa.h: New file.
63727         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63728         getdents system call only if kernel and user dirents have the
63729         same d_ino and d_off.
63731         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63732         LLONG_MAX != LONG_MAX.
63733         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63734         (_fitoa_word): Likewise.
63736         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63737         years.
63738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63739         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63740         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63742         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63743         include <bits/wordsize.h>.  Check __x86_64__ instead of
63744         __WORDSIZE.
63745         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63746         if __x86_64__ is defined.  Use anonymous union on fpstate.
63748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63749         anonymous union.
63751 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63753         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63754         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63755         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63756         Refer to _rtld_local_ro instead of _rtld_global_ro.
63757         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63758         Likewise.
63759         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63760         Likewise.
63761         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63762         Likewise.
63763         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63764         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63765         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63767         [BZ #10882]
63768         * sysdeps/powerpc/powerpc32/dl-machine.c
63769         (__elf_machine_runtime_setup) [PROF]: Don't reference
63770         _dl_prof_resolve.
63772 2012-05-18  Andreas Jaeger  <aj@suse.de>
63774         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63775         function only available for GCCs before 3.4 since GCC 3.4
63776         introduced a builtin.
63777         (lrint): Likewise.
63778         (llrintf): Likewise.
63779         (llrint): Likewise.
63780         (fmaxf): Likewise.
63781         (fmax): Likewise.
63782         (fminf): Likewise.
63783         (fmin): Likewise.
63784         (rint): Likewise.
63785         (rintf): Likewise.
63786         (nearbyint): Likewise.
63787         (nearbyintf): Likewise.
63788         (ceil): Likewise.
63789         (ceilf): Likewise.
63790         (floor): Likewise.
63791         (floorf): Likewise.
63793 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63795         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63796         on both fields and cast pointer to __syscall_ulong_t.
63798         * bits/types.h (__fsword_t): New type.
63799         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63800         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63802         (__FSWORD_T_TYPE): Likewise.
63803         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63804         (__FSWORD_T_TYPE): Likewise.
63805         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63806         (__FSWORD_T_TYPE): Likewise.
63807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63808         (__FSWORD_T_TYPE): Likewise.
63809         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63810         __SWORD_TYPE with __fsword_t.
63811         (statfs64): Likewise.
63813 2012-05-17  David S. Miller  <davem@davemloft.net>
63815         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63817 2012-05-17  Andreas Jaeger  <aj@suse.de>
63819         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63820         warning.
63822 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63824         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63826 2012-05-17  Andreas Jaeger  <aj@suse.de>
63828         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63829         when it is used.
63831 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63833         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63835 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63837         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63838         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63840 2012-05-17  Andreas Jaeger  <aj@suse.de>
63841             Carlos O'Donell  <carlos_odonell@mentor.com>
63843         [BZ #14059]
63844         * sysdeps/x86_64/multiarch/init-arch.h
63845         (bit_YMM_Usable): Rename to...
63846         (bit_AVX_Usable): ... this.
63847         (bit_FMA4_Usable): New macro.
63848         (bit_XMM_state): New macro.
63849         (bit_YMM_state): New macro.
63850         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63851         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63852         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63853         (CPUID_OSXSAVE): New macro.
63854         (CPUID_AVX): New macro.
63855         (CPUID_FMA4): New macro.
63856         (index_YMM_Usable): Rename to...
63857         (index_AVX_Usable): ... this.
63858         (HAS_AVX): Use HAS_ARCH_FEATURE.
63859         (HAS_FMA4): Likewise.
63860         (HAS_YMM_USABLE): Remove.
63861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63862         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63863         are present.
63864         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63865         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63866         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63867         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63868         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63870 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63872         * math/libm-test.c: Support platforms without multiple rounding modes.
63873         * math/bug-nextafter.c: Support platforms without FP exceptions.
63874         * math/bug-nexttoward.c: Likewise.
63875         * math/test-fenv.c: Likewise.
63876         * math/test-misc.c: Likewise.
63877         * stdlib/bug-getcontext.c: Likewise.
63879 2012-05-17  Andreas Jaeger  <aj@suse.de>
63881         * manual/examples/search.c (critter_cmp): Change signature to
63882         avoid warnings.
63883         * manual/string.texi (Collation Functions): Likewise.
63885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63887         * bits/types.h: Fold copyright years.
63888         * bits/typesizes.h: Likewise.
63889         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63893         * time/time.h: Likewise.
63895 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63897         [BZ #208]
63898         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63899         in instead of returning them.  Return void.
63900         (__libc_mallinfo): Accumulate over all arenas.
63901         (__malloc_stats): Adjust for change in int_mallinfo interface.
63903 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63905         [BZ #10375]
63906         * configure.in (NM): Add AC_CHECK_TOOL for it.
63907         (libc_extra_cflags): New substituted variable.
63908         Check for -fstack-protector being used implicitly.
63909         * configure: Regenerated.
63910         * config.make.in (config-extra-cflags): New variable,
63911         gets @libc_extra_cflags@.
63912         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63914         [BZ #10375]
63915         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63916         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63917         * configure: Regenerated.
63918         * config.make.in (CPPUNDEFS): New substituted variable.
63919         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63920         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63921         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63925         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63926         (mq_attr): Use __syscall_slong_t.
63928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63930         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63931         Check __x86_64__ instead of __WORDSIZE.
63932         (_STAT_VER_LINUX): Likewise.
63933         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63934         __syscall_ulong_t and __syscall_slong_t.
63935         (stat64): Likewise.
63937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63939         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63941 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63943         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63947         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63948         __syscall_ulong_t.
63950         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63951         include <bits/wordsize.h>.  Check __x86_64__ instead of
63952         __WORDSIZE.
63953         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63954         defined.
63955         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63958         include <bits/wordsize.h>.  Check __x86_64__ instead of
63959         __WORDSIZE.
63960         (user_regs_struct): Use "__extension__ unsigned long long"
63961         instead of "unsigned long" if __x86_64__ is defined.
63962         (user): Likewise.  Pad after pointer field if __ILP32__ is
63963         defined.
63965 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63967         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63968         versions 5 to 9.
63969         * configure: Regenerated.
63970         * manual/install.texi (texinfo): Increase version requirement to
63971         4.5 or later.
63972         * INSTALL: Regenerated.
63974         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63978         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63980         * sysdeps/x86_64/x32/ffs.c: New file.
63982         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63983         __syscall_ulong_t.
63984         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63985         defined.  Use __syscall_ulong_t.
63986         (shminfo): Use __syscall_ulong_t.
63987         (shm_info): Likewise.
63989         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63990         __syscall_ulong_t.
63992         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63993         <bits/wordsize.h>.
63994         (msgqnum_t): Use __syscall_ulong_t.
63995         (msglen_t): Likewise.
63996         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63997         __syscall_ulong_t.
63999         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64000         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64002         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64004         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64005         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64007         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64008         __syscall_slong_t.
64010         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64011         include <bits/wordsize.h>.  Check __x86_64__ instead of
64012         __WORDSIZE.
64014         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64015         "unsigned long long int" if __x86_64__ is defined.
64016         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64018         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64019         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64020         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64022         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64023         <stdint.h>.
64024         (GET_PC): Cast to uintptr_t first.
64025         (GET_FRAME): Likewise.
64026         (GET_STACK): Likewise.
64028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64029         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64031         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64033         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64034         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64035         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64036         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64038         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64039         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64040         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64041         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64042         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64044         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64045         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64046         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64047         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64048         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64050         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64052         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64054         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64056         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64058 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64060         * Makerules (+depfiles): Also collect depfiles from .oS in
64061         $(extra-objs).
64062         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64063         .oS, $(libnldbl-routines)).
64065         * Makerules (native-compile-mkdep-flags): Define.
64066         * sunrpc/Makefile (extra-objs): Add $(addprefix
64067         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64068         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64069         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64070         calling $(make-target-directory).
64072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64074         * bits/types.h (__snseconds_t): Removed.
64075         * time/time.h (struct timespec): Replace __snseconds_t with
64076         __syscall_slong_t.
64077         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64078         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64079         Likewise.
64080         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64081         (__SNSECONDS_T_TYPE): Likewise.
64082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64083         (__SNSECONDS_T_TYPE): Likewise.
64084         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64085         (__SNSECONDS_T_TYPE): Likewise.
64087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64089         * sysdeps/mach/hurd/bits/typesizes.h
64090         (__SYSCALL_SLONG_TYPE): New macro.
64091         (__SYSCALL_ULONG_TYPE): Likewise.
64093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64095         * bits/types.h (__syscall_slong_t): New type.
64096         (__syscall_ulong_t): Likewise.
64098         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64099         (__SYSCALL_ULONG_TYPE): Likewise.
64100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64101         (__SYSCALL_SLONG_TYPE): Likewise.
64102         (__SYSCALL_ULONG_TYPE): Likewise.
64103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64104         (__SYSCALL_SLONG_TYPE): Likewise.
64105         (__SYSCALL_ULONG_TYPE): Likewise.
64106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64107         (__SYSCALL_SLONG_TYPE): Likewise.
64108         (__SYSCALL_ULONG_TYPE): Likewise.
64110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64112         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64113         Add sigaltstack-offsets.sym.
64114         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64115         <sigaltstack-offsets.h>.
64116         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64117         longjmp_msg pointer.
64118         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64119         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64120         signal stack.
64121         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64123 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64125         * elf/stackguard-macros.h: Remove file.
64126         * sysdeps/generic/stackguard-macros.h: New file.
64127         * sysdeps/i386/stackguard-macros.h: Likewise.
64128         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64129         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64130         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64131         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64132         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64133         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64134         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64135         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64136         <elf/stackguard-macros.h>.
64138         [BZ #14109]
64139         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64140         __aligned__ in attribute.
64141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64142         (gregset_t): Likewise.
64144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64146         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64147         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64148         * sysdeps/x86_64/x32/Implies-after: New file.
64150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64152         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64153         and access return value for _dl_profile_fixup.  Use R10_LP to
64154         load frame size.
64156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64158         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64162         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64163         * sysdeps/x86_64/x32/sysdep.h: New file.
64165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64167         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64168         * sysdeps/x86_64/setjmp.S: Likewise.
64170 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64172         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64173         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64174         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64176         remove unused global constant.
64178 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64180         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64181         include of <not-cancel.h>.
64183 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64185         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64187 2012-05-15  Jeff Law  <law@redhat.com>
64188             Andreas Jaeger  <aj@suse.de>
64190         [BZ #13594]
64191         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64192         out from...
64193         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64194         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64195         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64196         code changing __hst_map_handle.map.
64198 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64200         * configure.in (sysnames): Look for Implies-before and Implies-after
64201         files.
64202         * configure: Regenerated.
64204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64206         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64207         8-byte data alignment with LP_SIZE alignment.
64209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64212         into R10_LP.
64214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64216         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64221         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64223         Likewise.
64224         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64228         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64229         (stackinfo_sub_sp): Likewise.
64231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64233         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64234         RAX_LP.
64236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64239         into R*_LP.
64241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64243         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64244         sizes into R*_LP.
64246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64248         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64252         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64253         into R11_LP and load __x86_64_shared_cache_size_half into
64254         R8_LP.
64256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64258         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64259         R8_LP.
64261 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64264         logb for POWER7.
64265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64266         logbf for POWER7.
64267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64268         logbl for POWER7.
64269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64270         powerpc32/power7/fpu/s_logb.c via #include.
64271         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64272         powerpc32/power7/fpu/s_logbf.c via #include.
64273         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64274         powerpc32/power7/fpu/s_logbl.c via #include.
64276 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64278         * README.libm: Remove file.
64280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64282         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64283         count for x32.  Use R*_LP and omit operand-size suffix.
64285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64287         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64288         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64289         * sysdeps/x86_64/x32/shlib-versions: New file.
64291 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64293         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64294         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64295         Use _dl_fatal_printf instead.
64297 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64299         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64300         set if not set by the user.  Do not allow for being unset.
64301         * sysdeps/unix/sysv/linux/configure: Regenerated.
64303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64305         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64306         the `q' suffix from lea and replace .quad with ASM_ADDR.
64308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64311         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64312         instead of $17.
64313         (PTR_DEMANGLE): Likewise.
64315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64317         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64318         (LP_OP): Likewise.
64319         (ASM_ADDR): Likewise.
64320         (RAX_LP): Likewise.
64321         (RBP_LP): Likewise.
64322         (RBX_LP): Likewise.
64323         (RCX_LP): Likewise.
64324         (RDI_LP): Likewise.
64325         (RSI_LP): Likewise.
64326         (RSP_LP): Likewise.
64327         (R8_LP): Likewise.
64328         (R9_LP): Likewise.
64329         (R10_LP): Likewise.
64330         (R10_LP): Likewise.
64331         (R11_LP): Likewise.
64332         (R12_LP): Likewise.
64333         (R13_LP): Likewise.
64334         (R14_LP): Likewise.
64335         (R15_LP): Likewise.
64337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64339         * sysdeps/x86_64/x32/dl-machine.h: New file.
64341 2012-05-14  Andreas Jaeger  <aj@suse.de>
64343         * manual/Makefile (subdir): Remove export of subdir.
64344         (all): Remove target.
64345         (.PHONY): Remove all from list.
64346         (mkinstalldirs): Remove.
64347         (.PHONY): Remove installdirs from list.
64348         ($(inst_infodir)/libc.info): Use make-target-directory.
64349         (installdirs): Remove.
64350         (subdir_%): Remove.
64351         (glibc-targets): Remove.
64352         (lib): Remove.
64353         (stubs): Remove.
64354         ($(objpfx)stubs ../po/manual.pot): Remove.
64355         ($(objpfx)stamp%): Remove.
64356         (make-target-directory): Remove.
64357         (subdir_install): Remove.
64358         (routines): Remove.
64359         (aux): Remove.
64360         (sources): Remove.
64361         (objects): Remove.
64362         (headers): Remove.
64364         [BZ #13750]
64365         * manual/.gitignore: Remove, it's not needed anymore.
64366         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64367         all files in it.
64368         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64369         directory.
64370         (texis): Renamed to $(objpfx)texis.
64371         (texis-path): New, contains path to generated files.
64372         (chapters.%): Use texis-path for complete path, add extra argument
64373         libc-texinfo.sh.
64374         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64375         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64376         (summary,texi, stamp-summary): Use complete path of
64377         files. Generate files in build dir.
64378         (dir-add.texi): Build in build dir.
64379         (libm-err.texi,stamp-libm-err): Likewise.
64380         (version.texi, stamp-version): Likewise.
64381         (.%c.texi): Likewise.
64382         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64383         (mostlyclean): Remove target.
64384         (realclean): Remove target.
64385         (generated): Add new variable with contents from mostlyclean and
64386         realclean, remove entries duplicated in common-mostlyclean, add
64387         stamp-libm-err and stamp-version.
64388         (generated-dirs): Add libc directory.
64389         ($(inst_infodir)/libc.info): Install files from build dir.
64391         * manual/install.texi (Configuring and compiling): Adjust since
64392         the info files are not part of the tar ball anymore.
64394 2012-05-14  Andreas Jaeger  <aj@suse.de>
64396         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64397         variable.
64399 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64401         [BZ #13717]
64402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64403         to 2.2.0 where earlier.
64404         * sysdeps/unix/sysv/linux/configure: Regenerated.
64405         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64406         Remove conditional code.
64407         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64408         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64409         Remove conditional code.
64410         [!__NR_lchown]: Likewise.
64411         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64412         [__NR_lchown]: Likewise.
64413         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64414         comment referencing __ASSUME_LCHOWN_SYSCALL.
64415         * sysdeps/unix/sysv/linux/i386/sigaction.c
64416         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64417         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64418         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64419         Remove conditional code.
64420         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64421         (__protocol_available): Remove #if 0 code.
64422         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64423         conditional code.
64424         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64425         * sysdeps/unix/sysv/linux/kernel-features.h
64426         (__ASSUME_GETCWD_SYSCALL): Don't define.
64427         (__ASSUME_REALTIME_SIGNALS): Likewise.
64428         (__ASSUME_PREAD_SYSCALL): Likewise.
64429         (__ASSUME_PWRITE_SYSCALL): Likewise.
64430         (__ASSUME_POLL_SYSCALL): Likewise.
64431         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64432         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64433         non-SPARC.
64434         (__ASSUME_SIOCGIFNAME): Don't define.
64435         (__ASSUME_MSG_NOSIGNAL): Likewise.
64436         (__ASSUME_SENDFILE): Define unconditionally.
64437         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64438         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64439         conditional code.
64440         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64441         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64442         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64443         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64444         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64445         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64446         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64448         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64451         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64454         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64457         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64460         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64461         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64463         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64466         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64467         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64469         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64471         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64472         Remove conditional code.
64473         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64474         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64475         Remove conditional code.
64476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64477         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64478         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64479         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64480         Remove conditional code.
64481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64482         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64483         Remove conditional code.
64484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64485         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64486         Remove conditional code.
64487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64488         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64489         Remove conditional code.
64490         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64491         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64492         Remove conditional code.
64493         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64494         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64495         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64496         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64497         * sysdeps/unix/sysv/linux/sigaction.c
64498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64500         * sysdeps/unix/sysv/linux/sigpending.c
64501         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64502         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64503         * sysdeps/unix/sysv/linux/sigprocmask.c
64504         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64505         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64506         * sysdeps/unix/sysv/linux/sigsuspend.c
64507         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64508         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64509         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64510         (__libc_missing_rt_sigs): Remove.
64511         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64512         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64513         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64514         Remove conditional code.
64515         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64516         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64517         return 1.
64518         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64519         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64520         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64521         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64523 2012-05-14  Andreas Jaeger  <aj@suse.de>
64525         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64526         it's not used in glibc.
64527         (__coshm1): Likewise.
64528         (__acosh1p): Likewise.
64529         (__sgn): Likewise.
64531         * manual/string.texi (Copying and Concatenation): Add missing
64532         variable in concat example.
64533         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64537         [BZ #14103]
64538         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64539         __builtin_clzl with __builtin_clzll.
64541 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64543         [BZ #14104]
64544         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64545         libc_freeres_ptr.
64547 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64549         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64550         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64551         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64552         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64554 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64556         * NEWS: Update ia64 info.
64558 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64560         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64561         used as bcopy.
64563 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64565         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64566         * sysdeps/unix/syscalls.list (dup3): Likewise.
64567         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64568         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64570 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64572         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64573         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64575 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64577         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64578         thread pointer.
64579         (TLS_IE): Use mov/add instead of movq/addq to load thread
64580         pointer.
64581         (TLS_GD_PREFIX): New.
64582         (TLS_GD): Use it.
64584 2012-05-11  David S. Miller  <davem@davemloft.net>
64586         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64587         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64588         (_FPU_SETCW): Likewise.
64590 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64592         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64593         is 32-byte aligned.
64595 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64597         [BZ #11837]
64598         * iconvdata/gb18030.c: Update tables.
64599         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64600         characters specially.
64601         (BODY for TO_LOOP): Add encoding of missing ranges.
64603 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64605         [BZ #13673]
64606         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64607         * sysdeps/mach/hurd/dup3.c: Likewise.
64608         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64609         * sysdeps/powerpc/memmove.c:: Likewise.
64611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64614         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64616 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64618         * elf/elf.h (R_X86_64_RELATIVE64): New.
64619         (R_X86_64_NUM): Updated.
64620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64621         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64622         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64623         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64624         tst-quad1pie tst-quad2pie
64625         (modules-names): Add tst-quadmod1 tst-quadmod2.
64626         ($(objpfx)tst-quad1): New dependency.
64627         ($(objpfx)tst-quad2): Likewise.
64628         ($(objpfx)tst-quad1pie): Likewise.
64629         ($(objpfx)tst-quad2pie): Likewise.
64630         * sysdeps/x86_64/tst-quad1.c: New file.
64631         * sysdeps/x86_64/tst-quad1pie.c: New file.
64632         * sysdeps/x86_64/tst-quad2.c: Likewise.
64633         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64634         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64635         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64636         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64637         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64641         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64642         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64643         * streams/stropts.h (t_scalar_t): Define type.
64645         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64646         (_PATH_PRESERVE): Set to "/var/lib".
64647         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64649         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64650         instead of int.
64652         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64653         if __dir_mkfile succeeded.
64655         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64656         checking for _hurd_dtablesize.  Unlock it right after having
64657         finished _hurd_dtable allocation.
64659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64661         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64662         * sysdeps/mach/hurd/configure: Regenerated.
64663         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64664         special-casing to...
64665         * sysdeps/gnu/configure.in: ... this new file.
64666         * sysdeps/unix/sysv/linux/configure: Regenerated.
64667         * sysdeps/gnu/configure: New generated file.
64669         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64670         for Linux: use nsec instead of usec, as well as:
64671         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64672         members of type struct timespec.
64673         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64674         New macros.
64675         (struct stat64): Likewise.
64676         (_STATBUF_ST_NSEC): New macro.
64677         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64679         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64680         __strtoul_internal rather than strtoul.
64682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64684         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64685         and reject them.
64687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64689         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64690         which preserves existing values.
64691         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64695         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64696         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64697         greater than FD_SETSIZE.
64699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64701         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64702         allocated, call __vm_protect to finish enabling the existing space, and
64703         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64704         allocate the remainder.
64706 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64708         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64709         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64711 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64713         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64714         sysdeps/mach/hurd/readlink.c.
64716         * posix/tst-sysconf.c (posix_options): Only use
64717         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64718         _POSIX_SYNCHRONIZED_IO when they are defined
64719         * sysdeps/mach/hurd/bits/posix_opt.h:
64720         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64721         (_XOPEN_REALTIME): Undefine macro.
64722         (_XOPEN_REALTIME_THREADS): Undefine macro.
64723         (_XOPEN_SHM): Undefine macro.
64724         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64725         macro to -1.
64726         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64727         macro to -1.
64728         (_POSIX_ASYNC_IO): Undefine macro.
64729         (_POSIX_PRIORITIZED_IO): Undefine macro.
64730         (_POSIX_SPIN_LOCKS): Define macro to -1.
64732         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64733         SA_NODEFER, SA_RESETHAND.
64734         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64735         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64736         F_DUPFD_CLOEXEC.
64738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64740         * elf/Makefile (pldd-modules): Define unconditionally.
64742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64744         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64748         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64749         Return ENOENT when name is empty.
64750         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64754         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64756         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64760         Fix mlock in all cases except non-readable pages.
64761         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64762         instead of VM_PROT_ALL as parameter to __vm_wire function.
64764         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64765         (__mkdir): When path is `/', just fail with EEXIST.
64766         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64770         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64771         <sys/uio.h> (for writev).
64772         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64773         and <sys/param.h> (for MIN).
64775 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64777         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64778         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64779         if interrupted.
64781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64783         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64784         Depend on against $(link-rpcuserlibs).
64786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64788         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64789         (__libc_stack_end): Do not use attribute_relro.
64790         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64791         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64792         to libthread-provided value.
64793         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64794         attribute_relro.
64796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64798         [BZ #3748]
64799         * bits/libc-lock.h (__libc_once_get): New macro.
64800         * sysdeps/mach/bits/libc-lock.h: Likewise.
64801         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64802         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64803         instead of using implementation details.
64805         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64806         * libio/freopen.c: Likewise.
64807         * libio/freopen64.c: Likewise.
64808         * misc/syslog.c: Likewise.
64809         * nscd/connections.c: Likewise.
64810         * nscd/netgroupcache.c: Likewise.
64811         * sysdeps/posix/getcwd.c: Likewise.
64813 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64815         * math/w_ilogbf.c: Add #include <limits.h>.
64817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64819         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64820         path instead of returning without unlocking.
64822         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64823         immediate-write ioctls.
64824         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64828         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64829         __builtin_frame_address instead of making assumptions about the
64830         location of the return address relative to DATA.  Force early load of
64831         the return address.
64832         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64833         __builtin_frame_address.
64835         dup3 for GNU Hurd.
64836         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64837         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64838         implement dup3 and do some further code clean-ups.
64839         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64840         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64844         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64846         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64847         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64848         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64849         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64850         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64851         d->port.lock.
64853         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64854         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64855         when handler == SIG_ERR, not when handler != SIG_ERR.
64857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64859         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64860         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64861         definitions.
64863         accept4 for GNU Hurd.
64864         * include/sys/socket.h (__libc_accept4): New prototype.
64865         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64866         to implement __libc_accept4.
64867         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64868         __libc_accept4.
64869         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64871         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64872         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64873         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64874         signal-defines.sym.
64876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64878         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64882         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64883         assertion on O_CLOEXEC flag.
64884         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64885         * hurd/intern-fd.c: Likewise.
64886         * hurd/port2fd.c: Likewise.
64888 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64890         [BZ #3906]
64891         * bits/in.h (IPV6_PKTINFO): Define new macro.
64892         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64894 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64896         [BZ #13954]
64897         [BZ #13955]
64898         [BZ #13956]
64899         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64901         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64902         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64904         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64905         * math/libm-test.inc (logb_test) : Additional logb tests.
64907 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64908             Andreas Jaeger  <aj@suse.de>
64910         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64911         * configure: Regenerated.
64912         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64913         * config.make.in (link-obsolete-rpc): New substituted variable.
64914         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64915         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64916         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64917         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64918         so that libc.a contains the symbols.
64919         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64920         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64921         * sunrpc/auth_none.c: Likewise.
64922         * sunrpc/auth_unix.c: Likewise.
64923         * sunrpc/authdes_prot.c: Likewise.
64924         * sunrpc/authuxprot.c: Likewise.
64925         * sunrpc/clnt_gen.c: Likewise.
64926         * sunrpc/clnt_perr.c: Likewise.
64927         * sunrpc/clnt_raw.c: Likewise.
64928         * sunrpc/clnt_simp.c: Likewise.
64929         * sunrpc/clnt_tcp.c: Likewise.
64930         * sunrpc/clnt_udp.c: Likewise.
64931         * sunrpc/clnt_unix.c: Likewise.
64932         * sunrpc/des_crypt.c: Likewise.
64933         * sunrpc/des_soft.c: Likewise.
64934         * sunrpc/get_myaddr.c: Likewise.
64935         * sunrpc/key_call.c: Likewise.
64936         * sunrpc/key_prot.c: Likewise.
64937         * sunrpc/netname.c: Likewise.
64938         * sunrpc/pm_getmaps.c: Likewise.
64939         * sunrpc/pm_getport.c: Likewise.
64940         * sunrpc/pmap_clnt.c: Likewise.
64941         * sunrpc/pmap_prot.c: Likewise.
64942         * sunrpc/pmap_prot2.c: Likewise.
64943         * sunrpc/pmap_rmt.c: Likewise.
64944         * sunrpc/publickey.c: Likewise.
64945         * sunrpc/rpc_cmsg.c: Likewise.
64946         * sunrpc/rpc_common.c: Likewise.
64947         * sunrpc/rpc_dtable.c: Likewise.
64948         * sunrpc/rpc_prot.c: Likewise.
64949         * sunrpc/rpc_thread.c: Likewise.
64950         * sunrpc/rtime.c: Likewise.
64951         * sunrpc/svc.c: Likewise.
64952         * sunrpc/svc_auth.c: Likewise.
64953         * sunrpc/svc_raw.c: Likewise.
64954         * sunrpc/svc_run.c: Likewise.
64955         * sunrpc/svc_tcp.c: Likewise.
64956         * sunrpc/svc_udp.c: Likewise.
64957         * sunrpc/svc_unix.c: Likewise.
64958         * sunrpc/svcauth_des.c: Likewise.
64959         * sunrpc/xcrypt.c: Likewise.
64960         * sunrpc/xdr.c: Likewise.
64961         * sunrpc/xdr_array.c: Likewise.
64962         * sunrpc/xdr_float.c: Likewise.
64963         * sunrpc/xdr_intXX_t.c: Likewise.
64964         * sunrpc/xdr_mem.c: Likewise.
64965         * sunrpc/xdr_rec.c: Likewise.
64966         * sunrpc/xdr_ref.c: Likewise.
64967         * sunrpc/xdr_sizeof.c: Likewise.
64968         * sunrpc/xdr_stdio.c: Likewise.
64970 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64973         change.  Update copyright years.
64975 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64977         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64979 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64980             Joseph Myers  <joseph@codesourcery.com>
64981             Paul Pluzhnikov  <ppluzhnikov@google.com>
64983         [BZ #14012]
64984         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64985         requiring rpcgen.
64986         [cross-compiling] (extra-libs): Likewise.
64987         [cross-compiling] (extra-libs-others): Likewise.
64988         [cross-compiling] (librpcsvc-routines): Likewise.
64989         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64990         [cross-compiling] (omit-deps): Likewise.
64991         (sunrpc-CPPFLAGS): New variable.
64992         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64993         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64994         (cross-rpcgen-objs): New variable.
64995         (extra-objs): Append $(cross-rpcgen-objs).
64996         ($(cross-rpcgen-objs)): New rule.
64997         ($(objpfx)cross-rpcgen): Likewise.
64998         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64999         comment.
65000         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65001         ($(objpfx)x%.stmp): Likewise.
65002         * sunrpc/proto.h [IS_IN_build] (_): Define.
65003         [IS_IN_build] (_libc_intl_domainname): Likewise.
65005 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65008         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65009         and R_X86_64_TPOFF64.
65011 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65013         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65014         sysdeps/unix/sysv/syscalls.list.
65015         (stime): Likewise.
65016         (utime): Likewise.
65017         * sysdeps/unix/sysv/syscalls.list: Remove file.
65019 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65021         [BZ #3440]
65022         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65023         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65024         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65025         (__LC_IDENTIFICATION): Make these macros useful in #if
65026         expressions, as required by C99.
65028 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65030         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65031         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65032         after this.
65034 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65036         * stdlib/longlong.h: Updated from GCC.
65038 2012-05-09  Andreas Jaeger  <aj@suse.de>
65040         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65041         default is first entry.
65042         (run_mode): Set type.
65043         (main): Remove informal message about syslog.
65044         (options): Fix typo.
65046         [BZ #14053]
65047         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65048         to asm.
65049         (lrint): Likewise.
65050         (llrintf): Likewise.
65051         (llrint): Likewise.
65052         (rint): Likewise.
65053         (rintf): Likewise.
65054         (nearbyint): Likewise.
65055         (nearbyintf): Likewise.
65057 2012-05-09  Andreas Jaeger  <aj@suse.de>
65058             Pedro Alves  <palves@redhat.com>
65060         * nscd/nscd.c (run_mode): Use enum.
65061         (main): Cleanup coding style issue.
65063 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65064             Andreas Jaeger  <aj@suse.de>
65066         * nscd/nscd.c (go_background): Replaced with...
65067         (run_mode): ... this.
65068         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65069         (options): Add -F --foreground.
65070         (main): Implement it.
65071         (parse_opt): Parse it.
65073 2012-05-09  Andreas Jaeger  <aj@suse.de>
65075         [BZ #14083]
65076         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65077         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65078         -Wconversion warning.
65079         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65080         Likewise.
65082 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65084         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65085         == 0.
65086         (LC_ALL): Use macro-int-constant.
65087         (LC_COLLATE): Likewise.
65088         (LC_CTYPE): Likewise.
65089         (LC_MESSAGES): Likewise.
65090         (LC_MONETARY): Likewise.
65091         (LC_NUMERIC): Likewise.
65092         (LC_TIME): Likewise.
65093         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65094         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65095         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65096         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65097         Specify type.
65098         [C99-based standards] (float_t): Expect type.
65099         [C99-based standards] (double_t): Expect type.
65100         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65101         type.
65102         [C99-based standards] (HUGE_VALL): Likewise.
65103         [C99-based standards] (INFINITY): Likewise.
65104         [C99-based standards] (NAN): Likewise.
65105         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65106         [C99-based standards] (FP_NAN): Likewise.
65107         [C99-based standards] (FP_NORMAL): Likewise.
65108         [C99-based standards] (FP_SUBNORMAL): Likewise.
65109         [C99-based standards] (FP_ZERO): Likewise.
65110         [C99-based standards] (FP_FAST_FMA): Use
65111         optional-macro-int-constant.  Specify type.  Require == 1.
65112         [C99-based standards] (FP_FAST_FMAF): Likewise.
65113         [C99-based standards] (FP_FAST_FMAL): Likewise.
65114         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65115         [C99-based standards] (FP_ILOGBNAN): Likewise.
65116         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65117         Specify type.
65118         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65119         [C99-based standards] (math_errhandling): Specify type.
65120         [ISO99 || ISO11] (signgam): Do not allow.
65121         [non-C99-based standards] (copysignf): Do not allow.
65122         [non-C99-based standards] (exp2f): Likewise.
65123         [non-C99-based standards] (log2f): Likewise.
65124         [non-C99-based standards] (modff): Allow.
65125         [non-C99-based standards] (erff): Do not allow.
65126         [non-C99-based standards] (erfcf): Likewise.
65127         [non-C99-based standards] (gammaf): Likewise.
65128         [non-C99-based standards] (hypotf): Likewise.
65129         [non-C99-based standards] (j0f): Likewise.
65130         [non-C99-based standards] (j1f): Likewise.
65131         [non-C99-based standards] (jnf): Likewise.
65132         [non-C99-based standards] (lgammaf): Likewise.
65133         [non-C99-based standards] (tgammaf): Likewise.
65134         [non-C99-based standards] (y0f): Likewise.
65135         [non-C99-based standards] (y1f): Likewise.
65136         [non-C99-based standards] (ynf): Likewise.
65137         [non-C99-based standards] (isnanf): Likewise.
65138         [non-C99-based standards] (acoshf): Likewise.
65139         [non-C99-based standards] (asinhf): Likewise.
65140         [non-C99-based standards] (atanhf): Likewise.
65141         [non-C99-based standards] (cbrtf): Likewise.
65142         [non-C99-based standards] (expm1f): Likewise.
65143         [non-C99-based standards] (ilogbf): Likewise.
65144         [non-C99-based standards] (log1pf): Likewise.
65145         [non-C99-based standards] (logbf): Likewise.
65146         [non-C99-based standards] (nextafterf): Likewise.
65147         [non-C99-based standards] (remainderf): Likewise.
65148         [non-C99-based standards] (rintf): Likewise.
65149         [non-C99-based standards] (scalbf): Likewise.
65150         [non-C99-based standards] (copysignl): Likewise.
65151         [non-C99-based standards] (exp2l): Likewise.
65152         [non-C99-based standards] (log2l): Likewise.
65153         [non-C99-based standards] (modfl): Allow.
65154         [non-C99-based standards] (erfl): Do not allow.
65155         [non-C99-based standards] (erfcl): Likewise.
65156         [non-C99-based standards] (gammal): Likewise.
65157         [non-C99-based standards] (hypotl): Likewise.
65158         [non-C99-based standards] (j0l): Likewise.
65159         [non-C99-based standards] (j1l): Likewise.
65160         [non-C99-based standards] (jnl): Likewise.
65161         [non-C99-based standards] (lgammal): Likewise.
65162         [non-C99-based standards] (tgammal): Likewise.
65163         [non-C99-based standards] (y0l): Likewise.
65164         [non-C99-based standards] (y1l): Likewise.
65165         [non-C99-based standards] (ynl): Likewise.
65166         [non-C99-based standards] (isnanl): Likewise.
65167         [non-C99-based standards] (acoshl): Likewise.
65168         [non-C99-based standards] (asinhl): Likewise.
65169         [non-C99-based standards] (atanhl): Likewise.
65170         [non-C99-based standards] (cbrtl): Likewise.
65171         [non-C99-based standards] (expm1l): Likewise.
65172         [non-C99-based standards] (ilogbl): Likewise.
65173         [non-C99-based standards] (log1pl): Likewise.
65174         [non-C99-based standards] (logbl): Likewise.
65175         [non-C99-based standards] (nextafterl): Likewise.
65176         [non-C99-based standards] (remainderl): Likewise.
65177         [non-C99-based standards] (rintl): Likewise.
65178         [non-C99-based standards] (scalbl): Likewise.
65179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65180         [non-C99-based standards] (FP_*): Do not allow.
65181         [C99-based standards] (FP_*): Change to
65182         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65183         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65184         allow.
65185         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65186         (SIG_ERR): Likewise.
65187         [X/Open-based standards] (SIG_HOLD): Likewise.
65188         (SIG_IGN): Likewise.
65189         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65190         positive value.
65191         (SIGFPE): Likewise.
65192         (SIGILL): Likewise.
65193         (SIGINT): Likewise.
65194         (SIGSEGV): Likewise.
65195         (SIGTER): Likewise.
65196         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65197         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65198         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65199         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65200         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65201         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65202         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65203         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65204         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65206         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65207         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65208         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65209         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65210         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65211         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65212         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65213         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65214         [X/Open-based standards] (SIGTRAP): Likewise.
65215         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65216         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65217         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65218         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65219         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65220         allow.
65222 2012-05-08  Ian Wienand  <ianw@vmware.com>
65224         [BZ #14080]
65225         * time/tzset.c (__tzset_parse_tz): Update default rules for
65226         daylight time changes in the Energy Policy Act of 2005.
65228 2012-05-09  Andreas Jaeger  <aj@suse.de>
65230         [BZ #13983]
65231         * elf/ldconfig.c (parse_conf): Change string to make clear that
65232         ldconfig only issued a warning if ld.so.conf does not exist.
65234 2012-05-08  David S. Miller  <davem@davemloft.net>
65236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65237         movxtod instead of popping the value on the stack.
65239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65241 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65243         * config.h.in: Add HAVE_ARM_PCS_VFP.
65245 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65247         [BZ #13979]
65248         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65249         checking but the checks are disabled for any reason.
65251 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65253         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65254         and ELF64_R_TYPE with ELFW(R_TYPE).
65256 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65258         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65259         (ulimit): Likewise.
65261         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65262         (settimeofday): Likewise.
65264 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65266         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65267         a struct th_u2 inside the union, and move tu_block/tu_code into
65268         a new th_u3 union of tu_block/tu_code inside of that.  Move
65269         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65270         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65271         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65272         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65273         (th_stuff): Change to th_u1.tu_stuff.
65274         (th_data): Define.
65275         (th_msg): Change to th_u1.th_u2.tu_data.
65277 2012-05-07  David S. Miller  <davem@davemloft.net>
65279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65281         [BZ #14074]
65282         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65283         (SETUP_PIC_REG): Use it.
65284         (SETUP_PIC_REG_LEAF): Use it.
65286 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65288         [BZ #13885]
65289         [BZ #13923]
65290         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65291         USE_AS_EXPM1L.
65292         (EXPL_FINITE): Likewise.
65293         (FLDLOG): Likewise.
65294         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65295         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65296         e_expl.S.
65297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65298         USE_AS_EXPM1L.
65299         (EXPL_FINITE): Likewise.
65300         (FLDLOG): Likewise.
65301         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65302         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65303         e_expl.S.
65304         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65305         test of -max_value argument for long double.
65306         * sysdeps/i386/fpu/libm-test-ulps: Update.
65307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65309 2012-05-06  David S. Miller  <davem@davemloft.net>
65311         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65312         quad soft-float symbols whose references which are compiler
65313         generated.
65314         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65316 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65318         [BZ #13884]
65319         [BZ #13914]
65320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65321         USE_AS_EXP10L.
65322         (EXPL_FINITE): Likewise.
65323         (FLDLOG): Likewise.
65324         (c0): Likewise.
65325         (c1): Likewise.
65326         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65327         Adjust comments for base varying.
65328         (__expl_finite): Change alias to EXPL_FINITE.
65329         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65330         e_expl.S.
65331         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65332         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65333         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65334         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65335         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65336         USE_AS_EXP10L.
65337         (EXPL_FINITE): Likewise.
65338         (FLDLOG): Likewise.
65339         (c0): Likewise.
65340         (c1): Likewise.
65341         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65342         Adjust comments for base varying.
65343         (__expl_finite): Change alias to EXPL_FINITE.
65344         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65345         tests for bugs.
65346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65348         [BZ #14064]
65349         * math/libm-test.inc (check_float_internal): Correct ulp
65350         calculation for subnormal expected results.
65352 2012-05-06  Andreas Jaeger  <aj@suse.de>
65354         * Makeconfig (+math-flags): New, set to -frounding-math.
65355         (+cflags): Add +math-flags so that all of glibc gets compiled with
65356         it.
65358         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65360 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65362         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65363         Disable one test.
65365         [BZ #13787]
65366         [BZ #13922]
65367         [BZ #14036]
65368         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65369         (__ieee754_expl): Allow for and saturate large arguments.
65370         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65371         (u_threshold): Likewise.
65372         (__exp): Call __ieee754_exp before checking for overflow and
65373         underflow.
65374         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65375         (u_threshold): Likewise.
65376         (__expf): Call __ieee754_expf before checking for overflow and
65377         underflow.
65378         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65379         (u_threshold): Likewise.
65380         (__expl): Call __ieee754_expl before checking for overflow and
65381         underflow.
65382         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65383         (__ieee754_expl): Allow for and saturate large arguments.
65384         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65385         missing overflow exception on overflow.
65386         (expm1_test): Do not allow missing overflow exception on overflow.
65388         * sysdeps/i386/fpu/e_expl.c: Move to ...
65389         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65390         rather than using inline asm.
65391         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65392         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65393         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65395         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65396         (nice): Likewise.
65397         (poll): Likewise.
65398         (signal): Likewise.
65399         (time): Likewise.
65400         (times): Likewise.
65402 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65404         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65405         sysdeps/unix/common/syscalls.list.
65406         (fchmod): Likewise.
65407         (fchown): Likewise.
65408         (ftruncate): Likewise.
65409         (getrusage): Likewise.
65410         (gettimeofday): Likewise.
65411         (setpgid): Likewise.
65412         (setregid): Likewise.
65413         (setreuid): Likewise.
65414         (sigaction): Likewise.
65415         (truncate): Likewise.
65416         (vhangup): Likewise.
65417         * sysdeps/unix/common/syscalls.list: Remove file.
65418         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65419         * sysdeps/unix/sysv/linux/Implies: Likewise.
65421 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65423         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65425         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65426         Moved to ...
65427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65428         Here.
65429         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65430         to ...
65431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65432         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65433         to ...
65434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65435         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65436         to ...
65437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65438         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65439         to ...
65440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65441         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65442         to ...
65443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65444         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65445         to ...
65446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65447         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65448         to ...
65449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65450         Here.
65451         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65452         to ...
65453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65454         Here.
65455         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65456         to ...
65457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65458         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65459         Moved to ...
65460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65461         Here.
65462         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65463         to ...
65464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65466 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65468         * sysdeps/unix/common/bits/dirent.h: Remove file.
65469         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65471         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65472         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65473         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65474         * sysdeps/unix/bsd/isatty.c: Likewise.
65475         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65476         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65477         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65479 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65481         [BZ #13563]
65482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65483         long double comparison inaccuracies.
65484         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65487 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65489         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65490         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65492 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65494         [BZ #14049]
65495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65496         nonzero digits before rounding a hex value.
65497         * stdlib/tst-strtod.c (tests): Add another test.
65499 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65501         * sysdeps/s390/fpu/libm-test-ulps: Update.
65503 2012-05-03  Andreas Jaeger  <aj@suse.de>
65505         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65506         does not get optimized out.
65507         (malloc_opt_barrier): New.
65509 2012-05-03  Andreas Jaeger  <aj@suse.de>
65510             Roland McGrath  <roland@hack.frob.com>
65512         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65513         intermediate file deletion.
65514         (generated): Add .symlist files.
65516 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65518         [BZ #13775]
65519         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65520         Redirect under this condition.
65521         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65522         [__USE_GNU] (__dprintf_chk): Not under this condition.
65523         [__USE_GNU] (__vdprintf_chk): Likewise.
65524         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65525         under this condition.
65526         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65527         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65528         [__USE_XOPEN2K8] (vdprintf): Likewise.
65529         [__USE_GNU] (__dprintf_chk): Not under this condition.
65530         [__USE_GNU] (__vdprintf_chk): Likewise.
65531         [__USE_GNU] (dprintf): Likewise.
65532         [__USE_GNU] (vdprintf): Likewise.
65534 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65536         * elf/Makefile (common-generated): Set this instead of generated for
65537         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65538         $(all-built-dso)-derived lists.
65540 2012-05-03  Andreas Jaeger  <aj@suse.de>
65542         * sysdeps/i386/fpu/libm-test-ulps: Update.
65544         * FAQ: Removed.
65545         * FAQ.in: Likewise.
65546         * scripts/gen-FAQ.pl: Likewise.
65547         * manual/install.texi (Installation): Point to online location of
65548         FAQ.
65549         * Makefile (files-for-dist): Remove FAQ.
65550         (FAQ): Remove.
65552 2012-05-02  Allan McRae  <allan@archlinux.org>
65554         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65555         (LDFLAGS-reldepmod5.so): Likewise.
65556         (LDFLAGS-reldep6mod1.so): Likewise.
65557         (LDFLAGS-reldep6mod4.so): Likewise.
65558         (LDFLAGS-reldep8mod3.so): Likewise.
65559         (LDFLAGS-unload4mod1.so): Likewise.
65560         (LDFLAGS-unload4mod2.so): Likewise.
65561         (LDFLAGS-tst-initorder): Likewise.
65562         (LDFLAGS-tst-initordera2.so): Likewise.
65563         (LDFLAGS-tst-initordera3.so): Likewise.
65564         (LDFLAGS-tst-initordera4.so): Likewise.
65565         (LDFLAGS-tst-initorderb2.so): Likewise.
65566         (LDFLAGS-noload): Likewise.
65567         (LDFLAGS-next): Likewise.
65568         (LDFLAGS-order2mod1.so): Likewise.
65569         (LDFLAGS-order2mod2.so): Likewise.
65570         (LDFLAGS-tst-initorder2): Likewise.
65571         (LDFLAGS-tst-initorder2a.so): Likewise.
65572         (LDFLAGS-tst-initorder2b.so): Likewise.
65573         (LDFLAGS-tst-initorder2c.so): Likewise.
65574         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65576 2012-05-02  David S. Miller  <davem@davemloft.net>
65578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65580 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65582         [BZ #14055]
65583         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65585 2012-05-02  Andreas Jaeger  <aj@suse.de>
65587         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65588         since we manipulate rounding mode.
65589         (CPPFLAGS-test-idouble.c): Likewise.
65590         (CPPFLAGS-test-ifloat.c): Likewise.
65591         (CFLAGS-test-ldouble.c): Likewise.
65592         (CFLAGS-test-double.c): Likewise.
65593         (CFLAGS-test-float.c): Likewise.
65594         (CFLAGS-test-misc.c): Likewise.
65595         (CFLAGS-test-test-fenv.c): Likewise.
65597 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65599         [BZ #2550]
65600         [BZ #2570]
65601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65602         comparisons to determine direction to adjust input.
65604 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65606         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65607         output to the target.
65609         * scripts/localplt.awk: New file.
65610         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65611         (check-localplt-CFLAGS): Variable removed.
65612         ($(all-built-dso:=.jmprel)): New static pattern rule.
65613         (generated): Add those targets.
65614         (localplt-built-dso): New variable.
65615         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65617         * elf/check-localplt.c: File removed.
65619         * scripts/check-execstack.awk: New file.
65620         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65621         (check-execstack-CFLAGS): Variable removed.
65622         ($(objpfx)check-execstack.h): Target removed.
65623         ($(objpfx)execstack-default): New target.
65624         (generated): Add that instead of check-execstack.h.
65625         ($(all-built-dso:=.phdr)): New static pattern rule.
65626         (generated): Add those targets.
65627         * elf/check-execstack.c: File removed.
65629         * scripts/check-textrel.awk: New file.
65630         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65631         (check-textrel-CFLAGS): Variable removed.
65632         (all-built-dso): Use := to define.o
65633         ($(all-built-dso:=.dyn)): New static pattern rule.
65634         (generated): Add those targets.
65635         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65636         * config.make.in (READELF): New substituted variable.
65637         * elf/check-textrel.c: File removed.
65639 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65641         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65642         allow.
65643         * conform/data/ctype.h-data [C99-based standards] (isblank):
65644         Expect function.
65645         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65646         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65648         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65649         Specify type.  Require positive value.
65650         (EILSEQ): Likewise.
65651         (ERANGE): Likewise.
65652         [ISO || POSIX] (EILSEQ): Do not expect.
65653         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65654         Specify type.  Require positive value.
65655         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65656         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65657         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65658         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65659         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65660         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65661         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65662         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65663         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65664         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65665         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65666         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65667         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65668         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65669         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65670         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65671         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65672         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65673         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65674         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65675         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65676         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65677         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65678         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65679         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65680         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65681         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65682         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65683         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65684         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65685         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65686         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65687         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65688         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65689         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65690         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65691         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65692         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65693         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65694         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65695         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65696         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65697         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65698         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65699         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65700         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65701         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65702         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65703         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65704         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65705         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65706         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65707         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65708         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65709         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65710         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65711         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65712         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65713         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65714         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65715         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65716         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65717         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65718         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65719         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65720         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65721         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65722         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65723         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65724         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65725         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65726         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65727         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65728         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65729         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65730         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65731         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65732         Require >= 2.
65733         (FLT_ROUNDS): Expect as macro, not constant.
65734         (FLT_MANT_DIG): Use macro-int-constant.
65735         (DBL_MANT_DIG): Likewise.
65736         (LDBL_MANT_DIG): Likewise.
65737         (FLT_DIG): Likewise.
65738         (DBL_DIG): Likewise.
65739         (LDBL_DIG): Likewise.
65740         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65741         (DBL_MIN_EXP): Likewise.
65742         (LDBL_MIN_EXP): Likewise.
65743         (FLT_MAX_EXP): Use macro-int-constant.
65744         (DBL_MAX_EXP): Likewise.
65745         (LDBL_MAX_EXP): Likewise.
65746         (FLT_MAX_10_EXP): Likewise.
65747         (DBL_MAX_10_EXP): Likewise.
65748         (LDBL_MAX_10_EXP): Likewise.
65749         (FLT_MAX): Use macro-constant.
65750         (DBL_MAX): Likewise.
65751         (LDBL_MAX): Likewise.
65752         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65753         (DBL_EPSILON): Likewise.
65754         (LDBL_EPSILON): Likewise.
65755         (FLT_MIN): Likewise.
65756         (DBL_MIN): Likewise.
65757         (LDBL_MIN): Likewise.
65758         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65759         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65760         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65761         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65762         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65763         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65764         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65765         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65766         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65767         [ISO11] (FLT_TRUE_MIN): Likewise.
65768         [ISO11] (LDBL_TRUE_MIN): Likewise.
65769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65770         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65771         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65772         (SCHAR_MAX): Likewise.
65773         (UCHAR_MAX): Likewise.
65774         (CHAR_MIN): Likewise.
65775         (CHAR_MAX): Likewise.
65776         (MB_LEN_MAX): Use macro-int-constant.
65777         (SHRT_MIN): Use macro-int-constant.  Specify type.
65778         (SHRT_MAX): Likewise.
65779         (USHRT_MAX): Likewise.
65780         (INT_MAX): Likewise.
65781         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65782         bound negative.
65783         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65784         bound with "U".
65785         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65786         bound with "L".
65787         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65788         bound negative.  Suffix upper bound with "L".
65789         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65790         bound with "UL".
65791         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65792         Specify type.
65793         [C99-based standards] (LLONG_MAX): Likewise.
65794         [C99-based standards] (ULLONG_MAX): Likewise.
65795         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65796         == 0.
65797         [ISO11] (max_align_t): Require type.
65798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65800         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65801         from $CFLAGS, without defining away __attribute__ calls.
65802         (checknamespace): Use $CFLAGS_namespace.
65804         * conform/conformtest.pl (@keywords): Only include C99 keywords
65805         for standards based on C99 or C11.
65807         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65808         Disable tests.
65809         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65810         UNIX98]: Likewise.
65812         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65813         usability of symbols in #if.
65815         * conform/conformtest.pl: If macro or constant types start
65816         "promoted:", expect the symbol to be of the following type
65817         promoted by the integer promotions.
65819         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65820         in one place.  Also handle "macro-constant".
65822         * conform/conformtest.pl: Only accept expected macro values with
65823         "==".  Parse all "macro" lines in one place.
65824         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65826         * conform/conformtest.pl: Handle braced types on "constant" lines
65827         instead of handling "typed-constant".
65828         * conform/data/signal.h-data: Use "constant" instead of
65829         "typed-constant".
65831         * conform/conformtest.pl: Handle "optional-" at start of lines in
65832         one place rather than duplicating several cases.  Handle each
65833         format of "macro" line with initial "optional-".
65835         * conform/conformtest.pl: Only accept expected constant or
65836         optional-constant values with "==".  Parse all "constant" lines in
65837         one place.  Parse all "optional-constant" lines in one place.
65838         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65839         * conform/data/fmtmsg.h-data: Likewise.
65840         * conform/data/netinet/in.h-data: Likewise.
65841         * conform/data/tar.h-data: Likewise.
65842         * conform/data/limits.h-data: Use "==" form on "constant" and
65843         "optional-constant" lines.
65845         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65846         Use -std=c99 for XOPEN2K.
65847         (@knownproblems): Remove.
65848         (newtoken): Don't check %isknown.
65850         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65851         Do not expect macro.
65852         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65853         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65854         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65855         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65856         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65857         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65858         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65859         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65860         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65861         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65862         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65863         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65864         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65865         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65866         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65867         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65868         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65869         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65870         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65871         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65872         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65874         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65875         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65876         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65877         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65878         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65879         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65880         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65881         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65882         [XPG3] (acosh): Likewise.
65883         [XPG3] (asinh): Likewise.
65884         [XPG3] (atanh): Likewise.
65885         [XPG3] (cbrt): Likewise.
65886         [XPG3] (expm1): Likewise.
65887         [XPG3] (ilogb): Likewise.
65888         [XPG3] (log1p): Likewise.
65889         [XPG3] (logb): Likewise.
65890         [XPG3] (nextafter): Likewise.
65891         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65892         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65893         [XPG3] (remainder): Likewise.
65894         [XPG3] (rint): Likewise.
65895         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65896         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65897         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65898         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65899         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65900         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65901         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65902         [UNIX98 || XOPEN2K] (scalb): Expect.
65903         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65904         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65905         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65906         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65907         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65908         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65909         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65910         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65911         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65912         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65913         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65914         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65915         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65916         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65917         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65918         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65919         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65920         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65921         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65922         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65923         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65924         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65925         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65926         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65927         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65928         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65929         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65930         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65931         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65932         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65933         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65934         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65935         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65936         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65937         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65938         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65939         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65940         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65941         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65942         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65943         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65944         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65945         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65946         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65947         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65948         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65949         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65950         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65951         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65952         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65953         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65954         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65955         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65956         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65957         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65958         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65959         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65960         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65961         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65962         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65963         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65964         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65965         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65966         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65967         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65968         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65969         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65970         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65971         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65972         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65973         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65974         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65975         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65976         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65977         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65978         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65979         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65980         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65981         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65982         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65983         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65984         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65985         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65986         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65987         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65988         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65989         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65990         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65991         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65992         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65993         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65994         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65995         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65996         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65997         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65998         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65999         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66000         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66001         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66002         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66003         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66004         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66005         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66006         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66007         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66008         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66009         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66010         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66011         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66012         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66013         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66014         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66015         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66016         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66017         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66018         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66019         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66020         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66021         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66022         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66023         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66024         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66025         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66026         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66027         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66028         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66029         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66030         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66031         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66032         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66033         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66034         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66035         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66036         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66037         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66038         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66039         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66041         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66042         _XOPEN_SOURCE_EXTENDED for XPG4.
66044         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66046         * Makeconfig (localtime): Remove variable.
66047         (inst_localtime-file): Likewise.
66049 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66052         Update.
66053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66054         Update.
66055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66056         Update.
66057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66058         Update.
66059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66060         Update.
66061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66062         Update.
66063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66064         Update.
66065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66066         Update.
66067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66068         Update.
66070 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66072         [BZ #2550]
66073         [BZ #2570]
66074         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66075         comparisons to determine direction to adjust input.
66076         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66077         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66079         Likewise.
66080         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66081         Likewise.
66082         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66083         Likewise.
66084         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66085         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66086         Likewise.
66087         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66088         Likewise.
66089         * math/libm-test.inc (nexttoward_test): Add more tests.
66091 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66093         [BZ #14040]
66094         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66095         in version GLIBC_2.1, not GLIBC_2.0.
66096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66097         Likewise.
66099 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66101         [BZ #13942]
66102         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66103         (1 - x) * (1 + x).
66104         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66105         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66106         * math/libm-test.inc (acos_test): Add more tests.
66107         (asin_test): Likewise.
66108         * sysdeps/i386/fpu/libm-test-ulps: Update.
66109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66111         [BZ #14034]
66112         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66113         of square root.
66114         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66115         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66116         * math/libm-test.inc (acos_test_tonearest): New function.
66117         (acos_test_towardzero): Likewise.
66118         (acos_test_downward): Likewise.
66119         (acos_test_upward): Likewise.
66120         (asin_test_tonearest): Likewise.
66121         (asin_test_towardzero): Likewise.
66122         (asin_test_downward): Likewise.
66123         (asin_test_upward): Likewise.
66124         (main): Call the new functions.
66125         * sysdeps/i386/fpu/libm-test-ulps: Update.
66126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66128         [BZ #13884]
66129         [BZ #13924]
66130         * math/e_exp10.c: Include <float.h>.
66131         (__ieee754_exp10): Handle underflow here rather than multiplying
66132         large negative argument by M_LN10.
66133         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66134         of __ieee754_expf.
66135         * math/e_exp10l.c: Include <float.h>.
66136         (__ieee754_exp10l): Handle underflow here rather than multiplying
66137         large negative argument by M_LN10l.
66138         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66139         spurious overflow exception on underflow.
66141 2012-04-29  Marek Polacek  <polacek@redhat.com>
66143         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66144         (__fortify_function): New macro.
66145         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66146         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66147         __extern_always_inline.
66148         * libio/bits/stdio2.h: Likewise.
66149         * libio/bits/stdio.h: Likewise.
66150         * string/string.h: Likewise.
66151         * string/bits/string3.h: Likewise.
66152         * include/stdio.h: Likewise.
66153         * stdlib/bits/stdlib.h: Likewise.
66154         * stdlib/stdlib.h: Likewise.
66155         * rt/bits/mqueue2.h: Likewise.
66156         * rt/mqueue.h: Likewise.
66157         * posix/bits/unistd.h: Likewise.
66158         * posix/unistd.h: Likewise.
66159         * io/bits/poll2.h: Likewise.
66160         * io/bits/fcntl2.h: Likewise.
66161         * io/fcntl.h: Likewise.
66162         * io/sys/poll.h: Likewise.
66163         * misc/bits/syslog.h: Likewise.
66164         * misc/bits/syslog-ldbl.h: Likewise.
66165         * misc/sys/syslog.h: Likewise.
66166         * socket/bits/socket2.h: Likewise.
66167         * socket/sys/socket.h: Likewise.
66168         * debug/tst-chk1.c: Likewise.
66169         * wcsmbs/bits/wchar2.h: Likewise.
66170         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66171         * wcsmbs/wchar.h: Likewise.
66173 2012-04-29  Andreas Jaeger  <aj@suse.de>
66175         * Makerules (tests): Remove enable-check-abi protection.
66176         (check-abi-warn): Remove.
66177         (check-abi-%): Remove check-abi-warn usage.
66179         * configure.in: Remove check-abi configure option.
66180         * configure: Regenerated.
66181         * config.make.in (enable-check-abi): Remove.
66183 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66185         [BZ #14033]
66186         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66187         double functions to double *_finite functions.
66189         [BZ #13941]
66190         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66191         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66192         LDBL_MIN_EXP.
66193         * stdio-common/Makefile (tests): Add tst-sprintf3.
66194         * stdio-common/tst-sprintf3.c: New file.
66196         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66197         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66199 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66201         * conform/conformtest.pl: Remove duplicate typed-constant
66202         handling.
66204 2012-04-28  David S. Miller  <davem@davemloft.net>
66206         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66207         (check-abi-%): Remove AWK script prerequisite and explicit
66208         abilist directory.
66209         (check-abi): Rewrite to just diff the symlist with the abilist.
66210         (config-tls, config-abi-config): Delete, no longer used.
66211         (update-abi-%): Remove AWK script and explicit abilist directory.
66212         (update-abi): Rewrite to simply compare and conditionally copy the
66213         symlist and the sysdep abilist file.  Remove update-abi-config
66214         checks.
66215         * abilist/ld.abilist: Remove.
66216         * abilist/libBrokenLocale.abilist: Remove.
66217         * abilist/libanl.abilist: Remove.
66218         * abilist/libcrypt.abilist: Remove.
66219         * abilist/libdl.abilist: Remove.
66220         * abilist/librt.abilist: Remove.
66221         * abilist/libthread_db.abilist: Remove.
66222         * abilist/libutil.abilist: Remove.
66223         * scripts/extract-abilist.awk: Remove.
66224         * scripts/merge-abilist.awk: Remove.
66225         * sysdeps/generic/libcidn.abilist: New file.
66226         * sysdeps/generic/libnss_compat.abilist: New file.
66227         * sysdeps/generic/libnss_db.abilist: New file.
66228         * sysdeps/generic/libnss_dns.abilist: New file.
66229         * sysdeps/generic/libnss_files.abilist: New file.
66230         * sysdeps/generic/libnss_hesiod.abilist: New file.
66231         * sysdeps/generic/libnss_nis.abilist: New file.
66232         * sysdeps/generic/libnss_nisplus.abilist: New file.
66233         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66234         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66235         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66236         file.
66237         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66238         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66239         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66240         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66241         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66242         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66243         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66244         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66245         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66246         file.
66247         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66248         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66249         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66250         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66251         file.
66252         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66253         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66254         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66255         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66256         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66257         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66258         file.
66259         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66260         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66262         file.
66263         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66265         New file.
66266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66267         New file.
66268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66269         New file.
66270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66271         New file.
66272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66273         New file.
66274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66275         New file.
66276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66277         New file.
66278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66279         New file.
66280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66281         New file.
66282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66283         New file.
66284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66285         New file.
66286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66287         New file.
66288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66289         New file.
66290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66291         file.
66292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66293         New file.
66294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66295         New file.
66296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66297         file.
66298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66299         New file.
66300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66301         New file.
66302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66303         file.
66304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66305         New file.
66306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66307         New file.
66308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66309         New file.
66310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66311         New file.
66312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66313         New file.
66314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66315         New file.
66316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66318         file.
66319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66320         New file.
66321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66322         file.
66323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66324         file.
66325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66326         file.
66327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66328         file.
66329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66330         file.
66331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66332         New file.
66333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66334         file.
66335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66336         file.
66337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66338         New file.
66339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66340         file.
66341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66343         file.
66344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66345         New file.
66346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66347         file.
66348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66349         file.
66350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66351         file.
66352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66353         file.
66354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66355         file.
66356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66357         New file.
66358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66359         file.
66360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66361         file.
66362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66363         New file.
66364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66365         file.
66366         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66367         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66368         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66369         file.
66370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66371         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66372         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66373         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66374         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66375         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66376         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66377         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66378         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66379         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66382         file.
66383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66384         New file.
66385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66386         file.
66387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66388         file.
66389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66390         file.
66391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66392         file.
66393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66394         file.
66395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66396         New file.
66397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66398         New file.
66399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66400         file.
66401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66402         New file.
66403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66404         file.
66405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66407         file.
66408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66409         New file.
66410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66411         file.
66412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66413         file.
66414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66415         file.
66416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66417         file.
66418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66419         file.
66420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66421         New file.
66422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66423         New file.
66424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66425         file.
66426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66427         New file.
66428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66429         file.
66431 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66433         * conform/conformtest.pl: Fix typo in handling typed-constant from
66434         allow-header.
66436 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66438         * README: Cut down references to pre-2.6 Linux kernels and
66439         Linuxthreads.  Update lists of configurations in libc and ports
66440         and sort alphabetically.  Say "or newer" with Linux kernel version
66441         requirements.
66443         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66445 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66447         [BZ #887]
66448         * math/libm-test.inc (logb_test_downward): New test to expose
66449         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66450         rounding mode.
66452 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66454         [BZ #14027]
66455         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66456         to be done.
66457         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66458         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66460 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66462         * sysdeps/unix/i386/brk.S: Remove file.
66463         * sysdeps/unix/i386/dl-brk.S: Likewise.
66464         * sysdeps/unix/i386/pipe.S: Likewise.
66465         * sysdeps/unix/i386/sigreturn.S: Likewise.
66466         * sysdeps/unix/i386/syscall.S: Likewise.
66467         * sysdeps/unix/i386/vfork.S: Likewise.
66468         * sysdeps/unix/i386/wait.S: Likewise.
66470         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66471         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66473         * configure.in (arm*-none*): Do not allow without
66474         --enable-hacker-mode.
66475         (netbsd*): Remove case setting base_os.
66476         (386bsd*): Likewise.
66477         (freebsd*): Likewise.
66478         (bsdi*): Likewise.
66479         (osf*): Likewise.
66480         (sunos*): Likewise.
66481         (ultrix*): Likewise.
66482         (newsos*): Likewise.
66483         (dynix*): Likewise.
66484         (*bsd*): Likewise.
66485         (sysv*): Likewise.
66486         (isc*): Likewise.
66487         (esix*): Likewise.
66488         (sco*): Likewise.
66489         (minix*): Likewise.
66490         (irix4*): Likewise.
66491         (irix6*): Likewise.
66492         (solaris[2-9]*): Likewise.
66493         (none): Likewise.
66494         * configure: Regenerated.
66496 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66498         [BZ #11521]
66499         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66500         overflow or cancellation in calculating denominator.
66501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66503         down expression to avoid unexpected rounding in newer GCCs.
66504         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66506 2012-04-26  David S. Miller  <davem@davemloft.net>
66508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66509         long-double compat symbols.
66510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66524 2012-04-25  David S. Miller  <davem@davemloft.net>
66526         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66527         HWCAP_* values only after the memory barriers have been defined.
66528         (atomic_full_barrier): Define.
66529         (atomic_read_barrier): Define.
66530         (atomic_write_barrier): Define.
66532 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66534         * shlib-versions: Add libgcc_s version information.
66535         * sysdeps/generic/libgcc_s.h: Remove.
66536         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66537         libgcc_s.h.
66538         * sysdeps/gnu/unwind-resume.c: Likewise.
66539         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66541 2012-04-25  David S. Miller  <davem@davemloft.net>
66543         * sysdeps/unix/sparc/brk.S: Delete.
66544         * sysdeps/unix/sparc/dl-brk.S: Delete.
66545         * sysdeps/unix/sparc/pipe.S: Delete.
66546         * sysdeps/unix/sparc/sysdep.S: Delete.
66547         * sysdeps/unix/sparc/sysdep.h: Delete.
66548         * sysdeps/unix/sparc/vfork.S: Delete.
66549         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66550         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66551         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66552         (ret_ERRVAL, r0, r1, MOVE): Define.
66553         (JUMPTARGET): Remove.
66554         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66555         sysdeps/unix/sparc/sysdep.h
66556         (ENTRY, END): Remove.
66557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66559 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66561         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66562         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66563         -DIS_IN_build.
66565         * timezone/README: Update upstream location and email address for
66566         tzcode and tzdata.
66567         * timezone/zdump.c: Update from tzcode 2012b.
66568         * timezone/zic.c: Likewise.
66570         * configure.in (libc_cv_as_needed): Remove test.
66571         * configure: Regenerated.
66572         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66573         conditional definition.
66574         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66575         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66576         * config.make.in (have-as-needed): Remove variable.
66578 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66579             Paul Pluzhnikov  <ppluzhnikov@google.com>
66581         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66582         strings correctly.
66584 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66586         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66587         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66588         * sysdeps/sh/strlen.S: Likewise.
66590 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66592         * sysdeps/unix/fork.S: Remove file.
66593         * sysdeps/unix/i386/fork.S: Likewise.
66594         * sysdeps/unix/sparc/fork.S: Likewise.
66596         * sysdeps/unix/system.c: Remove file.
66597         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66599         * sysdeps/unix/getegid.S: Remove file.
66600         * sysdeps/unix/geteuid.S: Likewise.
66602 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66604         * scripts/check-localplt.awk: New file.
66605         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66606         of diff.
66607         * scripts/data/localplt-generic.data: Add a comment.
66609         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66610         NODE when __dir_mkfile failed.
66611         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66612         Reported by Ludovic Courtès <ludo@gnu.org>.
66614 2012-04-24  Andreas Jaeger  <aj@suse.de>
66616         * Makerules (common-clean): Also remove gen-as-const-headers
66617         files.
66619 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66621         * Makerules (native-compile): Do not change working directory for
66622         build.  Use $(OUTPUT_OPTION) in command.
66623         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66625 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66627         [BZ #13886]
66628         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66629         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66630         * math/libm-test.inc (floor_test): Add more tests.
66631         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66633 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66635         * sysdeps/unix/getdents.c: Remove file.
66636         * sysdeps/unix/sysv/getdents.c: Likewise.
66637         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66639         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66640         sysdeps/unix/mman/syscalls.list.
66641         (mmap): Likewise.
66642         (mprotect): Likewise.
66643         (msync): Likewise.
66644         (munmap): Likewise.
66645         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66646         * sysdeps/unix/mman/syscalls.list: Remove.
66647         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66649         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66650         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66651         * configure: Regenerated.
66652         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66653         $(libgcc_s_suffix).
66654         * config.make.in (libgcc_s_suffix): Remove variable.
66656 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66658         * sysdeps/unix/sysv/gethostname.c: Move to ...
66659         * sysdeps/posix/gethostname.c: ... here.
66661         * sysdeps/unix/execve.S: Remove file.
66663         * sysdeps/unix/_exit.S: Remove file.
66665 2012-04-23  Andreas Jaeger  <aj@suse.de>
66667         [BZ #13739]
66668         * manual/Makefile: Remove make dist support, there's no
66669         need for a stand-alone documentation tar ball.
66670         (TEXI2DVI): Define always, it's not in Makeconfig.
66671         (dist): Removed.
66672         (tar-it): Removed.
66673         (edition): Removed.
66674         (glibc-doc-$(edition).tar): Removed
66675         (%.Z): Removed.
66676         (%.gz): Removed.
66677         (%.uu): Removed.
66678         (ETAGS): Remove, it's in Makeconfig.
66679         (move-if-change): Remove, it's in Makeconfig.
66681 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66683         [BZ #13970]
66684         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66685         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66686         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66687         (strtod_l, strtof_l, strtold_l): Remove __wur.
66688         It is not necessarily an error to ignore strtol's return value.
66689         One can reliably look at the stored endptr to decide whether
66690         the number had valid syntax.
66692 2012-04-21  Andreas Jaeger  <aj@suse.de>
66694         [BZ #13739]
66695         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66697 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66700         * sysdeps/unix/sysv/Versions: Remove file.
66702 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66704         [BZ #13927]
66705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66707 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66709         [BZ #7064]
66710         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66711         version from __vm86.
66713 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66715         * sysdeps/unix/common/lxstat.c: Remove file.
66716         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66718         * sysdeps/unix/sysv/Makefile: Remove file.
66720         * sysdeps/unix/sysv/direct.h: Remove file.
66722         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66723         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66724         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66725         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66726         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66727         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66728         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66730         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66732         * sysdeps/unix/xmknod.c: Remove file.
66733         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66735         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66737         * sysdeps/unix/sysv/i386/time.S: Remove file.
66739         * sysdeps/unix/fxstat.c: Remove file.
66740         * sysdeps/unix/xstat.c: Likewise.
66741         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66743         * sysdeps/unix/sysv/sigaction.c: Remove file.
66745         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66746         (sysdep_headers): Remove variable.
66747         [termio.h not in sysdep_headers] (generated): Likewise.
66748         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66749         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66750         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66751         * sysdeps/unix/sysv/tcflow.c: Likewise.
66752         * sysdeps/unix/sysv/tcflush.c: Likewise.
66753         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66754         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66755         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66756         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66757         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66759         * sysdeps/unix/siglist.c: Remove file.
66761         * sysdeps/unix/getppid.S: Remove file.
66763         * sysdeps/unix/mkdir.c: Remove file.
66764         * sysdeps/unix/rmdir.c: Likewise.
66766 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66768         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66769         ERR_MAX value.
66770         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66771         errlist-compat value.
66773 2012-04-18  David S. Miller  <davem@davemloft.net>
66775         * sysdeps/generic/memcopy.h (reg_char): Delete.
66776         * debug/strcat_chk.c: Use char, not reg_char.
66777         * debug/strcpy_chk.c: Likewise.
66778         * debug/strncat_chk.c: Likewise.
66779         * debug/strncpy_chk.c: Likewise.
66780         * string/memchr.c: Likewise.
66781         * string/memrchr.c: Likewise.
66782         * string/rawmemchr.c: Likewise.
66783         * string/strcat.c: Likewise.
66784         * string/strchr.c: Likewise.
66785         * string/strchrnul.c: Likewise.
66786         * string/strcmp.c: Likewise.
66787         * string/strcpy.c: Likewise.
66788         * string/strncat.c: Likewise.
66789         * string/strncmp.c: Likewise.
66790         * string/strncpy.c: Likewise.
66792 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66794         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66795         __builtin_memcopy is called when src and dest ranges are known to not
66796         overlap.
66798 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66801         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66802         fwd_align_merge macro call.
66803         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66804         bwd_align_merge macro call.
66805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66807 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66809         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66810         bwd_align_merge macros.
66811         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66812         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66813         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66815 2012-04-18  David S. Miller  <davem@davemloft.net>
66817         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66819 2012-04-18  Andreas Jaeger  <aj@suse.de>
66821         [BZ# 6794]
66822         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66823         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66824         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66827         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66828         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66830         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66831         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66832         Adjust for changed ldbl-128 files.
66834         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66835         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66836         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66838 2012-04-17  David S. Miller  <davem@davemloft.net>
66840         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66842 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66844         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66845         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66846         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66847         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66848         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66849         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66851 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66853         [BZ #6794]
66854         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66855         * math/libm-test.inc: Add ilogb errno and exception tests.
66856         * math/w_ilogb.c: New file: ilogb wrapper.
66857         * math/w_ilogbf.c: New file: ilogbf wrapper.
66858         * math/w_ilogbl.c: New file: ilogbl wrapper.
66859         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66860         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66861         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66862         exception being thrown with 0.0 as argument.
66863         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66864         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66865         exception being thrown with 0.0 as argument.
66866         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66867         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66868         exception being thrown with 0.0 as argument.
66869         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66870         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66871         exception being thrown with 0.0 as argument.
66872         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66873         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66874         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66875         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66876         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66877         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66878         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66879         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66880         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66882 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66884         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66885         with altivec.
66887 2012-04-16  Marek Polacek  <polacek@redhat.com>
66889         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66891 2012-04-16  Marek Polacek  <polacek@redhat.com>
66893         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66894         operands of fdivp instruction.
66896 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66898         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66899         * elf/tst-auditmod3b.c: Likewise.
66900         * elf/tst-auditmod4b.c: Likewise.
66901         * elf/tst-auditmod5b.c: Likewise.
66902         * elf/tst-auditmod6b.c: Likewise.
66903         * elf/tst-auditmod6c.c: Likewise.
66904         * elf/tst-auditmod7b.c: Likewise.
66905         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66906         * sysdeps/x86_64/preconfigure.in: Likewise.
66907         * sysdeps/x86_64/preconfigure: Regenerated.
66909 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66911         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66912         __ILP32__.
66914 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66917         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66919 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66921         [BZ #13973]
66922         * locale/iso-639.def: Fix gl language name. Spotted by
66923         Yaron Shahrabani.
66925 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66927         [BZ #2074]
66928         * libio/libio.h (__io_write_fn): Update comment.
66930 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66932         [BZ #2074]
66933         * stdio.texi (Hook Functions): The user provided writer function
66934         is not allowed to return -1.
66936 2012-04-11  David S. Miller  <davem@davemloft.net>
66938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66940 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66942         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66943         Add a leading slash to rtkaio.
66945 2012-04-11  Jim Meyering  <meyering@redhat.com>
66947         [BZ #11959]
66948         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66949         It is not necessarily an error to ignore fwrite's return
66950         value.  One can reliably use ferror to test for errors after
66951         the fact.
66953 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66955         * bits/types.h (__snseconds_t): New type.
66956         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66958         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66960         (__SNSECONDS_T_TYPE): Likewise.
66961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66962         (__SNSECONDS_T_TYPE): Likewise.
66963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66964         (__SNSECONDS_T_TYPE): Likewise.
66966 2012-04-10  Andreas Jaeger  <aj@suse.de>
66968         [BZ #2636]
66969         * manual/time.texi (Processor Time): Return type of times is
66970         elapsed real time since an arbitrary point in the past.
66971         (CPU Time): Move CLK_TCK from here...
66972         (Processor Time): ...to here.  Correct description.
66973         * manual/conf.texi (Constants for Sysconf): Correct description of
66974         _SC_CLK_TCK.
66976 2012-04-10  David S. Miller  <davem@davemloft.net>
66978         [BZ #13967]
66979         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66980         where the is a gap between DT_REL(A) and DT_JMPREL.
66982 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66984         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66985         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66986         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66988 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66990         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66991         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66992         (dl_main): Handle --inhibit-cache.
66993         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66994         _dl_inhibit_cache.
66995         * elf/dl-load.c (_dl_map_object): Use it.
66996         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66998 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67000         [BZ #13872]
67001         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67002         (__ieee754_powl): Saturate large exponents rather than testing for
67003         overflow of y*log2(x).
67004         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67005         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67006         exceptions.
67008         [BZ #11521]
67009         * math/s_ctan.c: Include <float.h>.
67010         (__ctan): Avoid internal overflow or cancellation in calculating
67011         denominator.
67012         * math/s_ctanf.c: Likewise.
67013         * math/s_ctanl.c: Likewise.
67014         * math/s_ctanh.c: Likewise.
67015         * math/s_ctanhf.c: Likewise.
67016         * math/s_ctanhl.c: Likewise.
67017         * math/libm-test.inc (ctan_test): Add more tests.
67018         (ctanh_test): Likewise.
67019         * sysdeps/i386/fpu/libm-test-ulps: Update.
67020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67022 2012-04-09  Andreas Jaeger  <aj@suse.de>
67024         [BZ #6894]
67025         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67026         is an optional BSD extension.
67028         [BZ #10254]
67029         * manual/stdio.texi (Opening Streams): Document additional fopen
67030         parameters.
67032 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67034         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67035         %eax without telling the compiler.
67037 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67039         [BZ # 13963]
67040         * manual/install.texi: Use sourceware.org.
67042 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67044         [BZ #13873]
67045         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67046         (__ieee754_pow): Generate overflow and underflow using huge*huge
67047         and tiny*tiny rather than just returning constant infinity or zero
67048         for large exponents.
67049         * math/libm-test.inc (pow_test): Require overflow exceptions for
67050         applicable cases of large exponents.
67052         [BZ #706]
67053         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67054         (__ieee754_pow): Use iterative multiplication algorithm only for
67055         integer exponents with absolute value below 1024.  Check for odd
67056         integer exponents when using algorithm for real exponents.
67057         * math/libm-test.inc (pow_test): Add more tests.
67058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67060 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67062         [BZ #13705]
67063         * math/libm-test.inc (exp_test): Do not allow overflow exception
67064         on underflow test.
67066 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67068         [BZ #13705]
67069         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67070         instead of __kernel_standard_f.
67072 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67074         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67075         * sysdeps/x86_64/memset_chk.S: Likewise.
67077 2012-04-08  Andreas Jaeger  <aj@suse.de>
67079         [BZ #10153]
67080         * manual/startup.texi (Environment Access): Describe return value
67081         for putenv and setenv.
67083         [BZ #6895]
67084         * manual/filesys.texi (Directory Entries): Add description for
67085         DT_LNK.
67087         [BZ #6890]
67088         * manual/filesys.texi (Directory Entries): Clarify that it's file
67089         system not operating system in the description of DT_UNKNOWN.
67091         [BZ #6578]
67092         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67094 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67096         [BZ #6649]
67097         * manual/llio.texi (Opening and Closing Files): Add cross
67098         reference to explain mode argument.
67100 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67102         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67103         * sysdeps/x86_64/memset_chk.S: Likewise.
67105 2012-04-07  David S. Miller  <davem@davemloft.net>
67107         * elf/elf.h (R_SPARC_WDISP10): Define.
67108         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67109         R_SPARC_SIZE32.
67110         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67111         R_SPARC_SIZE64 and R_SPARC_H34.
67113 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67115         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67116         conditions and remove no longer applicable assertion.
67118 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67120         * bits/byteswap.h: Include <features.h>.
67121         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67122         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67124 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67126         * bits/byteswap.h (__bswap_16): Removed.
67127         Include <bits/byteswap-16.h> to get __bswap_16.
67128         * sysdeps/i386/bits/byteswap.h: Likewise.
67129         * sysdeps/s390/bits/byteswap.h: Likewise.
67130         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67131         * bits/byteswap-16.h: New file.
67132         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67133         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67134         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67135         * string/Makefile (headers): Add bits/byteswap-16.h.
67137 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67139         [BZ #13895]
67140         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67141         extra indirection.
67142         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67143         * nss/tst-nss-static.c: New.
67145 2012-04-06  Robert Millan  <rmh@gnu.org>
67147         [BZ #6486]
67148         * manual/llio.texi (File Position Primitive): lseek
67149         refers to WHENCE when it really means OFFSET.
67151 2012-04-06  Andreas Jaeger  <aj@suse.de>
67153         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67154         strncmp declarations.
67156         * abilist/libc.abilist: Add __poll and __ppoll.
67158 2012-04-05  David S. Miller  <davem@davemloft.net>
67160         * scripts/check-local-headers.sh: Accept a host triplet in the
67161         path matched by the exclude regexp.
67163         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67164         definition.
67165         * sysdeps/powerpc/powerpc32/dl-machine.h
67166         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67167         * sysdeps/s390/s390-32/dl-machine.h
67168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67169         * sysdeps/sparc/sparc32/dl-machine.h
67170         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67171         * sysdeps/sparc/sparc64/dl-machine.h
67172         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67174         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67175         lazy binding.
67176         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67177         undefined symbol errors.
67179         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67180         DT_NEEDED entries.
67182 2012-04-05  Michael Matz  <matz@suse.de>
67184         [BZ #13592]
67185         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67187 2012-04-05  Andreas Jaeger  <aj@suse.de>
67189         [BZ #13908]
67190         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67191         comment.
67193 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67195         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67196         which ROUND is no valid rounding mode.
67198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67201         read again.
67202         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67206         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67207         an exception using FPU order intentionally.
67209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67211         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67212         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67213         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67214         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67216 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67218         [BZ #12340]
67219         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67220         EINVAL when BUFLEN is too smal.
67222 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67224         [BZ #13553]
67225         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67226         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67228 2012-04-03  Andreas Jaeger  <aj@suse.de>
67230         [BZ #13938]
67231         * manual/setjmp.texi (System V contexts): Fix sentence.
67233         [BZ #13926]
67234         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67235         New macro for this case.
67236         [!__GNUC__] (__bswap_64): New inline function for this case.
67237         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67238         * bits/byteswap.h: Likewise.
67239         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67240         ull, guard with __GLIBC_HAVE_LONG_LONG.
67242         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67243         __GLIBC_HAVE_LONG_LONG.
67245         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67246         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67248 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67250         [BZ #13691]
67251         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67252         inptr and inend, rather than using last_ch.
67254 2012-04-02  David S. Miller  <davem@davemloft.net>
67256         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67257         * stdio-common/printf-parse.h (read_int): Change return type to
67258         'int', return -1 on INT_MAX overflow.
67259         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67260         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67261         overflows INT_MAX.  Check for overflow of in-format-string precision
67262         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67263         SIZE_MAX not INT_MAX for integer overflow test.
67264         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67265         skip the construct in the format string but do not record anything.
67266         * stdio-common/bug22.c: Adjust to test both width/prevision
67267         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67268         explicitly for proper errno values.
67270 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67272         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67273         CHAR_MAX.
67274         * string/test-strcmp.c [! WIDE]: Likewise.
67275         * time/tst-mktime2.c: Likewise for INT_MAX.
67276         * string/test-string.h: #include <sys/param.h> for MIN.
67278         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67279         * sysdeps/i386/init-first.c (init): Likewise.
67280         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67281         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67282         * sysdeps/sh/init-first.c (init): Likewise.
67284 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67286         * po/ru.po: Update from translation team.
67287         * po/vi.po: Likewise.
67289 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67291         * resolv/nss_dns/dns-host.c: Merge copyright years.
67293 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67295         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67296         Optimize memcpy with prefetch if
67297         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67298         src, dst pointers have unequal 16 byte alignments.
67300 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67302         [BZ #13928]
67303         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67304         from a CNAME entry and return the minimum ttl for the query.
67305         (gaih_getanswer_slice): Likewise.
67307 2012-03-30  Jeff Law  <law@redhat.com>
67309         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67310         due to long keys.
67311         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67312         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67314         * resolv/nss_dns/dns-host.c: Update copyright year.
67316 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67318         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67319         requests to save a system call.  Fix check that all bytes are sent.
67321         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67322         comments for sendmmsg.
67324 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67326         [BZ #13691]
67327         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67328         with only 1 character between 0x0041 and 0x01b0.
67329         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67330         * wcsmbs/tst-mbsnrtowcs.c: New file.
67332 2012-03-29  David S. Miller  <davem@davemloft.net>
67334         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67335         small copies by hand.
67337 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67339         [BZ #13761]
67340         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67341         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67342         group memberships.
67344 2012-03-28  David S. Miller  <davem@davemloft.net>
67346         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67347         that branches into memcpy.
67348         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67351         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67353         bits.
67354         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67355         implementation too.
67356         * sysdeps/sparc/mempcpy.S: New file.
67358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67359         the IFUNC routine in the libc case.
67360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67362         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67363         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67364         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67365         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67366         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67367         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67368         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67369         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67371         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67372         loop to 256 bytes instead of 64 bytes and fix test signedness.
67374         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67375         * sysdeps/sparc/sparc32/Makefile: rather than here...
67376         * sysdeps/sparc/sparc64/Makefile: and here.
67378 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67380         * malloc/mallocbug.c: Avoid warnings about unused variables.
67382 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67384         [BZ #13760]
67385         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67386         in the right place. Discard and retry query if response is
67387         larger than input buffer size.
67389 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67391         [BZ #369]
67392         [BZ #2678]
67393         [BZ #3866]
67394         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67395         x for large integer exponent.
67396         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67397         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67398         sign of result as needed afterwards.
67399         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67401         result for underflowing pow the same as for overflow.
67402         (__kernel_standard_l): Handle powl overflow and underflow here
67403         rather than calling __kernel_standard.
67404         * math/libm-test.inc (pow_test): Add more tests.
67406         [BZ #3868]
67407         [BZ #13879]
67408         [BZ #13910]
67409         [BZ #13911]
67410         [BZ #13912]
67411         [BZ #13913]
67412         [BZ #13915]
67413         [BZ #13916]
67414         [BZ #13917]
67415         [BZ #13918]
67416         [BZ #13919]
67417         [BZ #13920]
67418         [BZ #13921]
67419         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67420         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67421         (__kernel_standard_l): New function.
67422         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67423         __kernel_standard.
67424         * math/w_acosl.c (__acosl): Likewise.
67425         * math/w_asinl.c (__asinl): Likewise.
67426         * math/w_atan2l.c (__atan2l): Likewise.
67427         * math/w_atanhl.c (__atanhl): Likewise.
67428         * math/w_coshl.c (__coshl): Likewise.
67429         * math/w_exp10l.c (__exp10l): Likewise.
67430         * math/w_exp2l.c (__exp2l): Likewise.
67431         * math/w_fmodl.c (__fmodl): Likewise.
67432         * math/w_hypotl.c (__hypotl): Likewise.
67433         * math/w_j0l.c (__j0l, __y0l): Likewise.
67434         * math/w_j1l.c (__j1l, __y1l): Likewise.
67435         * math/w_jnl.c (__jnl, __ynl): Likewise.
67436         * math/w_lgammal.c (__lgammal): Likewise.
67437         * math/w_log10l.c (__log10l): Likewise.
67438         * math/w_log2l.c (__log2l): Likewise.
67439         * math/w_logl.c (__logl): Likewise.
67440         * math/w_powl.c (__powl): Likewise.
67441         * math/w_remainderl.c (__remainderl): Likewise.
67442         * math/w_scalbl.c (sysv_scalbl): Likewise.
67443         * math/w_sinhl.c (__sinhl): Likewise.
67444         * math/w_sqrtl.c (__sqrtl): Likewise.
67445         * math/w_tgammal.c (__tgammal): Likewise.
67446         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67447         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67448         * math/libm-test.inc (acos_test): Add more tests.
67449         (acosh_test): Likewise.
67450         (asin_test): Likewise.
67451         (atanh_test): Likewise.
67452         (exp_test): Likewise.
67453         (exp10_test): Likewise.
67454         (exp2_test): Likewise.
67455         (expm1_test): Likewise.
67456         (lgamma_test): Likewise.
67457         (log_test): Likewise.
67458         (log10_test): Likewise.
67459         (log1p_test): Likewise.
67460         (log2_test): Likewise.
67461         (pow_test): Do not allow some spurious overflow exceptions.
67462         (sqrt_test): Add more tests.
67463         (tgamma_test): Likewise.
67464         (y0_test): Likewise.
67465         (y1_test): Likewise.
67466         (yn_test): Likewise.
67468 2012-03-27  Anton Blanchard  <anton@samba.org>
67470         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67471         MAP_HUGETLB.
67472         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67473         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67474         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67476 2012-03-27  David S. Miller  <davem@davemloft.net>
67478         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67480         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67481         have-as-vis3 check.
67483 2012-03-27  Andreas Jaeger  <aj@suse.de>
67485         * sysdeps/x86_64/elf/configure.in: Moved to ...
67486         * sysdeps/x86_64/configure.in: ... here.
67487         * sysdeps/x86_64/elf/start.S: Moved to ...
67488         * sysdeps/x86_64/start.S: ... here.
67489         * sysdeps/x86_64/elf/configure: Delete.
67491         * sysdeps/x86_64/configure.in: Merge contents from
67492         sysdeps/i386/configure.in (without i686 check).
67494         * sysdeps/i386/elf/Versions: Merge into ...
67495         * sysdeps/i386/Versions: ... this.
67496         * sysdeps/i386/elf/Versions: Delete file.
67497         * sysdeps/i386/elf/start.S: Moved to ...
67498         * sysdeps/i386/start.S: ...here.
67499         * sysdeps/i386/elf/configure.in: Merge into...
67500         * sysdeps/i386/configure.in: ...here.
67501         * sysdeps/i386/elf/configure.in: Delete file.
67502         * sysdeps/i386/elf/configure: Delete file.
67504         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67505         * debug/backtracesyms.c: ... here.
67506         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67507         * debug/backtracesymsfd.c: ... here.
67508         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67509         * sysdeps/generic/ifunc-sel.h: ... here.
67511         * sysdeps/unix/i386/start.c: Delete file.
67512         * sysdeps/unix/sparc/start.c: Delete file.
67513         * sysdeps/unix/start.c: Delete file.
67515         * sysdeps/sh/elf/configure.in: Moved to ...
67516         * sysdeps/sh/configure.in: ... here.
67517         * sysdeps/sh/elf/start.S: Moved to ...
67518         * sysdeps/sh/start.S: ... here.
67519         * sysdeps/sh/elf/configure: Delete file.
67521         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67522         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67523         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67524         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67525         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67526         * sysdeps/powerpc/powerpc64/start.S: here.
67527         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67528         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67529         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67530         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67531         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67533         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67534         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67535         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67536         * sysdeps/powerpc/powerpc32/start.S: ... here.
67537         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67538         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67539         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67541         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67542         * sysdeps/powerpc/ifunc-sel.h: ... here.
67543         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67544         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67546         * sysdeps/sparc/elf/configure.in: Moved to ...
67547         * sysdeps/sparc/configure.in: ... here.
67548         * sysdeps/sparc/elf/configure: Delete file.
67549         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67550         * sysdeps/sparc/sparc32/start.S: ... here.
67551         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67552         * sysdeps/sparc/sparc64/start.S: ... here.
67553         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67554         * sysdeps/sparc/sparc32/Makefile: ... this.
67555         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67556         * sysdeps/sparc/sparc64/Makefile: ... this.
67558         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67559         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67560         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67561         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67562         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67563         * sysdeps/s390/s390-32/setjmp.S: ... here.
67564         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67565         * sysdeps/s390/s390-32/configure.in: ... here.
67566         * sysdeps/s390/s390-32/elf/configure: Delete file.
67567         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67568         * sysdeps/s390/s390-32/start.S: ... here.
67570         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67571         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67572         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67573         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67574         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67575         * sysdeps/s390/s390-64/setjmp.S: ... here.
67576         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67577         * sysdeps/s390/s390-64/configure.in: ... here
67578         * sysdeps/s390/s390-64/elf/configure: Delete file.
67579         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67580         * sysdeps/s390/s390-64/start.S: ... here.
67581         * sysdeps/s390/s390-64/elf/configure: Delete.
67583         * configure.in: Remove support for elf directories in sysdeps.
67585         * configure: Regenerated.
67586         * sysdeps/i386/configure: Regenerated.
67587         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67588         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67589         * sysdeps/s390/s390-32/configure: Regenerated.
67590         * sysdeps/s390/s390-64/configure: Regenerated.
67591         * sysdeps/sh/configure: Regenerated.
67592         * sysdeps/sparc/configure: Regenerated.
67593         * sysdeps/x86_64/configure: Regenerated.
67595 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67600         denormal result into account.
67602 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67604         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67605         Reported by Allan McRae <allan@archlinux.org>.
67607 2012-03-23  Jeff Law  <law@redhat.com>
67609         * nss/getnssent.c (__nss_getent): Fix typo.
67611 2012-03-23  David S. Miller  <davem@davemloft.net>
67613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67615 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67617         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67618         to pad to uint64_t for each field.
67619         (dl_tls_index): Replace unsigned long with uint64_t.
67621 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67622         Paul Pluzhnikov  <ppluzhnikov@google.com>
67624         [BZ #6528]
67625         * grp/Makefile (otherlibs): Don't set it.
67626         * inet/Makefile (otherlibs): Likewise.
67627         * login/Makefile (otherlibs): Likewise.
67628         * nscd/Makefile (otherlibs): Likewise.
67629         * posix/Makefile (otherlibs): Likewise.
67630         * pwd/Makefile (otherlibs): Likewise.
67631         * rt/Makefile (otherlibs): Likewise.
67632         * sunrpc/Makefile (otherlibs): Likewise.
67633         * nss/Makefile (otherlibs): Likewise.
67634         Add libnss_files to routines and static-only-routines.
67635         ($(objpfx)getent): Remove rule.
67636         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67637         static-only-routines.
67639 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67641         [BZ #13892]
67642         * math/s_cexp.c: Include <float.h>.
67643         (__cexp): Handle exp result overflowing not necessarily
67644         overflowing both real and imaginary parts of result.
67645         * math/s_cexpf.c: Likewise.
67646         * math/s_cexpl.c: Likewise.
67647         * math/libm-test.inc (cexp_test): Add more tests.
67648         * sysdeps/i386/fpu/libm-test-ulps: Update.
67649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67653         * include/link.h (ELFW): New macro.
67654         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67655         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67657 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67659         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67660         with uint64_t.
67662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67664         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67665         declaration.
67666         (struct La_x32_retval): Likewise.
67668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67670         * sysdeps/x86_64/preconfigure.in: New file.
67671         * sysdeps/x86_64/preconfigure: New generated file.
67673 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67675         [BZ #13824]
67676         * math/e_exp2l.c: Include <float.h>.
67677         (__ieee754_exp2l): Handle overflow and underflow cases
67678         separately.  Only pass fractional part of argument to
67679         __ieee754_expl.
67680         * math/libm-test.inc (exp2_test): Add more tests.
67682         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67683         negating x to take absolute value.
67684         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67685         Likewise.
67686         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67687         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67688         Likewise.
67689         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67690         computing low part if x was negated.
67691         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67693 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67695         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67696         la_x32_gnu_pltexit.
67697         (pltexit): Cast int_retval to ptrdiff_t.
67698         * elf/tst-auditmod3b.c: Likewise.
67699         * elf/tst-auditmod4b.c: Likewise.
67700         * elf/tst-auditmod5b.c: Likewise.
67701         * elf/tst-auditmod6b.c: Likewise.
67702         * elf/tst-auditmod6c.c: Likewise.
67703         * elf/tst-auditmod7b.c: Likewise.
67705         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67706         and x32_gnu_pltexit.
67708         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67709         __ELF_NATIVE_CLASS.
67710         (La_x32_regs): New macro.
67711         (La_x32_retval): Likewise.
67712         (la_x32_gnu_pltenter): New function prototype.
67713         (la_x32_gnu_pltexit): Likewise.
67715 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67718         exponent.
67720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67722         * configure.in (libc_cv_cc_nofma): Check for option to disable
67723         generation of FMA instructions.
67724         * configure: Regenerate.
67725         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67726         * sysdeps/ieee754/dbl-64/Makefile: New file.
67727         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67728         Remove brandred-fma4.
67729         (CFLAGS-brandred-fma4.c): Remove.
67730         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67731         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67732         define.
67733         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67734         define.
67736 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67738         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67739         LLONG_MAX != LONG_MAX.
67740         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67741         (_fitoa_word): Likewise.
67742         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67743         LLONG_MAX != LONG_MAX.
67744         * stdio-common/_itowa.h: Include <_itoa.h>.
67745         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67746         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67747         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67748         only if not defined.
67749         (_ITOA_WORD_TYPE): Likewise.
67750         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67751         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67753 2012-03-21  David S. Miller  <davem@davemloft.net>
67755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67757 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67759         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67760         of x86_64 when setting libc_cv_slibdir, libdir and
67761         libc_cv_localedir.
67762         * sysdeps/unix/sysv/linux/configure: Regenerated.
67764 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67766         * manual/lang.texi (Old Varargs): Remove section.
67767         (How Variadic): Update menu.
67768         (va_start): Do not mention varargs.h.
67770 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67771             Joseph Myers  <joseph@codesourcery.com>
67773         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67774         link test.
67775         * configure: Regenerated.
67777 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67779         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67780         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67781         conformtest.pl
67783 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67785         * NOTES: Remove.
67786         * Makefile (files-for-dist): Remove NOTES.
67787         (NOTES): Remove rule.
67788         * README: Don't refer to NOTES.
67789         * manual/creature.texi: Don't include macros.texi.
67790         * manual/intro.texi (creature.texi): Remove comment referring to
67791         NOTES.
67793         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67794         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67795         * configure: Regenerated.
67796         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67797         LIBC_TRY_CC_OPTION.
67798         (libc_cv_as_i686): Likewise.
67799         (libc_cv_cc_avx): Likewise.
67800         (libc_cv_cc_sse2avx): Likewise.
67801         (libc_cv_cc_fma4): Likewise.
67802         (libc_cv_cc_novzeroupper): Likewise.
67803         * sysdeps/i386/configure: Regenerated.
67805         [BZ #13883]
67806         * sysdeps/i386/fpu/s_cexp.S: Remove.
67807         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67808         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67809         * math/libm-test.inc (cexp_test): Add more tests.
67810         * sysdeps/i386/fpu/libm-test-ulps: Update.
67811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67813 2012-03-21  Allan McRae  <allan@archlinux.org>
67815         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67817 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67819         [BZ #13871]
67820         * math/w_exp2.c: Do not include <float.h>.
67821         (o_threshold, u_threshold): Remove.
67822         (__exp2): Calculate result before checking finiteness and calling
67823         __kernel_standard.
67824         * math/w_exp2f.c: Likewise.
67825         * math/w_exp2l.c: Likewise.
67826         * math/libm-test.inc (exp2_test): Require overflow exception for
67827         1e6 input.
67829         [BZ #3866]
67830         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67831         range of signed 64-bit integers before using fistpll.  Remove
67832         checks for whether integers fit in mantissa bits.
67833         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67834         the range of signed 32-bit integers before using fistpl.  Remove
67835         checks for whether integers fit in mantissa bits.
67836         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67837         (__ieee754_powl): Test for y outside the range of signed 64-bit
67838         integers before using fistpll.  Reduce 64-bit values to 63-bit
67839         ones as needed.
67840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67841         divide-by-zero is raised for zero to large negative powers.
67842         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67843         (__ieee754_powl): Test for y outside the range of signed 64-bit
67844         integers before using fistpll.  Reduce 64-bit values to 63-bit
67845         ones as needed.
67846         * math/libm-test.inc (pow_test): Add more tests.
67848 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67850         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67851         <stdio-common/_itoa.h>.
67852         * debug/segfault.c: Likewise.
67853         * elf/dl-cache.c: Likewise.
67854         * elf/dl-minimal.c: Likewise.
67855         * elf/dl-misc.c: Likewise.
67856         * elf/dl-sysdep.c: Likewise.
67857         * elf/dl-version.c: Likewise.
67858         * elf/rtld.c: Likewise.
67859         * hurd/hurdsock.c: Likewise.
67860         * hurd/lookup-retry.c: Likewise.
67861         * malloc/malloc.c: Likewise.
67862         * malloc/mtrace.c: Likewise.
67863         * nscd/nscd_getgr_r.c: Likewise.
67864         * nscd/nscd_getpw_r.c: Likewise.
67865         * nscd/nscd_getserv_r.c: Likewise.
67866         * posix/getopt_init.c: Likewise.
67867         * posix/wordexp.c: Likewise.
67868         * stdio-common/_itoa.c: Likewise.
67869         * stdio-common/printf_fphex.c: Likewise.
67870         * stdio-common/vfprintf.c: Likewise.
67871         * string/_strerror.c: Likewise.
67872         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67873         * sysdeps/i386/i686/hp-timing.h: Likewise.
67874         * sysdeps/mach/_strerror.c: Likewise.
67875         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67876         * sysdeps/mach/hurd/sethostid.c: Likewise.
67877         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67878         * sysdeps/mach/xpg-strerror.c: Likewise.
67879         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67880         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67881         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67882         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67883         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67884         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67885         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67886         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67887         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67888         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67889         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67890         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67891         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67892         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67893         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67894         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67895         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67896         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67897         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67898         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67899         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67901         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67903         * stdio-common/_itoa.h: Moved to ...
67904         * sysdeps/generic/_itoa.h: Here.
67906         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67908         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67909         instead of "_itoa.h" and "_itowa.h".
67910         * stdio-common/vfprintf.: Likewise.
67912 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67914         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67915         <bits/wordsize.h>.
67916         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67917         (__signbit): Likwise.
67918         (llrintf): Likwise.
67919         (llrint): Likwise.
67921 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67923         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67924         __WORDSIZE != 64.
67926 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67928         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67929         OVERFLOW_EXCEPTION_OK.
67930         * math/libm-test.inc ("Philosophy"): Update comment about
67931         exception testing.
67932         (OVERFLOW_EXCEPTION): Define.
67933         (OVERFLOW_EXCEPTION_OK): Likewise.
67934         (INVALID_EXCEPTION_OK): Renumber.
67935         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67936         (IGNORE_ZERO_INF_SIGN): Likewise.
67937         (test_exceptions): Handle FE_OVERFLOW.
67938         (exp10_test): Expect overflow exceptions.
67939         (exp2_test): Likewise.
67940         (expm1_test): Likewise.
67941         (nextafter_test): Likewise.
67942         (pow_test): Likewise.
67943         (scalbn_test): Likewise.
67944         (scalbln_test): Likewise.
67946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67948         * sysdeps/x86_64/bits/atomic.h
67949         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67950         64bit integer.
67951         (atomic_exchange_acq): Likewise.
67952         (__arch_exchange_and_add_body): Likewise.
67953         (__arch_add_body): Likewise.
67954         (atomic_add_negative): Likewise.
67955         (atomic_add_zero): Likewise.
67957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67959         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67960         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67964         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67965         Check __x86_64__ instead of __WORDSIZE.
67967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67969         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67971 2012-03-19  David S. Miller  <davem@davemloft.net>
67973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67975         * sysdeps/sparc/fpu/fenv_private.h: New file.
67976         * sysdeps/sparc/fpu/math_private.h: Use it.
67977         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67978         Remove.
67979         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67980         (libc_feholdexcept_setroundl): Remove.
67981         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67982         Remove.
67983         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67984         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67988         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67989         int64_t instead of long int.
67990         (INSERT_WORDS64): Likwise.
67992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67994         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67995         _Unwind_GetCFA return to _Unwind_Ptr first.
67997 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67999         [BZ #13629]
68000         * math/s_clog.c: Include <float.h>.
68001         (__clog): Scale large or subnormal inputs.
68002         * math/s_clogf.c: Likewise.
68003         * math/s_clogl.c: Likewise.
68004         * math/s_clog10.c: Include <float.h>.
68005         (M_LOG10_2): Define.
68006         (__clog10): Scale large or subnormal inputs.
68007         * math/s_clog10f.c: Likewise.
68008         * math/s_clog10l.c: Likewise.
68009         * math/libm-test.inc (clog_test): Add more tests.
68010         (clog10_test): Likewise.
68011         * sysdeps/i386/fpu/libm-test-ulps: Update.
68012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68014         [BZ #11451]
68015         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68016         x and y.
68017         * math/libm-test.inc (atan2_test): Add another test.
68019         * Makerules (common-objdir-compile): Remove.
68020         * sysdeps/unix/Makefile (config-generated): Do not add
68021         $(unix-generated) to variable.
68022         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68023         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68024         Remove rule.
68025         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68026         Likewise.
68027         [generic bits/local_lim.h] (before-compile): Do not append to
68028         variable.
68029         [generic bits/local_lim.h] (common-generated): Likewise.
68030         [generic sys/param.h] (before-compile): Do not append to variable.
68031         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68032         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68033         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68034         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68035         include.
68036         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68037         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68038         [generic sys/param.h] ($(addprefix
68039         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68040         [generic sys/param.h] (common-generated): Do not append to
68041         variable.
68042         [generic sys/param.h] (sysdep_headers): Likewise.
68043         [generic bits/errno.h] (before-compile): Do not append to
68044         variable.
68045         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68046         rule.
68047         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68048         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68049         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68050         [generic bits/errno.h] (common-generated): Do not append to
68051         variable.
68052         [generic bits/ioctls.h] (before-compile): Do not append to
68053         variable.
68054         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68055         rule.
68056         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68057         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68058         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68059         rule.
68060         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68061         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68062         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68063         [generic bits/ioctls.h] (common-generated): Do not append to
68064         variable.
68065         [generic sys/syscall.h] (syscall.h): Remove variable.
68066         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68067         rule.
68068         [generic sys/syscall.h] (before-compile): Do not append to
68069         variable.
68070         [generic sys/syscall.h] (common-generated): Likewise.
68071         * sysdeps/unix/errnos-tmpl.c: Remove file.
68072         * sysdeps/unix/errnos.awk: Likewise.
68073         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68074         * sysdeps/unix/ioctls.awk: Likewise.
68075         * sysdeps/unix/mk-local_lim.c: Likewise.
68076         * sysdeps/unix/snarf-ioctls: Likewise.
68078 2012-03-19  Richard Henderson  <rth@twiddle.net>
68080         * sysdeps/i386/fpu/fenv_private.h: New file.
68081         * sysdeps/i386/fpu/math_private.h: Use it.
68082         (math_opt_barrier, math_force_eval): Remove.
68083         (libc_feholdexcept_setround_53bit): Remove.
68084         (libc_feupdateenv_53bit): Remove.
68085         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68086         (math_opt_barrier, math_force_eval): Remove.
68087         (libc_feholdexcept): Remove.
68088         (libc_feholdexcept_setround): Remove.
68089         (libc_fetestexcept, libc_fesetenv): Remove.
68090         (libc_feupdateenv_test): Remove.
68091         (libc_feupdateenv, libc_feholdsetround): Remove.
68092         (libc_feresetround): Remove.
68094         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68095         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68097         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68098         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68099         (libc_feupdateenv_testl): New.
68100         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68101         (libc_feupdateenv_testf): New.
68102         (libc_feupdateenv): Use libc_feupdateenv_test.
68103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68106         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68107         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68108         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68109         (libc_feresetround_noex): New.
68110         (libc_feresetround_noexf): New.
68111         (libc_feresetround_noexl): New.
68112         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68113         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68114         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68115         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68116         SET_RESTORE_ROUND.
68117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68119         (__cos): Likewise.
68120         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68121         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68122         SET_RESTORE_ROUND_NOEX.
68123         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68124         SET_RESTORE_ROUND_NOEXF.
68125         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68126         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68127         (libc_feholdsetroundf): New.
68128         (libc_feresetround, libc_feresetroundf): New.
68130         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68131         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68132         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68134         * sysdeps/generic/math_private.h: Include <fenv.h>.
68135         (default_libc_feholdexcept): New.
68136         (default_libc_feholdexcept_setround): New.
68137         (default_libc_fesetenv, default_libc_feupdateenv): New.
68138         (libc_feholdexcept): Only define if undefined.
68139         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68140         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68141         (libc_feholdexcept_setroundl): Likewise.
68142         (libc_feholdexcept_setround_53bit): Likewise.
68143         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68144         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68145         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68146         (libc_feupdateenv_53bit): Likewise.
68147         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68148         (libc_feholdexcept): Convert from macro to inline function.
68149         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68150         (libc_fesetenv, libc_feupdateenv): Likewise.
68152         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68153         not previously defined.
68154         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68155         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68156         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68157         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68158         * sysdeps/ieee754/flt-32/math_private.h: New file.
68159         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68160         math_private.h below SET_FLOAT_WORD.
68161         (__isnan, __isinf_ns, __finite): Remove.
68162         (__isnanf, __isinf_nsf, __finitef): Remove.
68164 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68168 2012-03-17  David S. Miller  <davem@davemloft.net>
68170         [BZ #6471]
68171         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68172         for 2.16.
68174 2012-03-16  David S. Miller  <davem@davemloft.net>
68176         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68177         warnings.
68179         [BZ #6471]
68180         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68181         properly.
68182         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68183         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68184         sysdep_routines when subdir is sysvipc.
68185         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68186         __getshmlba helper.
68188         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68192         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68193         [__LP64__].
68195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68197         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68198         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68199         (__lround): Renamed to ...
68200         (__llround): This.  Replace long int with long long int.
68201         Define lround functions as aliases of llround functions.
68202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68204 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68206         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68207         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68208         adresses to uintptr_t.  Replace "long int" and "unsigned long
68209         int" with "greg_t" on va_arg.
68211 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68213         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68214         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68216         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68217         Move e_machine check before EI_CLASS check.  Handle x32
68218         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68219         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68220         SKIP_EM_IA_64 and include
68221         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68223         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68224         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68225         (add_system_dir): New macro.
68227         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68228         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68230 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68232         [BZ #2551]
68233         [BZ #2552]
68234         [BZ #2553]
68235         [BZ #2554]
68236         [BZ #2562]
68237         [BZ #2563]
68238         [BZ #2565]
68239         [BZ #2566]
68240         [BZ #2576]
68241         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68242         (y0): Likewise.
68243         * math/w_j0f.c (j0f): Likewise.
68244         (y0f): Likewise.
68245         * math/w_j0l.c (__j0l): Likewise.
68246         (__y0l): Likewise.
68247         * math/w_j1.c (j1): Likewise.
68248         (y1): Likewise.
68249         * math/w_j1f.c (j1f): Likewise.
68250         (y1f): Likewise.
68251         * math/w_j1l.c (__j1l): Likewise.
68252         (__y1l): Likewise.
68253         * math/w_jn.c (jn): Likewise.
68254         (yn): Likewise.
68255         * math/w_jnf.c (jnf): Likewise.
68256         (ynf): Likewise.
68257         * math/w_jnl.c (__jnl): Likewise.
68258         (__ynl): Likewise.
68259         * math/libm-test.inc (j0_test): Add more tests.
68260         (j1_test): Likewise.
68261         (jn_test): Likewise.  Add trailing semicolon to existing test.
68262         (y0_test): Likewise.
68263         (y1_test): Likewise.
68264         * sysdeps/i386/fpu/libm-test-ulps: Update.
68265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68267         [BZ #13851]
68268         [BZ #13854]
68269         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68270         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68271         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68272         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68273         (__tanl): Set errno for infinite argument.
68274         * sysdeps/i386/fpu/mptan.c: Remove.
68275         * sysdeps/i386/fpu/s_tan.S: Likewise.
68276         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68277         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68278         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68279         * math/libm-test.inc (tan_test): Add more tests and enable more
68280         tests for double and long double.
68281         * sysdeps/i386/fpu/libm-test-ulps: Update.
68282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68284 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68286         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68287         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68289 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68291         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68292         * configure.in: Use it for both main tree and add-ons.
68293         * configure: Regenerated.
68295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68297         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68299 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68301         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68302         in comment.
68304         [BZ #13851]
68305         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68306         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68307         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68308         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68309         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68310         infinite argument.
68311         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68312         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68313         != 0 for prec == 2.
68314         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68315         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68316         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68317         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68318         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68319         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68320         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68321         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68322         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68323         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68324         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68325         * math/libm-test.inc (cos_test): Add more tests and enable more
68326         tests for long double.
68327         (sin_test): Likewise.
68328         (sincos_test): Likewise.
68329         * sysdeps/i386/fpu/libm-test-ulps: Update.
68330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68332 2012-03-16  David S. Miller  <davem@davemloft.net>
68334         * sysdeps/sparc/fpu/math_private.h: New file.
68336 2012-03-15  David S. Miller  <davem@davemloft.net>
68338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68339         file.
68340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68342         file.
68343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68348         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68349         sysdep routines.
68350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68352         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68353         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68355         * sysdeps/sparc/sparc-ifunc.h: New file.
68356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68357         sparc-ifunc.h
68358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68360         Likewise.
68361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68362         Likewise.
68363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68367         Likewise.
68368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68373         Likewise.
68374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68375         Likewise.
68376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68394         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68395         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68397         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68399         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68403         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68404         scaling.
68405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68407 2012-03-15  Andreas Jaeger  <aj@suse.de>
68409         [BZ #13852]
68410         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68411         ieee754/flt-32 implementation for sin, cos and sincos.
68412         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68413         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68414         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68415         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68416         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68417         ieee754/flt-32 implementation for tan.
68419         * math/libm-test.inc (cos_test): Enable some large input tests for
68420         float as well
68421         (sin_test): Likewise.
68422         (sincos_test): Likewise.
68423         (tan_test): Add tests for large input.
68425         * sysdeps/i386/fpu/libm-test-ulps: Update.
68427 2012-03-15  Andreas Jaeger  <aj@suse.de>
68429         [BZ #13658]
68430         * math/libm-test.inc (cos_test): Add more test cases.
68431         (sin_test): Likewise.
68432         (sincos_test): Likewise.
68434 2012-03-15  Andreas Jaeger  <aj@suse.de>
68436         [BZ #13837]
68437         * math/libm-test.inc (cos_test): Add a test case for large input
68438         value.
68439         (sin_test): Likewise.
68440         (sincos_test): Likewise.
68442 2012-03-15  Andreas Jaeger  <aj@suse.de>
68443             Joseph Myers  <joseph@codesourcery.com>
68445         [BZ #13658]
68446         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68447         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68448         * sysdeps/i386/fpu/branred.c: Likewise.
68449         * sysdeps/i386/fpu/dosincos.c: Likewise.
68450         * sysdeps/i386/fpu/mpa.c: Likewise.
68451         * sysdeps/i386/fpu/s_cos.S: Likewise.
68452         * sysdeps/i386/fpu/s_sin.S: Likewise.
68453         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68454         * sysdeps/i386/fpu/sincos32.c: Likewise.
68456         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68457         Define.
68458         (libc_feupdateenv_53bit): Define.
68459         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68460         Define.
68461         (libc_feupdateenv_53bit): Define.
68463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68464         53 bit (without extend i386 double precision).
68466         * math/libm-test.inc (sincos_test): Add tests for large input.
68467         (sin): Likewise.
68468         (cos): Likewise.
68470         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68472 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68476 2012-03-15  David S. Miller  <davem@davemloft.net>
68478         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68479         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68480         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68481         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68494         file.
68495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68497         file.
68498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68500         file.
68501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68503         file.
68504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68506         fmin/fmax sysdep routines.
68507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68509 2012-03-14  David S. Miller  <davem@davemloft.net>
68511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68518         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68530         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68533         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68534         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68537         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68538         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68540         routines.
68541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68542         file.
68543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68545         file.
68546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68548         file.
68549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68551         file.
68552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68554         file.
68555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68557         file.
68558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68559         file.
68560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68561         file.
68562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68563         file.
68564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68565         New file.
68566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68567         file.
68568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68569         file.
68570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68572         file.
68573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68575         file.
68576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68578         file.
68579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68581         VIS3 routines.
68583         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68584         New file.
68586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68588         * sysdeps/sparc/configure.in: New file.
68589         * sysdeps/sparc/configure: Generate.
68590         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68591         * configure: Regenerate.
68592         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68593         * config.make.in (have-as-vis3): New.
68594         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68595         available use -Av9d instead of -Av9a.
68596         * sysdeps/sparc/sparc64/Makefile: Likewise.
68597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68599         New file.
68600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68601         file.
68602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68603         New file.
68604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68605         file.
68606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68609         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68610         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68612         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68613         fzeros/fnegs to load 0x80000000 into a float register instead of
68614         using the stack.
68615         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68617 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68620         bits/syscall.h.
68621         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68622         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68623         ($(inst_includedir)/bits/syscall.h): Remove rule.
68624         ($(objpfx)bits/syscall.d): Include instead of
68625         $(objpfx)syscall-list.d.
68626         (generated): Change syscall-list.h and syscall-list.d to
68627         bits/syscall.h and bits/syscall.d.
68629 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68631         [BZ #13846]
68632         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68634 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68636         [BZ #13841]
68637         * math/s_csqrt.c: Include <float.h>.
68638         (__csqrt): Scale large or subnormal inputs.
68639         * math/s_csqrtf.c: Likewise.
68640         * math/s_csqrtl.c: Likewise.
68641         * math/libm-test.inc (csqrt_test): Add more tests.
68642         * sysdeps/i386/fpu/libm-test-ulps: Update.
68643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68645         [BZ #13840]
68646         * math/libm-test.inc (hypot_test): Add more tests.
68648 2012-03-13  David S. Miller  <davem@davemloft.net>
68650         [BZ #13840]
68651         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68652         double-precision for the calculation instead of scaling.
68654 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68656         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68657         manipulate bits before adding and subtracting TWO52[sx].
68658         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68659         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68660         Likewise.
68661         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68663 2012-03-13  David S. Miller  <davem@davemloft.net>
68665         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68666         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68668         rtld-global-offsets.h
68669         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68671         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68672         large parameters.
68674         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68676         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68677         'err' in the ifdef scope in which it is actually used.
68679         * nss/nss_db/db-init.c: Include string.h
68681 2012-03-12  David S. Miller  <davem@davemloft.net>
68683         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68684         masking out of the most significant byte of random value used.
68685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68686         Fix coding style in previous change.
68688         * sysdeps/unix/sysv/linux/kernel-features.h
68689         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68690         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68691         expression.
68692         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68693         later.
68695 2012-03-11  David S. Miller  <davem@davemloft.net>
68697         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68698         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68699         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68700         for 'resultvar' otherwise things get truncated on 64-bit.
68702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68703         Fix masking out of the most significant byte of random value used.
68705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68707 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68711 2012-03-09  David S. Miller  <davem@davemloft.net>
68713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68714         variables with appropriate CPP guards.
68715         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68716         from the frame pointer, not the stack pointer.  Correct layout
68717         comments.  Fix test on resulting framesize and the management of
68718         the outregs buffer for pltexit.  Preserve floating point return
68719         values across _dl_call_pltexit call.
68720         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68721         framesize and the management of the outregs buffer for pltexit.
68722         Preserve floating point return values across _dl_call_pltexit
68723         call.
68724         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68725         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68726         (la_sparc64_gnu_pltexit): New functions.
68727         (print_exit): Fix format string for return register value.
68729 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68731         * sunrpc/Makefile (others): Add rpcgen.
68732         ($(objpfx)rpcgen): Remove special build rule and dependency on
68733         libc.
68734         * sunrpc/rpcgen.c: New file.
68736 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68738         [BZ #13673]
68739         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68740         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68741         * sysdeps/i386/crti.S: Likewise.
68742         * sysdeps/i386/crtn.S: Likewise.
68743         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68744         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68745         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68746         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68747         * sysdeps/sh/crti.S: Likewise.
68748         * sysdeps/sh/crtn.S: Likewise.
68749         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68751         [BZ #13673]
68752         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68753         with URL.
68754         * locale/programs/locfile-kw.gperf: Likewise.
68755         * locale/programs/charmap-kw.h: Regenerated.
68756         * locale/programs/locfile-kw.h: Likewise.
68758         [BZ #13673]
68759         * intl/plural.y: Replace FSF snail mail address with URL.
68760         * intl/plural.c: Regenerated.
68762 2012-03-09  Richard Henderson  <rth@twiddle.net>
68764         * include/math_private.h: Remove file.
68765         * math/math_private.h: Move file ...
68766         * sysdeps/generic/math_private.h: ... here.
68768         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68769         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68770         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68772         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68773         and <math_private.h>.
68774         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68775         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68776         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68777         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68778         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68779         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68782         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68783         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68785         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68786         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68787         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68788         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68789         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68790         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68791         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68792         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68793         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68795         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68796         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68798         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68799         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68800         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68801         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68803         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68804         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68805         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68806         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68807         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68808         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68809         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68810         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68811         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68812         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68813         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68814         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68815         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68816         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68817         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68818         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68819         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68820         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68821         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68822         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68823         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68824         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68825         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68826         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68827         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68828         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68829         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68830         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68832         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68833         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68834         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68835         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68837         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68838         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68839         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68840         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68841         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68842         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68843         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68845         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68846         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68851         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68853         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68854         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68855         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68857         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68858         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68859         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68861         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68862         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68863         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68864         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68865         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68866         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68867         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68868         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68869         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68870         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68871         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68872         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68873         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68874         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68875         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68876         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68877         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68878         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68879         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68880         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68881         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68882         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68883         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68884         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68885         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68886         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68887         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68888         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68889         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68890         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68891         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68892         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68893         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68894         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68895         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68896         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68897         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68898         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68900         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68901         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68902         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68903         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68904         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68905         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68906         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68907         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68908         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68909         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68910         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68911         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68912         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68913         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68914         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68915         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68916         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68917         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68918         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68919         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68920         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68921         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68922         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68923         * sysdeps/ieee754/k_standard.c: Likewise.
68924         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68925         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68927         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68928         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68929         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68930         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68931         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68933         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68935         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68936         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68937         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68938         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68939         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68940         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68941         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68942         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68943         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68944         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68945         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68946         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68947         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68948         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68949         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68950         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68951         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68952         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68955         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68956         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68957         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68958         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68959         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68960         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68961         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68962         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68963         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68964         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68965         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68966         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68967         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68968         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68969         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68970         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68971         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68972         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68974         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68975         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68976         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68977         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68978         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68979         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68980         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68981         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68982         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68983         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68984         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68985         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68986         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68987         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68990         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68991         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68992         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68993         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68996         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69001         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69004         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69009         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69010         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69015         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69016         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69017         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69019         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69021         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69022         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69023         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69025         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69026         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69028         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69029         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69031         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69032         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69033         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69034         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69035         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69036         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69037         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69038         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69039         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69040         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69041         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69042         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69045         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69047         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69052         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69053         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69056         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69057         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69058         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69059         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69060         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69061         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69064         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69065         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69066         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69067         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69068         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69069         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69070         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69073         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69074         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69075         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69077         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69078         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69079         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69080         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69081         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69082         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69083         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69084         * sysdeps/ieee754/s_lib_version.c: Likewise.
69085         * sysdeps/ieee754/s_matherr.c: Likewise.
69086         * sysdeps/ieee754/s_signgam.c: Likewise.
69087         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69088         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69090         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69091         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69092         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69093         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69094         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69095         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69096         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69097         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69098         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69099         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69100         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69101         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69102         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69103         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69104         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69105         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69107         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69109 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69111         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69112         * sunrpc/rpc_main.c: Likewise.
69113         * sunrpc/rpc_svcout.c: Likewise.
69115 2012-03-09  David S. Miller  <davem@davemloft.net>
69117         * include/math_private.h: New file.
69119 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69121         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69122         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69123         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69124         from <bits/socket_type.h>.
69125         (enum __socket_type): Don't define here.
69126         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69128         bits/socket_type.h.
69130         [BZ #13566]
69131         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69132         checking __USE_GNU.
69134         * Makerules ($(inst_includedir)/%.h): New rule.
69135         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69136         (install-others): Remove variable setting.
69137         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69139 2012-03-08  Richard Henderson  <rth@twiddle.net>
69141         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69142         from macro to inline function; merge with the
69143         !__LIBC_INTERNAL_MATH_INLINES version.
69144         (__ieee754_sqrtf): Likewise.
69146         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69147         to inline function.
69148         (__rintf, __floor, __floorf): Likewise.
69150         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69151         macro to inline function.
69152         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69154         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69155         not <math/math_private.h>.
69157 2012-03-08  David S. Miller  <davem@davemloft.net>
69159         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69160         copyright year.
69161         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69163 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69165         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69166         normalization.
69167         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69168         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69170 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69172         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69173         be defined individually, they must be defined as a block.  Define
69174         S for printing a string instead of hidint the different by using a
69175         macro for adding the 'l'.
69176         * stdio-common/tst-fphex-wide.c: Adjust.
69178 2012-03-07  Marek Polacek  <polacek@redhat.com>
69180         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69182 2012-03-08  Marek Polacek  <polacek@redhat.com>
69184         [BZ #13806]
69185         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69186         * stdio-common/tst-fphex.c: Define a few macros to make the
69187         test reusable.  Use them.
69188         * stdio-common/tst-fphex-wide.c: New file.
69190 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69192         [BZ #6911]
69193         * manual/macros.texi (gnusystems): New macro.
69194         (nongnusystems): Likewise.
69195         (gnulinuxhurdsystems): Likewise.
69196         (gnuhurdsystems): Likewise..
69197         (gnulinuxsystems): Likewise.
69198         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69199         variants of the GNU system, not "GNU system".
69200         * manual/conf.texi: Likewise.
69201         * manual/errno.texi: Likewise.  Update example of errno macro
69202         expansion.
69203         * manual/filesys.texi: Likewise.
69204         (getumask): Document as specific to GNU/Hurd.
69205         * manual/install.texi: Likewise.  Reword some references to
69206         GNU/Linux.
69207         * manual/intro.texi: Likewise.
69208         * manual/io.texi: Likewise.
69209         (File Name Portability): Detail which constraints are inapplicable
69210         to all GNU systems and which are only inapplicable to GNU/Hurd.
69211         * manual/job.texi: Likewise.
69212         * manual/llio.texi: Likewise.
69213         (O_NOCTTY): Document as present on GNU/Linux.
69214         * manual/maint.texi: Likewise.
69215         * manual/memory.texi: Likewise.
69216         * manual/pattern.texi: Likewise.
69217         * manual/pipe.texi: Likewise.
69218         * manual/process.texi: Likewise.
69219         * manual/resource.texi: Likewise.
69220         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69221         child on GNU/Hurd.
69222         * manual/setjmp.texi: Likewise.
69223         * manual/signal.texi: Likewise.
69224         * manual/startup.texi: Likewise.
69225         * manual/stdio.texi: Likewise.
69226         * manual/terminal.texi: Likewise.
69227         (ONLCR): Document as POSIX.
69228         (OXTABS): Document availability on GNU/Linux as XTABS.
69229         (ONOEOT): Document availability separately from other bits.
69230         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69231         * manual/time.texi: Likewise.
69232         * manual/users.texi: Likewise.
69233         * INSTALL: Regenerated.
69234         * sysdeps/gnu/errlist.c: Regenerated.
69236         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69237         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69238         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69239         puts.
69240         * configure: Regenerated.
69242 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69244         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69245         default includes instead of AC_HEADER_CHECK.
69246         * sysdeps/i386/configure: Regenerated.
69248         [BZ #10716]
69249         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69250         * math/s_cacoshf.c (__cacoshf): Likewise.
69251         * math/s_cacoshl.c (__cacoshl): Likewise.
69252         * math/s_casinh.c (__casinh): Set signs of result from argument.
69253         * math/s_casinhf.c (__casinhf): Likewise.
69254         * math/s_casinhl.c (__casinhl): Likewise.
69255         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69256         (casinh_test): Add more tests.
69257         * sysdeps/i386/fpu/libm-test-ulps: Update.
69258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69260 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69262         * po/zh_TW.po: Update from translation team.
69264         * login/Makefile (distribute): Remove variable.
69265         * catgets/Makefile: Likewise.
69266         * mach/Makefile: Likewise.
69267         * malloc/Makefile: Likewise.
69268         * misc/Makefile: Likewise.
69269         * iconv/Makefile: Likewise.
69270         * nscd/Makefile: Likewise.
69271         * hurd/Makefile: Likewise.
69272         * manual/Makefile: Likewise.
69273         * locale/Makefile: Likewise.
69274         * intl/Makefile: Likewise.
69275         * conform/Makefile: Likewise.
69276         * nss/Makefile: Likewise.
69277         * time/Makefile: Likewise.
69278         * soft-fp/Makefile: Likewise.
69279         * dirent/Makefile: Likewise.
69280         * gmon/Makefile: Likewise.
69281         * po/Makefile: Likewise.
69282         * rt/Makefile: Likewise.
69283         * socket/Makefile: Likewise.
69284         * math/Makefile: Likewise.
69285         * signal/Makefile: Likewise.
69286         * debug/Makefile: Likewise.
69287         * elf/Makefile: Likewise.
69288         * timezone/Makefile: Likewise.
69289         * stdlib/Makefile: Likewise.
69290         * iconvdata/Makefile: Likewise.
69291         * sunrpc/Makefile: Likewise.
69292         * io/Makefile: Likewise.
69293         * argp/Makefile: Likewise.
69294         * inet/Makefile: Likewise.
69295         * hesiod/Makefile: Likewise.
69296         * grp/Makefile: Likewise.
69297         * csu/Makefile: Likewise.
69298         * wctype/Makefile: Likewise.
69299         * crypt/Makefile: Likewise.
69300         * libio/Makefile: Likewise.
69301         * string/Makefile: Likewise.
69302         * nis/Makefile: Likewise.
69303         * resolv/Makefile: Likewise.
69304         * stdio-common/Makefile: Likewise.
69305         * wcsmbs/Makefile: Likewise.
69306         * dlfcn/Makefile: Likewise.
69307         * posix/Makefile: Likewise.
69309         [BZ #6959]
69310         * timezone/Makefile: Don't install timezone files, just the programs
69311         and scripts.
69313 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69315         * nss/databases.def: Add missing gshadow entry.
69317         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69319 2012-03-06  Marek Polacek  <polacek@redhat.com>
69321         [BZ #13726]
69322         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69323         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69324         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69325         * stdio-common/tst-long-dbl-fphex.c: New file.
69327 2012-03-06  David S. Miller  <davem@davemloft.net>
69329         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69330         (set_obp_int): New function.
69331         (get_obp_int): New function.
69332         (__get_clockfreq_via_dev_openprom): Likewise.
69333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69334         Avoid unused variable warnings on 'val' and use builtin_expect.
69335         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69336         __builtin_expect.
69337         (INLINE_CLONE_SYSCALL): Likewise.
69339 2012-03-05  David S. Miller  <davem@davemloft.net>
69341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69343 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69348         only for |x| >= 40.
69349         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69351 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69354         Replace gettimeofday with __vdso_gettimeofday.
69356         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69357         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69358         __vdso_clock_gettime and __vdso_getcpu.
69360         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69361         time with __vdso_time.
69363 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69365         * manual/lang.texi (size_t): Note types to which size_t may be
69366         equivalent with the GNU C Library, but do not describe when
69367         differences between them are significant.
69369 2012-03-05  Andreas Jaeger  <aj@suse.de>
69371         * sysdeps/i386/fpu/libm-test-ulps: Update.
69373 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69375         [BZ #3976]
69376         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69377         (__ieee754_pow): Save and restore rounding mode and use
69378         round-to-nearest for main computations.
69379         * math/libm-test.inc (pow_test_tonearest): New function.
69380         (pow_test_towardzero): Likewise.
69381         (pow_test_downward): Likewise.
69382         (pow_test_upward): Likewise.
69383         (main): Call the new functions.
69384         * sysdeps/i386/fpu/libm-test-ulps: Update.
69385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69387         [BZ #3976]
69388         * math/libm-test.inc (cosh_test_tonearest): New function.
69389         (cosh_test_towardzero): Likewise.
69390         (cosh_test_downward): Likewise.
69391         (cosh_test_upward): Likewise.
69392         (sinh_test_tonearest): Likewise.
69393         (sinh_test_towardzero): Likewise.
69394         (sinh_test_downward): Likewise.
69395         (sinh_test_upward): Likewise.
69396         (main): Call the new functions.
69397         * sysdeps/i386/fpu/libm-test-ulps: Update.
69398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69400 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69402         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69403         default stack guard is set in last bytes.
69404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69406 2012-03-05  Kees Cook  <keescook@chromium.org>
69408         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69410         [BZ #13656]
69411         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69412         possibly allocate from heap instead of stack.
69413         * stdio-common/bug-vfprintf-nargs.c: New file.
69414         * stdio-common/Makefile (tests): Add nargs overflow test.
69416 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69420 2012-03-03  Marek Polacek  <polacek@redhat.com>
69422         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69423         * math/math_private.h: Likewise.
69424         * stdlib/tst-strtod.c: Likewise.
69425         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69426         * sysdeps/x86_64/bits/atomic.h: Likewise.
69428 2012-03-02  David S. Miller  <davem@davemloft.net>
69430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69434         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69435         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69436         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69437         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69439 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69441         [BZ #13792]
69442         * manual/examples/README: New file, says the example source files
69443         can be used under GPL>=2.
69444         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69445         line containing just "*/".
69446         * manual/examples/add.c: Add copyright header (GPL>=2).
69447         * manual/examples/argp-ex1.c: Likewise.
69448         * manual/examples/argp-ex2.c: Likewise.
69449         * manual/examples/argp-ex3.c: Likewise.
69450         * manual/examples/argp-ex4.c: Likewise.
69451         * manual/examples/atexit.c: Likewise.
69452         * manual/examples/db.c: Likewise.
69453         * manual/examples/dir.c: Likewise.
69454         * manual/examples/dir2.c: Likewise.
69455         * manual/examples/execinfo.c: Likewise.
69456         * manual/examples/filecli.c: Likewise.
69457         * manual/examples/filesrv.c: Likewise.
69458         * manual/examples/fmtmsgexpl.c: Likewise.
69459         * manual/examples/genpass.c: Likewise.
69460         * manual/examples/inetcli.c: Likewise.
69461         * manual/examples/inetsrv.c: Likewise.
69462         * manual/examples/isockad.c: Likewise.
69463         * manual/examples/longopt.c: Likewise.
69464         * manual/examples/memopen.c: Likewise.
69465         * manual/examples/memstrm.c: Likewise.
69466         * manual/examples/mkfsock.c: Likewise.
69467         * manual/examples/mkisock.c: Likewise.
69468         * manual/examples/mygetpass.c: Likewise.
69469         * manual/examples/pipe.c: Likewise.
69470         * manual/examples/popen.c: Likewise.
69471         * manual/examples/rprintf.c: Likewise.
69472         * manual/examples/search.c: Likewise.
69473         * manual/examples/select.c: Likewise.
69474         * manual/examples/setjmp.c: Likewise.
69475         * manual/examples/sigh1.c: Likewise.
69476         * manual/examples/sigusr.c: Likewise.
69477         * manual/examples/stpcpy.c: Likewise.
69478         * manual/examples/strdupa.c: Likewise.
69479         * manual/examples/strftim.c: Likewise.
69480         * manual/examples/strncat.c: Likewise.
69481         * manual/examples/subopt.c: Likewise.
69482         * manual/examples/swapcontext.c: Likewise.
69483         * manual/examples/termios.c: Likewise.
69484         * manual/examples/testopt.c: Likewise.
69485         * manual/examples/testpass.c: Likewise.
69486         * manual/examples/timeval_subtract.c: Likewise.
69488         [BZ #13792]
69489         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69490         function to ...
69491         * manual/timeval_subtract.c.texi: ... here, new file.
69493 2012-03-02  David S. Miller  <davem@davemloft.net>
69495         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69497 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69499         [BZ #3976]
69500         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69501         (__sin): Save and restore rounding mode and use round-to-nearest
69502         for all computations.
69503         (__cos): Save and restore rounding mode and use round-to-nearest
69504         for all computations.
69505         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69506         <fenv.h>.
69507         (tan): Save and restore rounding mode and use round-to-nearest for
69508         all computations.
69509         * math/libm-test.inc (cos_test_tonearest): New function.
69510         (cos_test_towardzero): Likewise.
69511         (cos_test_downward): Likewise.
69512         (cos_test_upward): Likewise.
69513         (sin_test_tonearest): Likewise.
69514         (sin_test_towardzero): Likewise.
69515         (sin_test_downward): Likewise.
69516         (sin_test_upward): Likewise.
69517         (tan_test_tonearest): Likewise.
69518         (tan_test_towardzero): Likewise.
69519         (tan_test_downward): Likewise.
69520         (tan_test_upward): Likewise.
69521         (main): Call the new functions.
69522         * sysdeps/i386/fpu/libm-test-ulps: Update.
69523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69525         [BZ #10135]
69526         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69527         small n, then large n, before computing and testing k+n.
69528         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69530         Likewise.
69531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69532         Likewise.
69533         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69534         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69535         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69537         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69538         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69539         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69540         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69541         * math/libm-test.inc (scalbn_test): Add more tests.
69542         (scalbln_test): Likewise.
69544         * manual/filesys.texi (mode_t): Describe constraints on size and
69545         signedness, not exact equivalence to a particular type.
69546         (ino_t): Likewise.
69547         (ino64_t): Likewise.
69548         (dev_t): Likewise.
69549         (nlink_t): Likewise.
69550         (blkcnt_t): Likewise.
69551         (blkcnt64_t): Likewise.
69552         * manual/llio.texi (off_t): Likewise.
69554         [BZ #3976]
69555         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69556         (__ieee754_exp): Save and restore rounding mode and use
69557         round-to-nearest for all computations.
69558         * math/libm-test.inc (exp_test_tonearest): New function.
69559         (exp_test_towardzero): Likewise.
69560         (exp_test_downward): Likewise.
69561         (exp_test_upward): Likewise.
69562         (main): Call the new functions.
69563         * sysdeps/i386/fpu/libm-test-ulps: Update.
69564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69566 2012-03-01  Chris Demetriou  <cgd@google.com>
69568         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69569         have predictable order.
69571 2012-03-01  David S. Miller  <davem@davemloft.net>
69573         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69575         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69576         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69577         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69578         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69580         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69581         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69582         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69584         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69585         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69586         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69587         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69588         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69592         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69593         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69594         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69596         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69597         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69598         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69599         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69600         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69601         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69602         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69603         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69604         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69605         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69606         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69607         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69609         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69610         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69612         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69613         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69614         * sysdeps/sparc/elf/configure: Regenerated.
69616 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69618         * configure.in (AS, LD): Require binutils 2.20 or later.
69619         * configure: Regenerated.
69620         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69621         as required minimum version.
69622         * INSTALL: Regenerated.
69624         [BZ #2541]
69625         [BZ #4108]
69626         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69627         before squaring exponent.
69628         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69629         bottom long double and 27 bits of top long double before squaring
69630         exponent.
69631         * math/libm-test.inc (erfc_test): Add more tests.
69632         * sysdeps/i386/fpu/libm-test-ulps: Update.
69633         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69636 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69638         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69639         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69640         containing bit-fields.
69641         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69642         * soft-fp/single.h (_FP_UNION_S): Likewise.
69643         * soft-fp/double.h (_FP_UNION_D): Likewise.
69645 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69647         [BZ #13786]
69648         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69649         not include ../strcmp.S.
69650         [USE_AS_STRNCASECMP_L]: Likewise.
69651         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69652         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69653         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69654         (__strncasecmp_l_ia32): Define as alias to
69655         __strncasecmp_l_nonascii.
69657         [BZ #5794]
69658         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69659         * sysdeps/i386/fpu/libm-test-ulps: Update.
69660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69662         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69665 2012-02-29  Jeff Law  <law@redhat.com>
69667         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69668         out of bounds read.
69670 2012-02-29  Marek Polacek  <polacek@redhat.com>
69672         [BZ #13706]
69673         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69674         * elf/Makefile: Add rules to run tst-unused-dep.out.
69676 2012-02-28  David S. Miller  <davem@davemloft.net>
69678         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69679         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69680         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69681         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69682         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69683         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69685 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69687         * math/libm-test.inc (llround_test): Move one test from
69688         lround_test.  Use TEST_f_L in moved test.
69689         (lround_test): Move misplaced test to llround_test.  Add testcase
69690         from bug 2561.
69692 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69694         * sysdeps/x86_64/fpu/e_expf.S: New file.
69695         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69697 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69699         [BZ #13637]
69700         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69701         of remain_len that may cause incomplete multi-byte character and
69702         false match.
69703         * posix/bug-regex33.c: New file.
69704         * posix/Makefile (tests): Add bug-regex33.
69706 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69708         * manual/macros.texi: New file.
69709         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69710         * manual/libc.texinfo: Include macros.texi.
69711         * manual/creatute.texi: Likewise.
69712         * manual/install.texi: Likewise.
69713         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69714         @glibcadj{} in references to the GNU C Library.
69715         * manual/charset.texi: Likewise.
69716         * manual/conf.texi: Likewise.
69717         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69718         when not using those macros.
69719         * manual/creature.texi: Likewise.
69720         * manual/crypt.texi: Likewise.
69721         * manual/errno.texi: Likewise.
69722         * manual/filesys.texi: Likewise.
69723         * manual/header.texi: Likewise.
69724         * manual/install.texi: Likewise.
69725         * manual/intro.texi: Likewise.
69726         * manual/io.texi: Likewise.
69727         * manual/job.texi: Likewise.
69728         * manual/lang.texi: Likewise.
69729         * manual/libc.texiinfo: Likewise.
69730         * manual/llio.texi: Likewise.
69731         * manual/locale.texi: Likewise.
69732         * manual/maint.texi: Likewise.
69733         * manual/math.texi: Likewise.
69734         * manual/memory.texi: Likewise.
69735         * manual/message.texi: Likewise.
69736         * manual/nss.texi: Likewise.
69737         * manual/pattern.texi: Likewise.
69738         * manual/process.texi: Likewise.
69739         * manual/resource.texi: Likewise.
69740         * manual/search.texi: Likewise.
69741         * manual/setjmp.texi: Likewise.
69742         * manual/signal.texi: Likewise.
69743         * manual/socket.texi: Likewise.
69744         * manual/startup.texi: Likewise.
69745         * manual/stdio.texi: Likewise.
69746         * manual/string.texi: Likewise.
69747         * manual/sysinfo.texi: Likewise.
69748         * manual/syslog.texi: Likewise.
69749         * manual/terminal.texi: Likewise.
69750         * manual/time.texi: Likewise.
69751         * manual/users.texi: Likewise.
69752         * INSTALL: Regenerated.
69753         * NOTES: Regenerated.
69754         * sysdeps/gnu/errlist.c: Regenerated.
69756 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69758         * include/dirent.h: Include <dirstream.h> before
69759         <dirent/dirent.h>.
69761 2012-02-28  David S. Miller  <davem@davemloft.net>
69763         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69764         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69765         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69766         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69768 2012-02-27  David S. Miller  <davem@davemloft.net>
69770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69772         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69773         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69776         frame pointer instead of stack pointer relative arg slot.
69777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69778         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69779         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69781 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69783         [BZ #3992]
69784         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69786 2012-02-27  David S. Miller  <davem@davemloft.net>
69788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69792         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69793         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69794         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69795         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69797 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69799         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69800         later.  Allow versions 5-9.
69801         * configure: Regenerated.
69802         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69803         required minimum version and 4.6 as recommended version.  Do not
69804         mention bugs in GCC 2.7 and 2.8.
69805         * INSTALL: Regenerated.
69807 2012-02-27  David S. Miller  <davem@davemloft.net>
69809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69813         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69814         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69815         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69816         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69818         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69819         manipulate bits before adding and subtracting TWO112[sx].
69820         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69822 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69824         [BZ #13775]
69825         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69826         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69827         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69828         being in POSIX, because they are in 1003.1-2008.
69830         * rt/tst-aio.c: Include <fcntl.h>.
69831         * rt/tst-aio7.c: Likewise.
69832         * rt/tst-aio64.c: Likewise.
69834         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69836 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69838         * manual/install.texi (--with-headers): Describe headers as
69839         interface headers, not private headers.
69840         (Specific advice for GNU/Linux systems): Describe use of headers
69841         from "make headers_install", not private headers from older
69842         kernels.
69843         * INSTALL: Regenerated.
69844         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69845         Change to 2.6.19.
69846         * sysdeps/unix/sysv/linux/configure: Regenerated.
69848         * manual/llio.texi (fclean): Remove documentation.
69850         * manual/Makefile (libc-texi-generated): New variable.  Include
69851         version.texi.
69852         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69853         $(libc-texi-generated), not duplicated list of files.
69854         (version.texi, stamp-version): New rules.
69855         (realclean): Remove $(libc-texi-generated), not individual files
69856         from that list.  Do not remove dir-add.texinfo.
69857         * manual/libc.texinfo: Comment out uses of edition numbers and
69858         references to printed manual.  Remove last-updated dates.
69859         (EDITION): Comment out.
69860         (ISBN): Likewise.
69861         (VERSION, UPDATED): Remove.
69862         (version.texi): Include.
69864 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69866         * sysdeps/posix/spawni.c: Include <signal.h>.
69867         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69868         * sysdeps/pthread/aio_fsync.c: Likewise.
69870 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69872         * conform/Makefile (tests): Run only when not cross-compiling and
69873         when fast-check is not defined.
69875         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69876         * conform/data/limits.h-data: Fixes for POSIX2008.
69877         * conform/run-conformtest.sh: Run all tests.
69878         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69879         headers.
69880         * include/bits/dlfcn.h: Likewise.
69881         * include/langinfo.h: Likewise.
69882         * include/monetary.h: Likewise.
69883         * include/sys/poll.h: Likewise.
69885         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69886         for __USE_GNU.
69887         * posix/spawn.h: Define __need_sigset_t.
69888         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69889         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69890         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69891         to get sigevent_t only.
69892         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69893         only for __USE_GNU.
69894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69895         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69896         process_vm_writev only for __USE_GNU.
69897         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69899         * conform/Makefile: For now ignore errors from run-conformtest.
69900         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69901         POSIX to avoid namespace pollution.  Don't prepend headers.
69902         * conform/data/aio.h-data: Fixes for POSIX testing.
69903         * conform/data/fcntl.h-data: Likewise.
69904         * conform/data/glob.h-data: Likewise.
69905         * conform/data/grp.h-data: Likewise.
69906         * conform/data/pthread.h-data: Likewise.
69907         * conform/data/pwd.h-data: Likewise.
69908         * conform/data/signal.h-data: Likewise.
69909         * conform/data/spawn.h-data: Likewise.
69910         * conform/data/stdio.h-data: Likewise.
69911         * conform/data/stdlib.h-data: Likewise.
69912         * conform/data/stropts.h-data: Likewise.
69913         * conform/data/sys/mman.h-data: Likewise.
69914         * conform/data/sys/stat.h-data: Likewise.
69915         * conform/data/sys/types.h-data: Likewise.
69916         * conform/data/sys/wait.h-data: Likewise.
69917         * conform/data/time.h-data: Likewise.
69918         * conform/data/unistd.h-data: Likewise.
69919         * conform/data/utime.h-data: Likewise.
69921         * io/sys/stat.h: fchmod was always in POSIX.
69922         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69923         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69924         * rt/aio.h: Define __need_timespec before including <time.h>.
69925         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69926         struct.  Add forward declaration of pthread_attr_t and use it in
69927         sigevent.
69928         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69930         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69931         always remove CLK_TCK definition.
69933 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69935         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69937 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69939         * conform/run-conformtest.sh: New file.
69940         * conform/Makefile: Run run-conformtest for tests.
69941         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69942         support.
69944         * conform/data/uchar.h-data: New file.
69945         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69946         * conform/data/arpa/inet.h-data: Likewise.
69947         * conform/data/assert.h-data: Likewise.
69948         * conform/data/complex.h-data: Likewise.
69949         * conform/data/cpio.h-data: Likewise.
69950         * conform/data/ctype.h-data: Likewise.
69951         * conform/data/dirent.h-data: Likewise.
69952         * conform/data/dlfcn.h-data: Likewise.
69953         * conform/data/errno.h-data: Likewise.
69954         * conform/data/fcntl.h-data: Likewise.
69955         * conform/data/float.h-data: Likewise.
69956         * conform/data/fmtmsg.h-data: Likewise.
69957         * conform/data/fnmatch.h-data: Likewise.
69958         * conform/data/ftw.h-data: Likewise.
69959         * conform/data/glob.h-data: Likewise.
69960         * conform/data/grp.h-data: Likewise.
69961         * conform/data/iconv.h-data: Likewise.
69962         * conform/data/inttypes.h-data: Likewise.
69963         * conform/data/langinfo.h-data: Likewise.
69964         * conform/data/libgen.h-data: Likewise.
69965         * conform/data/limits.h-data: Likewise.
69966         * conform/data/locale.h-data: Likewise.
69967         * conform/data/math.h-data: Likewise.
69968         * conform/data/monetary.h-data: Likewise.
69969         * conform/data/mqueue.h-data: Likewise.
69970         * conform/data/ndbm.h-data: Likewise.
69971         * conform/data/net/if.h-data: Likewise.
69972         * conform/data/netdb.h-data: Likewise.
69973         * conform/data/netinet/in.h-data: Likewise.
69974         * conform/data/nl_types.h-data: Likewise.
69975         * conform/data/poll.h-data: Likewise.
69976         * conform/data/pthread.h-data: Likewise.
69977         * conform/data/pwd.h-data: Likewise.
69978         * conform/data/regex.h-data: Likewise.
69979         * conform/data/sched.h-data: Likewise.
69980         * conform/data/search.h-data: Likewise.
69981         * conform/data/semaphore.h-data: Likewise.
69982         * conform/data/setjmp.h-data: Likewise.
69983         * conform/data/signal.h-data: Likewise.
69984         * conform/data/spawn.h-data: Likewise.
69985         * conform/data/stdarg.h-data: Likewise.
69986         * conform/data/stdio.h-data: Likewise.
69987         * conform/data/stdlib.h-data: Likewise.
69988         * conform/data/string.h-data: Likewise.
69989         * conform/data/strings.h-data: Likewise.
69990         * conform/data/stropts.h-data: Likewise.
69991         * conform/data/sys/ipc.h-data: Likewise.
69992         * conform/data/sys/mman.h-data: Likewise.
69993         * conform/data/sys/msg.h-data: Likewise.
69994         * conform/data/sys/resource.h-data: Likewise.
69995         * conform/data/sys/select.h-data: Likewise.
69996         * conform/data/sys/sem.h-data: Likewise.
69997         * conform/data/sys/shm.h-data: Likewise.
69998         * conform/data/sys/socket.h-data: Likewise.
69999         * conform/data/sys/stat.h-data: Likewise.
70000         * conform/data/sys/statvfs.h-data: Likewise.
70001         * conform/data/sys/time.h-data: Likewise.
70002         * conform/data/sys/timeb.h-data: Likewise.
70003         * conform/data/sys/times.h-data: Likewise.
70004         * conform/data/sys/types.h-data: Likewise.
70005         * conform/data/sys/uio.h-data: Likewise.
70006         * conform/data/sys/un.h-data: Likewise.
70007         * conform/data/sys/utsname.h-data: Likewise.
70008         * conform/data/sys/wait.h-data: Likewise.
70009         * conform/data/syslog.h-data: Likewise.
70010         * conform/data/tar.h-data: Likewise.
70011         * conform/data/termios.h-data: Likewise.
70012         * conform/data/utime.h-data: Likewise.
70013         * conform/data/utmpx.h-data: Likewise.
70014         * conform/data/varargs.h-data: Likewise.
70015         * conform/data/wchar.h-data: Likewise.
70016         * conform/data/wctype.h-data: Likewise.
70017         * conform/data/wordexp.h-data: Likewise.
70019         * include/stropts.h: New file.
70020         * include/uchar.h: New file.
70021         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70022         * include/assert.h: Likewise.
70023         * include/ctype.h: Likewise.
70024         * include/dirent.h: Likewise.
70025         * include/dlfcn.h: Likewise.
70026         * include/fcntl.h: Likewise.
70027         * include/fnmatch.h: Likewise.
70028         * include/glob.h: Likewise.
70029         * include/grp.h: Likewise.
70030         * include/libio.h: Likewise.
70031         * include/locale.h: Likewise.
70032         * include/math.h: Likewise.
70033         * include/net/if.h: Likewise.
70034         * include/netdb.h: Likewise.
70035         * include/netinet/in.h: Likewise.
70036         * include/pthread.h: Likewise.
70037         * include/pwd.h: Likewise.
70038         * include/regex.h: Likewise.
70039         * include/sched.h: Likewise.
70040         * include/search.h: Likewise.
70041         * include/setjmp.h: Likewise.
70042         * include/signal.h: Likewise.
70043         * include/stdio.h: Likewise.
70044         * include/stdlib.h: Likewise.
70045         * include/string.h: Likewise.
70046         * include/sys/cdefs.h: Likewise.
70047         * include/sys/mman.h: Likewise.
70048         * include/sys/msg.h: Likewise.
70049         * include/sys/resource.h: Likewise.
70050         * include/sys/select.h: Likewise.
70051         * include/sys/socket.h: Likewise.
70052         * include/sys/stat.h: Likewise.
70053         * include/sys/statvfs.h: Likewise.
70054         * include/sys/time.h: Likewise.
70055         * include/sys/times.h: Likewise.
70056         * include/sys/uio.h: Likewise.
70057         * include/sys/utsname.h: Likewise.
70058         * include/sys/wait.h: Likewise.
70059         * include/termios.h: Likewise.
70060         * include/time.h: Likewise.
70061         * include/ulimit.h: Likewise.
70062         * include/unistd.h: Likewise.
70063         * include/utime.h: Likewise.
70064         * include/wchar.h: Likewise.
70065         * include/wctype.h: Likewise.
70066         * include/wordexp.h: Likewise.
70068         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70070         * time/time.h: TIME_UTC must be a macro.
70071         Make timespec_get available for ISO C11 only as well.
70073 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70075         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70076         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70080         * configure.in: Use -o not -a in test for unsupported multi-arch.
70082 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70084         * manual/texinfo.tex: Update to version 2012-01-19.16.
70086 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70088         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70090 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70092         [BZ #13738]
70093         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70094         * manual/fdl-1.3.texi: New file.
70095         * manual/fdl-1.1.texi: File removed.
70097         [BZ #13738]
70098         * manual/libc.texinfo (FDL_VERSION): New @set.
70099         Use it for mention of FDL in cover text.
70100         (Documentation License): Use it in @include file name.
70102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70103             Roland McGrath  <roland@hack.frob.com>
70105         [BZ #5461]
70106         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70107         (not LONG_LONG_MAX and LONG_LONG_MIN.
70108         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70109         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70110         name.
70111         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70115         [BZ #2547]
70116         [BZ #11365]
70117         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70118         manipulate bits before adding and subtracting TWO23[sx].
70119         * math/libm-test.inc (nearbyint_test): Add more tests.
70121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70123         [BZ #2548]
70124         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70125         bits before adding and subtracting TWO23[sx].
70126         * math/libm-test.inc (rint_test): Add more tests.
70127         (rint_test_tonearest): Likewise.
70128         (rint_test_towardzero): Likewise.
70129         (rint_test_downward): Likewise.
70130         (rint_test_upward: Likewise.
70132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70134         [BZ #10110]
70135         * include/stdc-predef.h: New file.  Extracted from features.h.
70136         * include/features.h: Include stdc-predef.h.
70137         * Makefile (headers): Add stdc-predef.h.
70138         * CONFORMANCE (Compiler limitations): Update.
70140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70142         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70144 2012-02-21  David S. Miller  <davem@davemloft.net>
70146         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70147         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70149 2012-02-20  David S. Miller  <davem@davemloft.net>
70151         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70152         using a normal save/restore sequence, rather than allocating a
70153         dummy stack frame just to store a frame pointer and restore.
70154         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70156 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70158         * manual/install.texi: Fix stray word in line-wrapped comment.
70160 2012-02-20  David S. Miller  <davem@davemloft.net>
70162         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70163         both binutils and gcc support GOTDATA.
70165         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70166         "rd %pc" in the PIC register setup sequences.
70168         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70169         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70170         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70171         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70172         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70174         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70175         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70177         (SYSCALL_ERROR_HANDLER): Likewise.
70178         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70179         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70181         (SYSCALL_ERROR_HANDLER): Likewise.
70183         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70184         (HAVE_GCC_GOTDATA): New.
70185         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70186         relocation support in both binutils and gcc.
70187         * sysdeps/sparc/elf/configure: Regenerate.
70189         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70190         * sysdeps/sparc/sparc32/elf/configure: Delete.
70191         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70192         * sysdeps/sparc/sparc64/elf/configure: Delete.
70193         * sysdeps/sparc/elf/configure.in: New file.
70194         * sysdeps/sparc/elf/configure: Generate.
70196         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70197         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70198         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70199         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70200         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70202 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70204         * manual/install.texi: Do not mention specific glibc version
70205         numbers.
70206         * manual/libc.texinfo (VERSION, UPDATED): Update.
70207         (@copying): Use @copyright{} and range of years.
70209 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70211         [BZ #13695]
70212         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70213         [crti.S not in sysdirs] (generated): Do not append.
70214         [crti.S not in sysdirs] (omit-deps): Likewise.
70215         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70216         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70217         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70218         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70219         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70220         Likewise.
70221         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70222         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70223         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70224         * csu/defs.awk: Remove file.
70225         * sysdeps/generic/initfini.c: Likewise.
70226         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70227         variable.
70228         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70229         Likewise.
70231 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70233         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70234         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70235         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70236         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70237         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70238         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70239         <bits/epoll.h>.
70240         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70241         (__EPOLL_PACKED): Define to empty if not defined by
70242         <bits/epoll.h>.
70243         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70245         bits/epoll.h.
70247 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70249         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70250         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70251         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70252         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70253         <bits/timerfd.h>.
70254         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70256         bits/timerfd.h.
70258 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70260         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70261         in C locale.
70262         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70263         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70264         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70267 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70269         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70270         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70272 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70274         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70275         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70276         defined.
70277         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70278         Likewise.
70279         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70280         entry for 2.16.
70282 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70284         * math/w_acos.c: Use non-signaling floating-point comparisons.
70285         * math/w_acosf.c: Likewise.
70286         * math/w_acosh.c: Likewise.
70287         * math/w_acoshf.c: Likewise.
70288         * math/w_acoshl.c: Likewise.
70289         * math/w_acosl.c: Likewise.
70290         * math/w_asin.c: Likewise.
70291         * math/w_asinf.c: Likewise.
70292         * math/w_asinl.c: Likewise.
70293         * math/w_atanh.c: Likewise.
70294         * math/w_atanhf.c: Likewise.
70295         * math/w_atanhl.c: Likewise.
70296         * math/w_exp2.c: Likewise.
70297         * math/w_exp2f.c: Likewise.
70298         * math/w_exp2l.c: Likewise.
70299         * math/w_j0.c: Likewise.
70300         * math/w_j0f.c: Likewise.
70301         * math/w_j0l.c: Likewise.
70302         * math/w_j1.c: Likewise.
70303         * math/w_j1f.c: Likewise.
70304         * math/w_j1l.c: Likewise.
70305         * math/w_jn.c: Likewise.
70306         * math/w_jnf.c: Likewise.
70307         * math/w_log.c: Likewise.
70308         * math/w_log10.c: Likewise.
70309         * math/w_log10f.c: Likewise.
70310         * math/w_log10l.c: Likewise.
70311         * math/w_log2.c: Likewise.
70312         * math/w_log2f.c: Likewise.
70313         * math/w_log2l.c: Likewise.
70314         * math/w_logf.c: Likewise.
70315         * math/w_logl.c: Likewise.
70316         * math/w_sqrt.c: Likewise.
70317         * math/w_sqrtf.c: Likewise.
70318         * math/w_sqrtl.c: Likewise.
70319         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70320         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70321         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70322         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70323         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70325 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70327         [BZ #9739]
70328         * manual/string.texi (strnlen): Use correct parameter name in
70329         equivalent expression.
70331 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70333         [BZ #11174]
70334         * manual/users.texi (seteuid): Consistently use neweuid for
70335         argument name.
70337 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70339         [BZ #13704]
70340         * manual/nss.texi (Services in the NSS configuration): Correct
70341         list of services in example configuration file.
70343 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70345         [BZ #11322]
70346         * manual/arith.texi: Remove statements about negative zero
70347         behaving identically to zero.
70349 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70351         [BZ #5993]
70352         * manual/install.texi: Do not document upgrading from libc5.
70354 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70356         [BZ #4596]
70357         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70359 2012-02-18  David S. Miller  <davem@davemloft.net>
70361         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70362         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70363         %o7 across the call.
70364         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70365         instead.
70366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70367         SETUP_PIC_REG_LEAF.
70368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70369         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70370         * sysdeps/sparc/crtn.S: Likewise.
70372 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70374         * aout/Makefile: Remove.
70376 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70378         [BZ #13058]
70379         * manual/examples/argp-ex1.c (main): Format definition in GNU
70380         style.
70381         * manual/examples/argp-ex2.c (main): Likewise.
70382         * manual/examples/argp-ex3.c (main): Likewise.
70383         * manual/examples/argp-ex4.c (main): Likewise.
70384         * manual/examples/longopt.c (main): Use new-style prototype
70385         definition.
70386         * manual/examples/strncat.c (main): Specify return type and use
70387         (void) for arguments.
70388         * manual/examples/subopt.c (main): Use char **argv argument.
70390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70392         [BZ #5077]
70393         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70394         rounding modes.
70396 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70398         [BZ #6907]
70399         * manual/string.texi (strchr): Change when strchrnul is
70400         recommended.
70402 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70404         [BZ #174]
70405         * manual/locale.texi (setlocale): Document LOCPATH.
70407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70409         [BZ #10210]
70410         * manual/process.texi (execle): Move @dots{} before last argument.
70412 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70414         [BZ #12047]
70415         * manual/charset.texi (Generic Charset Conversion): Fix typo
70416         (LC_TYPE -> LC_CTYPE).
70418 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70420         [BZ #5805]
70421         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70422         (scalbnf): Likewise.
70423         (scalbnl): Likewise.
70424         (scalbln): Likewise.
70425         (scalblnf): Likewise.
70426         (scalblnl): Likewise.
70427         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70428         (vwarnx): Likewise.
70429         (verr): Likewise.
70430         (verrx): Likewise.
70431         * manual/filesys.texi (telldir): Use braces around return type.
70432         * manual/llio.texi (mmap): Add space after comma.
70433         (mmap64): Likewise.
70434         * manual/math.texi (jn): Use @var{} on parameter names.
70435         (jnf): Likewise.
70436         (jnl): Likewise.
70437         (yn): Likewise.
70438         (ynf): Likewise.
70439         (ynl): Likewise.
70440         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70441         line.
70442         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70443         "...".
70444         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70445         (sched_get_priority_max): Likewise.
70446         * manual/signal.texi (sigvec): Add space after comma.
70447         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70448         names.
70449         (if_indextoname): Likewise.
70450         (if_freenameindex): Likewise.
70451         (sendto): Use ',' instead of '.' in prototype.
70452         * manual/startup.texi (syscall): Use @dots{} instead of literal
70453         "...".
70454         * manual/stdio.texi (__fpending): Separate initial words of
70455         paragraph from @deftypefun line.
70456         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70457         "...".
70458         (vsyslog): Use @var{} on parameter names.
70459         * manual/terminal.texi (stty): Use @var{} on parameter names.
70460         * manual/users.texi (getutmp): Use @var{} on parameter names.
70461         (getutmpx): Likewise.
70463 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70465         [BZ #6884]
70466         * manual/stdio.texi (fopen): Fix typos in description of
70467         ",ccs=STRING".
70469 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70471         [BZ #4026]
70472         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70473         get clock_id definition.
70475 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70477         [BZ #4822]
70478         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70479         (madvise): Cast every argument to void on its own.
70481 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70483         [BZ #9902]
70484         * manual/startup.texi (Exit Status): Fix typo.
70486 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70488         [BZ #10140]
70489         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70490         * manual/examples/argp-ex2.c: Likewise.
70491         * manual/examples/argp-ex3.c: Likewise.
70493 2012-02-16  Richard Henderson  <rth@redhat.com>
70495         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70496         * sysdeps/s390/s390-32/initfini.c: Remove.
70497         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70498         * sysdeps/s390/s390-64/initfini.c: Remove.
70500 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70502         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70503         compiler output for sysdeps/generic/initfini.c.
70504         * sysdeps/sh/elf/initfini.c: Remove file.
70506 2012-02-16  David S. Miller  <davem@davemloft.net>
70508         [BZ #11494]
70509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70511         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70512         * sysdeps/sparc/crti.S: New file.
70513         * sysdeps/sparc/crtn.S: New file.
70514         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70515         * sysdeps/sparc/sparc64/Makefile: Likewise.
70517 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70519         [BZ #3335]
70520         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70522 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70524         [BZ #4822]
70525         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70527         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70528         (write, read, close): Likewise.
70529         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70531 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70533         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70534         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70535         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70536         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70537         <bits/signalfd.h>.
70538         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70540         bits/signalfd.h.
70542 2012-02-14  Marek Polacek  <polacek@redhat.com>
70544         * sysdeps/x86_64/crti.S: New file.
70545         * sysdeps/x86_64/crtn.S: New file.
70546         * sysdeps/x86_64/elf/initfini.c: Remove file.
70548 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70550         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70551         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70552         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70553         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70554         <bits/inotify.h>.
70555         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70557         bits/inotify.h.
70559 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70561         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70562         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70563         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70564         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70565         <bits/eventfd.h>.
70566         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70568         bits/eventfd.h.
70570 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70572         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70573         __feraiseexcept instead of feraiseexcept.
70575         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70576         nanosleep invocations.
70577         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70578         strings, and add error checking for a nanosleep invocations.
70580 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70582         Replace FSF snail mail address with URLs, as per GNU coding standards.
70583         Most of the snail mail addresses were wrong anyway, and omitting
70584         them makes the source code easier to maintain.  Almost all of the
70585         changes are to license notices and to locale LC_IDENTIFICATION
70586         addresses, except for this one:
70587         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70588         not its snail mail address.
70590 2012-02-09  Richard Henderson  <rth@twiddle.net>
70592         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70593         of kernel-features.h.
70595         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70597 2012-02-08  Marek Polacek  <polacek@redhat.com>
70599         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70600         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70601         * sysdeps/gnu/_G_config.h: Likewise.
70602         * sysdeps/generic/_G_config.h: Likewise.
70604 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70606         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70607         tests.
70608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70610         * sysdeps/powerpc/powerpc32/crti.S: New file.
70611         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70612         * sysdeps/powerpc/powerpc64/crti.S: New file.
70613         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70615         * Makeconfig (have-initfini): Don't set.
70616         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70617         * configure.in (nopic_initfini): Don't substitute.
70618         * config.h.in (HAVE_INITFINI): Don't #undef.
70619         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70620         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70622 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70624         Support crti.S and crtn.S provided directly by architectures.
70625         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70626         [crti.S in sysdirs] (omit-deps): Likewise.
70627         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70628         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70629         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70630         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70631         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70632         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70633         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70634         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70635         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70636         compiler output for sysdeps/generic/initfini.c.
70637         * sysdeps/i386/elf/Makefile: Remove file.
70638         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70640 2012-02-07  Marek Polacek  <polacek@redhat.com>
70642         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70643         * sysdeps/gnu/_G_config.h: Likewise.
70644         * sysdeps/mach/hurd/_G_config.h: Likewise.
70646 2012-02-07  Marek Polacek  <polacek@redhat.com>
70648         * math/Makefile (tests): Add tst-CMPLX2.
70649         * math/tst-CMPLX2.c: New file.
70651 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70653         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70655         * math/libm-test.inc (jn_test): Add missing L suffix.
70657 2012-02-06  Marek Polacek  <polacek@redhat.com>
70659         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70660         * sysdeps/i386/fpu/e_powf.S: Likewise.
70661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70662         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70664         * sysdeps/i386/fpu/e_pow.S: Likewise.
70665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70669         * sysdeps/i386/fpu/e_log2.S: Likewise.
70670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70672         * sysdeps/i386/fpu/e_powl.S: Likewise.
70673         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70674         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70675         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70676         * sysdeps/i386/fpu/e_logl.S: Likewise.
70677         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70678         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70679         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70680         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70681         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70682         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70683         * sysdeps/i386/fpu/e_log.S: Likewise.
70684         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70685         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70686         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70687         * sysdeps/i386/fpu/e_logf.S: Likewise.
70688         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70689         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70690         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70691         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70692         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70693         * sysdeps/i386/fpu/e_log10.S: Likewise.
70694         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70695         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70696         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70697         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70698         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70699         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70700         * sysdeps/i386/asm-syntax.h: Likewise.
70701         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70702         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70704         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70705         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70706         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70707         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70708         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70709         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70710         * sysdeps/powerpc/sysdep.h: Likewise.
70711         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70712         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70714 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70716         [BZ #411]
70717         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70719 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70721         * sysdeps/i386/sysdep.h: Include <features.h>.
70722         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70723         version.
70725 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70727         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70728         Define.
70729         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70730         LOAD_PIC_REG_STR.
70732 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70734         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70735         (SETUP_PIC_REG): Use GET_PC_THUNK.
70736         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70737         macro.
70739 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70741         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70742         for non-PIC compilation.
70743         (SETUP_PIC_REG): Add .p2align directive.
70744         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70745         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70746         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70747         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70748         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70749         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70750         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70751         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70752         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70753         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70754         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70755         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70756         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70757         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70758         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70759         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70760         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70761         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70762         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70763         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70764         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70765         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70766         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70767         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70768         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70769         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70770         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70772         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70773         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70774         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70775         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70776         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70777         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70778         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70779         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70780         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70781         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70782         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70783         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70784         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70786 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70788         * math/tst-CMPLX.c: Include <stdio.h>.
70790 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70792         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70793         float.
70794         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70795         * sysdeps/sparc/bits/mathdef.h: Likewise.
70797 2012-01-31  Marek Polacek  <polacek@redhat.com>
70799         * libio/libio.h: Don't define _PARAMS.
70800         * locale/programs/config.h: Don't define PARAMS.
70801         * stdlib/strtol_l.c: Likewise.
70802         (__strtol_l): Remove PARAMS from the prototype.
70804 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70806         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70807         names.  Just use the correct names.  Remove unnecessary wrapper
70808         functions.
70809         * malloc/arena.c: Likewise.
70810         * malloc/hooks.c: Likewise.
70812         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70813         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70814         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70816 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70818         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70819         into tail calls.
70820         (update_get_addr): New function.
70821         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70822         GET_ADDR_MODULE parameter.
70824 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70826         * crypt/cert.c: Remove __STDC__ conditionals.
70827         * crypt/crypt-entry.c: Likewise.
70828         * crypt/crypt_util.c: Likewise.
70829         * libio/filedoalloc.c: Likewise.
70830         * libio/fileops.c: Likewise.
70831         * libio/genops.c: Likewise.
70832         * libio/iofclose.c: Likewise.
70833         * libio/iofdopen.c: Likewise.
70834         * libio/iofopen.c: Likewise.
70835         * libio/iofopen64.c: Likewise.
70836         * libio/iogetdelim.c: Likewise.
70837         * libio/iopopen.c: Likewise.
70838         * libio/obprintf.c: Likewise.
70839         * libio/oldfileops.c: Likewise.
70840         * libio/oldiofclose.c: Likewise.
70841         * libio/oldiofdopen.c: Likewise.
70842         * libio/oldiofopen.c: Likewise.
70843         * libio/oldiopopen.c: Likewise.
70844         * libio/wfiledoalloc.c: Likewise.
70845         * libio/wgenops.c: Likewise.
70846         * locale/programs/xmalloc.c: Likewise.
70847         * misc/syslog.c: Likewise.
70848         * stdio-common/xbug.c: Likewise.
70849         * string/memchr.c: Likewise.
70850         * string/memcmp.c: Likewise.
70851         * string/memrchr.c: Likewise.
70852         * string/rawmemchr.c: Likewise.
70853         * sysdeps/posix/getcwd.c: Likewise.
70854         * time/strftime_l.c: Likewise.
70856 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70858         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70859         * config.make.in (config-cflags-sse2avx): Define.
70860         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70861         Fix typo.
70863 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70865         * scripts/config.guess: Update from upstream config git repository.
70866         * scripts/config.sub: Likewise.
70868 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70870         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70871         (EM_NUM): Update.
70872         (R_TILEPRO_*, R_TILEGX_*): New macros.
70874         * scripts/firstversions.awk: Fix bug in version range handling.
70876         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70878         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70880         * include/sys/epoll.h: New file.
70881         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70882         libc_hidden_def.
70884 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70886         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70887         Avoid unnecessary __WORDSIZE == 64 test.
70888         (fmaxf): Use VEX format if possible.
70889         (fmax): Likewise.
70890         (fminf): Likewise.
70891         (fmin): Likewise.
70893         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70894         * math/math_private.h: Remove libc_fegetround* and
70895         libc_fesetround*.
70896         * sysdeps/i386/configure.in: Check for -msse2avx.
70897         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70898         also if SSE2AVX is defined.
70899         Remove libc_fegetround* and libc_fesetround*.
70900         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70901         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70903         of HAS_YMM_USABLE.
70904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70910         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70912 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70914         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70915         size is not set.
70916         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70918 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70920         [BZ #13618]
70921         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70922         relocation.
70923         * Makeconfig (libm): Define.
70924         * elf/Makefile: Add rules to build and run tst-relsort1.
70925         * elf/tst-relsort1.c: New file.
70926         * elf/tst-relsort1mod1.c: New file.
70927         * elf/tst-relsort1mod2.c: New file.
70929 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70931         * math/s_ldexp.c: Remove __STDC__ conditionals.
70932         * math/s_ldexpf.c: Likewise.
70933         * math/s_ldexpl.c: Likewise.
70934         * math/s_nextafter.c: Likewise.
70935         * math/s_nexttowardf.c: Likewise.
70936         * math/s_significand.c: Likewise.
70937         * math/s_significandf.c: Likewise.
70938         * math/s_significandl.c: Likewise.
70939         * math/w_jnl.c: Likewise.
70940         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70941         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70942         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70943         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70944         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70945         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70946         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70947         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70948         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70949         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70950         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70951         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70952         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70953         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70954         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70955         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70956         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70957         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70958         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70961         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70962         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70963         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70964         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70965         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70966         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70967         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70968         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70969         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70970         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70971         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70972         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70973         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70974         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70975         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70976         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70977         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70978         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70979         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70980         * sysdeps/ieee754/k_standard.c: Likewise.
70981         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70984         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70985         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70986         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70988         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70989         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70990         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70991         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70992         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70993         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70994         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70998         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71000         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71001         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71002         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71003         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71004         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71005         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71006         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71012         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71013         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71014         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71016         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71017         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71019         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71020         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71021         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71023         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71024         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71025         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71026         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71028         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71030         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71031         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71032         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71033         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71034         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71035         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71036         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71037         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71038         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71039         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71040         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71041         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71042         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71043         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71045         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71046         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71047         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71048         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71049         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71050         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71051         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71052         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71053         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71054         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71055         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71056         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71057         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71058         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71059         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71060         * sysdeps/ieee754/s_matherr.c: Likewise.
71061         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71062         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71066 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71068         * crypt/md5.h: Remove __STDC__ conditionals.
71069         * libio/libioP.h: Likewise.
71070         * locale/programs/config.h: Likewise.
71071         * sysdeps/generic/sysdep.h: Likewise.
71072         * sysdeps/i386/asm-syntax.h: Likewise.
71073         * sysdeps/s390/asm-syntax.h: Likewise.
71074         * sysdeps/unix/sysdep.h: Likewise.
71075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71078 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71080         * libio/libio.h: Remove __STDC__ conditionals.
71081         * malloc/obstack.h: Likewise.
71082         * math/complex.h: Likewise.
71083         * math/math.h: Likewise.
71084         * sysdeps/generic/_G_config.h: Likewise.
71085         * sysdeps/gnu/_G_config.h: Likewise.
71086         * sysdeps/mach/hurd/_G_config.h: Likewise.
71087         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71088         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71089         * sysdeps/sparc/bits/mathdef.h: Likewise.
71091 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71093         [BZ #13583]
71094         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71095         Clean up HAS_* macros.
71096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71097         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71098         possible.
71099         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71100         HAS_AVX.
71101         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71102         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71103         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71104         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71107 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71109         * elf/tst-unique3.cc (gets): Remove declaration.
71110         * elf/tst-unique3lib.cc (gets): Likewise.
71111         * elf/tst-unique3lib2.cc (gets): Likewise.
71112         * elf/tst-unique4.cc (gets): Likewise.
71114 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71116         * include/stdio.h: Add C++ protection.  Add gets declarations and
71117         definitions.
71118         * debug/tst-chk1.c: Don't declare gets here.
71119         * stdio-common/tst-gets.c: Likewise.
71121 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71123         * posix/glob: Remove directory.
71125 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71127         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71129 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71131         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71132         of the non-standard EPFNOSUPPORT.
71134 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71136         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71137         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71138         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71140 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71142         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71144 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71146         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71147         transient errors.
71148         * nscd/grpcache.c (cache_addgr): Likewise.
71149         * nscd/hstcache.c (cache_addhst): Likewise.
71150         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71151         * nscd/pwdcache.c (cache_addpw): Likewise.
71152         * nscd/servicescache.c (cache_addserv): Likewise.
71154 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71156         * malloc/malloc.c: Various cleanups.
71157         * malloc/hooks.c: Likewise.
71159         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71160         * stdlib/bug-fmtmsg1.c: New file.
71162         * stdlib/fmtmsg.c (init): Add missing unlock.
71163         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71165 2012-01-12  Marek Polacek  <polacek@redhat.com>
71167         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71168         and _GNU_SOURCE.
71170 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71172         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71173         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71174         macro to ensure uniqueness of label name.
71175         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71176         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71178 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71180         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71182         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71183         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71184         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71185         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71187 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71189         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71191         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71192         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71193         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71195         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71197         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71198         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71199         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71202         * math/bits/math-finite.h: Add ldexp support.
71204 2012-01-10  Marek Polacek  <polacek@redhat.com>
71206         * locale/programs/localedef.h (show_archive_content): Add noreturn
71207         attribute.
71209 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71211         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71215         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71217         * io/Makefile (headers): Add bits/poll2.h.
71219 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71222         typo #include statement.
71224 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71226         * include/sys/cdefs.h: Define __attribute_alloc_size.
71227         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71228         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71229         * elf/pldd.c: Likewise.
71230         * iconv/iconv_charmap.c: Likewise.
71231         * iconv/iconvconfig.c: Likewise.
71232         * iconv/strtab.c: Likewise.
71233         * locale/programs/locale.c: Likewise.
71234         * locale/programs/localedef.h: Likewise.
71235         * locale/programs/simple-hash.c: Likewise.
71236         * nscd/nscd.h: Likewise.
71237         * nss/makedb.c: Likewise.
71238         * sysdeps/generic/ldconfig.h: Likewise.
71239         * locale/programs/localedef.c: Remove xmalloc prototype.
71240         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71242 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71244         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71245         appropriate.
71247 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71249         * math/Makefile (tests): Add tst-CMPLX.
71250         * math/tst-CMPLX.c: New file.
71252         * math/complex.h (CMPLXL): Fix typo.
71254         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71255         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71256         GLIBC_2.16.
71257         * debug/tst-chk1.c: Add poll and ppoll tests.
71258         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71259         * include/sys/poll.h: Add hidden proto for ppoll.
71260         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71261         * sysdeps/mach/hurd/ppoll.c: Likewise.
71262         * io/ppoll.c: Likewise.
71263         * debug/poll_chk.c: New file.
71264         * debug/ppoll_chk.c: New file.
71265         * include/bits/poll2.h: New file.
71266         * io/bits/poll2.h: New file.
71268         [BZ #1350]
71269         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71271         * configure.in: static is always set to yes.  Remove.
71272         * config.make.in: Don't set build-static.
71273         * Makeconfig: Remove use of build-static.
71274         * dlfcn/Makefile: Likewise.
71275         * elf/Makefile: Likewise.
71276         * math/Makefile: Likewise.
71277         * misc/Makefile: Likewise.
71278         * nptl/Makefile: Likewise.
71279         * sysdeps/mach/hurd/Makefile: Likewise.
71281         * configure.in: PWD_P is not used anymore.
71282         * config.make.in: Remove PWD_P entry.
71284         * configure.in: Remove last remnants of RANLIB.
71285         No need to check for signed size_t anymore.
71286         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71287         and IA-64.
71288         Remove __builtin_expect test because we require at least gcc 3.4.
71289         * aclocal.m4: Likewise.
71291         * wcsmbs/mbrtoc16.c: Implement using towc function.
71292         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71293         * wcsmbs/wcsmbsload.c: Likewise.
71294         * iconv/gconv_simple.c: Likewise.
71295         * iconv/gconv_int.h: Likewise.
71296         * iconv/gconv_builtin.h: Likewise.
71297         * iconv/iconv_prog.c: Remove CHAR16 handling.
71299         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71301         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71303         * configure.in: Remove --with-elf and --enable-bounded options.
71304         Dont set base_machine for ia64.  More non-ELF conditions removed.
71305         Remove testing and setting of leading underscore information.
71306         * config.make.in (build-bounded): Set to no.
71307         * config.h.in: Remove NO_UNDERSCORES entry.
71308         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71309         them.
71310         * csu/start.c: Remove !NO_UNDERSCORE code.
71311         * locale/localeinfo.h: Likewise.
71312         * sysdeps/generic/machine-gmon.h: Likewise.
71313         * sysdeps/generic/sysdep.h: Likewise.
71314         * sysdeps/i386/sysdep.h: Likewise.
71315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71316         * sysdeps/mach/sysdep.h: Likewise.
71317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71319         * sysdeps/sh/sysdep.h: Likewise.
71320         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71321         * sysdeps/unix/i386/sysdep.S: Likewise.
71322         * sysdeps/unix/sparc/start.c: Likewise.
71323         * sysdeps/unix/sparc/sysdep.S: Likewise.
71324         * sysdeps/unix/sparc/sysdep.h: Likewise.
71325         * sysdeps/unix/start.c: Likewise.
71326         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71327         * sysdeps/x86_64/sysdep.h: Likewise.
71329 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71331         [BZ #13553]
71332         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71333         for non-gcc.
71334         * argp/argp-fmtstream.h: Use const instead __const.
71335         * argp/argp.h: Likewise.
71336         * assert/assert.h: Likewise.
71337         * bits/fenv.h: Likewise.
71338         * bits/sched.h: Likewise.
71339         * bits/sigset.h: Likewise.
71340         * bits/sigthread.h: Likewise.
71341         * catgets/nl_types.h: Likewise.
71342         * conform/data/pthread.h-data: Likewise.
71343         * crypt/crypt-private.h: Likewise.
71344         * crypt/crypt.h: Likewise.
71345         * crypt/crypt_util.c: Likewise.
71346         * ctype/ctype.h: Likewise.
71347         * debug/execinfo.h: Likewise.
71348         * debug/mbsnrtowcs_chk.c: Likewise.
71349         * debug/mbsrtowcs_chk.c: Likewise.
71350         * debug/wcsnrtombs_chk.c: Likewise.
71351         * debug/wcsrtombs_chk.c: Likewise.
71352         * debug/wcstombs_chk.c: Likewise.
71353         * dirent/dirent.h: Likewise.
71354         * dlfcn/dlfcn.h: Likewise.
71355         * elf/neededtest4.c: Likewise.
71356         * grp/grp.h: Likewise.
71357         * gshadow/gshadow.h: Likewise.
71358         * iconv/gconv.h: Likewise.
71359         * iconv/gconv_int.h: Likewise.
71360         * iconv/gconv_simple.c: Likewise.
71361         * iconv/iconv.h: Likewise.
71362         * iconv/loop.c: Likewise.
71363         * iconv/skeleton.c: Likewise.
71364         * include/aio.h: Likewise.
71365         * include/aliases.h: Likewise.
71366         * include/argz.h: Likewise.
71367         * include/arpa/inet.h: Likewise.
71368         * include/assert.h: Likewise.
71369         * include/dirent.h: Likewise.
71370         * include/dlfcn.h: Likewise.
71371         * include/execinfo.h: Likewise.
71372         * include/fcntl.h: Likewise.
71373         * include/fenv.h: Likewise.
71374         * include/glob.h: Likewise.
71375         * include/grp.h: Likewise.
71376         * include/libintl.h: Likewise.
71377         * include/mntent.h: Likewise.
71378         * include/netdb.h: Likewise.
71379         * include/pwd.h: Likewise.
71380         * include/rpc/netdb.h: Likewise.
71381         * include/sched.h: Likewise.
71382         * include/search.h: Likewise.
71383         * include/shadow.h: Likewise.
71384         * include/signal.h: Likewise.
71385         * include/stdio.h: Likewise.
71386         * include/stdlib.h: Likewise.
71387         * include/string.h: Likewise.
71388         * include/sys/socket.h: Likewise.
71389         * include/sys/stat.h: Likewise.
71390         * include/sys/statfs.h: Likewise.
71391         * include/sys/statvfs.h: Likewise.
71392         * include/sys/syslog.h: Likewise.
71393         * include/sys/time.h: Likewise.
71394         * include/sys/uio.h: Likewise.
71395         * include/time.h: Likewise.
71396         * include/unistd.h: Likewise.
71397         * include/utmp.h: Likewise.
71398         * include/wchar.h: Likewise.
71399         * include/wctype.h: Likewise.
71400         * inet/aliases.h: Likewise.
71401         * inet/arpa/inet.h: Likewise.
71402         * inet/netinet/ether.h: Likewise.
71403         * inet/netinet/in.h: Likewise.
71404         * intl/libintl.h: Likewise.
71405         * io/bits/fcntl2.h: Likewise.
71406         * io/fcntl.h: Likewise.
71407         * io/ftw.h: Likewise.
71408         * io/sys/poll.h: Likewise.
71409         * io/sys/stat.h: Likewise.
71410         * io/sys/statfs.h: Likewise.
71411         * io/sys/statvfs.h: Likewise.
71412         * io/utime.h: Likewise.
71413         * libio/bits/stdio.h: Likewise.
71414         * libio/bits/stdio2.h: Likewise.
71415         * libio/libio.h: Likewise.
71416         * libio/libioP.h: Likewise.
71417         * libio/stdio.h: Likewise.
71418         * locale/lc-ctype.c: Likewise.
71419         * locale/locale.h: Likewise.
71420         * login/utmp.h: Likewise.
71421         * malloc/arena.c: Likewise.
71422         * malloc/malloc.c: Likewise.
71423         * malloc/malloc.h: Likewise.
71424         * malloc/mcheck.c: Likewise.
71425         * malloc/mtrace.c: Likewise.
71426         * math/bits/mathcalls.h: Likewise.
71427         * math/fenv.h: Likewise.
71428         * math/math_private.h: Likewise.
71429         * misc/bits/error.h: Likewise.
71430         * misc/bits/syslog.h: Likewise.
71431         * misc/err.h: Likewise.
71432         * misc/error.h: Likewise.
71433         * misc/fstab.h: Likewise.
71434         * misc/mntent.h: Likewise.
71435         * misc/regexp.h: Likewise.
71436         * misc/search.h: Likewise.
71437         * misc/sgtty.h: Likewise.
71438         * misc/sys/mman.h: Likewise.
71439         * misc/sys/syslog.h: Likewise.
71440         * misc/sys/uio.h: Likewise.
71441         * misc/sys/xattr.h: Likewise.
71442         * misc/ttyent.h: Likewise.
71443         * nis/rpcsvc/ypclnt.h: Likewise.
71444         * nss/nss.h: Likewise.
71445         * posix/bits/unistd.h: Likewise.
71446         * posix/fnmatch.h: Likewise.
71447         * posix/glob.h: Likewise.
71448         * posix/sched.h: Likewise.
71449         * posix/spawn.h: Likewise.
71450         * posix/sys/wait.h: Likewise.
71451         * posix/unistd.h: Likewise.
71452         * posix/wordexp.h: Likewise.
71453         * pwd/pwd.h: Likewise.
71454         * resolv/netdb.h: Likewise.
71455         * resource/sys/resource.h: Likewise.
71456         * rt/aio.h: Likewise.
71457         * rt/bits/mqueue2.h: Likewise.
71458         * rt/mqueue.h: Likewise.
71459         * shadow/shadow.h: Likewise.
71460         * signal/signal.h: Likewise.
71461         * socket/send.c: Likewise.
71462         * socket/sendto.c: Likewise.
71463         * socket/sys/socket.h: Likewise.
71464         * stdio-common/printf.h: Likewise.
71465         * stdlib/bits/stdlib.h: Likewise.
71466         * stdlib/fmtmsg.h: Likewise.
71467         * stdlib/monetary.h: Likewise.
71468         * stdlib/stdlib.h: Likewise.
71469         * stdlib/ucontext.h: Likewise.
71470         * streams/stropts.h: Likewise.
71471         * string/argz.h: Likewise.
71472         * string/bits/string2.h: Likewise.
71473         * string/string.h: Likewise.
71474         * string/strings.h: Likewise.
71475         * sunrpc/rpc/auth.h: Likewise.
71476         * sunrpc/rpc/auth_des.h: Likewise.
71477         * sunrpc/rpc/clnt.h: Likewise.
71478         * sunrpc/rpc/netdb.h: Likewise.
71479         * sunrpc/rpc/pmap_clnt.h: Likewise.
71480         * sunrpc/rpc/xdr.h: Likewise.
71481         * sysdeps/generic/inttypes.h: Likewise.
71482         * sysdeps/generic/net/if.h: Likewise.
71483         * sysdeps/generic/sys/swap.h: Likewise.
71484         * sysdeps/gnu/net/if.h: Likewise.
71485         * sysdeps/gnu/utmpx.h: Likewise.
71486         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71487         * sysdeps/i386/i486/bits/string.h: Likewise.
71488         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71489         * sysdeps/s390/bits/string.h: Likewise.
71490         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71491         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71492         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71493         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71494         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71495         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71496         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71497         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71498         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71499         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71500         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71501         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71502         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71503         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71504         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71505         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71506         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71508         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71509         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71510         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71511         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71512         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71513         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71514         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71515         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71516         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71517         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71518         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71520         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71521         * sysvipc/sys/ipc.h: Likewise.
71522         * sysvipc/sys/msg.h: Likewise.
71523         * sysvipc/sys/sem.h: Likewise.
71524         * sysvipc/sys/shm.h: Likewise.
71525         * termios/termios.h: Likewise.
71526         * time/sys/time.h: Likewise.
71527         * time/time.h: Likewise.
71528         * wcsmbs/bits/wchar2.h: Likewise.
71529         * wcsmbs/uchar.h: Likewise.
71530         * wcsmbs/wchar.h: Likewise.
71531         * wctype/wctype.h: Likewise.
71533         [BZ #13551]
71534         * Makeconfig: Remove all but ELF support including AIX support.
71535         * Makerules: Likewise.
71536         * config.h.in: Likewise.
71537         * config.make.in: Likewise.
71538         * configure: Likewise.
71539         * configure.in: Likewise.
71540         * csu/Makefile: Likewise.
71541         * csu/version.c: Likewise.
71542         * debug/Makefile: Likewise.
71543         * dlfcn/Makefile: Likewise.
71544         * elf/Makefile: Likewise.
71545         * extra-lib.mk: Likewise.
71546         * iconv/Makefile: Likewise.
71547         * include/libc-symbols.h: Likewise.
71548         * include/shlib-compat.h: Likewise.
71549         * resolv/Makefile: Likewise.
71550         * resolv/res_libc.c: Likewise.
71551         * rt/Makefile: Likewise.
71552         * sysdeps/i386/asm-syntax.h: Likewise.
71553         * sysdeps/i386/sysdep.h: Likewise.
71554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71555         * sysdeps/mach/sysdep.h: Likewise.
71556         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71557         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71558         * sysdeps/s390/asm-syntax.h: Likewise.
71559         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71560         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71561         * sysdeps/sh/sysdep.h: Likewise.
71562         * sysdeps/unix/sparc/sysdep.h: Likewise.
71563         * sysdeps/wordsize-32/divdi3.c: Likewise.
71564         * sysdeps/x86_64/sysdep.h: Likewise.
71566         * argp/Versions: Remove _argp_unlock_xxx.
71568         [BZ #13559]
71569         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71570         * abilist/libBrokenLocale.abilist: Likewise.
71571         * abilist/libanl.abilist: Likewise.
71572         * abilist/libc.abilist: Likewise.
71573         * abilist/libcrypt.abilist: Likewise.
71574         * abilist/libdl.abilist: Likewise.
71575         * abilist/libm.abilist: Likewise.
71576         * abilist/libnsl.abilist: Likewise.
71577         * abilist/libpthread.abilist: Likewise.
71578         * abilist/libresolv.abilist: Likewise.
71579         * abilist/librt.abilist: Likewise.
71580         * abilist/libthread_db.abilist: Likewise.
71581         * abilist/libutil.abilist: Likewise.
71582         * abilist/libnss_db.abilist: New file.
71584         * scripts/abilist.awk: Add support for indirect functions.
71586         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71588         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71590         * shlib-versions: Remove entries for ports architectures.
71592         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71593         files in ports.
71594         * elf/stackguard-macros.h: Remove support for IA-64.
71595         * elf/tst-auditmod1.c: Likewise.
71596         * sysdeps/generic/ldsodefs.h: Likewise.
71598         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71599         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71600         configure files.
71602         [BZ #13552]
71603         * configure.in: Remove --enable-omitfp support.
71604         * FAQ.in: Adjust.
71605         * config.make.in: Likewise.
71606         * Makeconfig: Likewise.
71607         * manual/install.texi: Likewise.
71609         In case anyone cares, the IA-64 architecture could move to ports.
71610         * sysdeps/ia64/*: Removed.
71611         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71612         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71614         [BZ #13555]
71615         * configure.in: Remove entries for unsupported architectures.
71617         [BZ #13533]
71618         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71619         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71620         routines.
71621         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71622         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71623         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71624         fall back to using wcrtomb.
71625         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71626         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71627         renaming.
71628         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71629         * wcsmbs/tst-c16c32-1.c: New file.
71631         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71632         local variable.
71634         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71636         * elf/tst-unique3.cc: Add explicit declaration of gets.
71637         * elf/tst-unique3lib.cc: Likewise.
71638         * elf/tst-unique3lib2.cc: Likewise.
71639         * elf/tst-unique4.cc: Likewise.
71641         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71643 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71645         [BZ #13566]
71646         * assert/assert.h (static_assert): Don't define for C++.
71647         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71648         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71650 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71652         * iconv/loop.c (single loop): Fix assertion in storing of
71653         remaining bytes.
71655         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71657 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71659         * posix/getconf.c: Update copyright year.
71660         * nss/getent.c: Likewise.
71661         * nss/makedb.c: Likewise.
71662         * iconv/iconvconfig.c: Likewise.
71663         * iconv/iconv_prog.c: Likewise.
71664         * elf/ldconfig.c: Likewise.
71665         * elf/pldd.c: Likewise.
71666         * elf/sotruss.ksh: Likewise.
71667         * catgets/gencat.c: Likewise.
71668         * csu/version.c: Likewise.
71669         * elf/ldd.bash.in: Likewise.
71670         * elf/sprof.c (print_version): Likewise.
71671         * locale/programs/locale.c: Likewise.
71672         * locale/programs/localedef.c: Likewise.
71673         * login/programs/pt_chown.c: Likewise.
71674         * nscd/nscd.c (print_version): Likewise.
71675         * debug/xtrace.sh: Likewise.
71676         * malloc/memusage.sh: Likewise.
71677         * malloc/mtrace.pl: Likewise.
71678         * debug/catchsegv.sh: Likewise.
71680 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71682         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71683         pure attribute.
71685 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71687         [BZ #13533]
71688         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71689         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71690         transformations.
71691         * iconv/gconv_int.h: Likewise.
71692         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71693         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71694         from libc for GLIBC_2.16.
71695         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71696         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71697         * wcsmbs/uchar.h: Really define mbstate_t.
71698         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71699         * wcsmbs/c16rtomb.c: New file.
71700         * wcsmbs/mbrtoc16.c: New file.
71701         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71702         for C/POSIX locale.
71703         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71704         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71706         * wcsmbs/wchar.h: Add missing __restrict.
71708 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71710         [BZ #13532]
71711         * time/Makefile (routines): Add timespec_get.
71712         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71713         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71714         timespec for ISO C11.
71715         * time/timespec_get.c: New file.
71716         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71717         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71719         [BZ #13531]
71720         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71721         * stdlib/stdlib.h: Declare aligned_alloc.
71722         * Versions.def: Add GLIBC_2.16 for libc.
71723         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71725         [BZ 13527]
71726         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71727         ISO C11.
71729         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71730         code.
71732         [BZ #13528]
71733         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71735         [BZ #13529]
71736         * assert/assert.h (static_assert): Define.
71738         * version.h: Update for 2.16 development version.
71740         [BZ #13526]
71741         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71742         _ISOC11_SOURCE.
71744         * version.h (RELEASE): Bump for 2.15 release.
71745         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71747         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71748         Patch by Marek Polacek <mpolacek@redhat.com>.
71750         * bits/byteswap.h: Protect long long constants with __extension__.
71751         * sysdeps/i386/bits/byteswap.h: Likewise.
71752         * sysdeps/ia64/bits/byteswap.h: Likewise.
71753         * sysdeps/s390/bits/byteswap.h: Likewise.
71754         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71756 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71758         [BZ #13540]
71759         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71760         destination buffer.
71761         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71763 2011-12-23  Marek Polacek  <polacek@redhat.com>
71765         * elf/dl-addr.c (determine_info): Add inline keyword.
71766         * elf/tst-auditmod4b.c (check_avx): Likewise.
71767         * elf/tst-auditmod6b.c (check_avx): Likewise.
71768         * elf/tst-auditmod6c.c (check_avx): Likewise.
71769         * elf/tst-auditmod7b.c (check_avx): Likewise.
71771 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71773         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71774         !__SSE_MATH__.
71776 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71778         [BZ #13540]
71779         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71780         processing for last bytes.
71782 2011-08-06  Bruno Haible  <bruno@clisp.org>
71784         [BZ #13061]
71785         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71786         U+0385, not to U+1FEE.
71788         [BZ #13062]
71789         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71790         entry for U+00A5 U+0301.
71792 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71794         [BZ #13166]
71795         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71796         buffer for the output is too small.
71798         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71799         optimization.
71801         [BZ #13185]
71802         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71803         SSE flags if possible.
71805 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71807         [BZ #13540]
71808         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71809         processing for last bytes.
71811 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71813         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71814         (syscall-list-default-options, syscall-list-default-condition)
71815         (syscall-list-includes): Define.
71816         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71817         list of ABIs and options and #if conditions for each ABI.  Do not
71818         handle common syscalls between ABIs specially.
71819         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71820         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/s390/Makefile (64bit-predefine): Remove.
71825         (syscall-list-variants, syscall-list-32bit-options)
71826         (syscall-list-32bit-condition, syscall-list-64bit-options)
71827         (syscall-list-64bit-condition): Define.
71828         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71829         Remove.
71830         (syscall-list-variants, syscall-list-32bit-options)
71831         (syscall-list-32bit-condition, syscall-list-64bit-options)
71832         (syscall-list-64bit-condition): Define.
71833         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71834         Remove.
71835         (syscall-list-variants, syscall-list-32bit-options)
71836         (syscall-list-32bit-condition, syscall-list-64bit-options)
71837         (syscall-list-64bit-condition): Define.
71839 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71841         * locale/iso-639.def: Add brx entry.
71843         [BZ #13328]
71844         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71845         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71847         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71848         __feraiseexcept_renamed.
71850 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71852         [BZ #13538]
71853         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71854         EPOLLET with unsigned values.
71855         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71856         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71858         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71859         to large cancellation.
71860         * math/s_cacoshf.c: Likewise.
71861         * math/s_cacoshl.c: Likewise.
71863 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71865         [BZ #13305]
71866         [BZ #12786]
71867         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71868         * math/s_cacoshf.c: Likewise.
71869         * math/s_cacoshl.c: Likewise.
71871 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71873         [BZ #13439]
71874         * iconv/gconv.h: Define __GCONV_SWAP.
71875         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71876         * iconvdata/utf-16.c: Likewise.
71877         * iconvdata/utf-32.c: Likewise.
71879 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71881         [BZ #13524]
71882         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71883         numerator after shifting it by one limb.
71885 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71887         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71888         under [__USE_EXTERN_INLINES].
71890 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71892         [BZ #13446]
71893         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71895 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71897         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71898         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71899         optimized code.
71900         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71901         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71902         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71903         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71904         for strncasecmp/strncasecmp_l compilation.
71905         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71906         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71908 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71910         [BZ #13484]
71911         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71912         of __asm__.
71914 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71916         [BZ #13506]
71917         * time/tzfile.c (__tzfile_read): Check values from file header.
71919 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71921         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71922         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71923         * powerpc/powerpc32/dl-start.S: Likewise.
71924         * powerpc/powerpc32/elf/start.S: Likewise.
71925         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71926         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71927         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71928         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71929         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71930         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71931         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71932         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71933         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71934         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71935         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71936         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71937         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71938         * powerpc/powerpc32/memset.S: Likewise.
71939         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71940         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71941         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71942         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71943         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71944         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71945         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71946         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71947         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71948         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71949         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71950         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71951         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71953 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71955         * math/libm-test.inc: Added more nearbyint tests.
71956         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71957         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71958         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71959         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71961 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71963         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71964         FD_CLOEXEC.
71966 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71968         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71969         Add wcscpy-ssse3 wcscpy-c.
71970         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71971         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71972         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71973         * sysdeps/x86_64/wcschr.S: New file.
71974         * sysdeps/x86_64/wcsrchr.S: New file.
71975         * string/test-strcmp.c: Remove checking of wcscmp function for
71976         wrong alignments.
71977         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71978         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71979         wcsrchr-sse2 wcsrchr-c.
71980         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71981         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71982         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71983         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71984         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71985         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71986         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71987         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71988         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71989         * wcsmbc/wcschr.c (WCSCHR): New macro.
71991 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71993         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71994         * wcsmbs/test-wcsrchr.c: New file.
71995         * string/test-strrchr.c: Add wcsrchr support.
71996         (WIDE): New macro.
71997         * wcsmbs/test-wcscpy.c: New file.
71998         * string/test-strcpy.c: Add wcscpy support.
71999         (WIDE): New macro.
72001 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72003         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72004         the inner loop.
72006 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72008         [BZ #13472]
72009         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72011 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72013         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72014         Minor optimizations.
72016         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72017         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72018         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72020 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72022         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72023         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72024         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72025         for gcc to avoid warnings.
72026         * inet/Makefile (tests): Add tst-checks.
72027         * inet/tst-checks.c: New file.
72029         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72030         warning.
72032         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72033         __wmemcmp_sse2.
72035         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72036         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72038         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72040 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72042         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72043         problem.
72045         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72047 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72049         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72050         conditional on GCC version.
72051         (__arch_compare_and_exchange_val_8_acq)
72052         (__arch_compare_and_exchange_val_16_acq)
72053         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72054         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72055         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72057 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72059         * sysdeps/sh/backtrace.c: New file.
72061 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72063         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72064         parenthesis.
72066 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72068         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72069         falling back to utime.
72071 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72073         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72074         expectations for float.
72076 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72078         * locale/weight.h (findidx): Add parameter len.
72079         * locale/weightwc.h (findidx): Likewise.
72080         * posix/fnmatch_loop.c (FCT): Adjust caller.
72081         * posix/regcomp.c (build_equiv_class): Likewise.
72082         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72083         * posix/regexec.c (check_node_accept_bytes): Likewise.
72084         * string/strcoll_l.c (STRCOLL): Likewise.
72085         * string/strxfrm_l.c (STRXFRM): Likewise.
72087 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72089         * Makefile.in: Remove CVSOPT handling.
72090         * configure.in: Remove use of AC_REVISION.
72091         * iconvdata/Makefile (distribute): No need to filter out CVS.
72092         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72093         handling.
72095 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72098         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72099         [USE_AS_STRNCASECMP_L]: Likewise.
72100         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72101         NO_TLS_DIRECT_SEG_REFS.
72102         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72103         Fix argument offsets for non-PIC.
72104         [USE_AS_STRNCASECMP_L]: Likewise.
72105         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72106         NO_TLS_DIRECT_SEG_REFS.
72108 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72110         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72111         O_CLOEXEC.
72112         * locale/loadlocale.c (_nl_load_locale): Likewise.
72114 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72116         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72117         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72118         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72119         (SYSCALL_GETTIME): Set errno on error.
72121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72122         count references to noai6ai_cached.
72124 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72126         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72128         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72129         FD_CLOEXEC for /proc/self/maps.
72131         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72132         FD_CLOEXEC for /proc/meminfo.
72134         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72135         gai.conf.
72137         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72138         FD_CLOEXEC for given file.
72140         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72142         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72143         FD_CLOEXEC for /etc/hosts.
72144         (_gethtent): Likewise.
72146         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72148         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72149         cancellation and set FD_CLOEXEC for /etc/netgroup.
72151         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72152         reading /etc/publickey.
72154         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72155         allow cancellation when reading /etc/group.
72157         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72158         cancellation.
72159         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72161         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72162         when using data file.
72164         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72166         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72167         (write_nis_obj): Use "c" and "e" in fopen.
72169         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72171         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72173         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72175         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72177         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72178         locale.alias.
72180         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72182         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72184         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72186         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72187         file parsing and set FD_CLOEXEC.
72189 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72191         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72193 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72195         * malloc/arena.c (arena_get2): Don't call reused_arena when
72196         _int_new_arena failed.
72198 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72200         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72201         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72202         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72206         to compile strcasecmp and strncasecmp.
72207         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72208         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72212 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72214         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72215         locale-defines.sym to gen-as-const-headers.
72216         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72217         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72219         to compile strcasecmp and strncasecmp.
72220         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72221         strcasecmp_l and strncasecmp_l.
72222         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72223         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72224         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72225         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72226         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72227         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72228         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72229         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72230         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72231         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72232         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72234 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72236         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72237         result of SYSDEP_GETTIME_CPU to retval.
72238         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72239         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72241         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72242         variable.
72244         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72245         mantissa words.
72246         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72248         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72249         from unused variable.
72251         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72252         DWARF definitions.
72253         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72254         for assembling.
72256         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72257         over namespaces.
72259         * sunrpc/rpc_prot.c (rejected): Fix case value.
72261         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72262         unsigned long long int to avoid warnings in shift.
72264         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72265         of use of trans.
72266         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72267         variable tmp.
72269         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72270         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72271         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72273         * nis/nis_table.c (nis_list): Use variable of correct type for
72274         result of __follow_path call.
72276 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72278         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72279         of math functions ceil, trunc, floor, round, and sqrt, when
72280         avaliable on the platform.
72281         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72282         name clash.
72283         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72284         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72285         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72287 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72289         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72290         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72292 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72294         * include/unistd.h: Fix __readlink return type.
72295         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72297 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72299         * stdlib/ucontext.h: Undo last change for makecontext.
72301 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72303         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72305         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72306         * setjmp/setjmp.h: Mark functions as non-leaf.
72307         * setjmp/bits/setjmp2.h: Likewise.
72308         * stdlib/ucontext.h: Likewise.
72310 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72312         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72313         (reused_arena): Don't check arena limit.
72314         (arena_get2): Atomically check arena limit.
72316 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72318         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72319         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72322         instructions.
72324 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72326         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72327         handler when locking.
72329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72330         Fix size of allocated buffer.
72332 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72334         [BZ #10103]
72335         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72336         declarations for long double functions.
72337         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72339         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72341 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72343         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72344         installed.
72346         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72347         is disabled.
72349 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72351         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72353 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72355         * include/alloca.h (stackinfo_alloca_round): Define.
72356         (extend_alloca): Use it.
72357         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72358         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72359         here.
72361         * scripts/check-local-headers.sh: Ignore libaudit.h.
72363         * nscd/Makefile (extra-objs): Make recursively expanded.
72365 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72367         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72370         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72371         * posix/tst-rfc3484-2.c: Likewise.
72372         * posix/tst-rfc3484-3.c: Likewise.
72374         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72375         process_vm_writev.
72376         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72377         process_vm_writev.
72378         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72379         process_vm_writev from libc using GLIBC_2.15 version.
72381         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72383 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72385         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72386         stack usage.
72388 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72390         [BZ #13367]
72391         * nss/getent.c (initgroups_keys): Show error message in case no group
72392         names are given.
72394         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72395         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72396         __bump_nl_timestamp.
72397         * nscd/connections (nscd_init): When host database is served open
72398         netlink socket and request notification about configuration changes.
72399         (main_loop_poll): Track netlink file descriptor and bump timestamp
72400         in case data becomes available.
72401         (main_loop_epoll): Likewise.
72402         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72403         (database_pers_head): Add extra_data fileds.
72404         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72405         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72406         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72407         Adjust caller.
72408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72409         in6ai data, call __free_in6ai.
72410         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72411         Add -DHAVE_NETLINK.
72412         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72413         interface information.  Reuse previous data if netlink timestamp
72414         is not changed.
72415         (__bump_nl_timestamp): New function.
72416         (__free_in6ai): New function.
72418 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72420         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72421         close_not_cancel_no_status here.
72422         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72424 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72426         [BZ #13276]
72427         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72428         return value.
72430         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72431         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72432         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72434 2011-07-03  Andreas Jaeger  <aj@suse.de>
72436         [BZ #10709]
72437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72438         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72439         * math/libm-test.inc (sin_test): Add test case.
72441 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72443         [BZ #13337]
72444         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72445         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72447         * elf/chroot_canon.c (chroot_canon): Cleanups.
72449         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72451         [BZ #13335]
72452         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72453         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72455         * string/test-strchr.c: Make usable for strchrnul testing.
72456         * string/test-strchrnul.c: New file.
72457         * string/Makefile (strop-tests): Add strchrnul.
72459         * po/it.po: Update from translation team.
72460         * po/es.po: Likewise.
72462 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72464         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72465         the three constants needed as parameters.  Drop the others.
72466         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72467         __m128i_strloadu_tolower.
72468         Create and initialize variable zero and use it in all the places
72469         where _mm_setzero_si128 was used.
72471         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72472         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72473         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72475         anymore.
72476         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72477         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72478         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72479         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72480         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72481         __mpranred, __mptan.
72482         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72483         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72484         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72485         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72486         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72487         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72489         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72490         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72492 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72494         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72495         redefine if SHARED.
72496         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72499         wide char related routines to wcsmbs subdir.
72501 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72503         [BZ #13344]
72504         * misc/sys/cdefs.h (__THROWNL): Define.
72505         * posix/unistd.h: Use __THREADNL instead of __THREAD
72506         for memory synchronization functions.
72508 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72510         [BZ #13349]
72511         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72512         doesn't exist.
72513         * manual/stdio.texi (Obstack Streams): Node removed.
72515 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72517         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72518         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72519         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72521         * math/math_private.h (math_force_eval): Allow non-addressable
72522         arguments.
72523         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72525 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72527         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72528         file is not needed.
72530         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72533         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72534         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72536         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72537         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72538         Add AVX variants.
72539         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72540         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72541         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72542         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72543         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72544         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72545         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72546         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72547         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72548         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72549         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72550         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72551         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72552         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72553         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72554         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72555         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72556         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72557         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72559         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72560         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72563         place.  Use VEX encoding when compiling for AVX.
72565 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72567         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72568         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72570         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72572 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72574         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72575         useless if() expression.
72576         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72578         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72581         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72585         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72586         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72587         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72588         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72590         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72591         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72592         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72593         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72594         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72596         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72598 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72600         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72601         condition.
72602         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72604 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72606         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72607         .text section.  Avoid duplicate constants.
72608         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72613         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72616         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72617         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72618         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72620         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72621         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72622         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72623         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72624         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72625         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72626         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72628         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72629         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72630         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72631         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72632         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72633         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72634         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72635         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72636         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72637         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72638         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72639         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72640         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72641         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72642         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72643         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72644         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72646         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72647         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72648         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72649         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72650         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72651         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72652         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72654 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72656         * sysdeps/x86_64/dla.h: Move to ...
72657         * sysdeps/x86_64/fpu/dla.h: ...here.
72658         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72659         situations.  Use __builtin_fma only for gcc 4.6 and up.
72661         * config.make.in: Add have-mfma4 entry.
72662         * configure.in: Substitute libc_cv_cc_fma4.
72663         * math/Makefile (dbl-only-routines): Add sincostab.
72664         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72665         Use __sincostab not sincos.
72666         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72667         name is a macro.
72668         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72672         using __copysign.
72673         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72674         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72675         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72676         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72677         and __inv.
72678         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72679         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72680         __copysign.
72681         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72682         define aliases when function name is a macro.
72683         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72684         sysdeps/ieee754/dbl-64/sincos.tbl.
72685         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72686         fma4-enabled routines.
72687         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72688         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72689         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72690         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72691         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72692         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72693         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72694         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72695         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72696         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72697         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72698         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72699         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72700         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72702         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72703         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72704         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72705         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72706         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72707         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72708         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72710         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72711         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72712         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72713         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72714         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72715         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72716         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72718         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72719         rename.
72720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72729 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72731         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72733 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72735         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72737         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72738         prediction.
72739         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72741         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72742         Remove unused variable magic_bits.
72743         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72745         * string/strnlen.c: Define and use STRNLEN macro.
72746         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72747         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72749         * wcsmbs/wcslen.c: Define and use WCSLEN.
72750         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72751         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72752         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72753         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72754         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72755         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72756         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72758 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72761         strnlen-sse2-no-bsf.
72762         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72763         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72764         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72765         Add strnlen support.
72766         (USE_AS_STRNLEN): New macro.
72767         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72768         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72769         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72770         * sysdeps/x86_64/wcslen.S: New file.
72772 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72774         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72775         XMM-moves are used for copying on small sizes.
72777 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72779         * wcsmbs/Makefile (strop-tests): Add wcschr.
72780         * wcsmbs/test-wcschr.c: New file.
72781         * string/test-strchr.c: Update.
72782         Add wcschr support.
72783         (WIDE): New macro.
72785 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72787         * wcsmbs/Makefile (strop-tests): Add wcslen.
72788         * wcsmbs/test-wcslen.c: New file.
72789         * string/test-strlen.c: Update.
72790         Add wcslen support.
72791         (WIDE): New macro.
72793 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72795         * po/it.po: Update from translation team.
72797 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72799         * sysdeps/x86_64/wcscmp.S: Update.
72800         Fix wrong comparison semantics.
72801         wcscmp shall use signed comparison not unsigned.
72802         Don't use substraction to avoid overflow bug.
72803         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72804         * wcsmbc/wcscmp.c: Likewise.
72805         * string/test-strcmp.c: Likewise.
72806         Add new tests to check cases with negative values.
72808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72810         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72811         * sysdeps/x86_64/dla.h: ...here.  New file.
72812         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72819         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72822 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72825         __ynl_finite aliases.
72827 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72831         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72832         define DLA_FMA.
72833         [DLA_FMA] (EMULV): Use DLA_FMA.
72834         [DLA_FMA] (MUL12): Use EMULV.
72835         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72836         that are not needed.
72837         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72841         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72845 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72847         * math/s_nan.c: Undef __nan.
72848         * math/s_nanf.c: Undef __nanf.
72849         * math/s_nanl.c: Undef __nanl.
72850         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72851         "math_private.h".
72853 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72855         * math/s_catan.c: Add branch predictions.
72856         * math/s_catanf.c: Likewise.
72857         * math/s_catanh.c: Likewise.
72858         * math/s_catanhf.c: Likewise.
72859         * math/s_catanhl.c: Likewise.
72860         * math/s_catanl.c: Likewise.
72861         * math/s_cexp.c: Likewise.
72862         * math/s_cexpf.c: Likewise.
72863         * math/s_cexpl.c: Likewise.
72864         * math/s_clog.c: Likewise.
72865         * math/s_clog10.c: Likewise.
72866         * math/s_clog10f.c: Likewise.
72867         * math/s_clog10l.c: Likewise.
72868         * math/s_clogf.c: Likewise.
72869         * math/s_clogl.c: Likewise.
72870         * math/s_csqrt.c: Likewise.
72871         * math/s_csqrtf.c: Likewise.
72872         * math/s_csqrtl.c: Likewise.
72873         * math/s_ctanf.c: Likewise.
72874         * math/s_ctanh.c: Likewise.
72875         * math/s_ctanhf.c: Likewise.
72876         * math/s_ctanhl.c: Likewise.
72877         * math/s_ctanl.c: Likewise.
72879         * math/math_private.h: Define __nan, __nanf, __nanl.
72880         * math/s_cacosh.c: Include <math_private.h>.
72881         * math/s_cacoshl.c: Likewise.
72882         * math/s_casinh.c: Likewise.
72883         * math/s_casinhf.c: Likewise.
72884         * math/s_casinhl.c: Likewise.
72885         * math/s_ccos.c: Rely entire on ccosh.
72886         * math/s_ccosf.c: Rely entire on ccoshf.
72887         * math/s_ccosl.c: Rely entirely on ccoshl.
72888         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72889         Remove tests for FE_INVALID.
72890         * math/s_ccoshf.c: Likewise.
72891         * math/s_ccoshl.c: Likewise.
72892         * math/s_csin.c: Likewise.
72893         * math/s_csinf.c: Likewise.
72894         * math/s_csinh.c Likewise.
72895         * math/s_csinhf.c: Likewise.
72896         * math/s_csinhl.c: Likewise.
72897         * math/s_csinl.c: Likewise.
72898         * math/s_ctan.c: Likewise.
72899         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72900         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72901         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72903 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72906         compilation problems.
72908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72909         __builtin_expect.
72911 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72913         * sysdeps/i386/configure.in: Test for -mfma4 option.
72914         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72915         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72916         COMMON_CPUID_INDEX_80000001.
72917         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72918         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72919         use it if FMA3 is not supported.
72920         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72922         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72923         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72925 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72927         [BZ #12892]
72928         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72929         it would create a cycle with a link time dependency.
72931 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72933         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72934         instruction.
72935         * string/Makefile (strop-tests): Add rawmemchr.
72936         * string/test-rawmemchr.c: New file.
72938         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72940         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72941         when compiling str{,n}casecmp and when AVX is available.  Hook up
72942         new optimized code in initializers.
72944 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72946         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72947         __feraiseexcept instead of feraiseexcept.
72949 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72951         * math/math_private.h: Define defaults for libc_fetestexcept and
72952         libc_feupdateenv.
72953         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72954         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72955         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72956         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72957         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72958         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72959         libc_fetestexcept and libc_feupdateenv.
72961         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72962         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72963         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72964         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72965         libc_feholdexcept_setround.
72967         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72968         Add s_nearbyint-c and s_nearbyintf-c.
72969         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72970         nearbyintf inlines.
72971         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72972         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72973         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72974         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72976         * math/math_private.h: Define defaults for libc_fegetround,
72977         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72978         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72979         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72980         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72981         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72982         standard functions.
72983         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72984         Remove comments and hacks for old compiler versions.
72985         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72986         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72987         libc_feholdexceptl.
72989 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72991         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72992         (__feraiseexcept_renamed): Add __NTH.
72993         (feraiseexcept): Add __NTH.  Rename local variables to fix
72994         namespace violations.
72996 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72998         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73000         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73002         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73003         recently added interfaces.
73004         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73006         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73007         about macro parameter expansion.
73009         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73010         __NO_MATH_INLINES is defined.  Cleanups.
73012         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73013         and __floorf is target has SSE4.1.
73014         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73015         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73016         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73017         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73019         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73020         name.
73021         (floorf): Likewise.
73023         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73025 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73027         * misc/sys/cdefs.h: Fix last change.
73029         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73030         database lookup.
73032 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73034         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73036         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73037         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73039         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73040         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73041         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73042         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73043         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73044         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73045         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73046         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73047         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73048         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73049         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73050         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73051         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73052         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73053         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73054         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73055         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73056         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73057         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73059         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73060         ceil, ceilf, floor, floorf.
73062         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73063         Perform IRELATIVE relocations last.
73065         * elf/do-rel.h: Add another parameter nrelative, replacing the
73066         local variable with the same name.  Change name of the function
73067         to end in Rel or Rela (uppercase).
73068         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73069         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73070         elf_dynamic_do_##reloc function.
73072 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73074         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73075         is sufficient, at least on modern CPUs.
73077         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73079         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73080         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73082         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73083         __expl_finite.
73084         * math/bits/math-finite.h: Add entries for exp.
73085         * math/e_expl.c: Add __*_finite alias.
73086         * sysdeps/i386/fpu/e_exp.S: Likewise.
73087         * sysdeps/i386/fpu/e_expf.S: Likewise.
73088         * sysdeps/i386/fpu/e_expl.c: Likewise.
73089         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73090         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73091         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73093         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73094         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73095         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73097         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73098         is sufficient, at least on modern CPUs.
73100         * ctype/ctype-info.c (__ctype_init): Define.
73101         * include/ctype.h (__ctype_init): Declare.
73102         (__ctype_b_loc): The variable is always initialized.
73103         (__ctype_toupper_loc): Likewise.
73104         (__ctype_tolower_loc): Likewise.
73105         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73106         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73108 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73110         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73112         * configure.in: Also look in $cxxmachine/include for C++ system
73113         headers.
73115 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73117         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73118         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73119         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73120         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73121         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73122         (USE_AS_WMEMCMP): New macro.
73123         Fixing indents.
73124         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73125         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73126         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73127         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73129         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73130         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73131         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73132         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73133         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73134         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73135         (USE_AS_WMEMCMP): New macro.
73136         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73137         * sysdeps/string/test-memcmp.c: Update.
73138         Fix simple_wmemcmp.
73139         Add new tests.
73140         * wcsmbs/wmemcmp.c: Update.
73141         (WMEMCMP): New macro.
73142         Fix overflow bug.
73144 2011-10-12  Andreas Jaeger  <aj@suse.de>
73146         [BZ #13268]
73147         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73149 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73151         * libio/iofwide.c (do_length): Avoid warning.
73153         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73155 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73157         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73159         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73160         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73161         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73162         * sysdeps/i386/i686/fpu/e_log.S: New file.
73163         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73164         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73166         * ctype/ctype.h: Add support for inlined isXXX functions when
73167         compiling C++ code.
73169 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73171         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73173         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73175 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73177         [BZ #13291]
73178         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73180 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73182         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73183         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73184         feraiseexcept.
73186         * sysdeps/x86_64/memrchr.S: Check for zero size.
73188         * string/stratcliff.c: Add memrchr tests.
73190 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73193         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73194         rawmemchr-sse2 rawmemchr-sse2-bsf.
73195         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73196         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73197         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73198         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73199         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73200         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73201         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73202         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73203         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73204         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73205         * string/memrchr.c (MEMRCHR): New macro.
73207 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73209         Add integration with gcc's -ffinite-math-only and optimize wrapper
73210         functions in libm.
73211         * Versions.def: Define GLIBC_2.15 version for libm.
73212         * math/Makefile (headers): Add bits/math-finite.h.
73213         * math/bits/math-finite.h: New file.
73214         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73215         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73216         * math/e_acoshl.c: Add __*_finite alias.
73217         * math/e_acosl.c: Likewise.
73218         * math/e_asinl.c: Likewise.
73219         * math/e_atan2l.c: Likewise.
73220         * math/e_atanhl.c: Likewise.
73221         * math/e_coshl.c: Likewise.
73222         * math/e_exp10.c: Likewise.
73223         * math/e_exp10f.c: Likewise.
73224         * math/e_exp10l.c: Likewise.
73225         * math/e_exp2l.c: Likewise.
73226         * math/e_fmodl.c: Likewise.
73227         * math/e_gammal_r.c: Likewise.
73228         * math/e_hypotl.c: Likewise.
73229         * math/e_j0l.c: Likewise.
73230         * math/e_j1l.c: Likewise.
73231         * math/e_jnl.c: Likewise.
73232         * math/e_lgammal_r.c: Likewise.
73233         * math/e_log10l.c: Likewise.
73234         * math/e_log2l.c: Likewise.
73235         * math/e_logl.c: Likewise.
73236         * math/e_powl.c: Likewise.
73237         * math/e_sinhl.c: Likewise.
73238         * math/e_sqrtl.c: Likewise.
73239         * math/e_scalb.c: Completely rewritten and optimized.
73240         * math/e_scalbf.c: Likewise.
73241         * math/e_scalbl.c: Likewise.
73242         * math/w_acos.c: Likewise.
73243         * math/w_acosf.c: Likewise.
73244         * math/w_acosl.c: Likewise.
73245         * math/w_acosh.c: Likewise.
73246         * math/w_acoshf.c: Likewise.
73247         * math/w_acoshl.c: Likewise.
73248         * math/w_asin.c: Likewise.
73249         * math/w_asinf.c: Likewise.
73250         * math/w_asinl.c: Likewise.
73251         * math/w_atan2.c: Likewise.
73252         * math/w_atan2f.c: Likewise.
73253         * math/w_atan2l.c: Likewise.
73254         * math/w_atanh.c: Likewise.
73255         * math/w_atanhf.c: Likewise.
73256         * math/w_atanhl.c: Likewise.
73257         * math/w_exp10.c: Likewise.
73258         * math/w_exp10f.c: Likewise.
73259         * math/w_exp10l.c: Likewise.
73260         * math/w_fmod.c: Likewise.
73261         * math/w_fmodf.c: Likewise.
73262         * math/w_fmodl.c: Likewise.
73263         * math/w_j0.c: Likewise.
73264         * math/w_j0f.c: Likewise.
73265         * math/w_j0l.c: Likewise.
73266         * math/w_j1.c: Likewise.
73267         * math/w_j1f.c: Likewise.
73268         * math/w_j1l.c: Likewise.
73269         * math/w_jn.c: Likewise.
73270         * math/w_jnf.c: Likewise.
73271         * math/w_log.c: Likewise.
73272         * math/w_logf.c: Likewise.
73273         * math/w_logl.c: Likewise.
73274         * math/w_log10.c: Likewise.
73275         * math/w_log10f.c: Likewise.
73276         * math/w_log10l.c: Likewise.
73277         * math/w_log2.c: Likewise.
73278         * math/w_log2f.c: Likewise.
73279         * math/w_log2l.c: Likewise.
73280         * math/w_pow.c: Likewise.
73281         * math/w_powf.c: Likewise.
73282         * math/w_powl.c: Likewise.
73283         * math/w_remainder.c: Likewise.
73284         * math/w_remainderf.c: Likewise.
73285         * math/w_remainderl.c: Likewise.
73286         * math/w_scalb.c: Likewise.
73287         * math/w_scalbf.c: Likewise.
73288         * math/w_scalbl.c: Likewise.
73289         * math/w_sqrt.c: Likewise.
73290         * math/w_sqrtf.c: Likewise.
73291         * math/w_sqrtl.c: Likewise.
73292         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73293         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73294         used.
73295         * math/math_private.h: Declare __kernel_standard_f.
73296         * math/w_cosh.c: Remove cruft and optimize a bit.
73297         * math/w_coshf.c: Likewise.
73298         * math/w_coshl.c: Likewise.
73299         * math/w_exp2.c: Likewise.
73300         * math/w_exp2f.c: Likewise.
73301         * math/w_exp2l.c: Likewise.
73302         * math/w_hypot.c: Likewise.
73303         * math/w_hypotf.c: Likewise.
73304         * math/w_hypotl.c: Likewise.
73305         * math/w_lgamma.c: Likewise.
73306         * math/w_lgamma_r.c: Likewise.
73307         * math/w_lgammaf.c: Likewise.
73308         * math/w_lgammaf_r.c: Likewise.
73309         * math/w_lgammal.c: Likewise.
73310         * math/w_lgammal_r.c: Likewise.
73311         * math/w_sinh.c: Likewise.
73312         * math/w_sinhf.c: Likewise.
73313         * math/w_sinhl.c: Likewise.
73314         * math/w_tgamma.c: Likewise.
73315         * math/w_tgammaf.c: Likewise.
73316         * math/w_tgammal.c: Likewise.
73317         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73318         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73319         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73320         Minor optimizations.  Pretty printing.  Remove cruft.
73321         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73322         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73323         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73324         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73325         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73326         * sysdeps/i386/fpu/e_asin.S: Likewise.
73327         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73328         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73329         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73330         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73331         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73333         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73334         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73335         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73336         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73337         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73338         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73339         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73340         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73341         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73342         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73343         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73344         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73345         * sysdeps/i386/fpu/e_log.S: Likewise.
73346         * sysdeps/i386/fpu/e_log10.S: Likewise.
73347         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73348         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73349         * sysdeps/i386/fpu/e_log2.S: Likewise.
73350         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73351         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73352         * sysdeps/i386/fpu/e_logf.S: Likewise.
73353         * sysdeps/i386/fpu/e_logl.S: Likewise.
73354         * sysdeps/i386/fpu/e_pow.S: Likewise.
73355         * sysdeps/i386/fpu/e_powf.S: Likewise.
73356         * sysdeps/i386/fpu/e_powl.S: Likewise.
73357         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73358         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73359         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73360         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73361         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73362         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73363         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73364         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73365         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73366         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73367         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73368         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73369         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73370         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73371         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73372         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73373         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73374         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73375         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73376         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73377         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73379         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73380         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73382         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73383         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73384         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73386         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73387         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73388         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73389         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73390         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73391         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73392         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73393         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73394         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73395         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73396         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73397         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73398         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73399         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73400         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73401         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73402         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73403         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73404         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73405         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73406         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73407         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73408         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73409         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73410         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73411         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73412         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73413         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73414         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73415         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73416         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73417         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73418         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73419         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73421         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73422         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73423         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73424         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73425         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73426         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73427         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73429         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73430         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73431         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73432         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73433         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73435         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73436         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73437         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73440         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73443         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73444         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73445         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73446         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73447         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73449         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73450         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73451         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73452         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73453         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73454         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73455         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73456         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73457         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73459         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73460         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73461         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73462         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73463         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73464         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73465         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73466         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73467         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73468         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73469         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73470         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73471         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73472         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73473         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73474         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73475         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73476         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73477         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73478         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73479         (__isnanf): Likewise.
73480         (__isinf_ns): Likewise.
73481         (__isinf_nsf): Likewise.
73482         (__finite): Likewise.
73483         (__finitef): Likewise.
73484         (__ieee754_sqrt): Define as macro.
73485         (__ieee754_sqrtf): Define as macro.
73486         (__ieee754_sqrtl): Define as macro.
73487         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73488         inlined copy.
73489         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73490         __FINITE_MATH_ONLY__ consistent.
73491         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73493 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73495         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73496         of rawmemchr.
73498         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73500 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73502         * po/ja.po: Update from translation team.
73504 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73506         * locale/programs/locarchive.c (prepare_address_space): New function.
73507         (create_archive, enlarge_archive, open_archive): Use it.
73509         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73510         inside [SHARED], where it is used.
73512         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73514         * nss/getent.c (netgroup_keys): Remove unused variable.
73515         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73517 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73519         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73520         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73522         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73523         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73524         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73525         * math/Makefile (libm-calls): Add s_isinf_ns.
73526         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73527         * math/multc3.c: Likewise.
73528         * math/s_casin.c: Likewise.
73529         * math/s_casinf.c: Likewise.
73530         * math/s_casinl.c: Likewise.
73531         * math/s_ccos.c: Likewise.
73532         * math/s_ccosf.c: Likewise.
73533         * math/s_ccosl.c: Likewise.
73534         * math/s_ctan.c: Likewise.
73535         * math/s_ctanf.c: Likewise.
73536         * math/s_ctanh.c: Likewise.
73537         * math/s_ctanhf.c: Likewise.
73538         * math/s_ctanhl.c: Likewise.
73539         * math/s_ctanl.c: Likewise.
73540         * math/w_fmod.c: Likewise.
73541         * math/w_fmodf.c: Likewise.
73542         * math/w_fmodl.c: Likewise.
73543         * math/w_remainder.c: Likewise.
73544         * math/w_remainderf.c: Likewise.
73545         * math/w_remainderl.c: Likewise.
73546         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73547         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73548         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73550         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73551         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73552         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73553         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73555         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73556         of the number.
73557         * stdio-common/printf_fphex.c: Likewise.
73558         * stdio-common/printf_size.c: Likewise.
73560         * math/e_exp10.c: Include math_private.h using <...> not "...".
73561         * math/e_exp10f.c: Likewise.
73562         * math/e_exp10l.c: Likewise.
73563         * math/e_exp2l.c: Likewise.
73564         * math/e_j0l.c: Likewise.
73565         * math/e_j1l.c: Likewise.
73566         * math/e_jnl.c: Likewise.
73567         * math/e_lgammal_r.c: Likewise.
73568         * math/e_rem_pio2l.c: Likewise.
73569         * math/e_scalb.c: Likewise.
73570         * math/e_scalbf.c: Likewise.
73571         * math/e_scalbl.c: Likewise.
73572         * math/k_cosl.c: Likewise.
73573         * math/k_sinl.c: Likewise.
73574         * math/k_tanl.c: Likewise.
73575         * math/s_cacoshf.c: Likewise.
73576         * math/s_catan.c: Likewise.
73577         * math/s_catanf.c: Likewise.
73578         * math/s_catanh.c: Likewise.
73579         * math/s_catanhf.c: Likewise.
73580         * math/s_catanhl.c: Likewise.
73581         * math/s_catanl.c: Likewise.
73582         * math/s_ccosh.c: Likewise.
73583         * math/s_ccoshf.c: Likewise.
73584         * math/s_ccoshl.c: Likewise.
73585         * math/s_cexp.c: Likewise.
73586         * math/s_cexpf.c: Likewise.
73587         * math/s_cexpl.c: Likewise.
73588         * math/s_clog.c: Likewise.
73589         * math/s_clog10.c: Likewise.
73590         * math/s_clog10f.c: Likewise.
73591         * math/s_clog10l.c: Likewise.
73592         * math/s_clogf.c: Likewise.
73593         * math/s_clogl.c: Likewise.
73594         * math/s_csin.c: Likewise.
73595         * math/s_csinf.c: Likewise.
73596         * math/s_csinh.c: Likewise.
73597         * math/s_csinhf.c: Likewise.
73598         * math/s_csinhl.c: Likewise.
73599         * math/s_csinl.c: Likewise.
73600         * math/s_csqrt.c: Likewise.
73601         * math/s_csqrtf.c: Likewise.
73602         * math/s_csqrtl.c: Likewise.
73603         * math/s_ctan.c: Likewise.
73604         * math/s_ctanf.c: Likewise.
73605         * math/s_ctanh.c: Likewise.
73606         * math/s_ctanhf.c: Likewise.
73607         * math/s_ctanhl.c: Likewise.
73608         * math/s_ctanl.c: Likewise.
73609         * math/s_ldexp.c: Likewise.
73610         * math/s_ldexpf.c: Likewise.
73611         * math/s_ldexpl.c: Likewise.
73612         * math/s_significand.c: Likewise.
73613         * math/s_significandf.c: Likewise.
73614         * math/s_significandl.c: Likewise.
73615         * math/w_acos.c: Likewise.
73616         * math/w_acosf.c: Likewise.
73617         * math/w_acosh.c: Likewise.
73618         * math/w_acoshf.c: Likewise.
73619         * math/w_acoshl.c: Likewise.
73620         * math/w_acosl.c: Likewise.
73621         * math/w_asin.c: Likewise.
73622         * math/w_asinf.c: Likewise.
73623         * math/w_asinl.c: Likewise.
73624         * math/w_atan2.c: Likewise.
73625         * math/w_atan2f.c: Likewise.
73626         * math/w_atan2l.c: Likewise.
73627         * math/w_atanh.c: Likewise.
73628         * math/w_atanhf.c: Likewise.
73629         * math/w_atanhl.c: Likewise.
73630         * math/w_cosh.c: Likewise.
73631         * math/w_coshf.c: Likewise.
73632         * math/w_coshl.c: Likewise.
73633         * math/w_dremf.c: Likewise.
73634         * math/w_exp10.c: Likewise.
73635         * math/w_exp10f.c: Likewise.
73636         * math/w_exp10l.c: Likewise.
73637         * math/w_exp2.c: Likewise.
73638         * math/w_exp2f.c: Likewise.
73639         * math/w_fmod.c: Likewise.
73640         * math/w_fmodf.c: Likewise.
73641         * math/w_fmodl.c: Likewise.
73642         * math/w_hypot.c: Likewise.
73643         * math/w_hypotf.c: Likewise.
73644         * math/w_hypotl.c: Likewise.
73645         * math/w_j0.c: Likewise.
73646         * math/w_j0f.c: Likewise.
73647         * math/w_j0l.c: Likewise.
73648         * math/w_j1.c: Likewise.
73649         * math/w_j1f.c: Likewise.
73650         * math/w_j1l.c: Likewise.
73651         * math/w_jn.c: Likewise.
73652         * math/w_jnf.c: Likewise.
73653         * math/w_jnl.c: Likewise.
73654         * math/w_lgamma.c: Likewise.
73655         * math/w_lgamma_r.c: Likewise.
73656         * math/w_lgammaf.c: Likewise.
73657         * math/w_lgammaf_r.c: Likewise.
73658         * math/w_lgammal.c: Likewise.
73659         * math/w_lgammal_r.c: Likewise.
73660         * math/w_log.c: Likewise.
73661         * math/w_log10.c: Likewise.
73662         * math/w_log10f.c: Likewise.
73663         * math/w_log10l.c: Likewise.
73664         * math/w_log2.c: Likewise.
73665         * math/w_log2f.c: Likewise.
73666         * math/w_log2l.c: Likewise.
73667         * math/w_logf.c: Likewise.
73668         * math/w_logl.c: Likewise.
73669         * math/w_pow.c: Likewise.
73670         * math/w_powf.c: Likewise.
73671         * math/w_powl.c: Likewise.
73672         * math/w_remainder.c: Likewise.
73673         * math/w_remainderf.c: Likewise.
73674         * math/w_remainderl.c: Likewise.
73675         * math/w_scalb.c: Likewise.
73676         * math/w_scalbf.c: Likewise.
73677         * math/w_scalbl.c: Likewise.
73678         * math/w_sinh.c: Likewise.
73679         * math/w_sinhf.c: Likewise.
73680         * math/w_sinhl.c: Likewise.
73681         * math/w_sqrt.c: Likewise.
73682         * math/w_sqrtf.c: Likewise.
73683         * math/w_sqrtl.c: Likewise.
73684         * math/w_tgamma.c: Likewise.
73685         * math/w_tgammaf.c: Likewise.
73686         * math/w_tgammal.c: Likewise.
73688         * po/ja.po: Update from translation team.
73690 2011-09-29  Andreas Jaeger  <aj@suse.de>
73692         [BZ #13179]
73693         * sunrpc/netname.c (netname2host): Fix logic.
73695         [BZ #6779]
73696         [BZ #6783]
73697         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73698         correctly.
73699         * math/w_remainder.c (__remainder): Likewise.
73700         * math/w_remainderf.c (__remainderf): Likewise.
73701         * math/libm-test.inc (remainder_test): Add test cases.
73703 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73705         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73706         sdiv_qrnnd.
73708 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73710         * string/test-memcmp.c: Avoid unncessary #defines.
73711         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73713 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73715         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73716         Use new sse2 version for core i3 - i7 as it's faster
73717         than sse42 version.
73718         (bit_Prefer_PMINUB_for_stringop): New.
73719         * sysdeps/x86_64/rawmemchr.S: Update.
73720         Replace with faster SSE2 version.
73721         * sysdeps/x86_64/memrchr.S: New file.
73722         * sysdeps/x86_64/memchr.S: Update.
73723         Replace with faster SSE2 version.
73725 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73727         * elf/dl-load.c (lose): Add cast to avoid warning.
73729 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73731         * po/ca.po: Update from translation team.
73733         * inet/getnetgrent_r.c: Hook up nscd.
73734         * nscd/Makefile (routines): Add nscd_netgroup.
73735         (nscd-modules): Add netgroupcache.
73736         (CFLAGS-netgroupcache.c): Define.
73737         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73738         (cache_search): Add const to second parameter.
73739         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73740         INNETGR.
73741         (dbs): Add netgrdb entry.
73742         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73743         (verify_persistent_db): Handle netgrdb.
73744         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73745         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73746         GETFDNETGR.
73747         (netgroup_response_header): Define.
73748         (innetgroup_response_header): Define.
73749         (datahead): Add netgroup_response_header and innetgroup_response_header
73750         elements.
73751         * nscd/nscd.conf: Add entries for netgroup cache.
73752         * nscd/nscd.h (dbtype): Add netgrdb.
73753         (_PATH_NSCD_NETGROUP_DB): Define.
73754         (netgroup_iov_disabled): Declare.
73755         (xmalloc, xcalloc, xrealloc): Move declarations here.
73756         (cache_search): Adjust prototype.
73757         Add netgroup-related prototypes.
73758         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73759         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73760         (__nscd_innetgr): Declare.
73761         * nscd/selinux.c (perms): Use access_vector_t as element type and
73762         add netgroup-related initializers.
73763         * nscd/netgroupcache.c: New file.
73764         * nscd/nscd_netgroup.c: New file.
73765         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73766         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73767         For four parameters use innetgr.
73768         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73769         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73770         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73771         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73773         * nscd/connections.c (register_traced_file): Don't register file
73774         for disabled databases.
73776 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73778         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73780         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73781         from tree and freeing node.
73783 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73785         * nss/nsswitch.c (__nss_database_lookup): Handle
73786         nss_parse_service_list out of memory case.
73788 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73790         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73791         out of memory case.
73793 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73795         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73796         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73797         pass it down.
73798         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73799         elf_machine_rela, elf_machine_lazy_rel.
73800         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73801         (ELF_DYNAMIC_DO_REL): Likewise.
73802         (ELF_DYNAMIC_DO_RELA): Likewise.
73803         (ELF_DYNAMIC_RELOCATE): Likewise.
73804         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73805         to ELF_DYNAMIC_DO_REL.
73806         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73807         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73808         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73809         elf_machine_rela.
73810         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73811         skip_ifunc, don't call ifunc function if non-zero.
73812         (elf_machine_rela): Likewise.
73813         (elf_machine_lazy_rel): Likewise.
73814         (elf_machine_lazy_rela): Likewise.
73815         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73816         (elf_machine_lazy_rel): Likewise.
73817         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73818         Likewise.
73819         (elf_machine_lazy_rel): Likewise.
73820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73821         Likewise.
73822         (elf_machine_lazy_rel): Likewise.
73823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73824         (elf_machine_lazy_rel): Likewise.
73825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73826         (elf_machine_lazy_rel): Likewise.
73827         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73828         (elf_machine_lazy_rel): Likewise.
73829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73830         (elf_machine_lazy_rel): Likewise.
73831         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73832         (elf_machine_lazy_rel): Likewise.
73833         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73834         (elf_machine_lazy_rel): Likewise.
73836 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73838         * nss/nss_files/files-init.c (_nss_files_init): Use static
73839         initialization for all the *_traced_file variables.
73841 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73843         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73845 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73847         [BZ #13226]
73848         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73850 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73852         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73853         Reread the line before reparsing it.
73855 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73857         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73859 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73860             Maxim Kuvyrkov  <maxim@codesourcery.com>
73861             Joseph Myers  <joseph@codesourcery.com>
73863         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73864         if needed for __stack_chk_guard.
73866 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73868         * sysdeps/posix/spawni.c (script_execute): Always define it.
73869         It will be optimized away if unused.
73870         (maybe_script_execute): New function.
73871         (__spawni): Call it.
73873         * Makerules: Don't include tls.make.
73874         (config-tls): Always set to thread.
73875         * tls.make.c: File removed.
73877 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73879         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73880         * config.make.in (CPPFLAGS-config): New substituted variable.
73882 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73884         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73886         [BZ #13192]
73887         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73888         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73890 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73892         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73893         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73894         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73895         (CALL_FAIL): Likewise.
73896         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73897         (CALL_FAIL): Macro removed.
73898         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73900 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73902         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73903         for __FINITE_MATH_ONLY__ == 1.
73905 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73907         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73908         __ieee754_sqrt instead of sqrt.
73909         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73910         __ieee754_sqrtf instead of sqrtf.
73911         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73912         __floorf instead of floorf.
73913         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73914         __floorf, __truncf instead of floorf, truncf.
73916 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73918         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73920         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73921         __extern_always_inline.
73922         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73923         32-bit.
73925 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73927         * elf/rtld.c (dl_main): Also relocate in dependency order when
73928         doing symbol dependency testing.
73930 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73933         Always define `refsym'.
73935 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73937         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73938         (__FD_ELT): Renamed from __FDELT.
73939         * misc/bits/select2.h (__FD_ELT): Likewise.
73940         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73941         __FD_MASK instead of __FDELT, __FDMASK.
73942         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73943         Likewise.
73944         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73945         Likewise.
73947         * elf/Makefile (gen-ldd): Fix pattern.
73949         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73950         (init_tls): Likewise.
73952 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73956 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73958         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73959         `struct cmsghdr *' instead of `void *'.
73960         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73961         Likewise.
73963 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73965         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73966         if non-absolute.
73967         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73968         ldd_rewrite_script.
73970 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73972         * configure.in: Remove --with-tls option.
73973         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73974         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73975         out in case it is missing.
73976         * sysdeps/ia64/elf/configure.in: Likewise.
73977         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73978         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73979         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73980         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73981         * sysdeps/sh/elf/configure.in: Likewise.
73982         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73983         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73984         * sysdeps/x86_64/elf/configure.in: Likewise.
73985         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73986         * sysdeps/mach/hurd/tls.h: Likewise.
73988         [BZ #13067]
73989         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73991         [BZ #13090]
73992         * configure.in: Fix use of AC_INIT.
73994         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73996 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73998         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73999         __set_errno.
74000         * malloc/hooks.c: Likewise.
74002         [BZ #11929]
74003         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74004         variables statically.
74005         (narenas): Initialize.
74006         (list_lock): Initialize.
74007         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74008         initializtion of main_arena and list_lock.  Small cleanups.
74009         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74010         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74011         Add initializers to main_arena and mp_.
74012         (malloc_state): Remove pagesize member.  Change all users to use
74013         GLRO(dl_pagesize).
74015         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74016         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74017         is always initialized.
74019         * malloc/malloc.c: Removed unused configurations and dead code.
74020         * malloc/arena.c: Likewise.
74021         * malloc/hooks.c: Likewise.
74022         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74024         * include/tls.h: Removed.  USE___THREAD must always be defined.
74025         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74026         * elf/dl-libc.c: Likewise.
74027         * elf/dl-tsd.c: Likewise.
74028         * include/errno.h: Likewise.
74029         * include/netdb.h: Likewise.
74030         * include/resolv.h: Likewise.
74031         * inet/herrno-loc.c: Likewise.
74032         * inet/herrno.c: Likewise.
74033         * malloc/arena.c: Likewise.
74034         * malloc/hooks.c: Likewise.
74035         * malloc/malloc.c: Likewise.
74036         * resolv/res-state.c: Likewise.
74037         * resolv/res_libc.c: Likewise.
74038         * sysdeps/i386/dl-machine.h: Likewise.
74039         * sysdeps/ia64/dl-machine.h: Likewise.
74040         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74041         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74042         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74043         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74044         * sysdeps/sh/dl-machine.h: Likewise.
74045         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74046         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74047         * sysdeps/unix/i386/sysdep.S: Likewise.
74048         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74049         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74054         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74058         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74059         * sysdeps/x86_64/dl-machine.h: Likewise.
74060         * tls.make.c: Likewise.
74062         * configure.in: Remove --with-__thread option.  Make tests for
74063         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74064         tls_model attribute fail if no support is available.  Remove
74065         USE_IN_LIBIO.
74066         * Makeconfig: Adjust for dropped configure option.  All features are
74067         now mandatory.
74068         * Makerules: Likewise.
74069         * Versions.def: Likewise.
74070         * argp/argp-fmtstream.c: Likewise.
74071         * argp/argp-fmtstream.h: Likewise.
74072         * argp/argp-help.c: Likewise.
74073         * assert/assert.c: Likewise.
74074         * config.h.in: Likewise.
74075         * config.make.in: Likewise.
74076         * configure: Likewise.
74077         * configure.in: Likewise.
74078         * csu/Versions: Likewise.
74079         * csu/init.c: Likewise.
74080         * elf/tst-audit2.c: Likewise.
74081         * elf/tst-tls10.c: Likewise.
74082         * elf/tst-tls10.h: Likewise.
74083         * elf/tst-tls11.c: Likewise.
74084         * elf/tst-tls12.c: Likewise.
74085         * elf/tst-tls14.c: Likewise.
74086         * elf/tst-tlsmod11.c: Likewise.
74087         * elf/tst-tlsmod12.c: Likewise.
74088         * elf/tst-tlsmod13.c: Likewise.
74089         * elf/tst-tlsmod13a.c: Likewise.
74090         * elf/tst-tlsmod14a.c: Likewise.
74091         * elf/tst-tlsmod15b.c: Likewise.
74092         * elf/tst-tlsmod16a.c: Likewise.
74093         * elf/tst-tlsmod16b.c: Likewise.
74094         * elf/tst-tlsmod7.c: Likewise.
74095         * elf/tst-tlsmod8.c: Likewise.
74096         * elf/tst-tlsmod9.c: Likewise.
74097         * gmon/gmon.c: Likewise.
74098         * grp/fgetgrent_r.c: Likewise.
74099         * grp/putgrent.c: Likewise.
74100         * hurd/fopenport.c: Likewise.
74101         * include/libc-symbols.h: Likewise.
74102         * include/tls.h: Likewise.
74103         * intl/gettextP.h: Likewise.
74104         * intl/loadinfo.h: Likewise.
74105         * locale/global-locale.c: Likewise.
74106         * locale/localeinfo.h: Likewise.
74107         * mach/devstream.c: Likewise.
74108         * malloc/arena.c: Likewise.
74109         * malloc/set-freeres.c: Likewise.
74110         * misc/err.c: Likewise.
74111         * misc/getttyent.c: Likewise.
74112         * misc/mntent_r.c: Likewise.
74113         * posix/getopt.c: Likewise.
74114         * posix/wordexp.c: Likewise.
74115         * pwd/fgetpwent_r.c: Likewise.
74116         * resolv/Versions: Likewise.
74117         * resolv/res_hconf.c: Likewise.
74118         * shadow/fgetspent_r.c: Likewise.
74119         * shadow/putspent.c: Likewise.
74120         * stdio-common/printf_fphex.c: Likewise.
74121         * stdio-common/tmpfile.c: Likewise.
74122         * stdlib/abort.c: Likewise.
74123         * stdlib/fmtmsg.c: Likewise.
74124         * sunrpc/auth_unix.c: Likewise.
74125         * sunrpc/clnt_perr.c: Likewise.
74126         * sunrpc/clnt_tcp.c: Likewise.
74127         * sunrpc/clnt_udp.c: Likewise.
74128         * sunrpc/clnt_unix.c: Likewise.
74129         * sunrpc/openchild.c: Likewise.
74130         * sunrpc/svc_simple.c: Likewise.
74131         * sunrpc/svc_tcp.c: Likewise.
74132         * sunrpc/svc_udp.c: Likewise.
74133         * sunrpc/svc_unix.c: Likewise.
74134         * sunrpc/xdr.c: Likewise.
74135         * sunrpc/xdr_array.c: Likewise.
74136         * sunrpc/xdr_rec.c: Likewise.
74137         * sunrpc/xdr_ref.c: Likewise.
74138         * sunrpc/xdr_stdio.c: Likewise.
74140 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74142         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74144 2011-07-03  Andreas Jaeger  <aj@suse.de>
74146         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74147         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74148         regenerate with gen-libm-tests.pl.
74150 2010-05-12  Petr Baudis  <pasky@suse.cz>
74152         [BZ #11589]
74153         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74154         around j0() zero points by switching to j1().
74155         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74156         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74158         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74160 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74162         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74163         instead of 0.
74164         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74165         instead of 0.
74166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74167         Patch in part by Pavel Roskin <proski@gnu.org>.
74169         [BZ #13138]
74170         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74171         realloc.
74172         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74173         Free memory block if necessary.
74175         [BZ #12847]
74176         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74177         be NULL.  Don't lock in this case.
74179 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74181         * elf/elf.h (ELFOSABI_GNU): New macro.
74182         (ELFOSABI_LINUX): Define to that.
74184 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74186         * string/strncat.c (strncat): Undef the symbol in case it has been
74187         defined in bits/string.h.
74189 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74191         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74193         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74194         link map.
74196 2011-08-17  Andreas Jaeger  <aj@suse.de>
74198         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74200 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74201             Ian Lance Taylor  <iant@google.com>
74203         * math/libm-test.inc (lround_test): New testcase.
74204         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74206 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74208         * Makefile: Remove support for automatic cvs check-ins.
74209         * Makerules: Likewise.
74210         * config.make.in: Likewise.
74211         * configure.in: Likewise.
74212         * intl/Makefile: Likewise.
74213         * locale/Makefile: Likewise.
74214         * po/Makefile: Likewise.
74215         * posix/Makefile: Likewise.
74216         * sysdeps/gnu/Makefile: Likewise.
74217         * sysdeps/mach/hurd/Makefile: Likewise.
74218         * sysdeps/sparc/sparc32/Makefile: Likewise.
74220         [BZ #13118]
74221         * posix/Makefile (bug-regex32-ENV): Define.
74222         Patch by John Stanley <jpsinthemix@verizon.net>.
74224         * misc/Makefile (headers): Add bits/select2.h.
74225         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74226         * misc/bits/select2.h: New file.
74227         * include/bits/select2.h: New file.
74228         * debug/Makefile (routines): Add fdelt_chk.
74229         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74230         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74231         FD_ISSET.
74232         * debug/fdelt_chk.c: New file.
74234         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74235         * wcsmbs/test-wmemcmp.c: Likewise.
74236         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74237         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74239 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74241         * string/Makefile (strop-tests): Add memcmp.
74242         * string/test-wmemcmp.c: New file.
74243         * string/test-memcmp.c: Add wmemcmp support.
74245 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74247         [BZ #13153]
74248         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74249         2011-07-19 change.
74251         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74252         garbage value in a __mach_port_mod_refs call in the cases of the
74253         task-self and thread-self ports.
74255 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74257         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74259 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74261         * elf/dl-load.c (lose): Check for non-null L.
74263 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74265         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74267         * elf/dl-libc.c (dlerror_run): Pass back error code from
74268         dl_catch_error.
74270         [BZ #13123]
74271         * elf/dl-load.c (lose): Free l_origin if it is valid.
74273         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74274         names.
74275         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74276         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74277         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74278         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74279         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74280         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74282 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74284         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74285         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74286         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74287         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74288         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74289         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74290         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74291         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74292         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74293         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74295 2011-08-15  Alan Modra  <amodra@gmail.com>
74297         [BZ #13092]
74298         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74299         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74300         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74301         ppc_mcount to static-only-routines.
74302         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74303         __mcount_internal.
74304         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74305         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74307 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74309         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74310         for finite and infinity parameters.
74312 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74315         and add nop instructions for throughput optimization.
74316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74318 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74321         aligned copy for power7 with vector-scalar instructions.
74322         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74324 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74326         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74327         AVX check.
74329 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74331         [BZ #13144]
74332         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74333         last change.
74335 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74337         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74338         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74339         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74341         clock_gettime.
74343 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74345         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74346         Forgot to demangle the pointer.
74348         * sysdeps/i386/sysdep.h: Define atom_text_section.
74349         * sysdeps/x86_64/sysdep.h: Likewise.
74350         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74351         section with atom_text_section.
74352         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74354         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74356         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74358         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74359         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74360         already be defined.  Change to take two parameters and don't assign
74361         result to variable.  Adjust all users.
74362         Define INTERNAL_GETTIME if not already defined.
74363         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74364         call.
74365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74366         HAVE_CLOCK_GETTIME_VSYSCALL.
74367         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74370         gettimeofday vsyscall, just use time.
74372 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74375         <errno.h>.
74377 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74379         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74380         syscall on x86-64.
74381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74382         syscall.
74383         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74384         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74385         syscall if possible.
74387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74389         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74390         e_ident.  Don't pass to find_mapsXX.
74391         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74393 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74396         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74397         * sysdeps/x86_64/multiarch/strchr.S: Update.
74398         Check bit_slow_BSF bit.
74399         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74400         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74401         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74403 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74405         [BZ #13134]
74406         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74407         before glibc 2.15.
74408         (tryshell): Define.
74409         (__spawni): Change last parameter to be flag.  Test
74410         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74411         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74412         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74413         * posix/spawni.c: Likewise.
74414         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74415         * posix/spawnp.c: Likewise.  Change normal version to use
74416         SPAWN_XFLAGS_USE_PATH.
74417         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74418         SPAWN_XFLAGS_TRY_SHELL.
74420         [BZ #13150]
74421         * posix/glob.h: Remove gcc 1.x support.
74423         [BZ #13068]
74424         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74426 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74429         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74430         strrchr-sse2-bsf
74431         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74432         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74433         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74434         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74435         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74436         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74438 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74440         * sysdeps/x86_64/wcscmp.S: New file.
74442         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74443         wcscmp-c wcscmp-sse2
74444         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74445         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74446         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74447         * wcsmbs/wcscmp.c: Allow renaming.
74449 2011-09-05  David S. Miller  <davem@davemloft.net>
74451         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74452         stack slot, rather than the struct return pointer slot.
74453         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74454         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74456         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74458 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74460         * po/ja.po: Update from translation team.
74462         [BZ #13144]
74463         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74464         kernel in 64-bit binaries.
74466 2011-09-01  David S. Miller  <davem@davemloft.net>
74468         * elf/elf.h (HWCAP_SPARC_*): Move to..
74469         * sysdeps/sparc/sysdep.h: this new file and add new values.
74470         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74471         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74472         _DL_HWCAP_COUNT to 24.
74473         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74474         entries.
74475         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74476         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74477         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74479         instead of magic constants.
74480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74482 2011-08-31  David S. Miller  <davem@davemloft.net>
74484         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74486         Reimplement to do errno handling inline.
74487         (SYSCALL_ERROR_HANDLER): New macro.
74488         (__SYSCALL_STRING): Do not do errno handling in asm.
74489         (__CLONE_SYSCALL_STRING): Delete.
74490         (__INTERNAL_SYSCALL_STRING): Delete.
74491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74492         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74493         (PSEUDO): Reimplement to do errno handling inline.
74494         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74495         (SYSCALL_ERROR_HANDLER): New macro.
74496         (__SYSCALL_STRING): Do not do errno handling in asm.
74497         (__CLONE_SYSCALL_STRING): Delete.
74498         (__INTERNAL_SYSCALL_STRING): Delete.
74499         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74500         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74501         i386.
74502         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74503         (inline_syscall*): Add 'err' argument.
74504         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74505         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74506         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74507         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74509         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74510         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74512 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74514         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74516 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74518         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74519         directive.
74521 2011-08-24  David S. Miller  <davem@davemloft.net>
74523         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74525 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74527         * elf/Makefile: Add rules to build and run unload8 test.
74528         * elf/unload8.c: New file.
74529         * elf/unload8mod1.c: New file.
74530         * elf/unload8mod1x.c: New file.
74531         * elf/unload8mod2.c: New file.
74532         * elf/unload8mod3.c: New file.
74534         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74535         it wasn't used.
74537 2011-08-23  David S. Miller  <davem@davemloft.net>
74539         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74540         subtract stack bias.
74541         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74542         %sp not %fp in calculations.
74543         (_JMPBUF_UNWINDS_ADJ): Likewise.
74545         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74546         (aio_suspend): Call it to force an exception region around the
74547         AIO_MISC_WAIT() invocation.
74549 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74551         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74552         backslash.
74554 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74556         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74557         protection macro.
74558         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74559         and <dl-machine.h>.
74560         (Elf64_FuncDesc): Remove.
74562 2011-08-22  David S. Miller  <davem@davemloft.net>
74564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74565         sigaltstack check, add missing cfi directives.
74566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74567         missing cfi directives, and sigaltstack handling.
74569 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74571         [BZ #11724]
74572         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74573         object is seen twice.
74574         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74576         * elf/Makefile (distribute): Add tst-initorder2.c.
74577         (tests): Add tst-initorder2.
74578         (modules-names): Add tst-initorder2a tst-initorder2b
74579         tst-initorder2c tst-initorder2d.  Add rules to build them.
74580         ($(objpfx)tst-initorder2.out): New rule.
74581         * elf/tst-initorder2.c: New file.
74582         * elf/tst-initorder2.exp: New file.
74584 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74588         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74589         dependencies back to end of function.
74591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74592         $(elfobjdir)/ld.so.
74594 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74596         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74597         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74599         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74600         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74601         of __vdso_gettimeofday.
74602         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74603         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74604         attribute_hidden.
74605         (_libc_vdso_platform_setup): Remove initialization of
74606         __vdso_gettimeofday and __vdso_time.
74608 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74610         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74611         and fgetc_unlocked.
74612         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74613         getc_unlocked.
74615         * elf/dl-open.c (add_to_global): Report additions to the global scope
74616         for LD_DEBUG=scopes.
74617         (dl_open_worker): Also print scope of newly loaded dependencies.
74618         (_dl_show_scope): Indicate if there is no scope.
74620         [BZ #13114]
74621         * stdio-common/Makefile (tests): Add bug24.
74622         * stdio-common/bug24.c: New file.
74624 2011-08-19  Andreas Jaeger  <aj@suse.de>
74626         [BZ #13114]
74627         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74628         non-existant file when using close-on-exec mode.
74630 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74633         the very first instruction.
74635         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74636         the CFI state in the end.
74637         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74638         inclusion of dl-trampoline.h.
74639         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74641 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74643         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74644         expectations for long double.
74646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74647         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74649 2011-08-14  David S. Miller  <davem@davemloft.net>
74651         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74652         artificual limit depends upon the system page size.
74654 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74656         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74657         * resolv/Makefile: Define CFLAGS-libresolv.
74659 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74661         * nss/makedb.c (compute_tables): Make variables used in nested
74662         function static.
74664 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74666         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74667         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74668         if buffer was too small.
74670         * elf/pldd.c (main): Attach to all threads in the process.
74671         Rewrite /proc handling to use *at functions.
74673 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74675         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74676         specifies first scope to show.
74677         (dl_open_worker): Update callers.  Move printing scope of new
74678         object to before the relocation.
74679         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74680         * sysdeps/generic/ldsodefs.h: Update declaration.
74682         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74683         string for the scope number.
74685 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74687         * nscd/servicescache.c (cache_addserv): Make sure written is always
74688         initialized.
74690 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74692         * sysdeps/i386/i486/bits/atomic.h
74693         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74694         statement expression, so as to suppress "set but not used" warning.
74695         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74697         * string/strncat.c (STRNCAT): Use prototype definition.
74699         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74700         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74701         -Iprograms here.
74702         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74703         (localedef-modules): Add localedef.
74704         (locale-modules): Add locale.
74706         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74707         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74708         to avoid a warning.
74710 2011-08-14  David S. Miller  <davem@davemloft.net>
74712         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74713         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74715 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74717         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74718         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74719         * elf/rtld.c (dl_main): Set l_name of vDSO.
74720         Call _dl_show_scope when DL_DEBUG_SCOPES.
74721         (process_dl_debug): Recognize scopes flag and also set it for all.
74722         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74723         Declare _dl_show_scope.
74725         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74726         (do_dlopen): Pass caller_dlopen to dl_open.
74727         (__libc_dlopen_mode): Initialize caller_dlopen.
74729         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74730         of libc.  Make tolower call locale-independent.  Optimize a bit by
74731         using isdigit instead of isalnum.
74732         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74734 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74736         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74737         was a dependency or dynamically loaded.
74739 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74741         * intl/l10nflist.c: Allow architecture-specific pop function.
74742         * sysdeps/x86_64/l10nflist.c: New file.
74744         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74745         classification.
74747 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74749         * include/dirent.h: Add libc_hidden_proto for scandirat and
74750         scandirat64.  Don't declare __scandirat64.
74751         * dirent/scandirat.c: Add libc_hidden_def.
74752         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74753         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74755 2011-08-10  David S. Miller  <davem@davemloft.net>
74757         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74758         enum.
74759         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74763 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74765         * Versions.def [libc]: Add GLIBC_2.15.
74766         * dirent/Makefile (routines): Add scandirat and scandirat64.
74767         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74768         GLIBC_2.15.
74769         * dirent/dirent.h: Declare scandirat and scandirat64.
74770         * dirent/scandirat.c: New file.
74771         * dirent/scandirat64.c: New file.
74772         * sysdeps/wordsize-64/scandirat.c: New file.
74773         * sysdeps/wordsize-64/scandirat64.c: New file.
74774         * dirent/opendir.c: Define opendirat.
74775         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74776         using scandirat.
74777         * dirent/scandir64.c: Adjust for scandir.c change.
74778         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74779         __scandirat64, and __scandir_cancel_handler.
74780         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74781         additional parameter and use openat instead of open (outside of ld.so).
74782         Add new __opendir as wrapper around __opendirat.
74783         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74784         here without requiring old scandirat implementation.
74786 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74788         * dirent/scandir.c (cancel_handler): Renamed to
74789         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74790         defined.  Adjust users.
74791         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74792         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74794 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74796         * string/test-string.h (IMPL): Use __STRING to expand name and then
74797         stringify it.
74799         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74800         of cleanups.
74802 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74804         * string/Makefile: Update.
74805         (strop-tests): Append strncat.
74806         * string/test-wcscmp.c: New file.
74807         New comprehensive test for wcscmp.
74808         * string/test-strcmp.c: Update.
74809         (WIDE): New define.
74811 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74813         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74814         line.
74816 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74819         encoding to ACE if AI_IDN.
74821 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74824         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74826 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74828         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74829         Fix overflow bug in strncat.
74830         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74832         * string/test-strncat.c: Update.
74833         Add new tests for checking overflow bugs.
74835 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74838         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74839         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74840         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74841         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74842         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74843         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74844         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74845         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74848         (USE_AS_STRCAT): Define.
74849         Add strcat and strncat support.
74850         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74852 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74854         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74855         __n bigger than INT_MAX+1.
74856         (__strncmp_g): Likewise.
74858 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74860         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74861         * libio/stido.h: Likewise.
74863         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74864         (AF_NFC): Define.
74865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74866         (AF_NFC): Define.
74868         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74869         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74870         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74871         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74874         [BZ #13021]
74875         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74876         installed.
74878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74879         typo.
74880         (_dl_x86_64_save_sse): Likewise.
74882 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74885         OSXSAVE.
74886         (_dl_x86_64_save_sse): Likewise.
74888         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74890         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74892 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74895         change.
74896         (_dl_x86_64_save_sse): Use correct AVX check.
74898 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74900         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74901         bug in strncpy/strncat.
74902         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74904 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74906         * string/tester.c (test_strcat): Add tests for different alignments
74907         of source and destination.
74908         (test_strncat): Likewise.
74910 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74912         [BZ #12852]
74913         * posix/glob.c (glob): Check passed in values before using them in
74914         expressions to avoid some overflows.
74915         (glob_in_dir): Likewise.
74917         [BZ #13007]
74918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74919         check for AVX enablement so that we don't crash with old kernels and
74920         new hardware.
74921         * elf/tst-audit4.c: Add same checks here.
74922         * elf/tst-audit6.c: Likewise.
74924         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74926 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74928         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74930 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74932         * po/cs.po: Update from translation team.
74933         * po/bg.po: Likewise.
74935 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74937         * misc/sys/cdefs.h: Add support for const attribute.
74938         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74939         to gnu_dev_{major,minor,makedev} functions.
74941 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74943         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74945 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74947         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74948         strlen results.
74950 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74953         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74954         register in order to avoid conflicts with the soft frame pointer
74955         being held in r11 when necessary.
74956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74957         (INTERNAL_VSYSCALL_NCS): Likewise.
74959 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74961         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74962         * elf/dl-fini.c (_dl_fini): Adjust caller.
74963         * elf/dl-close.c (_dl_close_worker): Likewise.
74964         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74966 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74968         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74969         "aux_cache->nlibs < 0".
74971         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74972         in the reload-count case.
74974 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74977         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74978         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74979         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74980         * sysdeps/x86_64/multiarch/strcat.S: New file.
74981         * sysdeps/x86_64/multiarch/strncat.S: New file.
74982         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74983         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74984         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74985         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74986         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74987         (USE_AS_STRCAT): Define.
74988         Add strcat and strncat support.
74989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74990         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74991         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74992         * string/strncat.c: Update.
74993         (USE_AS_STRNCAT): Define.
74994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74995         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74996         and i7.
74997         * sysdeps/x86_64/multiarch/init-arch.h
74998         (bit_Prefer_PMINUB_for_stringop): New.
74999         (index_Prefer_PMINUB_for_stringop): Likewise.
75000         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75001         bit_Prefer_PMINUB_for_stringop.
75003 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75005         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75006         buffer64.
75007         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75008         of casting of buffer.
75009         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75010         buffer32 and buffer64.
75011         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75012         writes instead of casting of buffer.
75013         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75014         buffer32.
75015         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75016         casting of buffer.
75018 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75020         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75022 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75024         * nscd/nscd.c (termination_handler): Don't do anything for a database
75025         if it has not yet been initialized.
75027 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75029         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75031 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75033         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75035 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75037         * po/nl.po: Update from translation team.
75038         * po/sv.po: Likewise.
75040 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75042         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75043         now disallowed by GCC.
75045         * configure.in (use-default-link): Default to yes if a test -shared
75046         link meets our qualifications.
75047         * configure: Regenerated.
75049         * config.make.in (output-format): New variable.
75050         * configure.in: Check for ld --print-output-format support.
75051         * configure: Regenerated.
75052         * Makerules ($(common-objpfx)format.lds)
75053         [$(output-format) != unknown]: Just use $(output-format),
75054         instead of the linker-script munging.
75056 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75058         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75059         of $(common-objpfx)shlib.lds.
75060         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75062         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75063         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75065         * configure.in (-z relro check): Adjust test code to add a large
75066         writable data section after it.
75067         * configure: Regenerated.
75069 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75071         * configure.in (-z relro check): Fix test code to make the variable
75072         truly const.
75073         * configure: Regenerated.
75075 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75077         * nscd/nscd.h (struct traced_file): Define.
75078         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75079         elements.  Add traced_files.
75080         (inotify_fd): Declare.
75081         (register_traced_file): Declare.
75082         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75083         (inotify_fd): Export.
75084         (resolv_conf_descr): Remove.
75085         (nscd_init): Move inotify descriptor creation to main.
75086         Don't register files for notification here.
75087         (register_traced_file): New function.
75088         (invalidate_cache): Don't use reset_res to determine whether to call
75089         res_init, go through the list of registered files.
75090         (main_loop_poll): The inotify descriptors are now stored in the
75091         structures for the traced files.
75092         (main_loop_epoll): Likewise.
75093         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75094         to __nss_disable_nscd.
75095         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75096         for a database anymore.  Check the records for all the registered
75097         files instead.
75098         * nss/Makefile (libnss_files-routines): Add files-init.
75099         (libnss_db-routines): Add db-init.
75100         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75101         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75102         * nss/nss_db/db-init.c: New file.
75103         * nss/nss_files/files-init.c: New file.
75104         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75105         __nss_lookup_function.
75106         (__nss_lookup_function): Call nss_load_library.
75107         (nss_load_all_libraries): New function.
75108         (__nss_disable_nscd): Take parameter with callback function for files
75109         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75110         used for the cached services.
75111         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75112         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75113         options for features to all the files in nscd.
75115         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75117 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75119         * csu/elf-init.c (__libc_csu_init): Comment typo.
75121 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75123         * po/pl.po: Update from translation team.
75124         * po/ja.po: Likewise.
75125         * po/ru.po: Likewise.
75126         * po/ko.po: Likewise.
75127         * po/fr.po: Likewise.
75129 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75131         * configure.in (.ctors/.dtors header and trailer check):
75132         Use an empirical test on a built program.
75133         * configure: Regenerated.
75135         * configure.in (-z relro check): Use an empirical test on a built DSO.
75136         Detect, but do not require, on ia64.
75137         * configure: Regenerated.
75139         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75140         Update tests that use readelf to use $READELF instead.
75141         * configure: Regenerated.
75143 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75145         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75146         if the result is not used.
75148 2011-07-05  Andreas Jaeger  <aj@suse.de>
75150         [BZ#9696]
75151         * stdlib/tst-strtod.c: Add testcase.
75153 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75155         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75156         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75157         The latter has a higher limit.  Take additional parameter to pass to
75158         the new function.
75159         (__pathconf): Pass file to __statfs_link_max.
75160         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75161         __statfs_link_max.
75162         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75163         __statfs_link_max.
75165         [BZ #12868]
75166         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75167         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75168         Handle Lustre.
75169         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75170         (__statfs_filesize_max): Likewise.
75171         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75173 2011-07-05  Andreas Jaeger  <aj@suse.de>
75175         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75177 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75179         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75180         `status' variable.
75181         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75182         Likewise.
75184 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75186         * Makefile (strop-tests): Add strncat.
75187         * string/test-strncat.c: New file.
75189 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75191         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75193 2011-06-21  Andreas Jaeger  <aj@suse.de>
75195         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75196         Copy rule from iconvdata/Makefile.
75198 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75200         [BZ #12922]
75201         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75202         but no long options are defined, just return 'W'.
75204 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75206         [BZ #9696]
75207         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75209 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75211         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75212         netgroups to read.
75213         (innetgr): Likewise.
75215 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75217         * config.make.in (install_root): Default to $(DESTDIR).
75219 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75221         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75223 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75225         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75227         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75228         containing directory rather than embedding absolute directory names.
75230         * scripts/check-local-headers.sh: Rewritten using awk.
75231         Match by word, not by line.  Print error messages for matches.
75232         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75234         * Makerules [shlib-lds-flags empty]:
75235         ($(common-objpfx)libc_pic.opts): New target.
75236         ($(common-objpfx)libc_pic.os.clean): New target.
75237         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75239         * config.make.in (OBJCOPY): New variable.
75240         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75241         * configure: Regenerated.
75243         * config.make.in (use-default-link): New variable.
75244         * configure.in (use_default_link): Grok --with-default-link to set it.
75245         * configure: Regenerated.
75246         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75247         (shlib-lds, shlib-lds-flags): Define to empty.
75249         * Makerules (shlib-lds): New variable.
75250         (shlib-lds-flags): New variable.
75251         (build-shlib, build-moduile, build-module-asneeded): Use it.
75252         ($(common-objpfx)libc.so): Use $(shlib-lds).
75253         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75254         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75256         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75257         DT_FLAGS/DT_FLAGS_1 with zero flags.
75259         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75260         linker script munging.
75262 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75264         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75265         as 128-bit value.
75266         * crypt/sha512.c (sha512_process_block): Perform total addition using
75267         128-bit if possible.
75268         (__sha512_finish_ctx): Likewise.
75269         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75270         as 64-bit value.
75271         * crypt/sha256.c (SWAP64): Define.
75272         (sha256_process_block): Perform total addition using 64-bit if
75273         possible.
75274         (__sha256_finish_ctx): Likewise.
75276 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75278         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75280         * nscd/hstcache.c (cache_addhst): Likewise.
75281         * nscd/grpcache.c (cache_addgr): Likewise.
75282         * nscd/aicache.c (addhstaiX): Likewise.
75283         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75285 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75287         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75289         * nscd/hstcache.c (cache_addhst): Likewise.
75290         * nscd/grpcache.c (cache_addgr): Likewise.
75291         * nscd/aicache.c (addhstaiX): Likewise.
75293 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75295         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75296         domain only when needed.
75298 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75301         is always restored.
75303 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75305         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75306         are re-adding the entry.
75307         * nscd/servicescache.c (cache_addserv): Likewise.
75309 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75311         * sysdeps/generic/dl-irel.h: fix protection against multiple
75312         inclusions.
75313         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75315 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75317         [BZ #12935]
75318         * malloc/memusage.sh: Fix quoting in message.
75319         * debug/xtrace.sh: Likewise.
75321         * configure.in: Remove support for --experimental-malloc option, make
75322         it the default.
75323         * config.make.in: Likewise.
75324         * malloc/Makefile: Likewise.
75326 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75328         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75329         two-byte characters.
75331 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75333         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75334         AC_CACHE_CHECK invocation.
75335         * configure: Regenerated.
75337         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75339 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75341         [BZ #12350]
75342         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75343         bit from old_res_options.
75345         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75347         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75348         value type for setfct.
75350 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75353         __gettimeofday instead of gettimeofday.
75355 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75357         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75359 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75361         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75363         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75364         info.
75366 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75369         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75370         strcpy-sse2-unaligned strncpy-sse2-unaligned
75371         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75372         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75373         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75374         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75375         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75376         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75377         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75378         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75379         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75380         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75381         (STRCPY): Support SSE2 and SSSE3 versions.
75383 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75385         [BZ #12874]
75386         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75387         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75388         kernels which artificially limit size of requests.
75390 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75392         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75393         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75394         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75395         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75396         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75397         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75398         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75399         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75400         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75402         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75403         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75404         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75405         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75406         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75408         Enable unaligned load optimization for Intel Core i3, i5 and i7
75409         processors.
75410         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75411         Define.
75412         (index_Fast_Unaligned_Load): Define.
75413         (HAS_FAST_UNALIGNED_LOAD): Define.
75415 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75417         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75419 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75421         [BZ #12907]
75422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75423         until it is clear that the information is realy needed.
75424         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75426 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75430 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75433         /sys/devices/system/cpu/online if it is usable.
75435         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75436         reading the information from the /proc filesystem to once a second.
75438 2011-06-21  Andreas Jaeger  <aj@suse.de>
75440         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75441         NULL after inclusion of kernel headers.
75443 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75445         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75446         calls to internal_setent.
75448         [BZ #12885]
75449         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75450         addresses using gethostbyname4_r ignore IPv4 addresses.
75452         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75453         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75455         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75457 2011-06-20  David S. Miller  <davem@davemloft.net>
75459         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75460         inclusions.
75461         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75463         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75464         (elf_irel): Use it.
75465         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75466         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75467         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75468         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75469         * sysdeps/x86_64/dl-irel.h: Likewise.
75471         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75472         * elf/dl-sym.c: Likewise.
75474 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75476         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75477         need to dereference resplen2.
75479 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75481         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75483 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75485         * Makeconfig: Define vardbdir and inst_vardbdir.
75486         * nss/Makefile: Add rules to install db-Makefile.
75488         * nss/nss_db/db-XXX.c: Cleanup.
75490         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75491         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75492         GLIBC_PRIVATE.
75493         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75494         * nss/makedb.c: Implement -g option to specify that value strings
75495         are generated and should not be added to table iterated over for
75496         get*ent calls.
75497         * nss/nss_db/db-initgroups.c: New file.
75499         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75500         interface.
75502         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75503         (internal_getgrouplist): Adjust to name change.
75504         Update use_initgroups_entry if this is not the first call.
75505         * nss/databases.def: Add initgroups entry.
75507         * nss/makedb.c (compute_tables): Check result of multiple hash table
75508         sizes to minimize maximum chain length.
75510 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75512         * Versions.def: Add entry for libnss_db.
75513         * shlib-versions: Likewise.
75514         * nss/Makefile: Add rules to build libnss_db.
75515         * nss/Versions: Add libnss_db information.  Organize libnss_files
75516         entries better.
75517         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75518         makedb progra.  Some minor improvements to generate smaller files.
75519         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75520         here from...
75521         * nss/makedb.c: ...here.
75522         Improve database format to be smaller and require less memory at
75523         runtime.
75524         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75525         db anymore.
75526         * nss/nss_db/db-netgrp.c: Likewise.
75527         * nss/nss_db/db-open.c: Likewise.
75528         * nss/nss_files/flies-XXX.x: Adjust comments.
75529         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75530         * nss/nss_files/files-grp.c: Likewise.
75531         * nss/nss_files/files-hosts.c: Likewise.
75532         * nss/nss_files/files-network.c: Likewise.
75533         * nss/nss_files/files-proto.c: Likewise.
75534         * nss/nss_files/files-pwd.c: Likewise.
75535         * nss/nss_files/files-rpc.c: Likewise.
75536         * nss/nss_files/files-service.c: Likewise.
75537         * nss/nss_files/files-sgrp.c: Likewise.
75538         * nss/nss_files/files-spwd.c: Likewise.
75539         * nss/nss_db/db-alias.c: Removed.
75540         * nss/nss_db/dummy-db.h: Removed.
75542 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75544         * nss/makedb.c: Rewritten to not use database library.
75545         * nss/Makefile: Update to build new makedb program.
75547 2011-06-14  Andreas Jaeger  <aj@suse.de>
75549         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75550         memset declaration.
75552 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75555         tmpbuf.
75557 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75559         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75560         * elf/Makefile ($(objpfx)ld.so): Likewise.
75562         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75563         Don't list ld.so twice in dependencies.
75565         * posix/bug-regex31.c: Include <stdlib.h>.
75567         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75569         * nis/nss_compat/compat-spwd.c
75570         (getspent_next_nss_netgr): Remove unused variable.
75571         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75573         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75574         nonmembers" output to use the right array.
75576         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75578         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75580         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75581         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75582         * catgets/gencat.c (read_input_file): Likewise.
75583         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75585         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75586         variable definition inside #if's controlling its use.
75588         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75590         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75592         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75594         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75595         unreachable code.
75597         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75599         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75600         * configure: Regenerated.
75602         * Makerules: Revert last change.
75603         * elf/Makefile: Likewise.
75605 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75607         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75608         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75609         (reloc-link): Likewise.
75611 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75613         * elf/Makefile: Add rules to build pldd.
75614         * elf/pldd.c: New file.
75615         * elf/pldd-xx.c: New file.
75617 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75619         * version.h: Update for 2.15 development version.
75621 2011-06-07  David S. Miller  <davem@davemloft.net>
75623         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75624         ifuncs.
75625         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75626         elf_machine_lazy_rel): Likewise.
75627         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75629         elf_machine_lazy_rel): Likewise.
75630         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75631         dl_hwcap via passed in argument.
75632         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75633         Likewise.
75635 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75637         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75639 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75641         [BZ #12849]
75642         * manual/fdl-1.1.texi: New file, verbatim from:
75643         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75644         * manual/lgpl-2.1.texi: New file, verbatim from:
75645         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75646         * manual/Makefile (licenses): New variable, list those new file names.
75647         (texis): Use it.
75648         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75650         * manual/fdl.texi: File removed.
75651         * manual/lesser.texi: File removed.
75652         * manual/libc.texinfo (Copying, Documentation License):
75653         Use new @include file names, put @appendix directive before @include.
75655 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75657         [BZ #12841]
75658         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75659         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75660         (mq_open): Add __NTH.
75662 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75665         Assume Intel Core i3/i5/i7 processor if AVX is available.
75667 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75670         typo.
75672 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75674         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75675         memory.  Use alloca_account.  Fix memory leak when retrying.
75677 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75679         * version.h (RELEASE): Bump for 2.14 release.
75680         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75682         * config.make.in (RANLIB): Remove entry.
75684 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75686         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75687         (libc.pot): Work around missing support for .ksh extension in xgettext.
75689         [BZ #12684]
75690         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75691         if both request failed.
75692         (send_dg): In case of server errors clear resplen or *resplen2.
75694         [BZ #12454]
75695         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75696         when there are multiple maps.
75697         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75698         (_dl_fini): Remove test here.
75700         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75702 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75704         [BZ #12350]
75705         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75706         bit from old_res_options.
75707         (gaih_inet): Likewise.
75709         [BZ #11099]
75710         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75711         as signed.
75713         * resolv/res_init.c (res_setoptions): Make the code more compact.
75715         [BZ #11558]
75716         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75717         set RES_USEVC.
75719         [BZ #11634]
75720         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75722         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75724         [BZ #11781]
75725         * malloc/malloc.h: Declare malloc hook variables as volatile.
75727         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75728         in last patch.
75730         [BZ #11799]
75731         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75732         raise in the comment.
75733         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75734         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75735         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75737 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75739         [BZ #12811]
75740         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75741         grow the buffers more if it already has to be sufficient.
75742         (build_wcs_upper_buffer): Likewise.
75743         * posix/regexec.c (check_matching): Likewise.
75744         (clean_state_log_if_needed): Likewise.
75745         (extend_buffers): Don't enlarge buffers beyond size of the input
75746         buffer.
75747         Patches mostly by Emil Wojak <emil@wojak.eu>.
75748         * posix/bug-regex32.c: New file.
75749         * posix/Makefile (tests): Add bug-regex32.
75751         * locale/findlocale.c (_nl_find_locale): Return right away if
75752         _nl_explode_name failed.
75753         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75755         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75757         * debug/xtrace.sh: Unify messages.
75758         * malloc/memusage.sh: Likewise.
75760         [BZ #12813]
75761         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75762         time symbol from vDSO.  Substitute with vsyscall if not available.
75763         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75764         __vdso_time.
75766         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75767         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75768         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75769         Add sendmmsg and internal_sendmmsg.
75770         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75771         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75774         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75775         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75776         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75778 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75780         [BZ #12813]
75781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75782         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75783         available.
75784         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75785         __vdso_getcpu.
75787         [BZ #12814]
75788         * iconvdata/Makefile (tests): Add bug-iconv9.
75789         * iconvdata/bug-iconv9.c: New file.
75791 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75793         [BZ #12814]
75794         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75796 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75799         (struct user_regs_struct): Change intcs field back to cs.
75801 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75803         * po/ja.po: Update from translation team.
75805 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75807         [BZ #12795]
75808         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75809         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75811 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75813         * stdlib/longlong.h: Update from GCC.
75815 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75817         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75818         parameter name.
75819         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75820         Add parameter name.
75821         (__sysconf): Pass it down.
75823 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75825         [BZ #12671]
75826         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75827         some situations.
75828         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75829         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75830         add in in __libc_use_alloca calls.  Adjust callers.
75831         (glob): Use malloc in some situations.
75833         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75834         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75835         pltexit.
75837 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75839         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75840         and CLOCK_BOOTTIME_ALARM.
75842         [BZ #12782]
75843         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75844         is returned.
75846         * string/_strerror.c (__strerror_r): Print negative errors as signed
75847         numbers.
75849         [BZ #12777]
75850         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75851         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75852         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75854         * configure.in: Fix typo in redirection and correct removal of test
75855         files in two cases.
75857         [BZ #12788]
75858         * locale/setlocale.c (new_composite_name): Fix test to check for
75859         identical name of all categories.
75861         [BZ #12792]
75862         * libio/filedoalloc.c (local_isatty): New function.
75863         (_IO_file_doallocate): Use local_isatty.
75864         * stdio-common/perror.c (perror): In case a new stream is used
75865         forward the stream error.
75866         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75867         error flag.
75869 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75871         [BZ #11884]
75872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75873         alloca.
75874         * include/alloca.h (extend_alloca_account): Define.
75876         [BZ #11857]
75877         * posix/regex.h: Fix comments with documentation of user-accessible
75878         fields after compilation and describe correct free'ing of pattern
75879         after re_compile_pattern.
75880         Patch by Reuben Thomas <rrt@sc3d.org>.
75882 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75884         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75885         and -mno-altivec to prevent the compiler from using Altivec and/or
75886         VSX instructions when the corresponding registers are not available.
75888 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75890         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75892 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75894         * libio/freopen.c (freopen): Use __dup2, not dup2.
75895         * libio/freopen64.c (freopen64): Likewise.
75897 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75899         [BZ #12775]
75900         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75901         * math/Makefile (tests): Add test-powl.
75902         (CFLAGS-test-powl.c): Define.
75903         * math/test-powl.c: New file.
75905 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75907         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75909 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75911         [BZ #11837]
75912         * iconvdata/gb18030.c: Update to GB18020-2005.
75914 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75916         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75917         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75918         Patch by Aharon Robbins <arnold@skeeve.com>.
75920         [BZ #11892]
75921         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75922         on the stack.
75924         [BZ #11895]
75925         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75926         through underflows.
75928         [BZ #12766]
75929         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75930         point to strings before performing equality test for error_one_per_line
75931         mode.
75933         [BZ #11697]
75934         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75936         [BZ #11820]
75937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75938         (struct user_fpregs_struct): Avoid __uint*_t types.
75940         [BZ #6420]
75941         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75942         symbol info.  Use it instead of calling _dl_addr locally.
75943         (lock_and_info): New function.
75944         (tr_freehook): Call lock_and_info and pass symbol info as additional
75945         parameter to tr_where.
75946         (tr_mallochook): Likewise.
75947         (tr_reallochook): Likewise.
75948         (tr_memalignhook): Likewise.
75950         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75951         used and couldn't be at all thread-safe.
75953 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75955         * libio/freopen.c (freopen): Don't close old file descriptor
75956         before the new one is opened.  Instead dup the new file descriptor
75957         to the old one after the new stream is created.
75958         * libio/freopen64.c (freopen64): Likewise.
75959         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75960         * libio/fileops.c (_IO_new_file_close_it): Handle new
75961         _IO_FLAGS2_NOCLOSE flag.
75962         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75963         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75964         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75965         _IO_FLAGS2_NOCLOSE flag.
75966         * include/unistd.h: Add hidden_proto for dup3.
75967         Define __have_dup3.
75968         * io/dup3.c: Define hidden symbol.
75969         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75971         [BZ #7101]
75972         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75973         when an incomplete long option is used.
75974         * posix/tst-getopt_long1.c: New file.
75975         * posix/Makefile (tests): Add tst-getopt_long1.
75977         [BZ #10138]
75978         * scripts/config.guess: Update from autoconf-2.68.
75979         * scripts/config.sub: Likewise.
75981         [BZ #10157]
75982         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75983         tests into ...
75984         (has_cpuclock): ...this.  New function.
75985         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75986         macro here based on has_cpuclock code.
75988         [BZ #10149]
75989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75990         First byte (not low byte) is now always NUL.
75991         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75994         Use non-cancelable interfaces.
75996         [BZ #9809]
75997         * locale/iso-639.def: Add entry for Sorani.
75999         [BZ #11901]
76000         * include/stdlib.h: Move include protection to the right place.
76001         Define abort_msg_s.  Declare __abort_msg with it.
76002         * stdlib/abort.c (__abort_msg): Adjust type.
76003         * assert/assert.c (__assert_fail_base): New function.  Majority
76004         of code from __assert_fail.  Allocate memory for __abort_msg with
76005         mmap.
76006         (__assert_fail): Now call __assert_fail_base.
76007         * assert/assert-perr.c: Remove bulk of implementation.  Use
76008         __assert_fail_base.
76009         * include/assert.hL Declare __assert_fail_base.
76010         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76011         mmap.
76012         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76014 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76016         [BZ #11952]
76017         [BZ #12453]
76018         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76019         until all modules are registered in the DTV.
76020         * elf/Makefile: Add rules to build and run tst-tls19.
76021         * elf/tst-tls19.c: New file.
76022         * elf/tst-tls19mod1.c: New file.
76023         * elf/tst-tls19mod2.c: New file.
76024         * elf/tst-tls19mod3.c: New file.
76025         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76027         [BZ #12083]
76028         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76029         correctly.
76031         [BZ #12601]
76032         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76033         two-byte sequence errors.
76034         * iconvdata/Makefile (tests): Add bug-iconv8.
76035         * iconvdata/bug-iconv8.c: New file.
76037         [BZ #12626]
76038         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76039         buf2 definition.
76041         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76043         [BZ #12432]
76044         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76045         (dummy_getcfa): New function.
76046         (init): Get _Unwind_GetCFA address, use dummy if not found.
76047         (backtrace_helper): In recursion check, also check whether CFA changes.
76048         (__backtrace): Completely initialize arg.
76050         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76051         storing incomplete byte sequence in state object.  Avoid testing for
76052         guaranteed too small input if we know there is enough data available.
76054 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76056         * Makeconfig (+link-pie): Indent.
76057         * Rules (binaries-pie): Define if $(have-fpie) and
76058         $(build-shared).
76059         (binaries-shared): Also filter out $(binaries-pie).
76060         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76061         * nscd/Makefile (others-pie): Add nscd.
76062         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76063         ($(objpfx)nscd): Remove command override.
76064         * login/Makefile (others-pie): Add pt_chown.
76065         ($(objpfx)pt_chown): Remove command override.
76066         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76067         remove command overrides.
76069 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76071         * libio/tst_putwc.c: Fix error messages.
76073         [BZ #12724]
76074         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76075         currently writing and seek to current position when not.
76076         * libio/Makefile (tests): Add bug-fclose1.
76077         * libio/bug-fclose1.c: New file.
76079 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76081         [BZ #12511]
76082         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76083         don't set DF_1_NODELETE here.
76084         (do_lookup_x): When entering new entry test for copy relocation
76085         and if necessary set DF_1_NODELETE flag.
76086         * elf/tst-unique4.cc: New file.
76087         * elf/tst-unique4.h: New file.
76088         * elf/tst-unique4lib.cc: New file.
76089         * elf/Makefile: Add rules to build and run tst-unique4.
76090         Patch by Piotr Bury <pbury@goahead.com>.
76092 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76094         [BZ #12052]
76095         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76097         [BZ #12625]
76098         * misc/mntent_r.c (addmntent): Flush the stream after the output
76100         [BZ #12393]
76101         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76102         (is_trusted_path_normalize): Skip initial colon.  Append slash
76103         to empty buffer.  Duplicate is_trusted_path code but allow
76104         constructed patch to be prefix.
76105         (is_dst): Allow $ORIGIN followed by /.
76106         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76107         Correct testing of result of is_trusted_path_normalize
76108         (decompose_rpath): Fix warning.
76110 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76112         [BZ #11257]
76113         * grp/initgroups.c (internal_getgrouplist): When we found the service
76114         list through the initgroups entry in nsswitch.conf do not always
76115         continue on a successful lookup.  Don't always use the
76116         __nss_group_database value if it is set.
76117         * nss/nsswitch.conf (initgroups): Change action for successful db
76118         lookup to continue for compatibility.
76120 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76122         [BZ #11532]
76123         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76124         and CP774 modules.
76125         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76126         and CP774 modules.
76127         * iconvdata/tst-tables.sh: Likewise.
76128         * iconvdata/cp770.c: New file.
76129         * iconvdata/cp771.c: New file.
76130         * iconvdata/cp772.c: New file.
76131         * iconvdata/cp773.c: New file.
76132         * iconvdata/cp774.c: New file.
76133         * iconvdata/testdata/CP770: New file.
76134         * iconvdata/testdata/CP770..UTF8: New file.
76135         * iconvdata/testdata/CP771: New file.
76136         * iconvdata/testdata/CP771..UTF8: New file.
76137         * iconvdata/testdata/CP772: New file.
76138         * iconvdata/testdata/CP772..UTF8: New file.
76139         * iconvdata/testdata/CP773: New file.
76140         * iconvdata/testdata/CP773..UTF8: New file.
76141         * iconvdata/testdata/CP774: New file.
76142         * iconvdata/testdata/CP774..UTF8: New file.
76144         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76145         END CHARMAP line.
76146         * iconvdata/gen-8bit-gap.sh: Likewise.
76147         * iconvdata/gen-8bit.sh: Likewise.
76149         * locale/iso-639.def: Add ary entry.
76151         [BZ #11258]
76152         * locale/C-translit.h.in: Add U20A1 transliteration.
76154         [BZ #12178]
76155         * locale/iso-639.def: Add wae entry.
76156         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76158         [BZ #12545]
76159         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76160         for n.
76162         [BZ #12711]
76163         * locale/C-translit.h.in: Add entry for U20B9.
76164         Patch by pravin.d.s@gmail.com.
76166 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76168         [BZ #12713]
76169         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76170         ENAMETOOLONG use generic getcwd.
76171         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76172         in rtld.  Use *stat64.
76173         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76174         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76175         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76176         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76177         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76178         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76179         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76180         __fstatat64 macros.
76181         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76182         * dirent/rewinddir.c: Add libc_hidden_def.
76183         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76184         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76186         * include/dirent.h (__alloc_dir): Add flags parameter.
76187         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76188         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76189         __alloc_dir.
76190         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76191         from fdopendir if O_CLOEXEC is already set.
76193 2011-03-15  Alan Modra  <amodra@gmail.com>
76195         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76196         l_tls_firstbyte_offset non-zero.  Save padding offset in
76197         l_tls_firstbyte_offset for later use.
76198         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76199         freeing static tls block.
76201 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76203         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76204         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76205         being defined by the kernel headers.
76207 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76209         [BZ #12734]
76210         * resolv/resolv.h: Define RES_NOTLDQUERY.
76211         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76212         no-tld-query and set RES_NOTLDQUERY.
76213         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76214         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76215         modern BIND to search name as TLD unless forbidden.
76217 2011-05-07  Petr Baudis  <pasky@suse.cz>
76218             Ulrich Drepper  <drepper@gmail.com>
76220         [BZ #12393]
76221         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76222         (is_trusted_path): ...to here.
76223         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76224         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76225         using is_trusted_path_normalize() in setuid scripts.
76227 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76229         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76230         __BEGIN/__END_DECLS.
76232 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76234         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76235         NSS_STATUS_NOTFOUND if no record was found.
76237 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76239         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76240         (headers-not-in-tirpc): Remove rpc/netdb.h
76241         * resolv/netdb.h: Revert last change.
76243 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76245         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76246         circular dependency between libgcc.a and libc.a.
76248 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76250         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76251         * nis/Makefile: Don't install rpcsvc/*.
76252         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76253         instead of <rpc/types.h>.
76254         (MAXHOSTNAMELEN): Define.
76256 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76258         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76260 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76262         [BZ #12714]
76263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76264         gethostbyname4_r when IPv6 results are possible.
76266 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76268         [BZ #12723]
76269         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76270         _PC_PIPE_BUF handling.
76272 2011-04-30  Bruno Haible  <bruno@clisp.org>
76274         [BZ #12717]
76275         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76276         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76277         to 'int'.
76278         * inet/getnameinfo.c (getnameinfo): Likewise.
76280 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76282         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76283         to groups setting in database lookup.
76284         * nss/nsswitch.conf: Add initgroups entry.
76286 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76288         [BZ #12685]
76289         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76290         mode string.
76291         Patch by Eric Blake <eblake@redhat.com>.
76293 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76295         * sunrpc/Makefile (need-export-routines): Add svc_run.
76296         (routines): Remove svc_run.
76297         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76298         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76299         * sunrpc/svc_run.c (svc_run): Likewise.
76300         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76302 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76304         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76305         problem in reallocation in last patch.
76307 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76309         * sunrpc/Makefile: Move inclusion of Rules.
76311 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76313         * nss/nss_files/files-initgroups.c: New file.
76314         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76315         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76316         _nss_files_initgroups_dyn.
76318 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76320         * elf/elf.h (R_ARM_IRELATIVE): Define.
76322 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76324         * po/ru.po: Update from translation team.
76326 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76328         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76329         dependencies.
76331 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76333         [BZ #12653]
76334         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76335         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76336         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76337         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76340 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76342         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76343         differing bytes.
76344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76348 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76350         [BZ #12420]
76351         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76352         storing it.
76353         * stdlib/bug-getcontext.c: New file.
76354         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76356 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76358         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76359         instructions into .machine "z9-109".
76360         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76361         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76363 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76365         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76366         between environment variables and auxiliary vector.
76368 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76370         * Makefile: Add rules to build linkobj/libc.so.
76371         * include/libc-symbols.h: Define libc_hidden_nolink.
76372         * include/rpc/auth.h: Mark functions which are to be hidden.
76373         * include/rpc/auth_des.h: Likewise.
76374         * include/rpc/auth_unix.h: Likewise.
76375         * include/rpc/clnt.h: Likewise.
76376         * include/rpc/des_crypt.h: Likewise.
76377         * include/rpc/key_prot.h: Likewise.
76378         * include/rpc/pmap_clnt.h: Likewise.
76379         * include/rpc/pmap_prot.h: Likewise.
76380         * include/rpc/pmap_rmt.h: Likewise.
76381         * include/rpc/rpc_msg.h: Likewise.
76382         * include/rpc/svc.h: Likewise.
76383         * include/rpc/svc_auth.h: Likewise.
76384         * include/rpc/xdr.h: Likewise.
76385         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76386         * nss/Makefile: Likewise.
76387         * sunrpc/Makefile: Don't install headers.  Build library with normal
76388         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76389         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76390         for the compat linking library.  Remove use of INTDEF/INTUSE.
76391         * sunrpc/auth_none.c: Likewise.
76392         * sunrpc/auth_unix.c: Likewise.
76393         * sunrpc/authdes_prot.c: Likewise.
76394         * sunrpc/authuxprot.c: Likewise.
76395         * sunrpc/clnt_gen.c: Likewise.
76396         * sunrpc/clnt_perr.c: Likewise.
76397         * sunrpc/clnt_raw.c: Likewise.
76398         * sunrpc/clnt_simp.c: Likewise.
76399         * sunrpc/clnt_tcp.c: Likewise.
76400         * sunrpc/clnt_udp.c: Likewise.
76401         * sunrpc/clnt_unix.c: Likewise.
76402         * sunrpc/des_crypt.c: Likewise.
76403         * sunrpc/des_soft.c: Likewise.
76404         * sunrpc/get_myaddr.c: Likewise.
76405         * sunrpc/key_call.c: Likewise.
76406         * sunrpc/key_prot.c: Likewise.
76407         * sunrpc/netname.c: Likewise.
76408         * sunrpc/pm_getmaps.c: Likewise.
76409         * sunrpc/pm_getport.c: Likewise.
76410         * sunrpc/pmap_clnt.c: Likewise.
76411         * sunrpc/pmap_prot.c: Likewise.
76412         * sunrpc/pmap_prot2.c: Likewise.
76413         * sunrpc/pmap_rmt.c: Likewise.
76414         * sunrpc/publickey.c: Likewise.
76415         * sunrpc/rpc_cmsg.c: Likewise.
76416         * sunrpc/rpc_common.c: Likewise.
76417         * sunrpc/rpc_dtable.c: Likewise.
76418         * sunrpc/rpc_prot.c: Likewise.
76419         * sunrpc/rpc_thread.c: Likewise.
76420         * sunrpc/rtime.c: Likewise.
76421         * sunrpc/svc.c: Likewise.
76422         * sunrpc/svc_auth.c: Likewise.
76423         * sunrpc/svc_authux.c: Likewise.
76424         * sunrpc/svc_raw.c: Likewise.
76425         * sunrpc/svc_run.c: Likewise.
76426         * sunrpc/svc_simple.c: Likewise.
76427         * sunrpc/svc_tcp.c: Likewise.
76428         * sunrpc/svc_udp.c: Likewise.
76429         * sunrpc/svc_unix.c: Likewise.
76430         * sunrpc/svcauth_des.c: Likewise.
76431         * sunrpc/xcrypt.c: Likewise.
76432         * sunrpc/xdr.c: Likewise.
76433         * sunrpc/xdr_array.c: Likewise.
76434         * sunrpc/xdr_float.c: Likewise.
76435         * sunrpc/xdr_intXX_t.c: Likewise.
76436         * sunrpc/xdr_mem.c: Likewise.
76437         * sunrpc/xdr_rec.c: Likewise.
76438         * sunrpc/xdr_ref.c: Likewise.
76439         * sunrpc/xdr_sizeof.c: Likewise.
76440         * sunrpc/xdr_stdio.c: Likewise.
76442 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76444         [BZ #12650]
76445         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76446         * sysdeps/ia64/dl-tls.h: Likewise.
76447         * sysdeps/powerpc/dl-tls.h: Likewise.
76448         * sysdeps/s390/dl-tls.h: Likewise.
76449         * sysdeps/sh/dl-tls.h: Likewise.
76450         * sysdeps/sparc/dl-tls.h: Likewise.
76451         * sysdeps/x86_64/dl-tls.h: Likewise.
76452         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76454 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76456         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76457         rpath element also skip the following colon.
76458         (expand_dynamic_string_token): Add is_path parameter and pass
76459         down to DL_DST_REQUIRED and _dl_dst_substitute.
76460         (decompose_rpath): Call expand_dynamic_string_token with
76461         non-zero is_path.  Ignore empty rpaths.
76462         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76463         with zero is_path.
76465 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76468         Make cancelable.
76470 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76472         [BZ #12655]
76473         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76474         Patch by Filipe David Manana <fdmanana@apache.org>.
76476 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76479         Maintain aligned stack.
76480         (CHECK_RSP): Remove unused macro.
76482 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76484         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76485         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76487 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76489         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76491         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76493 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76495         [BZ #12518]
76496         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76497         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76498         * sysdeps/x86_64/memmove.c: New file.
76499         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76500         (memcpy): Renamed to ...
76501         (__new_memcpy): This.
76502         (memcpy): Provide GLIBC_2_14 memcpy.
76503         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76504         (memcpy): Provide GLIBC_2_2_5 memcpy.
76506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76508         [BZ #12631]
76509         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76511 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76513         * misc/syncfs.c: New file.
76514         * misc/Makefile (routines): Add syncfs.
76515         * posix/unistd.h: Declare syncfs.
76516         * sysdeps/unix/syscalls.list: Add syncfs.
76518 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76520         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76521         open_by_handle_at.
76522         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76523         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76527         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76528         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76530 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76532         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76533         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76534         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76538         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76540         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76541         sync_file_range.c with -fexceptions.
76542         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76543         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76544         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76545         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76546         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76547         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76549         sync_file_range as cancellation point
76550         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76551         now a wrapper around __call_sync_file_range with cancellation handling.
76552         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76553         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76554         function name to __call_sync_file_range.
76555         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76556         Add call_sync_file_range.
76558 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76561         bits/timex.h.
76563 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76565         * iconv/iconv.h: Fix typo in comment.
76566         * io/fcntl.h: Likewise.
76567         * libio/stdio.h: Likewise.
76568         * posix/spawn.h: Likewise.
76569         * posix/unistd.h: Likewise.
76570         * stdlib/stdlib.h: Likewise.
76571         * time/time.h: Likewise.
76572         * wcsmbs/wchar.h: Likewise.
76574         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76575         open_by_handle): Add.
76576         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76577         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76578         Augment a few comments.
76579         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76581         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76583         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76584         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76585         open_by_handle.
76587         * io/fcntl.h (AT_EMPTY_PATH): Define.
76589 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76591         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76592         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76593         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76594         to...
76595         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76596         * Versions.def: Add GLIBC_2.14.
76597         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76598         Export.
76600 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76602         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76603         round counter.
76604         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76606 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76608         [BZ #12597]
76609         * string/test-strncmp.c (do_page_test): New function.
76610         (check2): Likewise.
76611         (test_main): Call check2.
76612         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76614 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76616         [BZ #12587]
76617         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76618         Handle cache information in CPU leaf 4.
76619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76621 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76623         [BZ #12583]
76624         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76625         character representation.
76626         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76628 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76630         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76631         END(__isnan) to END(__isnanf) to match function entry point/label
76632         EALIGN(__isnanf,...).
76634 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76636         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76638 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76640         [BZ #12510]
76641         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76642         copy from the symbol referenced in the relocation to initialize the
76643         used variable.
76644         Patch by Piotr Bury <pbury@goahead.com>.
76645         * elf/Makefile: Add rules to build and tst-unique3.
76646         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76647         * elf/tst-unique3.cc: New file.
76648         * elf/tst-unique3.h: New file.
76649         * elf/tst-unique3lib.cc: New file.
76650         * elf/tst-unique3lib2.cc: New file.
76652         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76654 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76656         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76657         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76658         to _start.
76660 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76662         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76663         to-be-loaded object along a path to loader is ld.so.
76665 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76666             Ulrich Drepper  <drepper@gmail.com>
76668         * sysdeps/x86_64/memset.S: After aligning destination, code
76669         branches to different locations depending on the value of
76670         misalignment, when multiarch is enabled. Fix this.
76672 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76674         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76675         Set _x86_64_preferred_memory_instruction for AMD processsors.
76676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76677         Set bit_Prefer_SSE_for_memop for AMD processors.
76679 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76681         * libio/fmemopen.c (fmemopen): Optimize a bit.
76683 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76685         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76687 2011-03-03  Roland McGrath  <roland@redhat.com>
76689         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76691 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76693         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76694         __bzero_ultra1 instead of __memset_ultra1.
76696 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76697             Ulrich Drepper  <drepper@gmail.com>
76699         [BZ #12509]
76700         * include/link.h (struct link_map): Add l_orig_initfini.
76701         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76702         returning unsuccessfully.
76703         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76704         close of a file loaded at startup, restore the original l_initfini
76705         list.
76706         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76707         list, store the pointer.
76708         * elf/Makefile ($(objpfx)noload-mem): New rule.
76709         (noload-ENV): Define.
76710         (tests): Add $(objpfx)noload-mem.
76711         * elf/noload.c: Include <memcheck.h>.
76712         (main): Call mtrace.  Close all opened handles.
76714 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76716         [BZ #12454]
76717         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76718         dependencies are missing.
76720 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76722         Fix __if_freereq crash: Unlike the generic version which uses free,
76723         Hurd needs munmap.
76724         * sysdeps/mach/hurd/ifreq.h: New file.
76726 2011-01-27  Petr Baudis  <pasky@suse.cz>
76727             Ulrich Drepper  <drepper@gmail.com>
76729         [BZ 12445]#
76730         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76731         to extend_alloca().
76732         * stdio-common/bug23.c: New file.
76733         * stdio-common/Makefile (tests): Add bug23.
76735 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76736             Ulrich Drepper  <drepper@gmail.com>
76738         [BZ #12489]
76739         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76740         before performing relro protection.  At old place add assertion
76741         to make sure nothing changed.
76743 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76744             Glauber de Oliveira Costa  <glommer@gmail.com>
76746         * elf/elf.h: Add new ARM TLS relocs.
76748 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76751         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76752         cast from r3.
76753         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76754         'tests' variable.
76755         * sysdeps/wordsize-64/tst-writev.c: New file.
76757 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76759         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76760         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76761         insns in _dl_start to prevent a TOC reference before relocs are
76762         resolved.
76764 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76766         [BZ #12469]
76767         * Makeconfig: Remove RANLIB definition.
76768         * Makerules: Don't use RANLIB.
76769         * aclocal.m4: Remove ranlib test.
76770         * configure.in: No need to check for ranlib.
76771         * elf/rtld-Rules: Don't use RANLIB.
76773 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76775         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76776         protection macro.
76777         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76778         inclusion protection macro.
76780         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76781         SIGRTMIN and SIGRTMAX and print information in that case only when
76782         SIGRTMIN is defined.
76784 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76786         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76787         arginfo fn returning -1.
76789         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76790         and thousands string is zero terminated.
76792 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76795         sysdeps/unix/sysv/linux/bits/socket.h.
76797 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76799         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76800         (__CPU_COUNT): Remove old macros.
76801         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76802         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76803         (__CPU_ALLOC, __CPU_FREE): Add macros.
76804         (__sched_cpualloc, __sched_cpufree): Add declarations.
76806 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76808         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76809         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76810         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76811         (readdhstai): Return value of addhstaiX call.
76812         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76813         (addgrbyX): Return value returned by cache_addgr.
76814         (readdgrbyname): Return value returned by addgrbyX.
76815         (readdgrbygid): Likewise.
76816         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76817         (addpwbyX): Return value returned by cache_addpw.
76818         (readdpwbyname): Return value returned by addhstbyX.
76819         (readdpwbyuid): Likewise.
76820         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76821         (addservbyX): Return value returned by cache_addserv.
76822         (readdservbyname): Return value returned by addservbyX:
76823         (readdservbyport): Likewise.
76824         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76825         (addhstbyX): Return value returned by cache_addhst.
76826         (readdhstbyname): Return value returned by addhstbyX.
76827         (readdhstbyaddr): Likewise.
76828         (readdhstbynamev6): Likewise.
76829         (readdhstbyaddrv6): Likewise.
76830         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76831         (readdinitgroups): Return value returned by addinitgroupsX.
76832         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76833         (prune_cache): Keep track of timeout value of re-added entries.
76834         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76835         * nscd/nscd.h: Adjust prototypes of readd* functions.
76837 2011-02-04  Roland McGrath  <roland@redhat.com>
76839         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76840         (nis_stats): Likewise.
76841         * nis/nis_modify.c (nis_modify): Likewise.
76842         * nis/nis_remove.c (nis_remove): Likewise.
76843         * nis/nis_add.c (nis_add): Likewise.
76845         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76847         * posix/fnmatch_loop.c: Add some consts.
76849         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76851 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76853         [BZ #12460]
76854         * config.make.in (config-cflags-novzeroupper): Define.
76855         * configure.in: Substitute libc_cv_cc_novzeroupper.
76856         * elf/Makefile (AVX-CFLAGS): Define.
76857         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76858         (CFLAGS-tst-auditmod4a.c): Likewise.
76859         (CFLAGS-tst-auditmod4b.c): Likewise.
76860         (CFLAGS-tst-auditmod6b.c): Likewise.
76861         (CFLAGS-tst-auditmod6c.c): Likewise.
76862         (CFLAGS-tst-auditmod7b.c): Likewise.
76863         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76865 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76867         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76868         function to the callback.
76869         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76871 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76873         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76874         of errno.
76876 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76878         [BZ #11724]
76879         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76880         of constructors.
76881         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76882         of destructors.
76883         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76885         [BZ #11724]
76886         * elf/Makefile: Add rules to build and run new test.
76887         * elf/tst-initorder.c: New file.
76888         * elf/tst-initorder.exp: New file.
76889         * elf/tst-initordera1.c: New file.
76890         * elf/tst-initordera2.c: New file.
76891         * elf/tst-initordera3.c: New file.
76892         * elf/tst-initordera4.c: New file.
76893         * elf/tst-initorderb1.c: New file.
76894         * elf/tst-initorderb2.c: New file.
76895         * elf/tst-order-a1.c: New file.
76896         * elf/tst-order-a2.c: New file.
76897         * elf/tst-order-a3.c: New file.
76898         * elf/tst-order-a4.c: New file.
76899         * elf/tst-order-b1.c: New file.
76900         * elf/tst-order-b2.c: New file.
76901         * elf/tst-order-main.c: New file.
76902         New test case by George Gensure <werkt0@gmail.com>.
76904 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76907         decoding ACE if AI_CANONIDN.
76909 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76911         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76913 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76915         * version.h (RELEASE): Bump for 2.13 release.
76916         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76918         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76920         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76921         MADV_NOHUGEPAGE.
76922         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76923         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76925         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76927         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76929         * posix/getconf.c: Update copyright year.
76930         * catgets/gencat.c: Likewise.
76931         * csu/version.c: Likewise.
76932         * debug/catchsegv.sh: Likewise.
76933         * debug/xtrace.sh: Likewise.
76934         * elf/ldconfig.c: Likewise.
76935         * elf/ldd.bash.in: Likewise.
76936         * elf/sprof.c (print_version): Likewise.
76937         * iconv/iconv_prog.c: Likewise.
76938         * iconv/iconvconfig.c: Likewise.
76939         * locale/programs/locale.c: Likewise.
76940         * locale/programs/localedef.c: Likewise.
76941         * malloc/memusage.sh: Likewise.
76942         * malloc/mtrace.pl: Likewise.
76943         * nscd/nscd.c (print_version): Likewise.
76944         * nss/getent.c: Likewise.
76946         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76947         PF_CAIF, and PF_ALG.
76948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76950 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76952         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76953         (modules-names): Use them.
76954         (ifunc-test-modules, ifunc-pie-tests): Define.
76955         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76956         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76957         (test-extras): Likewise.
76958         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76959         $(compile-command.c).
76960         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76961         (all-built-dso): Define.
76962         (check-textrel.out, check-execstack.out): Depend on it.
76964         * configure.in: Don't override --enable-multi-arch.
76966 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76968         [BZ #6812]
76969         * nscd/hstcache.c (tryagain): Define.
76970         (cache_addhst): Return tryagain not notfound for temporary errors.
76971         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76972         failed.
76974 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76976         [BZ #10563]
76977         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76978         to make the syscall.
76979         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76981         [BZ #12378]
76982         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76983         and fall back to matching as normal character if the string ends before
76984         the matching ']' is found.  This is what POSIX requires.
76985         * posix/testfnm.c: Adjust test result.
76986         * posix/globtest.sh: Adjust test result.  Add new test.
76987         * posix/tst-fnmatch.input: Likewise.
76988         * posix/tst-fnmatch2.c: Add new test.
76990 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76992         * elf/Makefile (check-execstack): Revert last change.  Depend on
76993         check-execstack.h.
76994         (check-execstack.h): New target.
76995         (generated): Add check-execstack.h.
76996         * elf/check-execstack.c: Include "check-execstack.h".
76997         (main): Revert last change.
76998         (handle_file): Return zero if GNU_STACK is absent and
76999         DEFAULT_STACK_PERMS doesn't include PF_X.
77001 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77003         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77004         in child fails because the descriptor is already closed.
77005         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77006         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77007         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77009         [BZ #12397]
77010         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77011         syscall.
77013         [BZ #10484]
77014         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77015         temporary buffer used to handle multi lookups locally.
77016         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77018 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77020         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77021         loader is ld.so.
77023 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77025         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77026         alignment for SSE2.
77028 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77030         [BZ #12394]
77031         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77032         characters.  When rounding increased number of integer digits recompute
77033         number of groups.
77034         * stdio-common/tst-grouping.c: New file.
77035         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77037 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77039         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77040         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77042         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77043         void.
77044         * bits/select.h: Likewise.
77046 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77048         * po/ja.po: Update from translation team.
77050 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77052         [BZ #11155]
77053         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77054         implementation just like for lxstat, fxstatat, et al.
77056 2010-12-27  Jim Meyering  <meyering@redhat.com>
77058         [BZ #12348]
77059         * posix/regexec.c (build_trtable): Return failure indication upon
77060         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77062 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77064         [BZ #12201]
77065         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77066         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77067         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77068         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77070         [BZ #12207]
77071         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77073         [BZ #12204]
77074         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77075         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77077 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77079         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77080         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77081         script has SORT_BY_INIT_PRIORITY.
77082         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77083         NO_CTORS_DTORS_SECTIONS is defined.
77084         * elf/soinit.c: Likewise.
77085         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77086         NO_CTORS_DTORS_SECTIONS is defined.
77087         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77088         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77089         * sysdeps/sh/init-first.c: Likewise.
77090         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77092 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77094         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77095         always use the slow path.
77097 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77099         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77100         similar rule which adds the sysdep directories to the header search in
77101         order to pick up the correct platform stackinfo.h.
77102         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77103         perform test if it is, otherwise return successfully without testing.
77104         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77105         DEFAULT_STACK_PERMS define in stackinfo.h.
77106         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77107         defined in stackinfo.h.
77108         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77109         DEFAULT_STACK_PERMS defined in stackinfo.h.
77110         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77111         * sysdeps/ia64/stackinfo.h: Likewise.
77112         * sysdeps/s390/stackinfo.h: Likewise.
77113         * sysdeps/sh/stackinfo.h: Likewise.
77114         * sysdeps/sparc/stackinfo.h: Likewise.
77115         * sysdeps/x86_64/stackinfo.h: Likewise.
77116         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77117         PF_X for powerpc64.  Retain PF_X for powerpc32.
77119 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77121         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77122         accurately.
77123         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77124         GETDENTS_64BIT_ALIGNED.
77126 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77128         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77130 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77132         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77133         _GNU_SOURCE.
77135         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77136         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77137         Remove __restrict.
77138         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77139         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77141 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77143         [BZ #11655]
77144         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77145         are initialized.
77147 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77149         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77151 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77153         * po/it.po: Update from translation team.
77155 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77158         unused codes.
77160 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77162         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77164 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77166         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77167         specially.
77168         (gaih_getanswer_slice): Likewise.
77170 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77174 2010-05-31  Petr Baudis  <pasky@suse.cz>
77176         [BZ #11149]
77177         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77178         silently even in the chroot mode.
77180 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77182         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77183         last patch a bit.  Pretty printing
77185 2010-05-31  Petr Baudis <pasky@suse.cz>
77187         [BZ #10085]
77188         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77189         initialization of skip_initgroups_dyn.
77191 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77193         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77194         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77196 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77198         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77200 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77202         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77203         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77204         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77205         ($(objpfx)tst-fnmatch-mem): New rule.
77206         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77207         * posix/tst-fnmatch.c (main): Call mtrace.
77209 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77212         Support Intel processor model 6 and model 0x2c.
77214 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77216         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77217           signed comparison.
77219 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77221         [BZ #12205]
77222         * string/test-strncasecmp.c (check_result): New function.
77223         (do_one_test): Use it.
77224         (check1): New function.
77225         (test_main): Use it.
77226         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77227         Support strcasecmp and strncasecmp.
77229 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77231         [BZ #12194]
77232         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77235 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77237         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77238         IFUNC support.
77239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77240         memset-x86-64.
77241         * sysdeps/x86_64/multiarch/bzero.S: New file.
77242         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77243         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77244         * sysdeps/x86_64/multiarch/memset.S: New file.
77245         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77247         Set bit_Prefer_SSE_for_memop for Intel processors.
77248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77249         Define.
77250         (index_Prefer_SSE_for_memop): Define.
77251         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77253 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77255         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77256         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77258 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77260         [BZ #12191]
77261         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77262         (__x86_64_raw_data_cache_size_half): Likewise.
77263         (__x86_64_raw_shared_cache_size): Likewise.
77264         (__x86_64_raw_shared_cache_size_half): Likewise.
77266         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77267         (__x86_64_raw_data_cache_size_half): Likewise.
77268         (__x86_64_raw_shared_cache_size): Likewise.
77269         (__x86_64_raw_shared_cache_size_half): Likewise.
77270         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77271         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77272         and __x86_64_raw_shared_cache_size_half.  Round
77273         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77274         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77275         to multiple of 256 bytes.
77277 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77279         [BZ #12167]
77280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77281         of inacessible symlinks.  Verify result of symlink before returning it.
77282         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77283         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77285 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77287         * math/math.h (isinf): Fix typo in comment.
77289 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77291         * po/da.po: Update from translation team.
77293 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77295         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77296         is added to the list.
77298 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77299             Ulrich Drepper  <drepper@gmail.com>
77301         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77302         the global list here.  Move code to...
77303         (_dl_add_to_namespace_list): ...here.  New function.
77304         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77305         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77306         * elf/dl-load.c (lose): Don't remove the element from the list.
77307         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77308         (_dl_map_object): Likewise.
77310 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77312         [BZ #12159]
77313         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77314         into all bytes of SSE register.
77315         Patch by Richard Li <richardpku@gmail.com>.
77317 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77319         [BZ #12140]
77320         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77321         perturbing.
77323 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77325         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77326         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77327         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77328         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77330         submachine.
77331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77333 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77335         * include/dlfcn.h (__RTLD_SECURE): Define.
77336         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77337         mode & __RTLD_SECURE instead.
77338         (open_path): Rename preloaded parameter to secure.
77339         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77340         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77341         * elf/dl-deps.c (openaux): Likewise.
77342         * elf/rtld.c (struct map_args): Remove is_preloaded.
77343         (map_doit): Don't use it.
77344         (dl_main): Likewise.
77345         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77346         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77348 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77350         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77351         (sysd-rules-targets): Remove duplicates.
77352         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77353         rtld-%.$o dependency.
77355 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77357         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77358         _dl_map_object do it.
77360 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77362         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77363         fast fma builtins, define the macros in the C99 standard.
77364         (FP_FAST_FMAF): Likewise.
77365         (FP_FAST_FMAL): Likewise.
77366         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77368         * bits/mathdef.h: Update copyright year.
77369         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77371 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77373         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77374         builtins, define the macros in the C99 standard.
77375         (FP_FAST_FMAF): Likewise.
77376         (FP_FAST_FMAL): Likewise.
77377         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77378         multiply/add.
77379         (FP_FAST_FMAF): Likewise.
77381 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77383         [BZ #3268]
77384         * math/libm-test.inc (fma_test): Some new testcases.
77385         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77387         y and infinite z.  Do multiplication by C already in long double.
77388         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77390         y and infinite z.  Do bitwise or of inexact bit into u.d.
77391         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77392         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77393         * sysdeps/i386/fpu/s_fma.S: Removed.
77394         * sysdeps/i386/fpu/s_fmal.S: Removed.
77396 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77398         [BZ #3268]
77399         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77401         computation is not scheduled after fetestexcept.  Fix value
77402         of minimum denormal long double.
77404 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77406         [BZ #3268]
77407         * math/libm-test.inc (fma_test): Add some more tests.
77408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77409         correctly.
77411 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77413         * scripts/data/localplt-s390-linux-gnu.data: New file.
77414         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77416 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77418         [BZ #3268]
77419         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77420         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77421         instead of dbl-64.
77422         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77423         inlines.
77424         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77426         if one of x and y is very large and the other is subnormal.
77427         * sysdeps/s390/fpu/s_fmaf.c: New file.
77428         * sysdeps/s390/fpu/s_fma.c: New file.
77429         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77430         * sysdeps/powerpc/fpu/s_fma.S: New file.
77431         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77432         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77433         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77435 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77437         [BZ #3268]
77438         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77439         fma tests.
77440         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77441         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77442         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77443         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77444         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77445         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77446         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77448 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77450         [BZ #12078]
77451         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77452         * posix/bug-regex31.input: Add test case.
77454 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77456         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77457         * posix/bug-regex31.input: New file.
77459         [BZ #12078]
77460         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77461         (parse_sub_exp): Fix last change, use postorder.
77463         * posix/bug-regex31.c: New file.
77464         * posix/Makefile: Add rules to build and run bug-regex31.
77466         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77468         [BZ #12078]
77469         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77471         [BZ #12108]
77472         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77473         to have entries in sys_siglist.
77475         [BZ #12093]
77476         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77477         be NULL.
77479 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77481         [BZ #3268]
77482         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77483         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77484         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77485         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77486         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77487         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77488         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77489         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77490         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77491         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77492         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77493         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77494         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77495         * math/ftestexcept.c (fetestexcept): Likewise.
77496         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77497         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77498         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77499         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77500         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77501         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77502         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77504 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77506         [BZ #12107]
77507         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77508         newline.
77510 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77512         * string/bug-strstr1.c: New file.
77513         * string/Makefile: Add rules to build and run bug-strstr1.
77515 2010-10-05  Eric Blake  <eblake@redhat.com>
77517         [BZ #12092]
77518         * string/str-two-way.h (two_way_long_needle): Always clear memory
77519         when skipping input due to the shift table.
77521 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77523         [BZ #12005]
77524         * malloc/mcheck.c: Handle large requests.
77526         [BZ #12077]
77527         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77528         for strncmp and strncasecmp.
77529         * string/stratcliff.c: Add tests for strcmp and strncmp.
77530         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77532 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77534         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77535         __set_fpscr.
77537 2010-09-30  Andreas Jaeger  <aj@suse.de>
77539         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77540         (CGROUP_SUPER_MAGIC): Define.
77541         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77542         Handle btrfs and cgroup file systems.
77543         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77544         Likewise.
77546 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77548         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77549         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77551 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77553         [BZ #12067]
77554         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77555         trying to locate the ELF header.
77557 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77559         [BZ #11611]
77560         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77561         Mask out sign-bit copies when constructing f_fsid.
77563 2010-09-24  Petr Baudis <pasky@suse.cz>
77565         * debug/stack_chk_fail_local.c: Add missing licence exception.
77566         * debug/warning-nop.c: Likewise.
77568 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77570         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77571         implementing getdents64 using getdents syscall, set d_type if
77572         __ASSUME_GETDENTS32_D_TYPE.
77574 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77576         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77577         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77579 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77581         [BZ #12037]
77582         * posix/unistd.h: Undo change of feature selection for ftruncate from
77583         2010-01-11.
77585 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77587         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77588         detection.
77590 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77592         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77593         fanotify_mark.
77594         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77596 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77598         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77599         variables after CHECK_SP call.
77600         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77602 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77603             Ulrich Drepper  <drepper@redhat.com>
77605         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77606         re-relocationg ld.so.
77607         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77608         _dl_init_paths call.
77609         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77610         here anymore.
77612 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77614         * resolv/res_init.c (__res_vinit): Count the default server we added.
77616 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77617             Ulrich Drepper  <drepper@redhat.com>
77619         [BZ #11968]
77620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77621         (____longjmp_chk): Use %ebx for saving value across system call.
77622         Add unwind info.
77624 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77626         * manual/Makefile: Don't mix pattern rules with normal rules.
77628 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77630         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77631         operation.
77632         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77633         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77634         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77635         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77637         Likewise.
77639 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77641         [BZ #11979]
77642         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77643         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77645 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77647         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77648         * sysdeps/x86_64/addmul_1.S: Likewise.
77649         * sysdeps/x86_64/lshift.S: Likewise.
77650         * sysdeps/x86_64/mul_1.S: Likewise.
77651         * sysdeps/x86_64/rshift.S: Likewise.
77652         * sysdeps/x86_64/sub_n.S: Likewise.
77653         * sysdeps/x86_64/submul_1.S: Likewise.
77655 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77657         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77658         Define __sched_param instead of SCHED_* and sched_param when
77659         <bits/sched.h> is included with __need_schedparam defined.
77660         * bits/sched.h [__need_schedparam]
77661         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77662         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77663         (__defined_schedparam): Define to 1.
77664         (__sched_param): New structure, identical to sched_param.
77665         (__need_schedparam): Undefine.
77667 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77670         (epoll_create1): Declare.
77672         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77674 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77676         [BZ #7066]
77677         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77678         shifting retval into place.
77680 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77682         * nis/rpcsvc/nis.h: Update copyright notice.
77683         * nis/rpcsvc/nis.x: Likewise.
77684         * nis/rpcsvc/nis_callback.h: Likewise.
77685         * nis/rpcsvc/nis_callback.x: Likewise.
77686         * nis/rpcsvc/nis_object.x: Likewise.
77687         * nis/rpcsvc/nis_tags.h: Likewise.
77688         * nis/rpcsvc/yp.h: Likewise.
77689         * nis/rpcsvc/yp.x: Likewise.
77690         * nis/rpcsvc/ypupd.h: Likewise.
77691         * nis/yp_xdr.c: Likewise.
77692         * nis/ypupdate_xdr.c: Likewise.
77694         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77695         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77696         (pmap_getport): Use __libc_rpc_getport.
77697         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77698         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77699         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77701 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77704         fanotify_mark.
77706 2010-08-27  Roland McGrath  <roland@redhat.com>
77708         * sysdeps/i386/i686/multiarch/Makefile
77709         (CFLAGS-varshift.c): New variable.
77711 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77713         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77714         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77716         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77718         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77720 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77722         * sysdeps/x86_64/strlen.S: Unroll the loop.
77723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77724         strlen-sse2 strlen-sse2-bsf.
77725         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77726         __strlen_no_bsf if bit_Slow_BSF is set.
77727         (__strlen_sse42): Removed.
77728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77729         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77731 2010-08-25  Roland McGrath  <roland@redhat.com>
77733         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77734         * sysdeps/x86_64/multiarch/varshift.c: New file.
77735         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77736         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77737         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77738         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77740 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77743         strlen-sse2 strlen-sse2-bsf.
77744         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77745         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77746         (__strlen_sse2): Removed.
77747         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77750         bit_Slow_BSF for Atom.
77751         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77752         (index_Slow_BSF): Define.
77753         (HAS_SLOW_BSF): Define.
77755 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77757         [BZ #10851]
77758         * resolv/res_init.c (__res_vinit): When no server address at all
77759         is given default to loopback.
77761 2010-08-24  Roland McGrath  <roland@redhat.com>
77763         * configure.in: Remove config-name.h generation.
77764         * configure: Regenerated.
77765         * config-name.in: File removed.
77766         * scripts/config-uname.sh: New file.
77767         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77768         ($(objdir)config-name.h): New target.
77770         * sunrpc/rpc_parse.h: Avoid nested comment.
77772 2010-08-24  Richard Henderson  <rth@redhat.com>
77773             Ulrich Drepper  <drepper@redhat.com>
77774             H.J. Lu  <hongjiu.lu@intel.com>
77776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77778         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77779         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77780         _mm_alignr_epi8 with _mm_loadu_si128.
77781         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77782         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77783         (__m128i_shift_right): Removed.
77784         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77785         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77786         * sysdeps/x86_64/multiarch/varshift.h: New file.
77787         * sysdeps/x86_64/multiarch/varshift.S: New file.
77789 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77791         * configure.in: Move assembler checks to before sysdep dir checking.
77793 2010-08-20  Petr Baudis  <pasky@suse.cz>
77795         * LICENSES: Sync the sunrpc license.
77797 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77799         * sunrpc/auth_des.c: Update copyright notice once again.
77800         * sunrpc/auth_none.c: Likewise.
77801         * sunrpc/auth_unix.c: Likewise.
77802         * sunrpc/authdes_prot.c: Likewise.
77803         * sunrpc/authuxprot.c: Likewise.
77804         * sunrpc/bindrsvprt.c: Likewise.
77805         * sunrpc/clnt_gen.c: Likewise.
77806         * sunrpc/clnt_perr.c: Likewise.
77807         * sunrpc/clnt_raw.c: Likewise.
77808         * sunrpc/clnt_simp.c: Likewise.
77809         * sunrpc/clnt_tcp.c: Likewise.
77810         * sunrpc/clnt_udp.c: Likewise.
77811         * sunrpc/clnt_unix.c: Likewise.
77812         * sunrpc/des_crypt.c: Likewise.
77813         * sunrpc/des_soft.c: Likewise.
77814         * sunrpc/get_myaddr.c: Likewise.
77815         * sunrpc/getrpcport.c: Likewise.
77816         * sunrpc/key_call.c: Likewise.
77817         * sunrpc/key_prot.c: Likewise.
77818         * sunrpc/openchild.c: Likewise.
77819         * sunrpc/pm_getmaps.c: Likewise.
77820         * sunrpc/pm_getport.c: Likewise.
77821         * sunrpc/pmap_clnt.c: Likewise.
77822         * sunrpc/pmap_prot.c: Likewise.
77823         * sunrpc/pmap_prot2.c: Likewise.
77824         * sunrpc/pmap_rmt.c: Likewise.
77825         * sunrpc/rpc/auth.h: Likewise.
77826         * sunrpc/rpc/auth_unix.h: Likewise.
77827         * sunrpc/rpc/clnt.h: Likewise.
77828         * sunrpc/rpc/des_crypt.h: Likewise.
77829         * sunrpc/rpc/key_prot.h: Likewise.
77830         * sunrpc/rpc/netdb.h: Likewise.
77831         * sunrpc/rpc/pmap_clnt.h: Likewise.
77832         * sunrpc/rpc/pmap_prot.h: Likewise.
77833         * sunrpc/rpc/pmap_rmt.h: Likewise.
77834         * sunrpc/rpc/rpc.h: Likewise.
77835         * sunrpc/rpc/rpc_des.h: Likewise.
77836         * sunrpc/rpc/rpc_msg.h: Likewise.
77837         * sunrpc/rpc/svc.h: Likewise.
77838         * sunrpc/rpc/svc_auth.h: Likewise.
77839         * sunrpc/rpc/types.h: Likewise.
77840         * sunrpc/rpc/xdr.h: Likewise.
77841         * sunrpc/rpc_clntout.c: Likewise.
77842         * sunrpc/rpc_cmsg.c: Likewise.
77843         * sunrpc/rpc_common.c: Likewise.
77844         * sunrpc/rpc_cout.c: Likewise.
77845         * sunrpc/rpc_dtable.c: Likewise.
77846         * sunrpc/rpc_hout.c: Likewise.
77847         * sunrpc/rpc_main.c: Likewise.
77848         * sunrpc/rpc_parse.c: Likewise.
77849         * sunrpc/rpc_parse.h: Likewise.
77850         * sunrpc/rpc_prot.c: Likewise.
77851         * sunrpc/rpc_sample.c: Likewise.
77852         * sunrpc/rpc_scan.c: Likewise.
77853         * sunrpc/rpc_scan.h: Likewise.
77854         * sunrpc/rpc_svcout.c: Likewise.
77855         * sunrpc/rpc_tblout.c: Likewise.
77856         * sunrpc/rpc_util.c: Likewise.
77857         * sunrpc/rpc_util.h: Likewise.
77858         * sunrpc/rpcinfo.c: Likewise.
77859         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77860         * sunrpc/rpcsvc/key_prot.x: Likewise.
77861         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77862         * sunrpc/rpcsvc/mount.x: Likewise.
77863         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77864         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77865         * sunrpc/rpcsvc/rex.x: Likewise.
77866         * sunrpc/rpcsvc/rstat.x: Likewise.
77867         * sunrpc/rpcsvc/rusers.x: Likewise.
77868         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77869         * sunrpc/rpcsvc/spray.x: Likewise.
77870         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77871         * sunrpc/rtime.c: Likewise.
77872         * sunrpc/svc.c: Likewise.
77873         * sunrpc/svc_auth.c: Likewise.
77874         * sunrpc/svc_authux.c: Likewise.
77875         * sunrpc/svc_raw.c: Likewise.
77876         * sunrpc/svc_run.c: Likewise.
77877         * sunrpc/svc_simple.c: Likewise.
77878         * sunrpc/svc_tcp.c: Likewise.
77879         * sunrpc/svc_udp.c: Likewise.
77880         * sunrpc/svc_unix.c: Likewise.
77881         * sunrpc/svcauth_des.c: Likewise.
77882         * sunrpc/xcrypt.c: Likewise.
77883         * sunrpc/xdr.c: Likewise.
77884         * sunrpc/xdr_array.c: Likewise.
77885         * sunrpc/xdr_float.c: Likewise.
77886         * sunrpc/xdr_mem.c: Likewise.
77887         * sunrpc/xdr_rec.c: Likewise.
77888         * sunrpc/xdr_ref.c: Likewise.
77889         * sunrpc/xdr_sizeof.c: Likewise.
77890         * sunrpc/xdr_stdio.c: Likewise.
77892         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77893         handling.
77895 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77897         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77899 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77901         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77902         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77904         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77906         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77907         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77908         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77909         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77910         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77911         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77912         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77913         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77914         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77916 2010-07-26  Anton Blanchard  <anton@samba.org>
77918         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77919         * malloc/arena.c (heap_trim): Likewise.
77921 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77923         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77924         here.  Not...
77925         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77926         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77928 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77930         * sysdeps/i386/elf/Makefile: New file.
77932 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77934         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77935         from fanotify_init.
77936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77939 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77941         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77942         of strncasecmp_l.
77943         * sysdeps/multiarch/strcmp.S: Likewise.
77945 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77947         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77948         strncase_l-nonascii.
77949         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77950         Add strncase_l-ssse3.
77951         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77952         * sysdeps/x86_64/strcmp.S: Likewise.
77953         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77954         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77955         * sysdeps/x86_64/strncase.S: New file.
77956         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77957         * sysdeps/x86_64/strncase_l.S: New file.
77958         * string/Makefile (strop-tests): Add strncasecmp.
77959         * string/test-strncasecmp.c: New file.
77961         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77962         warning.
77964         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77965         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77967 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77969         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77971 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77973         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77974         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77975         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77977 2010-05-01  Alan Modra  <amodra@gmail.com>
77979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77980         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77981         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77982         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77983         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77984         tidying.  Don't tail-call __sigjmp_save for static lib.
77985         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77986         save location.
77987         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77988         (CALL_MCOUNT): Add eh info, and nop after bl.
77989         (TAIL_CALL_SYSCALL_ERROR): New macro.
77990         (PSEUDO_RET): Use it.
77991         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77992         Correct save location of integer regs and cr.
77993         (_dl_profile_resolve): Correct cr save location.  Delete nops
77994         after bl when SHARED.  Reduce cfi size a little by better
77995         placement of cfi directives.
77996         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77997         make a stack frame.  Instead use parm save area as a temp.
77998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77999         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78001         Don't make a stack frame for parent, use parm save area.
78002         Increase child stack frame to 112 bytes.  Don't save unused reg,
78003         and adjust reg usage.  Set up cfi on error recovery and
78004         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78006         (__makecontext): Add dummy nop after jump to exit.
78007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78008         Use correct parm save area and cr save, reduce stack frame.
78009         Correct cfi for possible PSEUDO_RET frame setup.
78010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78011         Branch to local label emitted by PSEUDO_RET rather than
78012         __syscall_error.
78014 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78016         [BZ #11904]
78017         * locale/programs/locale.c (print_assignment): New function.
78018         (show_locale_vars): Use it.
78020 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78022         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78023         field.
78024         (struct statfs64): Likewise.
78025         (_STATFS_F_FLAGS): Define.
78026         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78028         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78029         (ST_VALID): Define locally.
78030         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78031         __statvfs_getflags, use the provided value.
78032         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78033         __ASSUME_STATFS_F_FLAGS.
78035         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78037         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78038         Add sys/fanotify.h.
78039         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78040         fanotify_mask for GLIBC_2.13.
78041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78042         fanotify_init and fanotify_mark.
78043         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78044         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78046         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78047         Add prlimit.
78048         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78049         prlimit64 for GLIBC_2.13.
78050         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78051         prlimit64.
78052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78053         syscall.
78054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78056         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78057         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78059         add prlimit alias.
78060         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78062         [BZ #11903]
78063         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78064         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78066         * nss/Makefile: Add rules to build and run tst-nss-test1.
78067         * shlib-versions: Add entry for libnss_test1.
78068         * nss/nss_test1.c: New file.
78069         * nss/tst-nss-test1.c: New file.
78071         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78072         (__nss_configure_lookup): Set appropriate entry in
78073         __nss_configure_lookup to true.
78074         * nss/nsswitch.h: Define enum with indeces of databases in
78075         databases and __nss_database_custom arrays.  Declare
78076         __nss_database_custom.
78077         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78078         to avoid using nscd when custom rules are installed.
78079         * nss/getXXbyYY_r.c: Likewise.
78080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78082         * nss/nss_files/files-parse.c: Whitespace fixes.
78084 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78086         [BZ #11883]
78087         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78088         * posix/fnmatch_loop.c: Likewise.
78090 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78092         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78093         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78094         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78095         * Versions.def [GLIBC_2.13]: Add.
78097 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78099         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78100         Also fail if tpwd after pwuid call is NULL.
78102 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78104         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78105         when converting to ms.
78107 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78109         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78110         EOPNOTSUPP errors with ENOTTY.
78111         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78112         EOPNOTSUPP errors with ENOTTY.
78114 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78116         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78117         Add strcasecmp_l-ssse3.
78118         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78119         strcasecmp.
78120         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78121         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78122         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78124 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78126         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78128         * string/Makefile (strop-tests): Add strcasecmp.
78129         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78130         strcasecmp_l-nonascii.
78131         (gen-as-const-headers): Add locale-defines.sym.
78132         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78133         * sysdeps/x86_64/strcasecmp.S: New file.
78134         * sysdeps/x86_64/strcasecmp_l.S: New file.
78135         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78136         * sysdeps/x86_64/locale-defines.sym: New file.
78137         * string/test-strcasecmp.c: New file.
78139         * string/test-strcasestr.c: Test both ends of the range of characters.
78140         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78142 2010-07-29  Roland McGrath  <roland@redhat.com>
78144         [BZ #11856]
78145         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78147 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78149         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78150         for ld.so.
78152 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78154         * manual/memory.texi (Malloc Tunable Parameters): Document
78155         M_PERTURB.
78157 2010-07-26  Roland McGrath  <roland@redhat.com>
78159         [BZ #11840]
78160         * configure.in (-fgnu89-inline check): Set and substitute
78161         gnu89_inline, not libc_cv_gnu89_inline.
78162         * configure: Regenerated.
78163         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78165 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78167         * string/test-strnlen.c: New file.
78168         * string/Makefile (strop-tests): Add strnlen.
78169         * string/tester.c (test_strnlen): Add a few more test cases.
78170         * string/tst-strlen.c: Better error reporting.
78172         * sysdeps/x86_64/strnlen.S: New file.
78174 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78177         lower-latency instructions.
78179 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78181         * string/test-strcasestr.c: New file.
78182         * string/test-strstr.c: New file.
78183         * string/Makefile (strop-tests): Add strstr and strcasestr.
78184         * string/str-two-way.h: Don't undefine MAX.
78185         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78187 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78190         strcasestr-nonascii.
78191         (CFLAGS-strcasestr-nonascii.c): Define.
78192         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78193         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78194         Remove unused attribute.
78196 2010-07-20  Roland McGrath  <roland@redhat.com>
78198         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78199         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78200         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78201         like LD_HWCAP_MASK can disable hwcaps.
78203 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78205         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78207 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78209         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78210         call in strcasestr.
78211         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78212         __strcasestr_sse42_nonascii.
78213         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78214         strcasestr-nonascii.c.
78215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78217 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78219         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78220         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78221         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78222         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78224 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78227         fcntl.
78229 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78231         [BZ #11577]
78232         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78233         dl_signal_cerror.
78235 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78237         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78238         _PC_PIPE_BUF using F_GETPIPE_SZ.
78240 2010-07-05  Roland McGrath  <roland@redhat.com>
78242         * manual/arith.texi (Rounding Functions): Fix rint description
78243         implicit in round description.
78245 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78247         * elf/Makefile: Fix linking for a few tests to make recent linker
78248         happy.
78250 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78252         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78253         $(common-objpfx)libc_nonshared.a.
78255 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78257         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78258         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78259         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78260         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78261         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78262         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78263         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78264         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78279         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78280         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78281         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78282         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78283         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78284         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78285         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78286         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78287         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78288         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78289         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78290         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78306 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78308         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78309         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78310         * string/memmove.c (memmove): Renamed to ...
78311         (MEMMOVE): ...this.  Default to memmove.
78312         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78313         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78314         (END_CHK): Define.
78315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78316         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78317         mempcpy-ssse3-back memmove-ssse3-back.
78318         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78321         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78322         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78323         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78324         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78325         * sysdeps/x86_64/multiarch/memmove.c: New file.
78326         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78327         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78328         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78329         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78330         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78331         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78332         Define.
78333         (index_Fast_Copy_Backward): Define.
78334         (HAS_ARCH_FEATURE): Define.
78335         (HAS_FAST_REP_STRING): Define.
78336         (HAS_FAST_COPY_BACKWARD): Define.
78338 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78340         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78341         Restore proper fallback handling.
78343 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78345         [BZ #11701]
78346         * posix/group_member.c (__group_member): Correct checking loop.
78348         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78349         OOM in getpwuid_r correctly.  Return error number when the caller
78350         should return, otherwise -1.
78351         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78352         call returning > 0 value.
78353         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78355 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78357         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78358         libc_nonshared.a from targets in modules-names.
78360 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78362         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78363         requires it.
78365 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78368         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78369         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78370         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78372 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78374         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78376 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78378         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78379         and F_GETPIPE_SZ.
78380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78385         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78387 2010-06-14  Roland McGrath  <roland@redhat.com>
78389         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78391 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78393         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78394         __REDIRECT followed by __THROW.
78395         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78396         * posix/getopt.h (getopt): Likewise.
78398 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78400         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78401         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78402         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78403         in AT_FLAGS.
78404         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78405         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78407 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78411 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78413         [BZ #11640]
78414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78415         Properly check family and model.
78417 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78419         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78421 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78423         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78425 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78427         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78428         symbol reference.
78430 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78432         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78433         symbol reference.
78435 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78437         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78438         and internal_recvmmsg.
78439         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78440         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78441         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78442         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78444         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78445         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78446         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78448 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78450         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78452 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78454         POWER7 optimizations.
78455         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78456         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78458 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78460         * version.h: Update for 2.13 development version.
78462 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78464         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78465         exceptions.  Return 0.
78467 2010-05-07  Roland McGrath  <roland@redhat.com>
78469         * elf/ldconfig.c (main): Add a const.
78471 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78473         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78474         (args_options): Add no-idn option.
78475         (ahosts_keys_int): Add idn_flags to ai_flags.
78476         (parse_option): Handle 'i' option to clear idn_flags.
78478         * malloc/malloc.c (_int_free): Possible race in the most recently
78479         added check.  Only act on the data if no current modification
78480         happened.
78482 See ChangeLog.17 for earlier changes.